Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-backports > by-pkgid > 9601c7beb4ff23e834bfa171795ed560 > files > 958

vidalia-0.2.9-1mdv2010.1.i586.rpm

<!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"/>
<title>Vidalia: upnpreplyparse.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_b47abd1aad201a152869566145babb61.html">src</a>&nbsp;&raquo;&nbsp;<a class="el" href="dir_ba957854da48b9bba2087c1aa8432048.html">miniupnpc</a>
  </div>
</div>
<div class="contents">
<h1>upnpreplyparse.h</h1><a href="upnpreplyparse_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* $Id: upnpreplyparse.h,v 1.10 2009/07/09 16:01:50 nanard Exp $ */</span>
<a name="l00002"></a>00002 <span class="comment">/* MiniUPnP project</span>
<a name="l00003"></a>00003 <span class="comment"> * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/</span>
<a name="l00004"></a>00004 <span class="comment"> * (c) 2006-2009 Thomas Bernard </span>
<a name="l00005"></a>00005 <span class="comment"> * This software is subject to the conditions detailed</span>
<a name="l00006"></a>00006 <span class="comment"> * in the LICENCE file provided within the distribution */</span>
<a name="l00007"></a>00007 
<a name="l00008"></a>00008 <span class="preprocessor">#ifndef __UPNPREPLYPARSE_H__</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define __UPNPREPLYPARSE_H__</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span>
<a name="l00011"></a>00011 <span class="preprocessor">#if defined(NO_SYS_QUEUE_H) || defined(WIN32) || defined(__HAIKU__) </span>
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="bsdqueue_8h.html">bsdqueue.h</a>&quot;</span>
<a name="l00013"></a>00013 <span class="preprocessor">#else</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#include &lt;sys/queue.h&gt;</span>
<a name="l00015"></a>00015 <span class="preprocessor">#endif</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00019"></a>00019 <span class="preprocessor">#endif</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00021"></a><a class="code" href="struct_name_value.html">00021</a> <span class="keyword">struct </span><a class="code" href="struct_name_value.html">NameValue</a> {
<a name="l00022"></a>00022     <a class="code" href="struct_name_value.html#a8a594223b37b441d76235b56dfa487f9">LIST_ENTRY</a>(<a class="code" href="struct_name_value.html">NameValue</a>) entries;
<a name="l00023"></a><a class="code" href="struct_name_value.html#aa5ce8dd5d8df525a3a10eab303c319af">00023</a>     <span class="keywordtype">char</span> <a class="code" href="struct_name_value.html#aa5ce8dd5d8df525a3a10eab303c319af">name</a>[64];
<a name="l00024"></a><a class="code" href="struct_name_value.html#ab4ae30774abe00b2d37c085c09b0d5de">00024</a>     <span class="keywordtype">char</span> <a class="code" href="struct_name_value.html#ab4ae30774abe00b2d37c085c09b0d5de">value</a>[64];
<a name="l00025"></a>00025 };
<a name="l00026"></a>00026 
<a name="l00027"></a><a class="code" href="struct_name_value_parser_data.html">00027</a> <span class="keyword">struct </span><a class="code" href="struct_name_value_parser_data.html">NameValueParserData</a> {
<a name="l00028"></a>00028     <a class="code" href="struct_name_value_parser_data.html#acd7834c4a402f3ee232b625dfbc1ba7a">LIST_HEAD</a>(listhead, <a class="code" href="struct_name_value.html">NameValue</a>) head;
<a name="l00029"></a><a class="code" href="struct_name_value_parser_data.html#a8630f9ec6b17bb715ec1ddded24f0ee5">00029</a>     <span class="keywordtype">char</span> <a class="code" href="struct_name_value_parser_data.html#a8630f9ec6b17bb715ec1ddded24f0ee5">curelt</a>[64];
<a name="l00030"></a>00030 };
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="comment">/* ParseNameValue() */</span>
<a name="l00033"></a>00033 <span class="keywordtype">void</span>
<a name="l00034"></a>00034 <a class="code" href="upnpreplyparse_8h.html#acd5260240e52e8dc6997e46dbb4e4523">ParseNameValue</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * buffer, <span class="keywordtype">int</span> bufsize,
<a name="l00035"></a>00035                <span class="keyword">struct</span> <a class="code" href="struct_name_value_parser_data.html">NameValueParserData</a> * data);
<a name="l00036"></a>00036 
<a name="l00037"></a>00037 <span class="comment">/* ClearNameValueList() */</span>
<a name="l00038"></a>00038 <span class="keywordtype">void</span>
<a name="l00039"></a>00039 <a class="code" href="upnpreplyparse_8h.html#ab9a1ff11cd8c74f3cfa8a99bed9bd763">ClearNameValueList</a>(<span class="keyword">struct</span> <a class="code" href="struct_name_value_parser_data.html">NameValueParserData</a> * pdata);
<a name="l00040"></a>00040 
<a name="l00041"></a>00041 <span class="comment">/* GetValueFromNameValueList() */</span>
<a name="l00042"></a>00042 <span class="keywordtype">char</span> *
<a name="l00043"></a>00043 <a class="code" href="upnpreplyparse_8h.html#af775b18f5fc1cb1eb86ef36f964e068d">GetValueFromNameValueList</a>(<span class="keyword">struct</span> <a class="code" href="struct_name_value_parser_data.html">NameValueParserData</a> * pdata,
<a name="l00044"></a>00044                           <span class="keyword">const</span> <span class="keywordtype">char</span> * Name);
<a name="l00045"></a>00045 
<a name="l00046"></a>00046 <span class="comment">/* GetValueFromNameValueListIgnoreNS() */</span>
<a name="l00047"></a>00047 <span class="keywordtype">char</span> *
<a name="l00048"></a>00048 <a class="code" href="upnpreplyparse_8h.html#a25bdbe8653ddd17ce12abad3195714dc">GetValueFromNameValueListIgnoreNS</a>(<span class="keyword">struct</span> <a class="code" href="struct_name_value_parser_data.html">NameValueParserData</a> * pdata,
<a name="l00049"></a>00049                                   <span class="keyword">const</span> <span class="keywordtype">char</span> * Name);
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 <span class="comment">/* DisplayNameValueList() */</span>
<a name="l00052"></a>00052 <span class="preprocessor">#ifdef DEBUG</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="keywordtype">void</span>
<a name="l00054"></a>00054 DisplayNameValueList(<span class="keywordtype">char</span> * buffer, <span class="keywordtype">int</span> bufsize);
<a name="l00055"></a>00055 <span class="preprocessor">#endif</span>
<a name="l00056"></a>00056 <span class="preprocessor"></span>
<a name="l00057"></a>00057 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00058"></a>00058 <span class="preprocessor"></span>}
<a name="l00059"></a>00059 <span class="preprocessor">#endif</span>
<a name="l00060"></a>00060 <span class="preprocessor"></span>
<a name="l00061"></a>00061 <span class="preprocessor">#endif</span>
<a name="l00062"></a>00062 <span class="preprocessor"></span>
</pre></div></div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Aug 30 22:58:55 2010 for Vidalia by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>