On Fri, 1 Jun 2007 07:05:59 -0700 (PDT) Need wrote: NH> Do you recommend I generate my code using some other type of configuration file or is it possible to implement your suggestion using the "mfd" code layout approach? NH> NH> In addition I have no idea what you mean by subcontainers and filters. If you can elaborate a bit that would be helpful. Perhaps give me some examples as to what types of procedures I need to call or how one would set up a subcontainer with filters.... NH> NH> Anything would be helpful ....
Well, I've used up my time for the day trying to catch up on the backlog of messages, so I'll have to be brief... MfD uses a netsnmp_container to store the rowreq_ctx structure for a table... the container_load routine does the inserting. If you create additional containers, the CONTAINER_INSERT will insert a pointer to the row in the additional containers. More information can be found at <http://www.net-snmp.org/wiki/index.php/Containers>, esp the part on secondary indexes/containers. At least there is an example of how to create additional subcontainers. I'll have to leave filters for another day... but poke around in snmplib/container.c, searching on filter, and see if that helps... ------------------------------------------------------------------------- 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 Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders