📄 group__osip__accept__encoding.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 accept-encoding 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 accept-encoding 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__accept__encoding.html">osip_accept_encoding</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structosip__accept__encoding.html">osip_accept_encoding</a></td></tr><tr><td colspan=2><br><h2>Defines</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__ACCEPT__ENCODING.html#ga8">osip_accept_encoding_param_add</a>(header, name, value) osip_generic_param_add((header)->gen_params,name,value)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__ACCEPT__ENCODING.html#ga9">osip_accept_encoding_param_get_byname</a>(header, name, dest) osip_generic_param_get_byname((header)->gen_params,name,dest)</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__accept__encoding.html">osip_accept_encoding</a> </td><td class="memItemRight" valign=bottom><a class="el" href="group__oSIP__ACCEPT__ENCODING.html#ga0">osip_accept_encoding_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__ACCEPT__ENCODING.html#ga1">osip_accept_encoding_init</a> (<a class="el" href="structosip__accept__encoding.html">osip_accept_encoding_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__ACCEPT__ENCODING.html#ga2">osip_accept_encoding_parse</a> (<a class="el" href="structosip__accept__encoding.html">osip_accept_encoding_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__ACCEPT__ENCODING.html#ga3">osip_accept_encoding_to_str</a> (const <a class="el" href="structosip__accept__encoding.html">osip_accept_encoding_t</a> *header, char **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__ACCEPT__ENCODING.html#ga4">osip_accept_encoding_free</a> (<a class="el" href="structosip__accept__encoding.html">osip_accept_encoding_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__ACCEPT__ENCODING.html#ga5">osip_accept_encoding_clone</a> (const <a class="el" href="structosip__accept__encoding.html">osip_accept_encoding_t</a> *header, <a class="el" href="structosip__accept__encoding.html">osip_accept_encoding_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__ACCEPT__ENCODING.html#ga6">osip_accept_encoding_set_element</a> (<a class="el" href="structosip__accept__encoding.html">osip_accept_encoding_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__ACCEPT__ENCODING.html#ga7">osip_accept_encoding_get_element</a> (const <a class="el" href="structosip__accept__encoding.html">osip_accept_encoding_t</a> *header)</td></tr></table><hr><h2>Define Documentation</h2><a class="anchor" name="ga8" doxytag="osip_accept_encoding.h::osip_accept_encoding_param_add" ></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"> #define osip_accept_encoding_param_add </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">header, <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>name, <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>value </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> osip_generic_param_add((header)->gen_params,name,value)</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Allocate and Add a header parameter in an Accept-Encoding 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>name</em> </td><td>The token name for the new parameter. </td></tr> <tr><td></td><td valign=top><em>value</em> </td><td>The token value for the new parameter. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="ga9" doxytag="osip_accept_encoding.h::osip_accept_encoding_param_get_byname" ></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"> #define osip_accept_encoding_param_get_byname </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">header, <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>name, <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>dest </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> osip_generic_param_get_byname((header)->gen_params,name,dest)</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Find a header parameter in an Accept-Encoding 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>name</em> </td><td>The token name to search. </td></tr> <tr><td></td><td valign=top><em>dest</em> </td><td>A pointer on the element found. </td></tr> </table></dl> </td> </tr></table><hr><h2>Typedef Documentation</h2><a class="anchor" name="ga0" doxytag="osip_accept_encoding.h::osip_accept_encoding_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__accept__encoding.html">osip_accept_encoding_t</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Structure for Accept-Encoding header. </td> </tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="ga5" doxytag="osip_accept_encoding.h::osip_accept_encoding_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_accept_encoding_clone </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="structosip__accept__encoding.html">osip_accept_encoding_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__accept__encoding.html">osip_accept_encoding_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 Accept-Encoding 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="ga4" doxytag="osip_accept_encoding.h::osip_accept_encoding_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_accept_encoding_free </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structosip__accept__encoding.html">osip_accept_encoding_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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -