]>
Commit | Line | Data |
---|---|---|
ec41b64c AJ |
1 | #ifndef _SQUID_COMM_COMM_ERR_T_H |
2 | #define _SQUID_COMM_COMM_ERR_T_H | |
3 | ||
ec41b64c AJ |
4 | typedef enum { |
5 | COMM_OK = 0, | |
6 | COMM_ERROR = -1, | |
7 | COMM_NOMESSAGE = -3, | |
8 | COMM_TIMEOUT = -4, | |
9 | COMM_SHUTDOWN = -5, | |
10 | COMM_IDLE = -6, /* there are no active fds and no pending callbacks. */ | |
11 | COMM_INPROGRESS = -7, | |
12 | COMM_ERR_CONNECT = -8, | |
13 | COMM_ERR_DNS = -9, | |
14 | COMM_ERR_CLOSING = -10, | |
15 | COMM_ERR_PROTOCOL = -11, /* IPv4 or IPv6 cannot be used on the fd socket */ | |
16 | COMM_ERR__END__ = -999999 /* Dummy entry to make syntax valid (comma on line above), do not use. New entries added above */ | |
17 | } comm_err_t; | |
18 | ||
19 | #endif /* _SQUID_COMM_COMM_ERR_T_H */ |