Re: patch 1737727 and the NOACCESS #define

This is a discussion on Re: patch 1737727 and the NOACCESS #define within the SNMP Coders forums, part of the Networking and Network Related category; Hey, Would like to raise this question to the top of the stack once more. It has evolved into two ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-12-2007
Thijs Brouwer
 
Posts: n/a
Default Re: patch 1737727 and the NOACCESS #define

Hey,

Would like to raise this question to the top of the stack once more.
It has evolved into two questions.

- Do we want to move the RONLY, RWRITE, NOACCESS defines?
- Which of NETSNMP_NO_LEGACY_DEFINITIONS or NETSNMP_CLEAN_NAMESPACE do
we use to hide the old defines.

For the first question I could submit a patch with the following contents:

DS> #define NETSNMP_OLDAPI_RONLY 0x1
DS> #define NETSNMP_OLDAPI_RWRITE 0x2
DS> #define NETSNMP_OLDAPI_NOACCESS 0x3
DS>
DS> #ifndef NETSNMP_NO_LEGACY_DEFINITIONS
DS> #define RONLY NETSNMP_OLDAPI_RONLY
DS> #define RWRITE NETSNMP_OLDAPI_RWRITE
DS> #define NOACCESS NETSNMP_OLDAPI_NOACCESS
DS> #endif

About the second quesion: there was a short discussion about the
NETSNMP_CLEAN_NAMESPACE vs. NETSNMP_NO_LEGACY_DEFINITIONS. It seems
NETSNMP_NO_LEGACY_DEFINITIONS was there first, so I suggest we take
that one.

Do we also want a patch which converts all NETSNMP_CLEAN_NAMESPACE
into NETSNMP_NO_LEGACY_DEFINITIONS? I don't have access to subversion
here. Who introduced NETSNMP_CLEAN_NAMESPACE in revision 15493? Where
can he/she be reached?

Cheers,
Thijs

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:51 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0