Re: Getting information out of a cache

This is a discussion on Re: Getting information out of a cache within the SNMP Users forums, part of the Networking and Network Related category; On Mon, 22 Aug 2005 11:28:04 -0500 Paul wrote: HP> I have a function that is being ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-10-2005
Robert Story
 
Posts: n/a
Default Re: Getting information out of a cache

On Mon, 22 Aug 2005 11:28:04 -0500 Paul wrote:
HP> I have a function that is being called. It's being passed a pointer
HP> to netsnmp_cache, and an integer that is an index that may more may not
HP> be in that cache. I need to return weather or not a row with that index
HP> actually exists. What would be the best way of doing that?

That depends entirely on the cache for that table. Not all tables cache data
the same way. How does the cache get populated originally? That code should be
your clue as to how to find data in the cache later on.

--
NOTE: messages sent directly to me, instead of the lists, will be deleted
unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different.


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:30 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0