added files
[bcm963xx.git] / userapps / opensource / net-snmp / include / net-snmp / agent / mode_end_call.h
1 /*
2  * mode_end_call.h 
3  */
4 #ifndef MODE_END_CALL_H
5 #define MODE_END_CALL_H
6
7 #ifdef __cplusplus
8 extern          "C" {
9 #endif
10
11 #define NETSNMP_MODE_END_ALL_MODES -999
12
13 typedef struct netsnmp_mode_handler_list_s {
14    struct netsnmp_mode_handler_list_s *next;
15    int mode;
16    netsnmp_mib_handler *callback_handler;
17 } netsnmp_mode_handler_list;
18
19 /*
20  * The helper calls another handler after each mode has been
21  * processed.
22  */
23
24 /* public functions */
25 netsnmp_mib_handler *
26 netsnmp_get_mode_end_call_handler(netsnmp_mode_handler_list *endlist);
27
28 netsnmp_mode_handler_list *
29 netsnmp_mode_end_call_add_mode_callback(netsnmp_mode_handler_list *endlist,
30                                         int mode,
31                                         netsnmp_mib_handler *callbackh);
32
33 /* internal */
34 Netsnmp_Node_Handler netsnmp_mode_end_call_helper;
35
36 #ifdef __cplusplus
37 }
38 #endif
39 #endif