iterator_info_s(3) net-snmp iterator_info_s(3)NAME
iterator_info_s - Holds iterator information containing functions which should be called by the iterator_handler to loop over your data set
and sort it in a SNMP specific manner.
SYNOPSIS
Data Fields
netsnmp_container c
Netsnmp_Iterator_Loop_Key * get_first
Netsnmp_Iterator_Loop_Key * get_next
Netsnmp_Iterator_Loop_Data * get_data
Netsnmp_Iterator_Data * free_user_ctx
Netsnmp_Iterator_Ctx * init_loop_ctx
Netsnmp_Iterator_Ctx * cleanup_loop_ctx
Netsnmp_Iterator_Ctx_Dup * save_pos
Netsnmp_Iterator_Data * release_data
Netsnmp_Iterator_Data * insert_data
Netsnmp_Iterator_Data * remove_data
Netsnmp_Iterator_Op * get_size
int sorted
void * user_ctx
This can be used by client handlers to store any information they need.
Detailed Description
Holds iterator information containing functions which should be called by the iterator_handler to loop over your data set and sort it in a
SNMP specific manner.
The iterator_info typedef can be used instead of directly calling this struct if you would prefer.
Definition at line 39 of file container_iterator.c.
Field Documentation
void* iterator_info_s::user_ctx
This can be used by client handlers to store any information they need.
Definition at line 69 of file container_iterator.c.
Referenced by netsnmp_container_iterator_get().
Author
Generated automatically by Doxygen for net-snmp from the source code.
Version 5.4.2 5 Sep 2008 iterator_info_s(3)
Check Out this Related Man Page
iterator_info_s(3snmp) net-snmp iterator_info_s(3snmp)NAME
iterator_info_s -
Holds iterator information containing functions which should be called by the iterator_handler to loop over your data set and sort it in a
SNMP specific manner.
SYNOPSIS
Data Fields
netsnmp_container c
Netsnmp_Iterator_Loop_Key * get_first
Netsnmp_Iterator_Loop_Key * get_next
Netsnmp_Iterator_Loop_Data * get_data
Netsnmp_Iterator_Data * free_user_ctx
Netsnmp_Iterator_Ctx * init_loop_ctx
Netsnmp_Iterator_Ctx * cleanup_loop_ctx
Netsnmp_Iterator_Ctx_Dup * save_pos
Netsnmp_Iterator_Data * release_data
Netsnmp_Iterator_Data * insert_data
Netsnmp_Iterator_Data * remove_data
Netsnmp_Iterator_Op * get_size
int sorted
void * user_ctx
This can be used by client handlers to store any information they need.
Detailed Description
Holds iterator information containing functions which should be called by the iterator_handler to loop over your data set and sort it in a
SNMP specific manner.
The iterator_info typedef can be used instead of directly calling this struct if you would prefer.
Definition at line 39 of file container_iterator.c.
Field Documentation
void* iterator_info_s::user_ctx
This can be used by client handlers to store any information they need.
Definition at line 69 of file container_iterator.c.
Author
Generated automatically by Doxygen for net-snmp from the source code.
Version 5.4.3.pre1 23 May 2010 iterator_info_s(3snmp)
hi gurus.. i have a requirement like this...I need to read each line in a file and store it in a variable.. the file is li,e this. i would prefer to construct a loop for this.
1
2
3
4
5
6
7
i need something like this, while (i< last record in file)
x= the first record
do some stuff... (5 Replies)
Ok I am trying to get a loop to do a couple of things...and I am at a bit of a loss.
Here is what I need to do.
I have a list of IP's that I need to do a snmp lookup on for a very specific OID. I want the script to run through the list and out put to two separate files showing failure and... (2 Replies)