On 29 January 2010 15:40, Bill Fenner <fen...@gmail.com> wrote:
> My question is: is it sufficient to change all of the callers in the
> net-snmp source tree, or should I call the function with the new
> signature snmp_parse_args2() and create a helper snmp_parse_args()
> that supplies a zero?

We cannot assume that there are no third-party applications which
make use of the existing API calls.   So a new function is definitely
the way to go.
   Can I suggest "netsnmp_parse_args()" rather than "snmp_parse_args2()"

I'd also suggest a more general "flags" parameter, rather than one
specifically for logging.  (Just in case we need to extend the behaviour
of this routine in the future)

Dave

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to