Go to the documentation of this file.
9 #ifndef SQUID_SNMP_API_ERROR_H
10 #define SQUID_SNMP_API_ERROR_H
39 #define SNMPERR_GENERR -1
40 #define SNMPERR_BAD_LOCPORT -2
41 #define SNMPERR_BAD_ADDRESS -3
42 #define SNMPERR_BAD_SESSION -4
43 #define SNMPERR_TOO_LONG -5
45 #define SNMPERR_ASN_ENCODE -6
46 #define SNMPERR_ASN_DECODE -7
47 #define SNMPERR_PDU_TRANSLATION -8
48 #define SNMPERR_OS_ERR -9
49 #define SNMPERR_INVALID_TXTOID -10
51 #define SNMPERR_UNABLE_TO_FIX -11
52 #define SNMPERR_UNSUPPORTED_TYPE -12
53 #define SNMPERR_PDU_PARSE -13
54 #define SNMPERR_PACKET_ERR -14
55 #define SNMPERR_NO_RESPONSE -15
57 #define SNMPERR_LAST -16
const char * snmp_api_error(int)
void snmp_set_api_error(int)
const char * api_errstring(int)