Re: Return type

This is a discussion on Re: Return type within the SNMP Coders forums, part of the Networking and Network Related category; On 03/01/2008, Siva Prakash Reddy G <sivag@aztecsoft.com> wrote: > Which code is calling var_system ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-03-2008
Dave Shield
 
Posts: n/a
Default Re: Return type

On 03/01/2008, Siva Prakash Reddy G <sivag@aztecsoft.com> 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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:20 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0