netsnmp_bulk_to_next.html from net-snmp at Krugle
Show netsnmp_bulk_to_next.html syntax highlighted
<!--#set var="section" value="documentation" -->
<!--#include virtual="/page-top.html" -->
<!-- CONTENT START -->
<h1>bulk_to_next</h1>Section: net-snmp (3)<br />
Updated: 24 Nov 2006<br />
<a href="#index">Index</a> <a href="../index.html">Return to Main Contents</a>
<hr />
<a name="lbAB" id="lbAB"> </a>
<h2>NAME</h2>bulk_to_next - Convert GETBULK requests into GETNEXT requests for the handler.
<p><a name="lbAC" id="lbAC"> </a></p>
<h3>Functions</h3>
<p><br />
<b>netsnmp_mib_handler</b> * <b>netsnmp_get_bulk_to_next_handler</b> (void)<br />
<i>returns a bulk_to_next handler that can be injected into a given handler chain.</i><br />
void <b>netsnmp_bulk_to_next_fix_requests</b> (<b>netsnmp_request_info</b> *requests)<br />
<i>takes answered requests and decrements the repeat count and updates the requests to the next to-do varbind in the
list</i><br />
int <b>netsnmp_bulk_to_next_helper</b> (<b>netsnmp_mib_handler</b> *handler, <b>netsnmp_handler_registration</b> *reginfo,
<b>netsnmp_agent_request_info</b> *reqinfo, <b>netsnmp_request_info</b> *requests)<br />
<br />
void <b>netsnmp_init_bulk_to_next_helper</b> (void)<br />
<i>initializes the bulk_to_next helper which then registers a bulk_to_next handler as a run-time injectable handler for
configuration file use.</i> <a name="lbAD" id="lbAD"> </a></p>
<h2>Detailed Description</h2>
<p>Convert GETBULK requests into GETNEXT requests for the handler.</p>
<p>The only purpose of this handler is to convert a GETBULK request to a GETNEXT request. It is inserted into handler chains
where the handler has not set the HANDLER_CAN_GETBULK flag. <a name="lbAE" id="lbAE"> </a></p>
<h2>Function Documentation</h2>
<p><a name="lbAF" id="lbAF"> </a></p>
<h3>void netsnmp_bulk_to_next_fix_requests (<b>netsnmp_request_info</b> * requests)</h3>
<p>takes answered requests and decrements the repeat count and updates the requests to the next to-do varbind in the list</p>
<p>Definition at line 42 of file bulk_to_next.c.</p>
<p>References netsnmp_request_info_s::inclusive, variable_list::name, variable_list::name_length,
netsnmp_request_info_s::next, variable_list::next_variable, netsnmp_request_info_s::range_end,
netsnmp_request_info_s::range_end_len, netsnmp_request_info_s::repeat, netsnmp_request_info_s::requestvb, snmp_oid_compare(),
snmp_set_var_objid(), and variable_list::type.</p>
<p>Referenced by netsnmp_bulk_to_next_helper(). <a name="lbAG" id="lbAG"> </a></p>
<h3><b>netsnmp_mib_handler</b>* netsnmp_get_bulk_to_next_handler (void)</h3>
<p>returns a bulk_to_next handler that can be injected into a given handler chain.</p>
<p>Definition at line 27 of file bulk_to_next.c.</p>
<p>References netsnmp_mib_handler_s::flags, MIB_HANDLER_AUTO_NEXT, netsnmp_bulk_to_next_helper(), netsnmp_create_handler(),
and NULL.</p>
<p>Referenced by netsnmp_init_bulk_to_next_helper(), and netsnmp_register_handler(). <a name="lbAH" id="lbAH"> </a></p>
<h3>void netsnmp_init_bulk_to_next_helper (void)</h3>
<p>initializes the bulk_to_next helper which then registers a bulk_to_next handler as a run-time injectable handler for
configuration file use.</p>
<p>Definition at line 139 of file bulk_to_next.c.</p>
<p>References netsnmp_get_bulk_to_next_handler(), and netsnmp_register_handler_by_name().</p>
<hr />
<a name="index" id="index"> </a>
<h2>Index</h2>
<dl>
<dt><a href="#lbAB">NAME</a></dt>
<dd>
<dl>
<dt><a href="#lbAC">Functions</a></dt>
</dl>
</dd>
<dt><a href="#lbAD">Detailed Description</a></dt>
<dt><a href="#lbAE">Function Documentation</a></dt>
<dd>
<dl>
<dt><a href="#lbAF">void netsnmp_bulk_to_next_fix_requests (<b>netsnmp_request_info</b> * requests)</a></dt>
<dt><a href="#lbAG"><b>netsnmp_mib_handler</b>* netsnmp_get_bulk_to_next_handler (void)</a></dt>
<dt><a href="#lbAH">void netsnmp_init_bulk_to_next_helper (void)</a></dt>
</dl>
</dd>
</dl>
<hr />
This document was created by <a href="http://localhost/cgi-bin/man/man2html">man2html</a>, using the manual pages.<br />
Time: 16:55:09 GMT, December 09, 2006
<!-- CONTENT END -->
<!--#include virtual="/page-bottom.html" -->
See more files for this project here