diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-12-06 14:03:04 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-12-06 14:03:04 +0000 |
commit | 77ad7a6b479bf2b417b182d95084837b3a4249fb (patch) | |
tree | 6a79eaeb905d23d82bfacabffd9253d9f3ecad88 /include | |
parent | 32490c984eef8651bea59a37e65ea427c228d97c (diff) | |
download | mailutils-77ad7a6b479bf2b417b182d95084837b3a4249fb.tar.gz mailutils-77ad7a6b479bf2b417b182d95084837b3a4249fb.tar.bz2 |
Added new error codes
Diffstat (limited to 'include')
-rw-r--r-- | include/mailutils/errno.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/mailutils/errno.h b/include/mailutils/errno.h index 7d6e6a4fe..641543c2d 100644 --- a/include/mailutils/errno.h +++ b/include/mailutils/errno.h @@ -94,12 +94,29 @@ extern "C" { #define MU_ERR_PARSE (MU_ERR_BASE + 38) /* Parse error */ #define MU_ERR_NOENT (MU_ERR_BASE + 39) /* Requested item not found */ #define MU_ERR_BUFSPACE (MU_ERR_BASE + 40) /* Not enough buffer space */ + +#define MU_ERR_SQL (MU_ERR_BASE + 41) + /* SQL error */ +#define MU_ERR_DB_ALREADY_CONNECTED (MU_ERR_BASE + 42) + /* Already connected to the database */ +#define MU_ERR_DB_NOT_CONNECTED (MU_ERR_BASE + 43) + /* Not connected to the database */ +#define MU_ERR_RESULT_NOT_RELEASED (MU_ERR_BASE + 44) + /* Result of the previous query is not released */ +#define MU_ERR_NO_QUERY (MU_ERR_BASE + 45) + /* No query was executed */ +#define MU_ERR_BAD_COLUMN (MU_ERR_BASE + 46) + /* Bad column address */ +#define MU_ERR_NO_RESULT (MU_ERR_BASE + 47) + /* No result from the previous query available */ +#define MU_ERR_NO_INTERFACE (MU_ERR_BASE + 48) + /* No such interface */ const char *mu_errname __P((int e)); const char *mu_strerror __P((int e)); #ifdef __cplusplus } |