questions on api netsnmp_create_table_data_set
"Enzo Arlati" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I' m using net-snmp 5.3.1 and I use the netsnmp_create_table_data_set api to create a table.
I din't understand what is the purpose of table_name.
I give table_name both the value of a table defined inside MIB , in this case crTableDevices, and a dummy value ("DUMMY").
It's seems that there is no difference, the function succefully return and teh program run as excpected.
netsnmp_table_data_set *table_set_devices_devices;
netsnmp_handler_registration * reginfo = 0;
//strcpy( table_name, "crTableDevices" );
strcpy( table_name, "DUMMY" );
aesys_table_set_devices_devices = netsnmp_create_table_data_set( table_name );
if( aesys_table_set_devices_devices == 0 )
{
DEBUGMSGTL(("aesys", "[initialize_table_crTableDevices] FAILED netsnmp_create_table_data_set( %s ) \n", table_name ));
return;
}
Do you have some explanation about the real utility of the parameter table_name.
BTW the help on net_snmp eplain feew details, do you know some other links where can I find more tutorial about how use net_snmp api ?
regards, Enzo
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users