diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-01-01 16:19:24 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-01-01 16:19:24 +0000 |
commit | 673576731a2ea8ada73bfc486afea673504cb70a (patch) | |
tree | 4efdef02af69aabe5931e58273c1b45606caf528 /include | |
parent | 43cbe40fd86e9398535af41f6a73bd560213dddc (diff) | |
download | mailutils-673576731a2ea8ada73bfc486afea673504cb70a.tar.gz mailutils-673576731a2ea8ada73bfc486afea673504cb70a.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'include')
-rw-r--r-- | include/mailutils/errno.h | 126 |
1 files changed, 0 insertions, 126 deletions
diff --git a/include/mailutils/errno.h b/include/mailutils/errno.h deleted file mode 100644 index 641543c2d..000000000 --- a/include/mailutils/errno.h +++ /dev/null | |||
@@ -1,126 +0,0 @@ | |||
1 | /* GNU Mailutils -- a suite of utilities for electronic mail | ||
2 | Copyright (C) 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. | ||
3 | |||
4 | This library is free software; you can redistribute it and/or | ||
5 | modify it under the terms of the GNU Lesser General Public | ||
6 | License as published by the Free Software Foundation; either | ||
7 | version 2 of the License, or (at your option) any later version. | ||
8 | |||
9 | This library is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | Lesser General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU Lesser General Public | ||
15 | License along with this library; if not, write to the Free Software | ||
16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ | ||
17 | |||
18 | #ifndef _MAILUTILS_ERRNO_H | ||
19 | #define _MAILUTILS_ERRNO_H 1 | ||
20 | |||
21 | #include <mailutils/types.h> | ||
22 | |||
23 | #ifdef __cplusplus | ||
24 | extern "C" { | ||
25 | #endif | ||
26 | |||
27 | #define MU_ERR_BASE 0x1000 | ||
28 | |||
29 | #define MU_ERR_FAILURE (MU_ERR_BASE + 1) | ||
30 | #define MU_ERR_NO_HANDLER (MU_ERR_BASE + 2) | ||
31 | #define MU_ERR_EMPTY_VFN (MU_ERR_BASE + 3) | ||
32 | |||
33 | #define MU_ERR_OUT_NULL (MU_ERR_BASE + 4) | ||
34 | #define MU_ERR_OUT_PTR_NULL (MU_ERR_BASE + 5) | ||
35 | |||
36 | #define MU_ERR_MBX_NULL (MU_ERR_BASE + 6) | ||
37 | |||
38 | #define MU_ERR_BAD_822_FORMAT (MU_ERR_BASE + 7) | ||
39 | #define MU_ERR_EMPTY_ADDRESS (MU_ERR_BASE + 8) | ||
40 | |||
41 | #define MU_ERR_LOCKER_NULL (MU_ERR_BASE + 9) | ||
42 | #define MU_ERR_LOCK_CONFLICT (MU_ERR_BASE + 10) | ||
43 | #define MU_ERR_LOCK_BAD_LOCK (MU_ERR_BASE + 11) | ||
44 | #define MU_ERR_LOCK_BAD_FILE (MU_ERR_BASE + 12) | ||
45 | #define MU_ERR_LOCK_NOT_HELD (MU_ERR_BASE + 13) | ||
46 | #define MU_ERR_LOCK_EXT_FAIL (MU_ERR_BASE + 14) | ||
47 | /* external program not found, or lack of system resources */ | ||
48 | #define MU_ERR_LOCK_EXT_ERR (MU_ERR_BASE + 15) | ||
49 | /* external program failed, specific reason unknown */ | ||
50 | #define MU_ERR_LOCK_EXT_KILLED (MU_ERR_BASE + 16) | ||
51 | /* external program was interrupted */ | ||
52 | |||
53 | #define MU_ERR_NO_SUCH_USER (MU_ERR_BASE + 17) | ||
54 | |||
55 | #define MU_ERR_GETHOSTBYNAME (MU_ERR_BASE + 18) | ||
56 | |||
57 | #define MU_ERR_BAD_RESUMPTION (MU_ERR_BASE + 19) | ||
58 | |||
59 | #define MU_ERR_MAILER_BAD_FROM (MU_ERR_BASE + 20) | ||
60 | #define MU_ERR_MAILER_BAD_TO (MU_ERR_BASE + 21) | ||
61 | #define MU_ERR_MAILER_NO_RCPT_TO (MU_ERR_BASE + 22) | ||
62 | #define MU_ERR_MAILER_BAD_URL (MU_ERR_BASE + 23) | ||
63 | #define MU_ERR_SMTP_RCPT_FAILED (MU_ERR_BASE + 24) | ||
64 | |||
65 | #define MU_ERR_TCP_NO_HOST (MU_ERR_BASE + 25) | ||
66 | #define MU_ERR_TCP_NO_PORT (MU_ERR_BASE + 26) | ||
67 | |||
68 | #define MU_ERR_BAD_2047_INPUT (MU_ERR_BASE + 27) | ||
69 | |||
70 | #define MU_ERR_NOUSERNAME (MU_ERR_BASE + 28) | ||
71 | #define MU_ERR_NOPASSWORD (MU_ERR_BASE + 29) | ||
72 | |||
73 | #define MU_ERR_UNSAFE_PERMS (MU_ERR_BASE + 30) | ||
74 | /* unsafe file permissions */ | ||
75 | |||
76 | #define MU_ERR_BAD_AUTH_SCHEME (MU_ERR_BASE + 31) | ||
77 | /* Unsupported authentication scheme */ | ||
78 | |||
79 | #define MU_ERR_AUTH_FAILURE (MU_ERR_BASE + 32) | ||
80 | /* Authentication failed */ | ||
81 | |||
82 | #define MU_ERR_PROCESS_NOEXEC (MU_ERR_BASE + 33) | ||
83 | /* Unable to execute subprocess */ | ||
84 | #define MU_ERR_PROCESS_EXITED (MU_ERR_BASE + 34) | ||
85 | /* Subprocess exited with a non-zero status */ | ||
86 | #define MU_ERR_PROCESS_SIGNALED (MU_ERR_BASE + 35) | ||
87 | /* Subprocess exited on signal */ | ||
88 | |||
89 | #define MU_ERR_PROCESS_UNKNOWN_FAILURE (MU_ERR_BASE + 36) | ||
90 | /* Unknown failure while executing subprocess */ | ||
91 | |||
92 | #define MU_ERR_CONN_CLOSED (MU_ERR_BASE + 37) | ||
93 | /* Connection closed by remote host */ | ||
94 | #define MU_ERR_PARSE (MU_ERR_BASE + 38) | ||
95 | /* Parse error */ | ||
96 | #define MU_ERR_NOENT (MU_ERR_BASE + 39) | ||
97 | /* Requested item not found */ | ||
98 | #define MU_ERR_BUFSPACE (MU_ERR_BASE + 40) | ||
99 | /* Not enough buffer space */ | ||
100 | |||
101 | #define MU_ERR_SQL (MU_ERR_BASE + 41) | ||
102 | /* SQL error */ | ||
103 | #define MU_ERR_DB_ALREADY_CONNECTED (MU_ERR_BASE + 42) | ||
104 | /* Already connected to the database */ | ||
105 | #define MU_ERR_DB_NOT_CONNECTED (MU_ERR_BASE + 43) | ||
106 | /* Not connected to the database */ | ||
107 | #define MU_ERR_RESULT_NOT_RELEASED (MU_ERR_BASE + 44) | ||
108 | /* Result of the previous query is not released */ | ||
109 | #define MU_ERR_NO_QUERY (MU_ERR_BASE + 45) | ||
110 | /* No query was executed */ | ||
111 | #define MU_ERR_BAD_COLUMN (MU_ERR_BASE + 46) | ||
112 | /* Bad column address */ | ||
113 | #define MU_ERR_NO_RESULT (MU_ERR_BASE + 47) | ||
114 | /* No result from the previous query available */ | ||
115 | #define MU_ERR_NO_INTERFACE (MU_ERR_BASE + 48) | ||
116 | /* No such interface */ | ||
117 | |||
118 | const char *mu_errname __P((int e)); | ||
119 | const char *mu_strerror __P((int e)); | ||
120 | |||
121 | #ifdef __cplusplus | ||
122 | } | ||
123 | #endif | ||
124 | |||
125 | #endif /* _MAILUTILS_ERRNO_H */ | ||
126 | |||