net-snmp 5.7
set_helper.h
00001 #ifndef SET_HELPER_H
00002 #define SET_HELPER_H
00003 
00004 #ifdef __cplusplus
00005 extern          "C" {
00006 #endif
00007 
00008 typedef struct netsnmp_set_info_s {
00009     int             action;
00010     void           *stateRef;
00011 
00012     /*
00013      * don't use yet: 
00014      */
00015     void          **oldData;
00016     int             setCleanupFlags;    /* XXX: client sets this to: */
00017 #define AUTO_FREE_STATEREF 0x01 /* calls free(stateRef) */
00018 #define AUTO_FREE_OLDDATA  0x02 /* calls free(*oldData) */
00019 #define AUTO_UNDO          0x04 /* ... */
00020 } netsnmp_set_info;
00021 
00022 #ifdef __cplusplus
00023 }
00024 #endif
00025 #endif