On Wed, 11 May 2005 23:42:33 +0200 Magnus wrote: MF> In include/net-snmp/agent/snmp_agent.h netsnmp_set_request_error and MF> netsnmp_set_mode_request_error both have the comment 'deprecated, use MF> netsnmp_request_set_error instead'. In agent/snmp_agent.c there is a MF> similar comment that points netsnmp_set_all_requests_error to MF> netsnmp_request_set_error_all. MF> MF> Are the functions really deprecated?
Not really. Those comments are my wishful thinking. Think of them as non-preferred, instead of deprecated. MF> Is a patch that performs the substitutions of interest? Sure, for cvs main. Not for older branches. MF> The change is not obviously correct as netsnmp_set_request_error have a MF> richer interface than netsnmp_request_set_error, but it does not prevent MF> the testsuite from running without regressions. Did you look at each instance being replaced to see if it seemed correct, or just do a quick global search/replace? -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
