Hi,

I am stuck in get_next.  I do not understand where I get the
instance of which I am doing the next of.  I am doing get_next with the MIB
browser and put the instance in, but I do not know how to get it in
fileSystemTable_get_next_data_point.  It is not in put_index_data->name.

fileSystemTable_get_next_data_point(void **my_loop_context,
                                    void **my_data_context,
                                    netsnmp_variable_list * put_index_data,
                                    netsnmp_iterator_info *mydata)

What I see is this function is call a number of times till I return NULL
from it.  Then it calls the get function, but the index is passed what I
wanted to return.  What causes get_next to be called repeatedly?  I want it
to call get_next once and snmp_set_var_value and the agent to call the get
function.  It does not happen.

Thanks a lot,

Alex.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to