⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 group__osip__header.html

📁 关于OSIP协议栈开发的一个很有用的东东~~~
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>libosip: oSIP header definition.</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.8 --><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">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div><h1>oSIP header definition.<br><small>[<a class="el" href="group__oSIP__HEADERS.html">oSIP headers definitions</a>]</small></h1><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Classes</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structosip__header.html">osip_header</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structosip__header.html">osip_header</a></td></tr><tr><td colspan=2><br><h2>Typedefs</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="structosip__header.html">osip_header</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__HEADER.html#ga0">osip_header_t</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="structosip__uri__param.html">osip_uri_param_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__HEADER.html#ga1">osip_generic_param_t</a></td></tr><tr><td colspan=2><br><h2>Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__HEADER.html#ga2">osip_header_init</a> (<a class="el" href="structosip__header.html">osip_header_t</a> **header)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__HEADER.html#ga3">osip_header_free</a> (<a class="el" href="structosip__header.html">osip_header_t</a> *header)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__HEADER.html#ga4">osip_header_to_str</a> (const <a class="el" href="structosip__header.html">osip_header_t</a> *header, char **dest)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__HEADER.html#ga5">osip_header_get_name</a> (const <a class="el" href="structosip__header.html">osip_header_t</a> *header)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__HEADER.html#ga6">osip_header_set_name</a> (<a class="el" href="structosip__header.html">osip_header_t</a> *header, char *pname)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__HEADER.html#ga7">osip_header_get_value</a> (const <a class="el" href="structosip__header.html">osip_header_t</a> *header)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__HEADER.html#ga8">osip_header_set_value</a> (<a class="el" href="structosip__header.html">osip_header_t</a> *header, char *pvalue)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__HEADER.html#ga9">osip_header_clone</a> (const <a class="el" href="structosip__header.html">osip_header_t</a> *header, <a class="el" href="structosip__header.html">osip_header_t</a> **dest)</td></tr></table><hr><h2>Typedef Documentation</h2><a class="anchor" name="ga1" doxytag="osip_header.h::osip_generic_param_t" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="structosip__uri__param.html">osip_generic_param_t</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Structure for generic parameter headers. Generic parameter are used in a lot of headers. (To, From, Route, Record-Route...) All those headers use a common API but this is hidden by MACROs that you can be found in smsg.h.     </td>  </tr></table><a class="anchor" name="ga0" doxytag="osip_header.h::osip_header_t" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="structosip__header.html">osip_header_t</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Structure for 'unknown' headers. NOTE: 'unknown' header' are used in oSIP for all header that are not defined by oSIP in the osip_message_t structure. This means that all 'unknown' header has to be handled with the API related to this structure.     </td>  </tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="ga9" doxytag="osip_header.h::osip_header_clone" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> int osip_header_clone           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="structosip__header.html">osip_header_t</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>header</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="structosip__header.html">osip_header_t</a> **&nbsp;</td>          <td class="mdname" nowrap> <em>dest</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Clone a header element. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>header</em>&nbsp;</td><td>The element to work on. </td></tr>    <tr><td></td><td valign=top><em>dest</em>&nbsp;</td><td>A pointer on the copy of the element. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="ga3" doxytag="osip_header.h::osip_header_free" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void osip_header_free           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="structosip__header.html">osip_header_t</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>header</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Free a header element. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>header</em>&nbsp;</td><td>The element to work on. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="ga5" doxytag="osip_header.h::osip_header_get_name" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> char* osip_header_get_name           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="structosip__header.html">osip_header_t</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>header</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get the token name a header element. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>header</em>&nbsp;</td><td>The element to work on. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="ga7" doxytag="osip_header.h::osip_header_get_value" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -