1default_store(3)      User Contributed Perl Documentation     default_store(3)
2
3
4

NAME

6       NetSNMP::default_store - Perl extension for Net-SNMP generic storage of
7       global data
8

SYNOPSIS

10         use NetSNMP::default_store qw(:all);
11         $port = netsnmp_ds_get_int(NETSNMP_DS_LIBRARY_ID, DS_LIB_DEFAULT_PORT);
12         netsnmp_ds_set_int(NETSNMP_DS_LIBRARY_ID, DS_LIB_DEFAULT_PORT, 161);
13

DESCRIPTION

15       This module is a wrapper around the net-snmp default store routines.
16       See the net-snmp default_store manual page for details on what the var‐
17       ious functions do and the values that can be set/retrieved.
18
19       EXPORT
20
21       None by default.
22
23       Exportable constants
24
25                                          NETSNMP_DS_MAX_IDS
26                                          NETSNMP_DS_MAX_SUBIDS
27                                          NETSNMP_DS_LIBRARY_ID
28                                          NETSNMP_DS_APPLICATION_ID
29                                          NETSNMP_DS_TOKEN_ID
30                                          NETSNMP_DS_LIB_MIB_ERRORS
31                                          NETSNMP_DS_LIB_SAVE_MIB_DESCRS
32                                          NETSNMP_DS_LIB_MIB_COMMENT_TERM
33                                          NETSNMP_DS_LIB_MIB_PARSE_LABEL
34                                          NETSNMP_DS_LIB_DUMP_PACKET
35                                          NETSNMP_DS_LIB_LOG_TIMESTAMP
36                                          NETSNMP_DS_LIB_DONT_READ_CONFIGS
37                                          NETSNMP_DS_LIB_MIB_REPLACE
38                                          NETSNMP_DS_LIB_PRINT_NUMERIC_ENUM
39                                          NETSNMP_DS_LIB_PRINT_NUMERIC_OIDS
40                                          NETSNMP_DS_LIB_DONT_BREAKDOWN_OIDS
41                                          NETSNMP_DS_LIB_ALARM_DONT_USE_SIG
42                                          NETSNMP_DS_LIB_PRINT_FULL_OID
43                                          NETSNMP_DS_LIB_QUICK_PRINT
44                                          NETSNMP_DS_LIB_RANDOM_ACCESS
45                                          NETSNMP_DS_LIB_REGEX_ACCESS
46                                          NETSNMP_DS_LIB_DONT_CHECK_RANGE
47                                          NETSNMP_DS_LIB_NO_TOKEN_WARNINGS
48                                          NETSNMP_DS_LIB_NUMERIC_TIMETICKS
49                                          NETSNMP_DS_LIB_ESCAPE_QUOTES
50                                          NETSNMP_DS_LIB_REVERSE_ENCODE
51                                          NETSNMP_DS_LIB_PRINT_BARE_VALUE
52                                          NETSNMP_DS_LIB_EXTENDED_INDEX
53                                          NETSNMP_DS_LIB_PRINT_HEX_TEXT
54                                          NETSNMP_DS_LIB_PRINT_UCD_STYLE_OID
55                                          NETSNMP_DS_LIB_READ_UCD_STYLE_OID
56                                          NETSNMP_DS_LIB_HAVE_READ_PREMIB_CONFIG
57                                          NETSNMP_DS_LIB_HAVE_READ_CONFIG
58                                          NETSNMP_DS_LIB_QUICKE_PRINT
59                                          NETSNMP_DS_LIB_DONT_PRINT_UNITS
60                                          NETSNMP_DS_LIB_NO_DISPLAY_HINT
61                                          NETSNMP_DS_LIB_16BIT_IDS
62                                          NETSNMP_DS_LIB_DONT_PERSIST_STATE
63                                          NETSNMP_DS_LIB_2DIGIT_HEX_OUTPUT
64                                          NETSNMP_DS_LIB_IGNORE_NO_COMMUNITY
65                                          NETSNMP_DS_LIB_DISABLE_PERSISTENT_LOAD
66                                          NETSNMP_DS_LIB_DISABLE_PERSISTENT_SAVE
67                                          NETSNMP_DS_LIB_APPEND_LOGFILES
68                                          NETSNMP_DS_LIB_MIB_WARNINGS
69                                          NETSNMP_DS_LIB_SECLEVEL
70                                          NETSNMP_DS_LIB_SNMPVERSION
71                                          NETSNMP_DS_LIB_DEFAULT_PORT
72                                          NETSNMP_DS_LIB_OID_OUTPUT_FORMAT
73                                          NETSNMP_DS_LIB_STRING_OUTPUT_FORMAT
74                                          NETSNMP_DS_LIB_HEX_OUTPUT_LENGTH
75                                          NETSNMP_DS_LIB_SERVERSENDBUF
76                                          NETSNMP_DS_LIB_SERVERRECVBUF
77                                          NETSNMP_DS_LIB_CLIENTSENDBUF
78                                          NETSNMP_DS_LIB_CLIENTRECVBUF
79                                          NETSNMP_DS_SNMP_VERSION_1
80                                          NETSNMP_DS_SNMP_VERSION_2c
81                                          NETSNMP_DS_SNMP_VERSION_3
82                                          NETSNMP_DS_LIB_SECNAME
83                                          NETSNMP_DS_LIB_CONTEXT
84                                          NETSNMP_DS_LIB_PASSPHRASE
85                                          NETSNMP_DS_LIB_AUTHPASSPHRASE
86                                          NETSNMP_DS_LIB_PRIVPASSPHRASE
87                                          NETSNMP_DS_LIB_OPTIONALCONFIG
88                                          NETSNMP_DS_LIB_APPTYPE
89                                          NETSNMP_DS_LIB_COMMUNITY
90                                          NETSNMP_DS_LIB_PERSISTENT_DIR
91                                          NETSNMP_DS_LIB_CONFIGURATION_DIR
92                                          NETSNMP_DS_LIB_SECMODEL
93                                          NETSNMP_DS_LIB_MIBDIRS
94                                          NETSNMP_DS_LIB_OIDSUFFIX
95                                          NETSNMP_DS_LIB_OIDPREFIX
96                                          NETSNMP_DS_LIB_CLIENT_ADDR
97                                          NETSNMP_DS_LIB_TEMP_FILE_PATTERN
98                                          NETSNMP_DS_LIB_AUTHMASTERKEY
99                                          NETSNMP_DS_LIB_PRIVMASTERKEY
100                                          NETSNMP_DS_LIB_AUTHLOCALIZEDKEY
101                                          NETSNMP_DS_LIB_PRIVLOCALIZEDKEY
102                                          NETSNMP_DS_LIB_APPTYPES
103                                          NETSNMP_DS_LIB_KSM_KEYTAB
104                                          NETSNMP_DS_LIB_KSM_SERVICE_NAME
105                                          NETSNMP_DS_LIB_SBSM_LOCAL_PWD
106
107       Exportable functions
108
109         int netsnmp_ds_get_boolean(int storeid, int which)
110         int netsnmp_ds_get_int(int storeid, int which)
111         char *netsnmp_ds_get_string(int storeid, int which)
112         void *netsnmp_ds_get_void(int storeid, int which)
113         int netsnmp_ds_register_config(unsigned char type, const char *ftype, const char *token,
114                              int storeid, int which)
115         int netsnmp_ds_register_premib(unsigned char type, const char *ftype, const char *token,
116                              int storeid, int which)
117         int netsnmp_ds_set_boolean(int storeid, int which, int value)
118         int netsnmp_ds_set_int(int storeid, int which, int value)
119         int netsnmp_ds_set_string(int storeid, int which, const char *value)
120         int netsnmp_ds_set_void(int storeid, int which, void *value)
121         void netsnmp_ds_shutdown(void)
122         int netsnmp_ds_toggle_boolean(int storeid, int which)
123

AUTHOR

125       Wes Hardaker, hardaker@users.sourceforge.net
126

SEE ALSO

128       perl(1), default_store(3).
129
130
131
132perl v5.8.8                       2006-10-17                  default_store(3)
Impressum