/usr/include/net-snmp/agent/agent_callbacks.h is in libsnmp-dev 5.7.3+dfsg-1.7+deb9u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #ifndef AGENT_CALLBACKS_H
#define AGENT_CALLBACKS_H
#define SNMPD_CALLBACK_ACM_CHECK 0
#define SNMPD_CALLBACK_REGISTER_OID 1
#define SNMPD_CALLBACK_UNREGISTER_OID 2
#define SNMPD_CALLBACK_REG_SYSOR 3
#define SNMPD_CALLBACK_UNREG_SYSOR 4
#define SNMPD_CALLBACK_ACM_CHECK_INITIAL 5
#define SNMPD_CALLBACK_SEND_TRAP1 6
#define SNMPD_CALLBACK_SEND_TRAP2 7
#define SNMPD_CALLBACK_REGISTER_NOTIFICATIONS 8
#define SNMPD_CALLBACK_PRE_UPDATE_CONFIG 9
#define SNMPD_CALLBACK_INDEX_START 10
#define SNMPD_CALLBACK_INDEX_STOP 11
#define SNMPD_CALLBACK_ACM_CHECK_SUBTREE 12
#define SNMPD_CALLBACK_REQ_REG_SYSOR 13
#define SNMPD_CALLBACK_REQ_UNREG_SYSOR 14
#define SNMPD_CALLBACK_REQ_UNREG_SYSOR_SESS 15
#endif /* AGENT_CALLBACKS_H */
|