> I got that page but most of them are implemented as commands and not 
> functions to be used in C programs.. for eg is there any function similar 
> to "snmpwalk" command for usage in C programs...

No.   There's no "snmpwalk()' routine.
You'd need to issue a series of separate SNMPGETNEXT commands yourself.
See 'apps/snmpwalk.c' for what is to be done here.

>       since as given in documentation u can use library via SNMP_GET and 
> SNMP_GETNEXT pdu's.

I don't quite follow this - there's no 'snmpget()' or 'snmpgetnext()' API
call either.   The library API works at a level *below* the command-line
tools.

   It's up to your code to construct the appropriate PDU, send it
using 'snmp_send' (or similar) and then receive/interpret the results.
See 'apps/snmpget.c' and 'apps/snmpgetnext.c' for examples.

Dave



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to