Than try it....
snmp_set_var_typed_value(requests->requestvb,
ASN_OCTET_STR,
(u_char *) &datapointer,
strlen(datapointer));
and also try with defining datapointer as an array or char*
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders