/usr/include/ucd-snmp/default_store.h is in libsnmp-dev 5.4.3~dfsg-2.4ubuntu1.
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | #ifdef UCD_COMPATIBLE
#include <net-snmp/library/default_store.h>
/*  Compatibility definitions -- see above header for meaningful comments.  */
#define DS_MAX_IDS			NETSNMP_DS_MAX_IDS
#define DS_MAX_SUBIDS			NETSNMP_DS_MAX_SUBIDS
#define DS_LIBRARY_ID			NETSNMP_DS_LIBRARY_ID
#define DS_APPLICATION_ID		NETSNMP_DS_APPLICATION_ID
#define DS_TOKEN_ID			NETSNMP_DS_TOKEN_ID
#define DS_LIB_MIB_ERRORS		NETSNMP_DS_LIB_MIB_ERRORS
#define DS_LIB_SAVE_MIB_DESCRS		NETSNMP_DS_LIB_SAVE_MIB_DESCRS
#define DS_LIB_MIB_COMMENT_TERM		NETSNMP_DS_LIB_MIB_COMMENT_TERM
#define DS_LIB_MIB_PARSE_LABEL		NETSNMP_DS_LIB_MIB_PARSE_LABEL
#define DS_LIB_DUMP_PACKET		NETSNMP_DS_LIB_DUMP_PACKET
#define DS_LIB_LOG_TIMESTAMP		NETSNMP_DS_LIB_LOG_TIMESTAMP
#define DS_LIB_DONT_READ_CONFIGS	NETSNMP_DS_LIB_DONT_READ_CONFIGS
#define DS_LIB_MIB_REPLACE		NETSNMP_DS_LIB_MIB_REPLACE
#define DS_LIB_PRINT_NUMERIC_ENUM	NETSNMP_DS_LIB_PRINT_NUMERIC_ENUM
#define DS_LIB_PRINT_NUMERIC_OIDS	NETSNMP_DS_LIB_PRINT_NUMERIC_OIDS
#define DS_LIB_DONT_BREAKDOWN_OIDS	NETSNMP_DS_LIB_DONT_BREAKDOWN_OIDS
#define DS_LIB_ALARM_DONT_USE_SIG 	NETSNMP_DS_LIB_ALARM_DONT_USE_SIG
#define DS_LIB_PRINT_FULL_OID 		NETSNMP_DS_LIB_PRINT_FULL_OID
#define DS_LIB_QUICK_PRINT 		NETSNMP_DS_LIB_QUICK_PRINT
#define DS_LIB_RANDOM_ACCESS 		NETSNMP_DS_LIB_RANDOM_ACCESS
#define DS_LIB_REGEX_ACCESS 		NETSNMP_DS_LIB_REGEX_ACCESS
#define DS_LIB_DONT_CHECK_RANGE 	NETSNMP_DS_LIB_DONT_CHECK_RANGE
#define DS_LIB_NO_TOKEN_WARNINGS 	NETSNMP_DS_LIB_NO_TOKEN_WARNINGS
#define DS_LIB_NUMERIC_TIMETICKS 	NETSNMP_DS_LIB_NUMERIC_TIMETICKS
#define DS_LIB_ESCAPE_QUOTES 		NETSNMP_DS_LIB_ESCAPE_QUOTES
#define DS_LIB_REVERSE_ENCODE 		NETSNMP_DS_LIB_REVERSE_ENCODE
#define DS_LIB_PRINT_BARE_VALUE 	NETSNMP_DS_LIB_PRINT_BARE_VALUE
#define DS_LIB_EXTENDED_INDEX 		NETSNMP_DS_LIB_EXTENDED_INDEX
#define DS_LIB_PRINT_HEX_TEXT 		NETSNMP_DS_LIB_PRINT_HEX_TEXT
#define DS_LIB_MIB_WARNINGS		NETSNMP_DS_LIB_MIB_WARNINGS
#define DS_LIB_SECLEVEL			NETSNMP_DS_LIB_SECLEVEL
#define DS_LIB_SNMPVERSION		NETSNMP_DS_LIB_SNMPVERSION
#define DS_LIB_DEFAULT_PORT		NETSNMP_DS_LIB_DEFAULT_PORT
#define DS_LIB_PRINT_SUFFIX_ONLY	NETSNMP_DS_LIB_PRINT_SUFFIX_ONLY
#define DS_LIB_SECNAME			NETSNMP_DS_LIB_SECNAME
#define DS_LIB_CONTEXT			NETSNMP_DS_LIB_CONTEXT
#define DS_LIB_PASSPHRASE		NETSNMP_DS_LIB_PASSPHRASE
#define DS_LIB_AUTHPASSPHRASE		NETSNMP_DS_LIB_AUTHPASSPHRASE
#define DS_LIB_PRIVPASSPHRASE		NETSNMP_DS_LIB_PRIVPASSPHRASE
#define DS_LIB_OPTIONALCONFIG		NETSNMP_DS_LIB_OPTIONALCONFIG
#define DS_LIB_APPTYPE			NETSNMP_DS_LIB_APPTYPE
#define DS_LIB_COMMUNITY		NETSNMP_DS_LIB_COMMUNITY
#define DS_LIB_PERSISTENT_DIR		NETSNMP_DS_LIB_PERSISTENT_DIR
#define DS_LIB_CONFIGURATION_DIR	NETSNMP_DS_LIB_CONFIGURATION_DIR
#ifdef __cplusplus
extern "C" {
#endif
int	ds_set_boolean		(int storeid, int which, int value);
int	ds_get_boolean		(int storeid, int which);
int	ds_toggle_boolean	(int storeid, int which);
int	ds_set_int		(int storeid, int which, int value);
int	ds_get_int		(int storeid, int which);
int	ds_set_string		(int storeid, int which, const char *value);
char   *ds_get_string		(int storeid, int which);
int 	ds_set_void		(int storeid, int which, void *value);
void   *ds_get_void		(int storeid, int which);
int	ds_register_config	(u_char type, const char *ftype,
				 const char *token, int storeid, int which);
int	ds_register_premib	(u_char type, const char *ftype,
				 const char *token, int storeid, int which);
void	ds_shutdown		(void);
#ifdef __cplusplus
}
#endif
#else /* UCD_COMPATIBLE */
#error "Please update your headers or configure using --enable-ucd-snmp-compatibility"
#endif
 |