I have a solution. Instead of using the dataset API, I use the tdata API. INIT: netsnmp_create_handler_registration() netsnmp_tdata_create_table() netsnmp_table_helper_add_indexes() netsnmp_tdata_register() netsnmp_tdata_create_row() netsnmp_tdata_add_row()
HANDLE: netsnmp_extract_table_info() netsnmp_tdata_extract_entry() Does mib2c use this API in any of its table-generating modes? It does not appear to, and I would highly recommend that to be added. This works so long as the memory pointer to the external row data does not change at any time after table initialization, during program execution; and this is more efficient. Regards. ________________________________ CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ 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
