Re: Scalar value questions

2007-07-07 Thread Dave Shield
On 06/07/07, Need Help <[EMAIL PROTECTED]> wrote: > typedef struct MIB_OCTET_STRING_s { >u_long length; >u_char textStr[50]; > > } MIB_OCTET_STRING; Note that 'textStr' is effective a "char *", pointing to the start of the string value. > snmp_set_var_typed_value(requests->req

Scalar value questions

2007-07-06 Thread Need Help
I have some questions regarding scalar values and how to populate them. I generated the following two code files using "mib2c" with the "mib2c.scalar.conf" configuration file. ocStbHostHWIdentifiers.h ocStbHostHWIdentifiers.c There are three data fields (ie: scalar values) defined in the