Revert "Revert "and added files""
[bcm963xx.git] / userapps / opensource / net-snmp / include / net-snmp / agent / multiplexer.h
1 #ifndef NETSNMP_MULTIPLEXER_H
2 #define NETSNMP_MULTIPLEXER_H
3
4 #ifdef __cplusplus
5 extern          "C" {
6 #endif
7
8 /*
9  * The multiplexer helper 
10  */
11
12 /** @name multiplexer
13  *  @{ */
14
15 /** @struct netsnmp_mib_handler_methods
16  *  Defines the subhandlers to be called by the multiplexer helper
17  */
18 typedef struct netsnmp_mib_handler_methods_s {
19    /** called when a GET request is received */
20     netsnmp_mib_handler *get_handler;
21    /** called when a GETNEXT request is received */
22     netsnmp_mib_handler *getnext_handler;
23    /** called when a GETBULK request is received */
24     netsnmp_mib_handler *getbulk_handler;
25    /** called when a SET request is received */
26     netsnmp_mib_handler *set_handler;
27 } netsnmp_mib_handler_methods;
28
29 /** @} */
30
31 netsnmp_mib_handler
32     *netsnmp_get_multiplexer_handler(netsnmp_mib_handler_methods *);
33
34 Netsnmp_Node_Handler netsnmp_multiplexer_helper_handler;
35
36 #ifdef __cplusplus
37 }
38 #endif
39 #endif                          /* NETSNMP_MULTIPLEXER_H */