>>>>> "DS" == Dave Shield writes:

DS> The obvious approach would be something like:

DS> #define NETSNMP_OLDAPI_RONLY 0x1
DS> #define NETSNMP_OLDAPI_RWRITE 0x2
DS> #define NETSNMP_OLDAPI_NOACCESS 0x3

DS> #ifndef NETSNMP_CLEAN_NAMESPACE
DS> #define RONLY NETSNMP_OLDAPI_RONLY
DS> #define RWRITE NETSNMP_OLDAPI_RWRITE
DS> #define NOACCESS NETSNMP_OLDAPI_NOACCESS
DS> #endif

+1

As long as NETSNMP_CLEAN_NAMESPACE is off by default.
--
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders