On 03/01/2008, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > Which code is calling var_system function and how > calling code will tell it is set request to the function var_system so > that var_system will set up the write_method hook value, here what is > hook value to invoke the SET processing code for that object.
This processing is done by the routine 'netsnmp_old_api_helper' in the file 'agent/helpers/old_api.c' Please note that (as the name suggests) this is the old MIB API, carried forward from the original UCD SNMP code. It does still work, but it's not really worth spending too much time on understanding the internal details of this approach. You would do better concentrating on the newer handler-based approach. I would also suggest that you get a feel for writing MIB modules yourself, before starting to delve into the internals of the agent Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
