>>>>> On Thu,  3 Nov 2005 22:43:41 -0600, Ravi <[EMAIL PROTECTED]> said:

Ravi> Under MODE_SET_RESERVE1 case , I want to call
Ravi> cacheptr->write_method() function, whenever the request is for
Ravi> agent(like when i set table of SNMP-TARGET-MIB) and my own
Ravi> function if the request is for smux peer .

You should be registering functions based on the toolkit api to handle
things to particular parts of the OID tree, and let the other
registered functions handle things for their own tree.

Have you read the toolkit tutorial?

http://www.net-snmp.org/tutorial/toolkit/

-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to