summaryrefslogtreecommitdiffabout
path: root/gammu/emb/common/gsmcomon.h
Side-by-side diff
Diffstat (limited to 'gammu/emb/common/gsmcomon.h') (more/less context) (ignore whitespace changes)
-rw-r--r--gammu/emb/common/gsmcomon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gammu/emb/common/gsmcomon.h b/gammu/emb/common/gsmcomon.h
index cd36708..e067955 100644
--- a/gammu/emb/common/gsmcomon.h
+++ b/gammu/emb/common/gsmcomon.h
@@ -53,33 +53,34 @@ typedef enum {
ERR_CANTOPENFILE, /* Error during opening file */
ERR_MOREMEMORY, /* More memory required */
/*30*/ ERR_PERMISSION, /* No permission */
ERR_EMPTYSMSC, /* SMSC number is empty */
ERR_INSIDEPHONEMENU, /* Inside phone menu - can't make something */
ERR_NOTCONNECTED, /* Phone NOT connected - can't make something */
ERR_WORKINPROGRESS, /* Work in progress */
ERR_PHONEOFF, /* Phone is disabled and connected to charger */
ERR_FILENOTSUPPORTED, /* File format not supported by Gammu */
ERR_BUG, /* Found bug in implementation or phone */
ERR_CANCELED, /* Action was canceled by user */
ERR_NEEDANOTHERANSWER, /* Inside Gammu: phone module need to send another answer frame */
/*40*/ ERR_OTHERCONNECTIONREQUIRED,
ERR_WRONGCRC,
ERR_INVALIDDATETIME, /* Invalid date/time */
ERR_MEMORY, /* Phone memory error, maybe it is read only */
- ERR_INVALIDDATA /* Invalid data */
+ ERR_INVALIDDATA, /* Invalid data */
+ ERR_FILEALREADYEXIST /* File with specified name already exist */
} GSM_Error;
extern GSM_Error NoneFunction (void);
extern GSM_Error NotImplementedFunction (void);
extern GSM_Error NotSupportedFunction (void);
#define NONEFUNCTION (void *) NoneFunction
#define NOTIMPLEMENTED (void *) NotImplementedFunction
#define NOTSUPPORTED (void *) NotSupportedFunction
unsigned char *GetMsg (INI_Section *cfg, unsigned char *default_string);
unsigned char *print_error (GSM_Error e, FILE *df, INI_Section *cfg);
GSM_Error GSM_SetDebugFile(char *info, Debug_Info *privdi);
const char *GetGammuLocalePath(void);