Code Search for Developers
 
 
  

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

net-snmp

net-snmp provides tools and libraries relating to the Simple Network\r\nManagement Protocol including: An extensible agent, An SNMP library,\r\ntools to request or set information from SNMP agents, tools to\r\ngenerate and handle SNMP traps, etc.\r\n

Project homepage: http://sourceforge.net/projects/net-snmp
Programming language(s): C,Perl,Shell Script
License: other

  add_mibdir.html
  add_module_replacement.html
  config_perror.html
  config_pwarn.html
  default_store.html
  encode_keychange.html
  error404.html
  fixproc.html
  fprint_description.html
  fprint_objid.html
  fprint_value.html
  fprint_variable.html
  get_module_node.html
  index.html
  index.html.al
  init_mib.html
  init_mib_internals.html
  mib2c-update.html
  mib2c.conf.html
  mib2c.html
  mib_api.html
  net-snmp-config.html
  netsnmp_Container_iterator.html
  netsnmp_agent.html
  netsnmp_baby_steps.html
  netsnmp_bulk_to_next.html
  netsnmp_cache_handler.html
  netsnmp_container.html
  netsnmp_debug.html
  netsnmp_ds_get_boolean.html
  netsnmp_ds_get_int.html
  netsnmp_ds_get_string.html
  netsnmp_ds_register_config.html
  netsnmp_ds_register_premib.html
  netsnmp_ds_set_boolean.html
  netsnmp_ds_set_int.html
  netsnmp_ds_set_string.html
  netsnmp_ds_shutdown.html
  netsnmp_example_scalar_int.html
  netsnmp_handler.html
  netsnmp_instance.html
  netsnmp_iterator_info_s.html
  netsnmp_leaf.html
  netsnmp_library.html
  netsnmp_mib_handler_methods.html
  netsnmp_mib_utilities.html
  netsnmp_mode_end_call.html
  netsnmp_multiplexer.html
  netsnmp_old_api.html
  netsnmp_read_only.html
  netsnmp_row_merge.html
  netsnmp_scalar.html
  netsnmp_scalar_group_group.html
  netsnmp_serialize.html
  netsnmp_stash_cache.html
  netsnmp_table.html
  netsnmp_table_array.html
  netsnmp_table_data.html
  netsnmp_table_dataset.html
  netsnmp_table_iterator.html
  netsnmp_utilities.html
  netsnmp_watcher.html
  print_description.html
  print_mib.html
  print_objid.html
  print_value.html
  print_variable.html
  read_all_mibs.html
  read_config.html
  read_config_print_usage.html
  read_configs.html
  read_mib.html
  read_module.html
  read_module_node.html
  read_objid.html
  read_premib_configs.html
  register_app_config_handler.html
  register_app_premib_handler.html
  register_config_handler.html
  register_mib_handlers.html
  register_premib_handler.html
  send_easy_trap.html
  send_trap_vars.html
  send_v2trap.html
  shutdown_mib.html
  snmp.conf.html
  snmp_agent_api.html
  snmp_alarm.html
  snmp_alarm_register.html
  snmp_alarm_register_hr.html
  snmp_alarm_unregister.html
  snmp_api.html
  snmp_api_errstring.html
  snmp_close.html
  snmp_config.html
  snmp_error.html
  snmp_free_pdu.html
  snmp_open.html
  snmp_perror.html
  snmp_read.html