I, like several before me, am working towards writing a subagent that inserts a row into a table that can be shared by several different subagents. (Specificially, the applTable in APPLICATION-MIB, which is basically *the* canonical poster child for this use case.)
While carefully reading past threads on the subject, and getting more familiar with the code base, I've discovered agent/helpers/table_row.c which implements netsnmp_table_row_handler_get, netsnmp_table_row_register, and netsnmp_table_row_extract. * Helper for registering single row slices of a shared table * $Id: table_row.c,v 5.2 2006/09/19 10:24:14 dts12 Exp $ It seems to be and claims to be a helper object for this very purpose. It gets compiled, it gets linked into the libraries. And yet, there is no .h file, and nothing calls it. Is it the start of an implementation for this use case? Has the developer who implemented it tried any test cases or a test harness? Are there known dragons and tarpits? (There are, of course, plenty of *unknown* dragons and tarpits, in using code that's not documented and not .h declared...) -- Mark Atwood When you do things right, people won't be sure [EMAIL PROTECTED] you've done anything at all. http://mark.atwood.name/ http://fallenpegasus.livejournal.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
