26 |
|
|
27 |
#define MU_ERR_BASE 0x1000 |
#define MU_ERR_BASE 0x1000 |
28 |
|
|
29 |
#define MU_ERR_NO_HANDLER (MU_ERR_BASE | 0x001) |
#define MU_ERR_FAILURE (MU_ERR_BASE + 1) |
30 |
#define MU_ERR_EMPTY_VFN (MU_ERR_BASE | 0x002) |
#define MU_ERR_NO_HANDLER (MU_ERR_BASE + 2) |
31 |
|
#define MU_ERR_EMPTY_VFN (MU_ERR_BASE + 3) |
32 |
#define MU_ERR_OUT_NULL (MU_ERR_BASE | 0x003) |
|
33 |
#define MU_ERR_OUT_PTR_NULL (MU_ERR_BASE | 0x004) |
#define MU_ERR_OUT_NULL (MU_ERR_BASE + 4) |
34 |
|
#define MU_ERR_OUT_PTR_NULL (MU_ERR_BASE + 5) |
35 |
#define MU_ERR_MBX_NULL (MU_ERR_BASE | 0x005) |
|
36 |
|
#define MU_ERR_MBX_NULL (MU_ERR_BASE + 6) |
37 |
#define MU_ERR_BAD_822_FORMAT (MU_ERR_BASE | 0x006) |
|
38 |
#define MU_ERR_EMPTY_ADDRESS (MU_ERR_BASE | 0x007) |
#define MU_ERR_BAD_822_FORMAT (MU_ERR_BASE + 7) |
39 |
|
#define MU_ERR_EMPTY_ADDRESS (MU_ERR_BASE + 8) |
40 |
#define MU_ERR_LOCKER_NULL (MU_ERR_BASE | 0x008) |
|
41 |
#define MU_ERR_LOCK_CONFLICT (MU_ERR_BASE | 0x009) |
#define MU_ERR_LOCKER_NULL (MU_ERR_BASE + 9) |
42 |
#define MU_ERR_LOCK_BAD_LOCK (MU_ERR_BASE | 0x00a) |
#define MU_ERR_LOCK_CONFLICT (MU_ERR_BASE + 10) |
43 |
#define MU_ERR_LOCK_BAD_FILE (MU_ERR_BASE | 0x00b) |
#define MU_ERR_LOCK_BAD_LOCK (MU_ERR_BASE + 11) |
44 |
#define MU_ERR_LOCK_NOT_HELD (MU_ERR_BASE | 0x00c) |
#define MU_ERR_LOCK_BAD_FILE (MU_ERR_BASE + 12) |
45 |
#define MU_ERR_LOCK_EXT_FAIL (MU_ERR_BASE | 0x00d) |
#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 */ |
/* external program not found, or lack of system resources */ |
48 |
#define MU_ERR_LOCK_EXT_ERR (MU_ERR_BASE | 0x00e) |
#define MU_ERR_LOCK_EXT_ERR (MU_ERR_BASE + 15) |
49 |
/* external program failed, specific reason unknown */ |
/* external program failed, specific reason unknown */ |
50 |
#define MU_ERR_LOCK_EXT_KILLED (MU_ERR_BASE | 0x00f) |
#define MU_ERR_LOCK_EXT_KILLED (MU_ERR_BASE + 16) |
51 |
/* external program was interrupted */ |
/* external program was interrupted */ |
52 |
|
|
53 |
#define MU_ERR_NO_SUCH_USER (MU_ERR_BASE | 0x010) |
#define MU_ERR_NO_SUCH_USER (MU_ERR_BASE + 17) |
54 |
|
|
55 |
#define MU_ERR_GETHOSTBYNAME (MU_ERR_BASE | 0x011) |
#define MU_ERR_GETHOSTBYNAME (MU_ERR_BASE + 18) |
56 |
|
|
57 |
#define MU_ERR_BAD_RESUMPTION (MU_ERR_BASE | 0x012) |
#define MU_ERR_BAD_RESUMPTION (MU_ERR_BASE + 19) |
58 |
|
|
59 |
#define MU_ERR_MAILER_BAD_FROM (MU_ERR_BASE | 0x013) |
#define MU_ERR_MAILER_BAD_FROM (MU_ERR_BASE + 20) |
60 |
#define MU_ERR_MAILER_BAD_TO (MU_ERR_BASE | 0x014) |
#define MU_ERR_MAILER_BAD_TO (MU_ERR_BASE + 21) |
61 |
#define MU_ERR_MAILER_NO_RCPT_TO (MU_ERR_BASE | 0x015) |
#define MU_ERR_MAILER_NO_RCPT_TO (MU_ERR_BASE + 22) |
62 |
#define MU_ERR_MAILER_BAD_URL (MU_ERR_BASE | 0x016) |
#define MU_ERR_MAILER_BAD_URL (MU_ERR_BASE + 23) |
63 |
#define MU_ERR_SMTP_RCPT_FAILED (MU_ERR_BASE | 0x017) |
#define MU_ERR_SMTP_RCPT_FAILED (MU_ERR_BASE + 24) |
64 |
|
|
65 |
#define MU_ERR_TCP_NO_HOST (MU_ERR_BASE | 0x018) |
#define MU_ERR_TCP_NO_HOST (MU_ERR_BASE + 25) |
66 |
#define MU_ERR_TCP_NO_PORT (MU_ERR_BASE | 0x019) |
#define MU_ERR_TCP_NO_PORT (MU_ERR_BASE + 26) |
67 |
|
|
68 |
#define MU_ERR_BAD_2047_INPUT (MU_ERR_BASE | 0x020) |
#define MU_ERR_BAD_2047_INPUT (MU_ERR_BASE + 27) |
69 |
|
|
70 |
const char* mu_errname __P((int e)); |
const char *mu_errname __P((int e)); |
71 |
const char* mu_strerror __P((int e)); |
const char *mu_strerror __P((int e)); |
72 |
|
|
73 |
#ifdef __cplusplus |
#ifdef __cplusplus |
74 |
} |
} |