Revert "Revert "and added files""
[bcm963xx.git] / userapps / opensource / net-snmp / include / net-snmp / agent / set_helper.h
1 #ifndef SET_HELPER_H
2 #define SET_HELPER_H
3
4 #ifdef __cplusplus
5 extern          "C" {
6 #endif
7
8 typedef struct netsnmp_set_info_s {
9     int             action;
10     void           *stateRef;
11
12     /*
13      * don't use yet: 
14      */
15     void          **oldData;
16     int             setCleanupFlags;    /* XXX: client sets this to: */
17 #define AUTO_FREE_STATEREF 0x01 /* calls free(stateRef) */
18 #define AUTO_FREE_OLDDATA  0x02 /* calls free(*oldData) */
19 #define AUTO_UNDO          0x04 /* ... */
20 } netsnmp_set_info;
21
22 #ifdef __cplusplus
23 }
24 #endif
25 #endif