Re: [mib2c .c code] code for MODE_SET_ACTION
Wes Hardaker <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Sparta |
| Message-ID | <[email protected]> |
>>>>> On Thu, 15 May 2008 16:59:19 +0000, CHAHIBI Samira <[email protected]> said: CS> Hi all, CS> I have run mib2c and obtained my .c and .h files. I have one single RW scalar variable named "id". I I have completed the MODE_GET case by giving the pointor and lenght of "id". The problem is that i don't know how to complete the MODE_SET_ACTION, all i want is to affect an integer value to my scalar object "id". CS> Please help, I'm totally begineer. Thanks a lot. In the ACTION portion, use id = *request->requestvb->val.integer; -- Wes Hardaker Sparta, Inc. ------------------------------------------------------------------------- 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