On Tue, 2005-06-07 at 17:47, Robert Story wrote:
> On Mon, 06 Jun 2005 02:31:58 -0700 Dave wrote:
> DS> Added Files:
> DS>   iquery.c iquery.h 
> DS> Log Message:
> DS> Utility routines for making "internal queries", to retrieve or assign
> DS> values from elsewhere in the current agent.
> 
> Interesting. Probably a good thing to have an API for.
> 
> 1) aren't all new routine supposed to be prefixed with netsnmp_?

Possibly.
I can't remember whether we ever came to a firm decision.
But it would be easy enough to rename things, as long as
we do so before 5.3 is released.  What do people think?


> 2) might be a good idea to update mteTriggerTable to use
> these new methods as a proof of concept/example.

I've certainly got ideas along those lines.
But it seemed sensible to start with something new
(the DisMan Schedule MIB), rather than re-working
an existing implementation.

I'm also in the middle of discussions with the DisMan
people about possible changes to the Event MIB anyway.

> 3) Does it only work via the callback transport?

Not sure.
There's probably no difficulty in using it to query a
remote agent (using any appropriate transport).  I'm
not sure what the implications would be about using it
to talk to the same agent - particularly from within a
handler routine.  

> 4) what does it do if used in a sub-agent?

Pass.
As you've probably realised, this is basically the same
code as used in the mteTriggerTable - but pulled out into
a separate module (and with a somewhat more flexible
interface).

It's by no means fully tested.  I'm trying to be good,
and committing code as early as possible, rather than
dropping the usual Shield bombshells!

Dave



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to