hey everyone. i'm just trying to assign the snmp.c output to a variable. in the 
code the string that gives the output is kinda like this : 

      for(vars = response->variables; vars; vars = vars->next_variable)
        print_variable(vars->name, vars->name_length, vars);

and my output is : 

     IF-MIB::ifInOctets.9 = Counter32: 3562291204

now i only need the "3562291204" number as a variable because i have to do some 
arithmetic operations on it. can anyone know how to do this?
 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to