Re: [mib2c .c code] code for MODE_SET_ACTION

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/5/15 CHAHIBI Samira <[email protected]>:
> I have run mib2c and obtained my .c and .h files. I have one single RW
> scalar variable named "id".

Which mib2c template did you use?   scalar or int_watch?
Your requirements match the 'mib2c.int_watch.conf' template almost
exactly.   That will handle all of the details for you - all you need to do
is specify the OID and the integer variable which holds the value.
The watcher helper does everything else.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.