/[svn]/hopm/trunk/src/libopm/src/opm_error.h
ViewVC logotype

Contents of /hopm/trunk/src/libopm/src/opm_error.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5135 - (show annotations)
Thu Dec 25 18:51:51 2014 UTC (5 years, 5 months ago) by michael
File MIME type: text/x-csrc
File size: 870 byte(s)
- propset svn:eol-style native

1 #ifndef LIBOPM_ERROR_H
2 #define LIBOPM_ERROR_H
3
4 /* Success */
5 #define OPM_SUCCESS 1
6
7 /* Configuration Errors */
8 #define OPM_ERR_BADKEY 2 /* Unknown or bad key value */
9 #define OPM_ERR_BADVALUE 3 /* Bad value matching key */
10 #define OPM_ERR_BADPROTOCOL 4 /* Unknown protocol in config */
11
12 /* Read Errors */
13 #define OPM_ERR_MAX_READ 5 /* Socket reached MAX_READ */
14
15 /* Callback Registration Errors */
16 #define OPM_ERR_CBNOTFOUND 6 /* Callback is out of range */
17
18 /* opm_scan errors */
19 #define OPM_ERR_BADADDR 7 /* IP in remote struct is bad */
20 #define OPM_ERR_NOPROTOCOLS 8 /* No protocols to scan! */
21
22 /* bind/connect errors */
23 #define OPM_ERR_BIND 9 /* Error binding to BIND_IP */
24 #define OPM_ERR_NOFD 10/* Unable to allocate file descriptor */
25
26 #endif /* LIBOPM_ERROR_H */

Properties

Name Value
svn:eol-style native
svn:keywords Id

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28