Re: cache handler and table iterator

2005-08-25 Thread Dave Shield
On Thu, 2005-08-25 at 00:07 +0200, Anthony Novatsis wrote: > I am not sure what initalisation code that you are referring to? The code where you first register the table, and set up the cache handler. I'd expect this to look something like: init_myTable() { reg = netsnmp_create_ha

Fwd: cache handler and table iterator

2005-08-24 Thread Anthony Novatsis
Hello Dave, Sorry, I didn't cc my message to net-snmp-coders, so I am resending it. I am not sure what initalisation code that you are referring to? The way I understand it, the myvoid pointer can only be set/accessed from within the get_*_data functions. If there was some way to initalise this

Re: cache handler and table iterator

2005-08-22 Thread Dave Shield
On Thu, 2005-08-18 at 20:06 +0200, Anthony Novatsis wrote: > I know it is possible to use the cache and the table iterator > handlers. However, I would like to know whether it is possible to > retrieve the netsnmp_cache structure within the get_first_data_point > function (without the use of a glo

cache handler and table iterator

2005-08-18 Thread Anthony Novatsis
Hello all, I know it is possible to use the cache and the table iterator handlers. However, I would like to know whether it is possible to retrieve the netsnmp_cache structure within the get_first_data_point function (without the use of a global variable ;) in order to access the loaded cache dat