Hi I've posted the same question in a answer in another thread but is has nohting to do with the subject of that thread so I hope its ok I start a new thread...
I'm trying to implement an agantx subagent using mib2c with mibs-for-dummies. I'd like to control when the cache is flushed. If I set the following cache flags the cache will never be flushed, right? NETSNMP_CACHE_DONT_FREE_BEFORE_LOAD NETSNMP_CACHE_DONT_FREE_EXPIRED NETSNMP_CACHE_DONT_AUTO_RELEASE But how do I flush the cache manually? The reason for this is that in my application the table data should only be fetched (from an external source) when there's new data available. My idea is to check a flag in my _cache_load routine and only if new data is availble the table data should be loaded else the old data present in the table should be used. But before I can load new data into the table I need to flush the old data. -- Thanks, Jon Neerup Lassen ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders