/usr/include/net-snmp/agent/set_helper.h is in libsnmp-dev 5.7.2~dfsg-8.1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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
|