Code Search for Developers
 
 
  

baby__steps_8h-source.html from net-snmp at Krugle


Show baby__steps_8h-source.html syntax highlighted

<!--#set var="section" value="development" -->
<!--#include virtual="/page-top.html" -->
<!-- CONTENT START -->
  <!-- Generated by Doxygen 1.3.9.1 -->

  <div class="qindex">
    <a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class=
    "qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class=
    "qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <a class=
    "qindex" href="examples.html">Examples</a>
  </div>

  <div class="nav">
    <a class="el" href="dir_000000.html">include</a>&nbsp;/&nbsp;<a class="el" href=
    "dir_000001.html">net-snmp</a>&nbsp;/&nbsp;<a class="el" href="dir_000002.html">agent</a>
  </div>

  <h1>baby_steps.h</h1>

  <div class="fragment">
    <pre class="fragment">
00001 <span class="comment">/*</span>
00002 <span class="comment"> * $Id: baby__steps_8h-source.html 14005 2005-12-30 19:14:23Z alex_b $</span>
00003 <span class="comment"> */</span>
00004 <span class="preprocessor">#ifndef BABY_STEPS_H</span>
00005 <span class="preprocessor">#define BABY_STEPS_H</span>
00006 
00007 <span class="preprocessor">#ifdef __cplusplus</span>
00008 <span class="keyword">extern</span>          <span class="stringliteral">"C"</span> {
00009 <span class="preprocessor">#endif</span>
00010 
00011 <span class="preprocessor">#include &lt;net-snmp/agent/agent_handler.h&gt;</span>
00012 
00013     <span class="comment">/*</span>
00014 <span class="comment">     * Flags for baby step modes</span>
00015 <span class="comment">     */</span>
00016 <span class="preprocessor">#define BABY_STEP_NONE                  0</span>
00017 <span class="preprocessor">#define BABY_STEP_PRE_REQUEST           (0x1 &lt;&lt;  1)</span>
00018 <span class="preprocessor">#define BABY_STEP_OBJECT_LOOKUP         (0x1 &lt;&lt;  2)</span>
00019 <span class="preprocessor">#define BABY_STEP_CHECK_VALUE           (0x1 &lt;&lt;  3)</span>
00020 <span class="preprocessor">#define BABY_STEP_ROW_CREATE            (0x1 &lt;&lt;  4)</span>
00021 <span class="preprocessor">#define BABY_STEP_UNDO_SETUP            (0x1 &lt;&lt;  5)</span>
00022 <span class="preprocessor">#define BABY_STEP_SET_VALUE             (0x1 &lt;&lt;  6)</span>
00023 <span class="preprocessor">#define BABY_STEP_CHECK_CONSISTENCY     (0x1 &lt;&lt;  7)</span>
00024 <span class="preprocessor">#define BABY_STEP_UNDO_SET              (0x1 &lt;&lt;  8)</span>
00025 <span class="preprocessor">#define BABY_STEP_COMMIT                (0x1 &lt;&lt;  9)</span>
00026 <span class="preprocessor">#define BABY_STEP_UNDO_COMMIT           (0x1 &lt;&lt; 10)</span>
00027 <span class="preprocessor">#define BABY_STEP_IRREVERSIBLE_COMMIT   (0x1 &lt;&lt; 11)</span>
00028 <span class="preprocessor">#define BABY_STEP_UNDO_CLEANUP          (0x1 &lt;&lt; 12)</span>
00029 <span class="preprocessor">#define BABY_STEP_POST_REQUEST          (0x1 &lt;&lt; 13)</span>
00030 
00031 <span class="preprocessor">#define BABY_STEP_ALL                   (0xffffffff)</span>
00032 
00033 
00034 <span class="preprocessor">#define BABY_STEP_CHECK_OBJECT          BABY_STEP_CHECK_VALUE</span>
00035 <span class="preprocessor">#define BABY_STEP_SET_VALUES            BABY_STEP_SET_VALUE</span>
00036 <span class="preprocessor">#define BABY_STEP_UNDO_SETS             BABY_STEP_UNDO_SET</span>
00037 
00045     <span class="keyword">typedef</span> <span class="keyword">struct </span>netsnmp_baby_steps_modes_s {
00046        u_int       registered;
00047        u_int       completed;
00048     } netsnmp_baby_steps_modes;
00049 
00050 <span class="keywordtype">void</span>                 netsnmp_baby_steps_init(<span class="keywordtype">void</span>);
00051 
00052 <a class="code" href="structnetsnmp__mib__handler__s.html">netsnmp_mib_handler</a> *<a class="code" href=
"group__baby__steps.html#ga0">netsnmp_baby_steps_handler_get</a>(u_long modes);
00053 
00069 <span class="keyword">typedef</span> <span class="keyword">struct </span>netsnmp_baby_steps_access_methods_s {
00070       
00071    <span class="comment">/*</span>
00072 <span class="comment">    * baby step modes</span>
00073 <span class="comment">    */</span>
00074    Netsnmp_Node_Handler *pre_request;
00075    Netsnmp_Node_Handler *object_lookup;
00076    Netsnmp_Node_Handler *get_values;
00077    Netsnmp_Node_Handler *object_syntax_checks;
00078    Netsnmp_Node_Handler *row_creation;
00079    Netsnmp_Node_Handler *undo_setup;
00080    Netsnmp_Node_Handler *set_values;
00081    Netsnmp_Node_Handler *consistency_checks;
00082    Netsnmp_Node_Handler *commit;
00083    Netsnmp_Node_Handler *undo_sets;
00084    Netsnmp_Node_Handler *undo_cleanup;
00085    Netsnmp_Node_Handler *undo_commit;
00086    Netsnmp_Node_Handler *irreversible_commit;
00087    Netsnmp_Node_Handler *post_request;
00088 
00089    <span class="keywordtype">void</span>                 *my_access_void;
00090 
00091 } netsnmp_baby_steps_access_methods;
00092 
00093     <a class="code" href="structnetsnmp__mib__handler__s.html">netsnmp_mib_handler</a> * <a class="code" href=
"group__baby__steps.html#ga3">netsnmp_baby_steps_access_multiplexer_get</a>(
00094         netsnmp_baby_steps_access_methods *);
00095 
00096     <span class="keywordtype">int</span> netsnmp_baby_step_mode2flag( u_int mode );
00097 
00102 <span class="preprocessor">#define netsnmp_get_baby_steps_handler netsnmp_baby_steps_handler_get</span>
00103 <span class="preprocessor">#define netsnmp_init_baby_steps_helper netsnmp_baby_steps_handler_init</span>
00104 
00105 
00106 <span class="preprocessor">#ifdef __cplusplus</span>
00107 }
00108 <span class="preprocessor">#endif</span>
00109 <span class="preprocessor">#endif </span><span class="comment">/* baby_steps */</span>
</pre>
  </div>
  <hr size="1" />

  <address style="align: right;">
    <small>Generated on Fri Dec 30 13:47:44 2005 for net-snmp by&nbsp; <a href="http://www.doxygen.org/index.html"><img src=
    "doxygen.png" alt="doxygen" align="middle" border="0" /></a> 1.3.9.1</small>
  </address>
<!-- 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

  mfd/
  acconfig_8h-source.html
  acconfig_8h.html
  agent_2snmp__perl_8c-source.html
  agent__callbacks_8h-source.html
  agent__callbacks_8h.html
  agent__handler_8c-source.html
  agent__handler_8c.html
  agent__handler_8h-source.html
  agent__handler_8h.html
  agent__index_8c-source.html
  agent__index_8c.html
  agent__index_8h-source.html
  agent__index_8h.html
  agent__module__config_8h-source.html
  agent__read__config_8c-source.html
  agent__read__config_8c.html
  agent__read__config_8h-source.html
  agent__read__config_8h.html
  agent__registry_8c-source.html
  agent__registry_8c.html
  agent__registry_8h-source.html
  agent__registry_8h.html
  agent__trap_8c-source.html
  agent__trap_8c.html
  agent__trap_8h-source.html
  agent__trap_8h.html
  all__helpers_8c-source.html
  all__helpers_8h-source.html
  annotated.html
  asn1_8c-source.html
  asn1_8h-source.html
  auto__nlist_8c-source.html
  auto__nlist_8c.html
  auto__nlist_8h-source.html
  auto__nlist_8h.html
  autonlist_8h-source.html
  autonlist_8h.html
  baby__steps_8c-source.html
  baby__steps_8h-source.html
  blah.html
  bulk__to__next_8c-source.html
  bulk__to__next_8h-source.html
  cache__handler_8c-source.html
  cache__handler_8h-source.html
  callback_8c-source.html
  callback_8h-source.html
  check__varbind_8c-source.html
  check__varbind_8h-source.html
  cmu__compat_8c-source.html
  cmu__compat_8h-source.html
  config_8h-source.html
  config_8h.html
  config__api_8h-source.html
  container_8c-source.html
  container_8h-source.html
  container__binary__array_8c-source.html
  container__binary__array_8h-source.html
  container__iterator_8c-source.html
  container__iterator_8h-source.html
  container__list__ssll_8c-source.html
  container__list__ssll_8h-source.html
  container__null_8c-source.html
  container__null_8h-source.html
  data__list_8c-source.html
  data__list_8h-source.html
  data__set_8c-example.html
  data__set_8c-source.html
  data__set_8h-source.html
  debug__handler_8c-source.html
  debug__handler_8h-source.html
  default__store_8c-source.html
  default__store_8h-source.html
  default_store.html
  definitions_8h-source.html
  delayed__instance_8c-example.html
  delayed__instance_8c-source.html
  delayed__instance_8h-source.html
  deprecated.html
  dir_000000.html
  dir_000001.html
  dir_000002.html
  dir_000003.html
  dir_000004.html
  dir_000005.html
  dir_000006.html
  dir_000007.html
  dir_000008.html
  doxygen.css
  doxygen.gif
  doxygen.png
  ds__agent_8h-source.html
  ds__agent_8h.html
  example_8c-source.html
  example_8h-source.html
  examples.html
  factory_8h-source.html
  fd__event__manager_8c-source.html
  fd__event__manager_8h-source.html
  file__utils_8c-source.html
  file__utils_8h-source.html
  files.html