blob: 81d887ca81b3a7082880fafa24423df73712f89a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|