another scenario - cache load never gets called

2010-04-28 Thread Kathy McLeod
Hi - For the case where I am checking a date on a file (or in this case, a flag indicating whether table data has changed), I have to set the cache->flags |= NETSNMP_CACHE_DONT_FREE_BEFORE_LOAD; as well as cache->flags |= NETSNMP_CACHE_DONT_FREE_EXPIRED; cache->flags |= NETSNMP_CACHE

Fw: son of cache load never gets called

2010-04-28 Thread Kathy McLeod
t Subject Re:

Re: cache load never gets called

2010-04-23 Thread Kathy McLeod
p-us...@lists.sourceforge.ne t Subject 04/13/2010 10:43 Re: cache load never gets called

Fw: cache load never gets called

2010-04-13 Thread Kathy McLeod
PM cc Subject Re: cac

RE: cache load never gets called

2010-04-13 Thread Mike Ayers
> From: Kathy McLeod [mailto:kmcl...@us.ibm.com] > Sent: Tuesday, April 13, 2010 7:11 AM > I know I am not supposed to bug, but have you had a chance to look at > this? > I have a deadline coming up and need to get it working. Please clarify your current problems. The email you forwarded

Re: cache load never gets called

2010-04-13 Thread Kathy McLeod
(See attached file: lldpPortConfigTable.cache.c) Hi - I had to make a couple of changes to the code generated by the mib2c when I added the cache option (because the generated methods didn't exist (or at least the compiler didn't find them and neither did I)). There didn't seem to be a lot of c

Re: cache load never gets called

2010-04-13 Thread Dave Shield
On 13 April 2010 15:11, Kathy McLeod wrote: > I know I am not supposed to bug, but have you had a chance to look at this? No - I've been concentrating on build problems with the two releases that we're trying to get out of the door. (Plus Real Paid Work that keeps getting in the way!). I'm af

Re: cache load never gets called

2010-04-13 Thread Kathy McLeod
...@lists.sourceforge.ne t Subject 04/07/2010 05:32 Re: cache load never gets called AM

Re: cache load never gets called

2010-04-07 Thread Kathy McLeod
s...@lists.sourceforge.ne t Subject 04/07/2010 05:32 Re: cache load never gets c

Re: cache load never gets called

2010-04-07 Thread Dave Shield
On 6 April 2010 20:59, Kathy McLeod wrote: > 1)  I thought it would always issue a free before a load. Not quite. The purpose of the "free" hook is to release the information left over from the previous "load" call.This can either be done immediately before the next load, or (possibly) as par

Re: cache load never gets called

2010-04-06 Thread Kathy McLeod
Subject 04/06/2010 04:51 Re: cache load never gets called AM

Re: cache load never gets called

2010-04-06 Thread Dave Shield
On 30 March 2010 21:12, Kathy McLeod wrote: > I ran the mib2c to generate a cache handler for a file created using > mib2c.table_data.conf.  The main function still works ok, but even tho I > set the cache timeout value to -1, it never seems to expire.  I also tested > with a timeout value of 60 a

RE: cache load never gets called

2010-04-05 Thread Mike Ayers
[Responses to the list, please] > From: Kathy McLeod [mailto:kmcl...@us.ibm.com] > Sent: Monday, April 05, 2010 12:45 PM > Well, I think that is part of the problem. I don't understand from the > documentation how this is supposed to work. I thought if I "injected" > a > cache handler,

RE: cache load never gets called

2010-04-05 Thread Mike Ayers
> From: Kathy McLeod [mailto:kmcl...@us.ibm.com] > Sent: Tuesday, March 30, 2010 1:13 PM > I ran the mib2c to generate a cache handler for a file created using > mib2c.table_data.conf. The main function still works ok, but even tho > I > set the cache timeout value to -1, it never seems to expire

cache load never gets called

2010-03-30 Thread Kathy McLeod
Hi - I ran the mib2c to generate a cache handler for a file created using mib2c.table_data.conf. The main function still works ok, but even tho I set the cache timeout value to -1, it never seems to expire. I also tested with a timeout value of 60 and it didn't expire. The only debug statement