> I have code in which UCD-SNMP is used. If I want to upgrade that code
> from UCD to net-SNMP, then what changes are required apart from changing
> header file names?
Some of the data structures names have changed.
Typically
"struct {something}"
tends to have been replaced with
"netsnmp_{something}"
The contents of these structures haven't altered - just the names.
Most of the rest of the code should work unchanged.
Obviously, if you want to make use of the Net-SNMP agent v5 MIB module
API, then you'd need to recode that code quite significantly. But the
v4 UCD API will work quite happily - all you'd need would be to tweak
the header files and data structure names.
(In fact, if the Net-SNMP suite was configured with
--enable-ucd-snmp-compatibility
then even those changes shouldn't be needed.
But I wouldn't want to put any money on it....)
Dave
PS: Please - no HTML mail. Thanks
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders