How to use a cache for multiple instances?

Jörg Westheide <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <0810Vcfh3fCY0JKOvDtupL/[email protected]>
Hi!

I'm still having problems with the caches so here are some questions I have:

Will the cache be passed to the children if I register the cache with 
the parent OID?

If the answer is "yes":
Where will the cache be passed to the child handlers?
I found the cache as a an entry named "cache_info:myCache" in the list 
pointed to by reqinfo->agent_data when doing a snmpwalk on the parent 
OID. But that does only work for the first child. A snmpget on the 
child OID seems to ignore the cache completely

If the answer is "no":
What is the recommended way to share a cache between multiple instances 
(without using global variables)?

Jörg


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.