Re: Reg: where we can get snmpsettable value.
Thazhai Arasan <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thank you Dave, I unterstood u_char * var_val, is for new value , But when i set this (var_val) value in COMMIT action, it wont set the new value. The value is not set. But when i hard-coded the some values instead of (var_val) in function, it is set. can you please tell me the reason. regards, Thazhaiarasan R. On Wed, Jul 21, 2010 at 9:37 AM, Dave Shield <[email protected]>wrote: > On 21 July 2010 14:23, Thazhai Arasan <[email protected]> wrote: > > u_char * var_val, > > This contains a pointer to the new value. > (Just cast it to the appropriate type) > > > u_char var_val_type, > > This contains the ASN1 type of the new value. > > > size_t var_val_len, > > This contains the size of the new value > (i.e. the number of bytes that 'var_val' points to) > > > Be aware that this is the old (v4) UCD API. > It will still work, but most MIB modules are now being > developed using the v5 handler-based mechanism. > See the source code for examples of how this works. > > Dave > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ 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