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

Reply via email to