NetSNMP::default_store - Perl extension for Net-SNMP generic storage of global data
SYNOPSIS
use NetSNMP::default_store qw(:all);
$port = netsnmp_ds_get_int(NETSNMP_DS_LIBRARY_ID, DS_LIB_DEFAULT_PORT);
netsnmp_ds_set_int(NETSNMP_DS_LIBRARY_ID, DS_LIB_DEFAULT_PORT, 161);
DESCRIPTION
This module is a wrapper around the net-snmp default store routines.
See the net-snmp default_store manual page for details on what the
various functions do and the values that can be set/retrieved.
int netsnmp_ds_get_boolean(int storeid, int which)
int netsnmp_ds_get_int(int storeid, int which)
char *netsnmp_ds_get_string(int storeid, int which)
void *netsnmp_ds_get_void(int storeid, int which)
int netsnmp_ds_register_config(unsigned char type, const char *ftype, const char *token,
int storeid, int which)
int netsnmp_ds_register_premib(unsigned char type, const char *ftype, const char *token,
int storeid, int which)
int netsnmp_ds_set_boolean(int storeid, int which, int value)
int netsnmp_ds_set_int(int storeid, int which, int value)
int netsnmp_ds_set_string(int storeid, int which, const char *value)
int netsnmp_ds_set_void(int storeid, int which, void *value)
void netsnmp_ds_shutdown(void)
int netsnmp_ds_toggle_boolean(int storeid, int which)