On Wed, 25 May 2005 09:12:41 +0530 Kurapati wrote: KMG> On Thu, 19 May 2005 16:54:25 +0530 Kurapati wrote: KMG> But, in the subagent code, we require to call KMG> init_agentx_config()(to set the the agentxsocket tag in the Subagent KMG> configuration file) function. This is defined in agentx_config.h, which KMG> is present in agentx directory.
The real solution to that particular problem is actually to have the library code call init_agentx_config() during init_agent(), if configured as a subagent. KMG> Is there any other call that I should use instaead of this, to avoid KMG> including these agentx related files? The other workaround is to use the function w/out the header and let the linker sort it out, or copy the function prototype to your source file. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users