table of contents
other versions
- wheezy 5.4.3~dfsg-2.8+deb7u1
stash_cache(3snmp) | net-snmp | stash_cache(3snmp) |
NAME¶
stash_cache - Automatically caches data for certain handlers.Functions¶
netsnmp_stash_cache_info * netsnmp_get_new_stash_cache (void)
Detailed Description¶
Automatically caches data for certain handlers.Function Documentation¶
int _netsnmp_stash_cache_load (netsnmp_cache * cache, void * magic)¶
updates a given cache depending on whether it needs to or not. Definition at line 195 of file stash_cache.c.netsnmp_oid_stash_node** netsnmp_extract_stash_cache (netsnmp_agent_request_info * reqinfo)¶
extracts a pointer to the stash_cache info from the reqinfo structure. Definition at line 113 of file stash_cache.c.netsnmp_mib_handler* netsnmp_get_bare_stash_cache_handler (void)¶
returns a single stash_cache handler that can be injected into a given handler chain (with a fixed timeout), but *only* if that handler chain explicitly supports stash cache processing. Definition at line 79 of file stash_cache.c.netsnmp_mib_handler* netsnmp_get_stash_cache_handler (void)¶
returns a stash_cache handler sub-chain that can be injected into a given (arbitrary) handler chain, using a fixed cache timeout. Definition at line 88 of file stash_cache.c.netsnmp_mib_handler* netsnmp_get_timed_bare_stash_cache_handler (int timeout, oid * rootoid, size_t rootoid_len)¶
returns a stash_cache handler that can be injected into a given handler chain (with the specified timeout and root OID values), but *only* if that handler chain explicitly supports stash cache processing. Definition at line 44 of file stash_cache.c.netsnmp_mib_handler* netsnmp_get_timed_stash_cache_handler (int timeout, oid * rootoid, size_t rootoid_len)¶
returns a stash_cache handler sub-chain that can be injected into a given (arbitrary) handler chain, using a configurable cache timeout. Definition at line 101 of file stash_cache.c.void netsnmp_init_stash_cache_helper (void)¶
initializes the stash_cache helper which then registers a stash_cache handler as a run-time injectable handler for configuration file use. Definition at line 238 of file stash_cache.c.Author¶
Generated automatically by Doxygen for net-snmp from the source code.23 May 2010 | Version 5.4.3.pre1 |