cache_load function from _data_access.c is copy/pasted below.
Regards
Jon Neerup Lassen
int
fftHoldTable_cache_load(netsnmp_container * container)
{
ftHoldTable_rowreq_ctx *rowreq_ctx;
size_t count = 0;
/*
* temporary storage for in
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
On 7/15/
o 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 nee
Hi
> JNL> But how do I flush the cache manually?
>
> Good question. I'll make sure to add an API to do this for the next release.
>
> If you look in the interface file, at _cache_free and _cache_item_free, you'll
> get the basic idea. Go through the container and release any memory you
> alloca
Hi
When I compile my subagent module I get the following warning:
warning: implicit declaration of function `netsnmp_enable_subagent'
The subagent works though I have the following inludes
#include
#include
#include
As the subagent works I guess it should be safe to ignore the wa