Hi, 
   
  I'm using net snmp api to exec some request on localhost and to give the 
response to another piece of software. My problem is that i use 
snmp_synch_response to send my request and i catch it in a "response" pdu, 
after i read the variables list to comput the result. But i find no way to take 
that i want in this structure. It's like "type" was not set, so I try to use 
sprint_realloc_variable but i cant custom the result. In fact sprint realloc 
varaible will print in a char "TEXTUAL_OID = TYPE: VALUE" idealy i wish have 
"NUMERICAL_OID;TYPE;VALUE". Is There is a way to do that with 
sprint_realloc_variable or an other simple function ? And if it's impossible 
does anybody know why i success to comput value and oid in the 
response->variable structure but no way to have a reliable "type" (so 
impossible to know how to read value, is it a string or a integer or a 
timetrick ?!). 
  Thanks for your work, and soon for your help ;)
   
  Nico

       
---------------------------------
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to