On 08 Jun 2007 11:58:11 -0700, Mark Atwood <[EMAIL PROTECTED]> wrote: > Both <net-snmp/agent/snmp_vars.h> and <net-snmp/agent/agent_module_config.h> > are included together by <net-snmp/agent/net-snmp-agent-includes.h>. However, > agent_module_config.h is included *after* snmp_vars.h, and so > USING_AGENTX_SUBAGENT_MODULE isnt yet defined, and so > netsnmp_enable_subagent doesnt get declared. > > Is this a bug?
Yes - it's a bug. The two "config.h" header files should be read in first, before any of the API header files. Thanks for the report - we'll update the code accordingly. Dave ------------------------------------------------------------------------- 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
