/usr/include/net-snmp/agent/multiplexer.h is in libsnmp-dev 5.7.3+dfsg-1.8ubuntu3.
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 | #ifndef NETSNMP_MULTIPLEXER_H
#define NETSNMP_MULTIPLEXER_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* The multiplexer helper
*/
/** @name multiplexer
* @{ */
/** @struct netsnmp_mib_handler_methods
* Defines the subhandlers to be called by the multiplexer helper
*/
typedef struct netsnmp_mib_handler_methods_s {
/** called when a GET request is received */
netsnmp_mib_handler *get_handler;
/** called when a GETNEXT request is received */
netsnmp_mib_handler *getnext_handler;
/** called when a GETBULK request is received */
netsnmp_mib_handler *getbulk_handler;
/** called when a SET request is received */
netsnmp_mib_handler *set_handler;
} netsnmp_mib_handler_methods;
/** @} */
netsnmp_mib_handler
*netsnmp_get_multiplexer_handler(netsnmp_mib_handler_methods *);
Netsnmp_Node_Handler netsnmp_multiplexer_helper_handler;
#ifdef __cplusplus
}
#endif
#endif /* NETSNMP_MULTIPLEXER_H */
|