📄 group__osip__call__id.html
字号:
<!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 call-id 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 Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div><h1>oSIP call-id 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 </td><td class="memItemRight" valign=bottom><a class="el" href="structosip__call__id.html">osip_call_id</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structosip__call__id.html">osip_call_id</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__call__id.html">osip_call_id</a> </td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__CALL__ID.html#ga0">osip_call_id_t</a></td></tr><tr><td colspan=2><br><h2>Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__CALL__ID.html#ga1">osip_call_id_init</a> (<a class="el" href="structosip__call__id.html">osip_call_id_t</a> **header)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__CALL__ID.html#ga2">osip_call_id_free</a> (<a class="el" href="structosip__call__id.html">osip_call_id_t</a> *header)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__CALL__ID.html#ga3">osip_call_id_parse</a> (<a class="el" href="structosip__call__id.html">osip_call_id_t</a> *header, const char *hvalue)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__CALL__ID.html#ga4">osip_call_id_to_str</a> (const <a class="el" href="structosip__call__id.html">osip_call_id_t</a> *header, char **dest)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__CALL__ID.html#ga5">osip_call_id_clone</a> (const <a class="el" href="structosip__call__id.html">osip_call_id_t</a> *header, <a class="el" href="structosip__call__id.html">osip_call_id_t</a> **dest)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__CALL__ID.html#ga6">osip_call_id_set_number</a> (<a class="el" href="structosip__call__id.html">osip_call_id_t</a> *header, char *value)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>char * </td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__CALL__ID.html#ga7">osip_call_id_get_number</a> (<a class="el" href="structosip__call__id.html">osip_call_id_t</a> *header)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__CALL__ID.html#ga8">osip_call_id_set_host</a> (<a class="el" href="structosip__call__id.html">osip_call_id_t</a> *header, char *value)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>char * </td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__CALL__ID.html#ga9">osip_call_id_get_host</a> (<a class="el" href="structosip__call__id.html">osip_call_id_t</a> *header)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__CALL__ID.html#ga10">osip_call_id_match</a> (<a class="el" href="structosip__call__id.html">osip_call_id_t</a> *callid1, <a class="el" href="structosip__call__id.html">osip_call_id_t</a> *callid2)</td></tr></table><hr><h2>Typedef Documentation</h2><a class="anchor" name="ga0" doxytag="osip_call_id.h::osip_call_id_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__call__id.html">osip_call_id_t</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Structure for Call-Id headers. </td> </tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="ga5" doxytag="osip_call_id.h::osip_call_id_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_call_id_clone </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structosip__call__id.html">osip_call_id_t</a> * </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__call__id.html">osip_call_id_t</a> ** </td> <td class="mdname" nowrap> <em>dest</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Clone a Call-id 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> </td><td>The element to work on. </td></tr> <tr><td></td><td valign=top><em>dest</em> </td><td>A pointer on the copy of the element. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="ga2" doxytag="osip_call_id.h::osip_call_id_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_call_id_free </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structosip__call__id.html">osip_call_id_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>header</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Free a Call-id 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> </td><td>The element to work on. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="ga9" doxytag="osip_call_id.h::osip_call_id_get_host" ></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_call_id_get_host </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structosip__call__id.html">osip_call_id_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>header</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Get the host from a Call-Id header. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td></td><td valign=top><em>header</em> </td><td>The element to work on. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="ga7" doxytag="osip_call_id.h::osip_call_id_get_number" ></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_call_id_get_number </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structosip__call__id.html">osip_call_id_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>header</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Get the number from a Call-Id header. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td></td><td valign=top><em>header</em> </td><td>The element to work on. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="ga1" doxytag="osip_call_id.h::osip_call_id_init" ></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_call_id_init </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structosip__call__id.html">osip_call_id_t</a> ** </td> <td class="mdname1" valign="top" nowrap> <em>header</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -