summaryrefslogtreecommitdiffabout
path: root/include
authorSergey Poznyakoff <gray@gnu.org.ua>2004-06-02 11:01:03 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2004-06-02 11:01:03 (GMT)
commit74a4478087159a708de6cf5295a66bee91394cf1 (patch) (side-by-side diff)
tree94e32a8aaf5c2ed13dd999a4f9b4a696b9eef347 /include
parenta463985d9e4a7e35582b61393218e5099f84fe46 (diff)
downloadmailutils-74a4478087159a708de6cf5295a66bee91394cf1.tar.gz
mailutils-74a4478087159a708de6cf5295a66bee91394cf1.tar.bz2
(MU_ERR_CONN_CLOSED,MU_ERR_PARSE): New error codes.
(MU_ERR_NOENT): New error code. Use it instead of ENOENT to avoid misguiding diagnostics 'No such file or directory'. Use ENOENT only for its direct purpose.
Diffstat (limited to 'include') (more/less context) (ignore whitespace changes)
-rw-r--r--include/mailutils/errno.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mailutils/errno.h b/include/mailutils/errno.h
index fc8d410..4aa943b 100644
--- a/include/mailutils/errno.h
+++ b/include/mailutils/errno.h
@@ -88,6 +88,13 @@ extern "C" {
#define MU_ERR_PROCESS_UNKNOWN_FAILURE (MU_ERR_BASE + 36)
/* Unknown failure while executing subprocess */
+
+#define MU_ERR_CONN_CLOSED (MU_ERR_BASE + 37)
+ /* Connection closed by remote host */
+#define MU_ERR_PARSE (MU_ERR_BASE + 38)
+ /* Parse error */
+#define MU_ERR_NOENT (MU_ERR_BASE + 39)
+ /* Requested item not found */
const char *mu_errname __P((int e));
const char *mu_strerror __P((int e));

Return to:

Send suggestions and report system problems to the System administrator.