diff options
Diffstat (limited to 'include/net-snmp/agent/set_helper.h')
-rw-r--r-- | include/net-snmp/agent/set_helper.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/net-snmp/agent/set_helper.h b/include/net-snmp/agent/set_helper.h new file mode 100644 index 0000000..81d887c --- /dev/null +++ b/include/net-snmp/agent/set_helper.h @@ -0,0 +1,25 @@ +#ifndef SET_HELPER_H +#define SET_HELPER_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct netsnmp_set_info_s { + int action; + void *stateRef; + + /* + * don't use yet: + */ + void **oldData; + int setCleanupFlags; /* XXX: client sets this to: */ +#define AUTO_FREE_STATEREF 0x01 /* calls free(stateRef) */ +#define AUTO_FREE_OLDDATA 0x02 /* calls free(*oldData) */ +#define AUTO_UNDO 0x04 /* ... */ +} netsnmp_set_info; + +#ifdef __cplusplus +} +#endif +#endif |