/usr/include/net-snmp/agent/mode_end_call.h is in libsnmp-dev 5.4.3~dfsg-2.4ubuntu1.3.
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 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | /*
* mode_end_call.h
*/
#ifndef MODE_END_CALL_H
#define MODE_END_CALL_H
#ifdef __cplusplus
extern "C" {
#endif
#define NETSNMP_MODE_END_ALL_MODES -999
typedef struct netsnmp_mode_handler_list_s {
struct netsnmp_mode_handler_list_s *next;
int mode;
netsnmp_mib_handler *callback_handler;
} netsnmp_mode_handler_list;
/*
* The helper calls another handler after each mode has been
* processed.
*/
/* public functions */
netsnmp_mib_handler *
netsnmp_get_mode_end_call_handler(netsnmp_mode_handler_list *endlist);
netsnmp_mode_handler_list *
netsnmp_mode_end_call_add_mode_callback(netsnmp_mode_handler_list *endlist,
int mode,
netsnmp_mib_handler *callbackh);
/* internal */
Netsnmp_Node_Handler netsnmp_mode_end_call_helper;
#ifdef __cplusplus
}
#endif
#endif
|