This is a discussion on RE: call back function on SNMP agent init completion within the SNMP Coders forums, part of the Networking and Network Related category; Thanks Wes Hardaker, It works in the way which I had expected. Thanks & Regards, Santhosh -----Original Message----- From: Wes ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Thanks Wes Hardaker, It works in the way which I had expected.
Thanks & Regards, Santhosh -----Original Message----- From: Wes Hardaker [mailto:hardaker@users.sourceforge.net] Sent: Thursday, October 05, 2006 8:40 PM To: SANTHOSH S (WT01 - Broadband Networks) Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: call back function on SNMP agent init completion >>>>> "ss" == santhosh sundarasamy <santhosh.sundarasamy@wipro.com> writes: ss> Hi ss> Is there a way to register call back function which needs to be ss> invoked after all the SNMP agent init ( all MIB module init ) gets over? ss> I had seen snmplib/callback.c, and tried snmp_regiter_callback() ss> with SNMP_CALLBACK_SESSION_INIT. But my function is not invoked after ss> init procedure. ss> Please let me know how / what API to use for the same? There should probably be something later than this, but I don't think there is. But there is a callback that happens after all the config processing has been done, which has been sufficient in the past for most modules: snmp_register_callback(SNMP_CALLBACK_LIBRARY, SNMP_CALLBACK_POST_READ_CONFIG, your_super_function_here, NULL); -- Wes Hardaker Sparta, Inc. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?p...rge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |
![]() |
| Thread Tools | |
| Display Modes | |
|
|