Current File : //usr/share/doc/net-snmp/html/group__table__rows.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>net-snmp: table_rows</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">net-snmp
   &#160;<span id="projectnumber">5.4.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">table_rows</div>  </div>
<div class="ingroups"><a class="el" href="group__table__generic.html">generic_table_API</a></div></div><!--header-->
<div class="contents">

<p>Routines for working with the rows of a table.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__table__rows.html#ga70eda63c962a726c5fae9bf42e4fc72f">netsnmp_generic_row_first</a> (void *table)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the first row of the table.  <a href="#ga70eda63c962a726c5fae9bf42e4fc72f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__table__rows.html#ga43909b1bb3c167599feb91cf56e6a3dc">netsnmp_generic_row_get</a> (void *table, void *row)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the given row from the table.  <a href="#ga43909b1bb3c167599feb91cf56e6a3dc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__table__rows.html#ga9989f2219ce1a130134e96a124bd6bac">netsnmp_generic_row_next</a> (void *table, void *row)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the following row from the table.  <a href="#ga9989f2219ce1a130134e96a124bd6bac"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__table__rows.html#ga8195a1a85f8987ca7800bef9764f0e11">netsnmp_generic_row_get_byidx</a> (void *table, <a class="el" href="structvariable__list.html">netsnmp_variable_list</a> *indexes)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the row with the specified index values.  <a href="#ga8195a1a85f8987ca7800bef9764f0e11"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__table__rows.html#gab93d9f20e3367ca2820a44fd1aedc0e0">netsnmp_generic_row_next_byidx</a> (void *table, <a class="el" href="structvariable__list.html">netsnmp_variable_list</a> *indexes)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the next row after the specified index values.  <a href="#gab93d9f20e3367ca2820a44fd1aedc0e0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__table__rows.html#ga63d8b219fe436f14484aede7ab1c9b0e">netsnmp_generic_row_get_byoid</a> (void *table, oid *instance, size_t len)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the row with the specified instance OIDs.  <a href="#ga63d8b219fe436f14484aede7ab1c9b0e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__table__rows.html#gae10f4daf4b7e0e3fbfeea45d431d2c44">netsnmp_generic_row_next_byoid</a> (void *table, oid *instance, size_t len)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the next row after the specified instance OIDs.  <a href="#gae10f4daf4b7e0e3fbfeea45d431d2c44"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__table__rows.html#ga8e873f7826d5d144d1c021701e5896ce">netsnmp_generic_row_count</a> (void *table)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Report the number of rows in the table.  <a href="#ga8e873f7826d5d144d1c021701e5896ce"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<p>Routines for working with the rows of a table. </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="ga8e873f7826d5d144d1c021701e5896ce"></a><!-- doxytag: member="table_generic.c::netsnmp_generic_row_count" ref="ga8e873f7826d5d144d1c021701e5896ce" args="(void *table)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="group__table__rows.html#ga8e873f7826d5d144d1c021701e5896ce">netsnmp_generic_row_count</a> </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>table</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Report the number of rows in the table. </p>

<p>Definition at line <a class="el" href="table__generic_8c_source.html#l00282">282</a> of file <a class="el" href="table__generic_8c_source.html">table_generic.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga70eda63c962a726c5fae9bf42e4fc72f"></a><!-- doxytag: member="table_generic.c::netsnmp_generic_row_first" ref="ga70eda63c962a726c5fae9bf42e4fc72f" args="(void *table)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="group__table__rows.html#ga70eda63c962a726c5fae9bf42e4fc72f">netsnmp_generic_row_first</a> </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>table</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the first row of the table. </p>

<p>Definition at line <a class="el" href="table__generic_8c_source.html#l00228">228</a> of file <a class="el" href="table__generic_8c_source.html">table_generic.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga43909b1bb3c167599feb91cf56e6a3dc"></a><!-- doxytag: member="table_generic.c::netsnmp_generic_row_get" ref="ga43909b1bb3c167599feb91cf56e6a3dc" args="(void *table, void *row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="group__table__rows.html#ga43909b1bb3c167599feb91cf56e6a3dc">netsnmp_generic_row_get</a> </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>table</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>row</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the given row from the table. </p>
<p>This could either be the same data pointer, passed in, or a separate row structure sharing the same index values (or NULL).</p>
<p>This routine also provides a means to tell whether a given row is present in the table. </p>

<p>Definition at line <a class="el" href="table__generic_8c_source.html#l00240">240</a> of file <a class="el" href="table__generic_8c_source.html">table_generic.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga8195a1a85f8987ca7800bef9764f0e11"></a><!-- doxytag: member="table_generic.c::netsnmp_generic_row_get_byidx" ref="ga8195a1a85f8987ca7800bef9764f0e11" args="(void *table, netsnmp_variable_list *indexes)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="group__table__rows.html#ga8195a1a85f8987ca7800bef9764f0e11">netsnmp_generic_row_get_byidx</a> </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>table</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structvariable__list.html">netsnmp_variable_list</a> *&#160;</td>
          <td class="paramname"><em>indexes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the row with the specified index values. </p>

<p>Definition at line <a class="el" href="table__generic_8c_source.html#l00255">255</a> of file <a class="el" href="table__generic_8c_source.html">table_generic.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga63d8b219fe436f14484aede7ab1c9b0e"></a><!-- doxytag: member="table_generic.c::netsnmp_generic_row_get_byoid" ref="ga63d8b219fe436f14484aede7ab1c9b0e" args="(void *table, oid *instance, size_t len)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="group__table__rows.html#ga63d8b219fe436f14484aede7ab1c9b0e">netsnmp_generic_row_get_byoid</a> </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>table</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">oid *&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the row with the specified instance OIDs. </p>

<p>Definition at line <a class="el" href="table__generic_8c_source.html#l00270">270</a> of file <a class="el" href="table__generic_8c_source.html">table_generic.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga9989f2219ce1a130134e96a124bd6bac"></a><!-- doxytag: member="table_generic.c::netsnmp_generic_row_next" ref="ga9989f2219ce1a130134e96a124bd6bac" args="(void *table, void *row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="group__table__rows.html#ga9989f2219ce1a130134e96a124bd6bac">netsnmp_generic_row_next</a> </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>table</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>row</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the following row from the table. </p>
<p>If the specified row is not present, this routine should return the entry next after the position this row would have occupied. </p>

<p>Definition at line <a class="el" href="table__generic_8c_source.html#l00249">249</a> of file <a class="el" href="table__generic_8c_source.html">table_generic.c</a>.</p>

</div>
</div>
<a class="anchor" id="gab93d9f20e3367ca2820a44fd1aedc0e0"></a><!-- doxytag: member="table_generic.c::netsnmp_generic_row_next_byidx" ref="gab93d9f20e3367ca2820a44fd1aedc0e0" args="(void *table, netsnmp_variable_list *indexes)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="group__table__rows.html#gab93d9f20e3367ca2820a44fd1aedc0e0">netsnmp_generic_row_next_byidx</a> </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>table</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structvariable__list.html">netsnmp_variable_list</a> *&#160;</td>
          <td class="paramname"><em>indexes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the next row after the specified index values. </p>

<p>Definition at line <a class="el" href="table__generic_8c_source.html#l00262">262</a> of file <a class="el" href="table__generic_8c_source.html">table_generic.c</a>.</p>

</div>
</div>
<a class="anchor" id="gae10f4daf4b7e0e3fbfeea45d431d2c44"></a><!-- doxytag: member="table_generic.c::netsnmp_generic_row_next_byoid" ref="gae10f4daf4b7e0e3fbfeea45d431d2c44" args="(void *table, oid *instance, size_t len)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="group__table__rows.html#gae10f4daf4b7e0e3fbfeea45d431d2c44">netsnmp_generic_row_next_byoid</a> </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>table</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">oid *&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the next row after the specified instance OIDs. </p>

<p>Definition at line <a class="el" href="table__generic_8c_source.html#l00276">276</a> of file <a class="el" href="table__generic_8c_source.html">table_generic.c</a>.</p>

</div>
</div>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>