On 26/01/07, Clement Hsu <[EMAIL PROTECTED]> wrote: > what's the different between > snmp_set_var_value and snmp_set_var_type_value.
snmp_set_var_value() will insert the given value into the varbind. snmp_set_var_type_value() will insert the given value into the varbind *and* set the type of this value. > Why we use snmp_set_var_value to construct > table_access.c instead of snmp_set_var_type_value. Because the type will already have been set (using the information provided when the table was first registered). It's not necessary to set the type again. Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
