On 23/08/06, Robert Story <[EMAIL PROTECTED]> wrote:
> Nope. the '_' at the start of the routine indicates that it's an internal
> routine. The whole xxx_interface.c file, in fact, shouldn't be messed with
> except in very rare circumstances.

Yup - I realised that.


> DS> I'm not sure why this code sets one default timeout value and then
> DS> overrides it later.
> DS> Why not just set the correct value in the first place?
>
> The timer object is created in the internal interface file, where users
> aren't meant to be mucking about. Then a user init routine (in the
> data_access file)  is called to let the user tweak some parameters.

But that still doesn't explain why the code sets two different values
(with no indication which one will actually be used).  This just seems
like unnecessary confusion.   At the very least, comment the internal
file to say that this is a dummy placeholder value!

Anyway - I think you know my feelings about this framework by now, and
there's probably no significant benefit in thrashing this argument out
yet again.  I should know better, and allow you to respond to
questions about this code rather than chipping in myself.  Sorry.

Dave




>
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to