Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

netsnmp_iterator_info_s(3) [osx man page]

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

netsnmp_monitor_callback_header_s(3)				     net-snmp				      netsnmp_monitor_callback_header_s(3)

NAME
netsnmp_monitor_callback_header_s - callback header SYNOPSIS
#include <object_monitor.h> Data Fields unsigned int event callback type netsnmp_index monitored_object registered oid int priority priority void * watcher_data pointer given by watcher at registration void * object_info pointer passed from the monitored object struct netsnmp_monitor_callback_header_s * private DO NOT USE, INTERNAL USE ONLY. int refs Detailed Description callback header Definition at line 64 of file object_monitor.h. Field Documentation unsigned int netsnmp_monitor_callback_header_s::event callback type Definition at line 67 of file object_monitor.h. netsnmp_index netsnmp_monitor_callback_header_s::monitored_object registered oid Definition at line 70 of file object_monitor.h. void* netsnmp_monitor_callback_header_s::object_info pointer passed from the monitored object Definition at line 79 of file object_monitor.h. int netsnmp_monitor_callback_header_s::priority priority Definition at line 73 of file object_monitor.h. struct netsnmp_monitor_callback_header_s* netsnmp_monitor_callback_header_s::private [read] DO NOT USE, INTERNAL USE ONLY. Definition at line 82 of file object_monitor.h. void* netsnmp_monitor_callback_header_s::watcher_data pointer given by watcher at registration Definition at line 76 of file object_monitor.h. Author Generated automatically by Doxygen for net-snmp from the source code. Version 5.5 23 Sep 2009 netsnmp_monitor_callback_header_s(3)
Man Page

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

reading each line from a file

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)
Discussion started by: ragha81
5 Replies

2. Shell Programming and Scripting

Help on a for loop

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)
Discussion started by: aeroforce
2 Replies