| Current File : //usr/share/doc/net-snmp/html/tools_8h_source.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: tools.h Source File</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
 <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 Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="headertitle">
<div class="title">tools.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="tools_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
<a name="l00008"></a>00008 <span class="preprocessor">#ifndef _TOOLS_H</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define _TOOLS_H</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span>
<a name="l00011"></a>00011 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
<a name="l00013"></a>00013 <span class="preprocessor">#endif</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span>
<a name="l00015"></a>00015
<a name="l00016"></a>00016
<a name="l00017"></a>00017 <span class="comment">/*</span>
<a name="l00018"></a>00018 <span class="comment"> * General acros and constants.</span>
<a name="l00019"></a>00019 <span class="comment"> */</span>
<a name="l00020"></a>00020 <span class="preprocessor">#ifdef WIN32</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor"># define SNMP_MAXPATH MAX_PATH</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor"># ifdef PATH_MAX</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor"># define SNMP_MAXPATH PATH_MAX</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor"># else</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor"># ifdef MAXPATHLEN</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor"># define SNMP_MAXPATH MAXPATHLEN</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor"># else</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor"># define SNMP_MAXPATH 1024 </span><span class="comment">/* Should be safe enough */</span>
<a name="l00030"></a>00030 <span class="preprocessor"># endif</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span>
<a name="l00034"></a>00034 <span class="preprocessor">#define SNMP_MAXBUF (1024 * 4)</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor">#define SNMP_MAXBUF_MEDIUM 1024</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#define SNMP_MAXBUF_SMALL 512</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span>
<a name="l00038"></a>00038 <span class="preprocessor">#define SNMP_MAXBUF_MESSAGE 1500</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span>
<a name="l00040"></a>00040 <span class="preprocessor">#define SNMP_MAXOID 64</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#define SNMP_MAX_CMDLINE_OIDS 128</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span>
<a name="l00043"></a>00043 <span class="preprocessor">#define SNMP_FILEMODE_CLOSED 0600</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#define SNMP_FILEMODE_OPEN 0644</span>
<a name="l00045"></a>00045 <span class="preprocessor"></span>
<a name="l00046"></a>00046 <span class="preprocessor">#define BYTESIZE(bitsize) ((bitsize + 7) >> 3)</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor">#define ROUNDUP8(x) ( ( (x+7) >> 3 ) * 8 )</span>
<a name="l00048"></a>00048 <span class="preprocessor"></span>
<a name="l00049"></a>00049 <span class="preprocessor">#define SNMP_STRORNULL(x) ( x ? x : "(null)")</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span>
<a name="l00053"></a><a class="code" href="group__util.html#ga951e93edb6f0ea941e26155e3f8912a6">00053</a> <span class="preprocessor">#define SNMP_FREE(s) do { if (s) { free((void *)s); s=NULL; } } while(0)</span>
<a name="l00054"></a>00054 <span class="preprocessor"></span>
<a name="l00057"></a><a class="code" href="group__util.html#ga15e5a68e6d21430ddd4312fec64e5027">00057</a> <span class="preprocessor">#define SNMP_SWIPE_MEM(n,s) do { if (n) free((void *)n); n = s; s=NULL; } while(0)</span>
<a name="l00058"></a>00058 <span class="preprocessor"></span>
<a name="l00059"></a>00059 <span class="comment">/*</span>
<a name="l00060"></a>00060 <span class="comment"> * XXX Not optimal everywhere. </span>
<a name="l00061"></a>00061 <span class="comment"> */</span>
<a name="l00064"></a><a class="code" href="group__util.html#ga6356941968481380ea6f4a646df4aaf9">00064</a> <span class="preprocessor">#define SNMP_MALLOC_STRUCT(s) (struct s *) calloc(1, sizeof(struct s))</span>
<a name="l00065"></a>00065 <span class="preprocessor"></span>
<a name="l00068"></a><a class="code" href="group__util.html#ga9cd013bb193de5048149afeb9d94e424">00068</a> <span class="preprocessor">#define SNMP_MALLOC_TYPEDEF(td) (td *) calloc(1, sizeof(td))</span>
<a name="l00069"></a>00069 <span class="preprocessor"></span>
<a name="l00072"></a><a class="code" href="group__util.html#ga190280d08c828c153ec2755b9c263227">00072</a> <span class="preprocessor">#define SNMP_ZERO(s,l) do { if (s) memset(s, 0, l); } while(0)</span>
<a name="l00073"></a>00073 <span class="preprocessor"></span>
<a name="l00074"></a>00074
<a name="l00075"></a>00075 <span class="preprocessor">#define TOUPPER(c) (c >= 'a' && c <= 'z' ? c - ('a' - 'A') : c)</span>
<a name="l00076"></a>00076 <span class="preprocessor"></span><span class="preprocessor">#define TOLOWER(c) (c >= 'A' && c <= 'Z' ? c + ('a' - 'A') : c)</span>
<a name="l00077"></a>00077 <span class="preprocessor"></span>
<a name="l00078"></a>00078 <span class="preprocessor">#define HEX2VAL(s) \</span>
<a name="l00079"></a>00079 <span class="preprocessor"> ((isalpha(s) ? (TOLOWER(s)-'a'+10) : (TOLOWER(s)-'0')) & 0xf)</span>
<a name="l00080"></a>00080 <span class="preprocessor"></span><span class="preprocessor">#define VAL2HEX(s) ( (s) + (((s) >= 10) ? ('a'-10) : '0') )</span>
<a name="l00081"></a>00081 <span class="preprocessor"></span>
<a name="l00082"></a>00082
<a name="l00085"></a><a class="code" href="group__util.html#gaa70d7b83d1001df95cf64280e9545564">00085</a> <span class="preprocessor">#define SNMP_MAX(a,b) ((a) > (b) ? (a) : (b))</span>
<a name="l00086"></a>00086 <span class="preprocessor"></span>
<a name="l00089"></a><a class="code" href="group__util.html#gad1976dec11cfd62abaa4ecedad948f18">00089</a> <span class="preprocessor">#define SNMP_MIN(a,b) ((a) > (b) ? (b) : (a))</span>
<a name="l00090"></a>00090 <span class="preprocessor"></span>
<a name="l00091"></a>00091 <span class="preprocessor">#ifndef FALSE</span>
<a name="l00092"></a>00092 <span class="preprocessor"></span><span class="preprocessor">#define FALSE 0</span>
<a name="l00093"></a>00093 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00094"></a>00094 <span class="preprocessor"></span><span class="preprocessor">#ifndef TRUE</span>
<a name="l00095"></a>00095 <span class="preprocessor"></span><span class="preprocessor">#define TRUE 1</span>
<a name="l00096"></a>00096 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00097"></a>00097 <span class="preprocessor"></span>
<a name="l00098"></a>00098 <span class="comment">/*</span>
<a name="l00099"></a>00099 <span class="comment"> * QUIT the FUNction:</span>
<a name="l00100"></a>00100 <span class="comment"> * e Error code variable</span>
<a name="l00101"></a>00101 <span class="comment"> * l Label to goto to cleanup and get out of the function.</span>
<a name="l00102"></a>00102 <span class="comment"> *</span>
<a name="l00103"></a>00103 <span class="comment"> * XXX It would be nice if the label could be constructed by the</span>
<a name="l00104"></a>00104 <span class="comment"> * preprocessor in context. Limited to a single error return value.</span>
<a name="l00105"></a>00105 <span class="comment"> * Temporary hack at best.</span>
<a name="l00106"></a>00106 <span class="comment"> */</span>
<a name="l00107"></a>00107 <span class="preprocessor">#define QUITFUN(e, l) \</span>
<a name="l00108"></a>00108 <span class="preprocessor"> if ( (e) != SNMPERR_SUCCESS) { \</span>
<a name="l00109"></a>00109 <span class="preprocessor"> rval = SNMPERR_GENERR; \</span>
<a name="l00110"></a>00110 <span class="preprocessor"> goto l ; \</span>
<a name="l00111"></a>00111 <span class="preprocessor"> }</span>
<a name="l00112"></a>00112 <span class="preprocessor"></span>
<a name="l00113"></a>00113 <span class="comment">/*</span>
<a name="l00114"></a>00114 <span class="comment"> * DIFFTIMEVAL</span>
<a name="l00115"></a>00115 <span class="comment"> * Set <diff> to the difference between <now> (current) and <then> (past).</span>
<a name="l00116"></a>00116 <span class="comment"> *</span>
<a name="l00117"></a>00117 <span class="comment"> * ASSUMES that all inputs are (struct timeval)'s.</span>
<a name="l00118"></a>00118 <span class="comment"> * Cf. system.c:calculate_time_diff().</span>
<a name="l00119"></a>00119 <span class="comment"> */</span>
<a name="l00120"></a>00120 <span class="preprocessor">#define DIFFTIMEVAL(now, then, diff) \</span>
<a name="l00121"></a>00121 <span class="preprocessor">{ \</span>
<a name="l00122"></a>00122 <span class="preprocessor"> now.tv_sec--; \</span>
<a name="l00123"></a>00123 <span class="preprocessor"> now.tv_usec += 1000000L; \</span>
<a name="l00124"></a>00124 <span class="preprocessor"> diff.tv_sec = now.tv_sec - then.tv_sec; \</span>
<a name="l00125"></a>00125 <span class="preprocessor"> diff.tv_usec = now.tv_usec - then.tv_usec; \</span>
<a name="l00126"></a>00126 <span class="preprocessor"> if (diff.tv_usec > 1000000L){ \</span>
<a name="l00127"></a>00127 <span class="preprocessor"> diff.tv_usec -= 1000000L; \</span>
<a name="l00128"></a>00128 <span class="preprocessor"> diff.tv_sec++; \</span>
<a name="l00129"></a>00129 <span class="preprocessor"> } \</span>
<a name="l00130"></a>00130 <span class="preprocessor">}</span>
<a name="l00131"></a>00131 <span class="preprocessor"></span>
<a name="l00132"></a>00132
<a name="l00133"></a>00133 <span class="comment">/*</span>
<a name="l00134"></a>00134 <span class="comment"> * ISTRANSFORM</span>
<a name="l00135"></a>00135 <span class="comment"> * ASSUMES the minimum length for ttype and toid.</span>
<a name="l00136"></a>00136 <span class="comment"> */</span>
<a name="l00137"></a>00137 <span class="preprocessor">#define USM_LENGTH_OID_TRANSFORM 10</span>
<a name="l00138"></a>00138 <span class="preprocessor"></span>
<a name="l00139"></a>00139 <span class="preprocessor">#define ISTRANSFORM(ttype, toid) \</span>
<a name="l00140"></a>00140 <span class="preprocessor"> !snmp_oid_compare(ttype, USM_LENGTH_OID_TRANSFORM, \</span>
<a name="l00141"></a>00141 <span class="preprocessor"> usm ## toid ## Protocol, USM_LENGTH_OID_TRANSFORM)</span>
<a name="l00142"></a>00142 <span class="preprocessor"></span>
<a name="l00143"></a>00143 <span class="preprocessor">#define ENGINETIME_MAX 2147483647 </span><span class="comment">/* ((2^31)-1) */</span>
<a name="l00144"></a>00144 <span class="preprocessor">#define ENGINEBOOT_MAX 2147483647 </span><span class="comment">/* ((2^31)-1) */</span>
<a name="l00145"></a>00145
<a name="l00146"></a>00146
<a name="l00147"></a>00147
<a name="l00148"></a>00148
<a name="l00149"></a>00149 <span class="comment">/*</span>
<a name="l00150"></a>00150 <span class="comment"> * Prototypes.</span>
<a name="l00151"></a>00151 <span class="comment"> */</span>
<a name="l00152"></a>00152
<a name="l00153"></a>00153 <span class="keywordtype">int</span> <a class="code" href="group__util.html#ga7b42d706225a788adcfeaad9b24717de" title="This function increase the size of the buffer pointed at by *buf, which is initially of size *buf_len...">snmp_realloc</a>(u_char ** buf, <span class="keywordtype">size_t</span> * buf_len);
<a name="l00154"></a>00154
<a name="l00155"></a>00155 <span class="keywordtype">void</span> <a class="code" href="group__util.html#ga26a103aafde4d6dcf72c8e30c7d05bd9" title="zeros memory before freeing it.">free_zero</a>(<span class="keywordtype">void</span> *buf, <span class="keywordtype">size_t</span> size);
<a name="l00156"></a>00156
<a name="l00157"></a>00157 u_char *<a class="code" href="group__util.html#ga76b7f8b21c44e2f8b274a0db8b57d5a1" title="Returns pointer to allocaed & set buffer on success, size contains number of random bytes filled...">malloc_random</a>(<span class="keywordtype">size_t</span> * size);
<a name="l00158"></a>00158 u_char *malloc_zero(<span class="keywordtype">size_t</span> size);
<a name="l00159"></a>00159 <span class="keywordtype">int</span> <a class="code" href="group__util.html#ga623784b8aac0469fcd84e24ccdeda0bd" title="Duplicates a memory block.">memdup</a>(u_char ** to, <span class="keyword">const</span> u_char * from, <span class="keywordtype">size_t</span> size);
<a name="l00160"></a>00160
<a name="l00161"></a>00161 u_int <a class="code" href="group__util.html#gafb1770dd180ccdd29dafc90cf50d3204" title="converts binary to hexidecimal">binary_to_hex</a>(<span class="keyword">const</span> u_char * input, <span class="keywordtype">size_t</span> len,
<a name="l00162"></a>00162 <span class="keywordtype">char</span> **output);
<a name="l00163"></a>00163 <span class="comment">/* preferred */</span>
<a name="l00164"></a>00164 <span class="keywordtype">int</span> <a class="code" href="group__util.html#ga8c1a230e987560600de9f81e55480c0a" title="convert an ASCII hex string (with specified delimiters) to binary">netsnmp_hex_to_binary</a>(u_char ** buf, <span class="keywordtype">size_t</span> * buf_len,
<a name="l00165"></a>00165 <span class="keywordtype">size_t</span> * offset, <span class="keywordtype">int</span> allow_realloc,
<a name="l00166"></a>00166 <span class="keyword">const</span> <span class="keywordtype">char</span> *hex, <span class="keyword">const</span> <span class="keywordtype">char</span> *delim);
<a name="l00167"></a>00167 <span class="comment">/* calls netsnmp_hex_to_binary w/delim of " " */</span>
<a name="l00168"></a>00168 <span class="keywordtype">int</span> <a class="code" href="group__util.html#ga1a102bbccc7a51e7f98b0c1da33497db" title="convert an ASCII hex string to binary">snmp_hex_to_binary</a>(u_char ** buf, <span class="keywordtype">size_t</span> * buf_len,
<a name="l00169"></a>00169 <span class="keywordtype">size_t</span> * offset, <span class="keywordtype">int</span> allow_realloc,
<a name="l00170"></a>00170 <span class="keyword">const</span> <span class="keywordtype">char</span> *hex);
<a name="l00171"></a>00171 <span class="comment">/* handles odd lengths */</span>
<a name="l00172"></a>00172 <span class="keywordtype">int</span> <a class="code" href="group__util.html#gafbe460eb2f249c0d347ab38d94a802ae" title="hex_to_binary2">hex_to_binary2</a>(<span class="keyword">const</span> u_char * input, <span class="keywordtype">size_t</span> len,
<a name="l00173"></a>00173 <span class="keywordtype">char</span> **output);
<a name="l00174"></a>00174
<a name="l00175"></a>00175 <span class="keywordtype">int</span> snmp_decimal_to_binary(u_char ** buf, <span class="keywordtype">size_t</span> * buf_len,
<a name="l00176"></a>00176 <span class="keywordtype">size_t</span> * out_len,
<a name="l00177"></a>00177 <span class="keywordtype">int</span> allow_realloc,
<a name="l00178"></a>00178 <span class="keyword">const</span> <span class="keywordtype">char</span> *decimal);
<a name="l00179"></a>00179 <span class="preprocessor">#define snmp_cstrcat(b,l,o,a,s) snmp_strcat(b,l,o,a,(const u_char *)s)</span>
<a name="l00180"></a>00180 <span class="preprocessor"></span> <span class="keywordtype">int</span> snmp_strcat(u_char ** buf, <span class="keywordtype">size_t</span> * buf_len,
<a name="l00181"></a>00181 <span class="keywordtype">size_t</span> * out_len, <span class="keywordtype">int</span> allow_realloc,
<a name="l00182"></a>00182 <span class="keyword">const</span> u_char * s);
<a name="l00183"></a>00183 <span class="keywordtype">char</span> *<a class="code" href="group__util.html#ga06867ff53bb86b745f23c52aa5e78829" title="copies a (possible) unterminated string of a given length into a new buffer and null terminates it as...">netsnmp_strdup_and_null</a>(<span class="keyword">const</span> u_char * from,
<a name="l00184"></a>00184 <span class="keywordtype">size_t</span> from_len);
<a name="l00185"></a>00185
<a name="l00186"></a>00186 <span class="keywordtype">void</span> dump_chunk(<span class="keyword">const</span> <span class="keywordtype">char</span> *debugtoken, <span class="keyword">const</span> <span class="keywordtype">char</span> *title,
<a name="l00187"></a>00187 <span class="keyword">const</span> u_char * buf, <span class="keywordtype">int</span> size);
<a name="l00188"></a>00188 <span class="keywordtype">char</span> *dump_snmpEngineID(<span class="keyword">const</span> u_char * buf, <span class="keywordtype">size_t</span> * buflen);
<a name="l00189"></a>00189
<a name="l00190"></a>00190 <span class="keyword">typedef</span> <span class="keywordtype">void</span> *marker_t;
<a name="l00191"></a>00191 marker_t <a class="code" href="group__util.html#gadd8427286d982acba71489f0a3012dfb" title="create a new time marker.">atime_newMarker</a>(<span class="keywordtype">void</span>);
<a name="l00192"></a>00192 <span class="keywordtype">void</span> <a class="code" href="group__util.html#gaac74a9b90a9483019e8872d0c923567c" title="set a time marker.">atime_setMarker</a>(marker_t pm);
<a name="l00193"></a>00193 <span class="keywordtype">long</span> <a class="code" href="group__util.html#gaee67c956c1fcd842e739e2a8e9f57365" title="Returns the difference (in msec) between the two markers.">atime_diff</a>(marker_t first, marker_t second);
<a name="l00194"></a>00194 u_long <a class="code" href="group__util.html#ga1d44372c028e3c38de4161c52c226948" title="Returns the difference (in u_long msec) between the two markers.">uatime_diff</a>(marker_t first, marker_t second); <span class="comment">/* 1/1000th sec */</span>
<a name="l00195"></a>00195 u_long <a class="code" href="group__util.html#ga96b8aa8b0c5556f923dcfe9b56443606" title="Returns the difference (in u_long 1/100th secs) between the two markers (functionally this is what sy...">uatime_hdiff</a>(marker_t first, marker_t second); <span class="comment">/* 1/100th sec */</span>
<a name="l00196"></a>00196 <span class="keywordtype">int</span> <a class="code" href="group__util.html#ga43a00cd4f3496eb42fb99285a2da8481" title="Test: Has (marked time plus delta) exceeded current time (in msec) ? Returns 0 if test fails or canno...">atime_ready</a>(marker_t pm, <span class="keywordtype">int</span> deltaT);
<a name="l00197"></a>00197 <span class="keywordtype">int</span> <a class="code" href="group__util.html#ga15b21d7af289044a10e22b6111f43523" title="Test: Has (marked time plus delta) exceeded current time (in msec) ? Returns 0 if test fails or canno...">uatime_ready</a>(marker_t pm, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> deltaT);
<a name="l00198"></a>00198
<a name="l00199"></a>00199 <span class="keywordtype">int</span> <a class="code" href="group__util.html#gad8f70e6754e69772a113c07f8607d5eb" title="Return the number of timeTicks since the given marker.">marker_tticks</a>(marker_t pm);
<a name="l00200"></a>00200 <span class="keywordtype">int</span> timeval_tticks(<span class="keyword">struct</span> timeval *tv);
<a name="l00201"></a>00201 <span class="keywordtype">char</span> *<a class="code" href="group__util.html#ga1816d1ce1e701fcbce27b20159433313" title="Non Windows: Returns a pointer to the desired environment variable or NULL if the environment variabl...">netsnmp_getenv</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name);
<a name="l00202"></a>00202
<a name="l00203"></a>00203 <span class="keywordtype">int</span> netsnmp_addrstr_hton(<span class="keywordtype">char</span> *ptr, <span class="keywordtype">size_t</span> len);
<a name="l00204"></a>00204
<a name="l00205"></a>00205 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00206"></a>00206 <span class="preprocessor"></span>}
<a name="l00207"></a>00207 <span class="preprocessor">#endif</span>
<a name="l00208"></a>00208 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* _TOOLS_H */</span>
<a name="l00209"></a>00209 <span class="comment">/* @} */</span>
</pre></div></div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
Generated by  <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>