> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Carlos
> Cantu
> Sent: 01 October 2004 16:42
> To: [EMAIL PROTECTED]
> Subject: mode set
> 
> 
> Where is mode set and what are it's valid values (enum)?
> 
>     typedef struct netsnmp_agent_request_info_s {
>         int             mode;
> 
> Getting 0 on a Set.  Doesn't seem right.  Running 5.0.8.
> 
> Carlos

Hi Carlos,

as set is done in several steps so that it's possible to undo things if the set for 
one of the varbinds fails.

MODE_SET_RESERVE1
MODE_SET_RESERVE
MODE_SET_ACTION
MODE_SET_COMMI
MODE_SET_UNDO
MODE_SET_FREE

Have a look at the bottom of this page to see how the modes work together:
http://www.net-snmp.org/tutorial-5/toolkit/mib_module/index.html

Regards,

Holger


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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

Reply via email to