Code Search for Developers
 
 
  

agent__trap_8h-source.html from net-snmp at Krugle


Show agent__trap_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>agent_trap.h</h1>

  <div class="fragment">
    <pre class="fragment">
00001 <span class="preprocessor">#ifndef AGENT_TRAP_H</span>
00002 <span class="preprocessor">#define AGENT_TRAP_H</span>
00003 
00004 <span class="preprocessor">#ifdef __cplusplus</span>
00005 <span class="keyword">extern</span>          <span class="stringliteral">"C"</span> {
00006 <span class="preprocessor">#endif</span>
00007 
00008 <span class="keyword">struct </span>agent_add_trap_args {
00009     <a class="code" href="structsnmp__session.html">netsnmp_session</a> *ss;
00010     <span class="keywordtype">int</span>             confirm;
00011 };
00012 
00013 <span class="keywordtype">void</span>            init_traps(<span class="keywordtype">void</span>);
00014 <span class="keywordtype">void</span>            <a class="code" href=
"group__agent__trap.html#ga43">send_easy_trap</a>(<span class="keywordtype">int</span>, <span class="keywordtype">int</span>);
00015 <span class="keywordtype">void</span>            send_trap_pdu(<a class="code" href=
"structsnmp__pdu.html">netsnmp_pdu</a> *);
00016 <span class="keywordtype">void</span>            <a class="code" href=
"group__agent__trap.html#ga44">send_v2trap</a>(<a class="code" href="structvariable__list.html">netsnmp_variable_list</a> *);
00017 <span class="keywordtype">void</span>            send_trap_vars(<span class="keywordtype">int</span>, <span class=
"keywordtype">int</span>, <a class="code" href="structvariable__list.html">netsnmp_variable_list</a> *);
00018 <span class="keywordtype">void</span>            send_enterprise_trap_vars(<span class=
"keywordtype">int</span> trap, <span class="keywordtype">int</span> specific,
00019                                           oid * enterprise,
00020                                           <span class="keywordtype">int</span> enterprise_length,
00021                                           <a class="code" href=
"structvariable__list.html">netsnmp_variable_list</a> * vars);
00022 <span class="keywordtype">int</span>             netsnmp_send_traps(<span class="keywordtype">int</span> trap, <span class=
"keywordtype">int</span> specific,
00023                           oid * enterprise, <span class="keywordtype">int</span> enterprise_length,
00024                           <a class="code" href="structvariable__list.html">netsnmp_variable_list</a> * vars,
00025                           <span class="comment">/* These next two are currently unused */</span>
00026                           <span class="keywordtype">char</span> * context, <span class="keywordtype">int</span> flags);
00027 <span class="keywordtype">void</span>            snmpd_parse_config_authtrap(<span class=
"keyword">const</span> <span class="keywordtype">char</span> *, <span class="keywordtype">char</span> *);
00028 <span class="keywordtype">void</span>            snmpd_parse_config_trapsink(<span class=
"keyword">const</span> <span class="keywordtype">char</span> *, <span class="keywordtype">char</span> *);
00029 <span class="keywordtype">void</span>            snmpd_parse_config_trap2sink(<span class=
"keyword">const</span> <span class="keywordtype">char</span> *, <span class="keywordtype">char</span> *);
00030 <span class="keywordtype">void</span>            snmpd_parse_config_informsink(<span class=
"keyword">const</span> <span class="keywordtype">char</span> *, <span class="keywordtype">char</span> *);
00031 <span class="keywordtype">void</span>            snmpd_parse_config_trapsess(<span class=
"keyword">const</span> <span class="keywordtype">char</span> *, <span class="keywordtype">char</span> *);
00032 <span class="keywordtype">void</span>            <a class="code" href=
"group__agent__trap.html#ga35">snmpd_free_trapsinks</a>(<span class="keywordtype">void</span>);
00033 <span class="keywordtype">void</span>            snmpd_parse_config_trapcommunity(<span class=
"keyword">const</span> <span class="keywordtype">char</span> *, <span class="keywordtype">char</span> *);
00034 <span class="keywordtype">void</span>            snmpd_free_trapcommunity(<span class="keywordtype">void</span>);
00035 <span class="keywordtype">void</span>            send_trap_to_sess(<a class="code" href=
"structsnmp__session.html">netsnmp_session</a> * sess,
00036                                   <a class="code" href="structsnmp__pdu.html">netsnmp_pdu</a> *template_pdu);
00037 
00038 <span class="keywordtype">int</span>             create_trap_session(<span class=
"keywordtype">char</span> *, u_short, <span class="keywordtype">char</span> *, <span class="keywordtype">int</span>, <span class=
"keywordtype">int</span>);
00039 <span class="keywordtype">int</span>             add_trap_session(<a class="code" href=
"structsnmp__session.html">netsnmp_session</a> *, <span class="keywordtype">int</span>, <span class=
"keywordtype">int</span>, <span class="keywordtype">int</span>);
00040 <span class="keywordtype">int</span>             remove_trap_session(<a class="code" href=
"structsnmp__session.html">netsnmp_session</a> *);
00041 
00042 <span class="keywordtype">void</span>                   convert_v2_to_v1(<a class="code" href=
"structvariable__list.html">netsnmp_variable_list</a> *, <a class="code" href="structsnmp__pdu.html">netsnmp_pdu</a> *);
00043 <a class="code" href="structvariable__list.html">netsnmp_variable_list</a> *convert_v1_to_v2(<a class="code" href=
"structsnmp__pdu.html">netsnmp_pdu</a> *);
00044 <a class="code" href="structsnmp__pdu.html">netsnmp_pdu</a>    *convert_v2pdu_to_v1(<a class="code" href=
"structsnmp__pdu.html">netsnmp_pdu</a> *);
00045 <a class="code" href="structsnmp__pdu.html">netsnmp_pdu</a>    *convert_v1pdu_to_v2(<a class="code" href=
"structsnmp__pdu.html">netsnmp_pdu</a> *);
00046 
00047 <span class="preprocessor">#ifdef __cplusplus</span>
00048 }
00049 <span class="preprocessor">#endif</span>
00050 <span class="preprocessor">#endif                          </span><span class="comment">/* AGENT_TRAP_H */</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