449 lines
32 KiB
HTML
449 lines
32 KiB
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"/>
|
|
<meta name="generator" content="Doxygen 1.8.10"/>
|
|
<title>OpenJPEG: query_parser.c File Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">OpenJPEG
|
|
 <span id="projectnumber">2.2.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.10 -->
|
|
<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>
|
|
</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 id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d522931ffa1371640980b621734a4381.html">Users</a></li><li class="navelem"><a class="el" href="dir_694e20c96f4fc1be4aed4f026eadce94.html">antonin</a></li><li class="navelem"><a class="el" href="dir_3ca1ad36e65e03f9e8d67ddc2553765b.html">dev</a></li><li class="navelem"><a class="el" href="dir_181a881edfcb8646dab693a228fa6bde.html">opj</a></li><li class="navelem"><a class="el" href="dir_5064bb5511811c3176850b7e47443f14.html">github</a></li><li class="navelem"><a class="el" href="dir_0b20524d8f8835ca75acc430451c8412.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_e3f8a8e294f8271ee71cbcf3c2acacc1.html">src</a></li><li class="navelem"><a class="el" href="dir_da83fe5fdfb6c4554d36abffc03790ad.html">lib</a></li><li class="navelem"><a class="el" href="dir_6ec2d9a1b37a1187cc46aeaf3b19e1b3.html">openjpip</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#define-members">Macros</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">query_parser.c File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include <strings.h></code><br />
|
|
<code>#include <stdio.h></code><br />
|
|
<code>#include <assert.h></code><br />
|
|
<code>#include <string.h></code><br />
|
|
<code>#include <stdlib.h></code><br />
|
|
<code>#include "<a class="el" href="query__parser_8h_source.html">query_parser.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="opj__stdint_8h_source.html">opj_stdint.h</a>"</code><br />
|
|
</div><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
|
Macros</h2></td></tr>
|
|
<tr class="memitem:ac322e421aefb8ec9ccc10bef953e3d82"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="query__parser_8c.html#ac322e421aefb8ec9ccc10bef953e3d82">FCGI_stdout</a>   stdout</td></tr>
|
|
<tr class="separator:ac322e421aefb8ec9ccc10bef953e3d82"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a77b5d5af2adb2cfa7ec785b592fc4074"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="query__parser_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>   stderr</td></tr>
|
|
<tr class="separator:a77b5d5af2adb2cfa7ec785b592fc4074"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a31c99676da88bb0bcdb350710f00fa96"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="query__parser_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>   stderr</td></tr>
|
|
<tr class="separator:a31c99676da88bb0bcdb350710f00fa96"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa999ed852d8bebdfb355d9f9160fb61f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="query__parser_8c.html#aa999ed852d8bebdfb355d9f9160fb61f">MAX_LENOFFIELDNAME</a>   10</td></tr>
|
|
<tr class="memdesc:aa999ed852d8bebdfb355d9f9160fb61f"><td class="mdescLeft"> </td><td class="mdescRight">maximum length of field name <a href="#aa999ed852d8bebdfb355d9f9160fb61f">More...</a><br /></td></tr>
|
|
<tr class="separator:aa999ed852d8bebdfb355d9f9160fb61f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae4951b2b535cc6dca9f5c24c665d4e74"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="query__parser_8c.html#ae4951b2b535cc6dca9f5c24c665d4e74">MAX_LENOFFIELDVAL</a>   128</td></tr>
|
|
<tr class="memdesc:ae4951b2b535cc6dca9f5c24c665d4e74"><td class="mdescLeft"> </td><td class="mdescRight">maximum length of field value <a href="#ae4951b2b535cc6dca9f5c24c665d4e74">More...</a><br /></td></tr>
|
|
<tr class="separator:ae4951b2b535cc6dca9f5c24c665d4e74"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:abf1c47790bd59fe21716f5eb182ff4c9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="query__parser_8h.html#a682e389efd87ca09fdcbcb002e1bac57">query_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="query__parser_8c.html#abf1c47790bd59fe21716f5eb182ff4c9">get_initquery</a> (void)</td></tr>
|
|
<tr class="memdesc:abf1c47790bd59fe21716f5eb182ff4c9"><td class="mdescLeft"> </td><td class="mdescRight">Get initialized query parameters. <a href="#abf1c47790bd59fe21716f5eb182ff4c9">More...</a><br /></td></tr>
|
|
<tr class="separator:abf1c47790bd59fe21716f5eb182ff4c9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab46d86d1bdc600d3575488765d27e1d7"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="query__parser_8c.html#ab46d86d1bdc600d3575488765d27e1d7">get_fieldparam</a> (const char *stringptr, char *fieldname, char *fieldval)</td></tr>
|
|
<tr class="separator:ab46d86d1bdc600d3575488765d27e1d7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a472b68a9aba39a30306fd19acbf80b11"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="query__parser_8c.html#a472b68a9aba39a30306fd19acbf80b11">parse_cclose</a> (char *src, <a class="el" href="query__parser_8h.html#a682e389efd87ca09fdcbcb002e1bac57">query_param_t</a> *<a class="el" href="structquery__param.html">query_param</a>)</td></tr>
|
|
<tr class="separator:a472b68a9aba39a30306fd19acbf80b11"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aefacb7a133ffc0703a2c624258ad9683"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="query__parser_8c.html#aefacb7a133ffc0703a2c624258ad9683">parse_metareq</a> (char *field, <a class="el" href="query__parser_8h.html#a682e389efd87ca09fdcbcb002e1bac57">query_param_t</a> *<a class="el" href="structquery__param.html">query_param</a>)</td></tr>
|
|
<tr class="separator:aefacb7a133ffc0703a2c624258ad9683"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af4300b5af805f42a55b09525b0b99686"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="query__parser_8c.html#af4300b5af805f42a55b09525b0b99686">parse_comps</a> (char *field, <a class="el" href="query__parser_8h.html#a682e389efd87ca09fdcbcb002e1bac57">query_param_t</a> *<a class="el" href="structquery__param.html">query_param</a>)</td></tr>
|
|
<tr class="separator:af4300b5af805f42a55b09525b0b99686"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab2f163d52a1f2565227eebd6dc97d8c1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="query__parser_8h.html#a682e389efd87ca09fdcbcb002e1bac57">query_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="query__parser_8c.html#ab2f163d52a1f2565227eebd6dc97d8c1">parse_query</a> (const char *query_string)</td></tr>
|
|
<tr class="memdesc:ab2f163d52a1f2565227eebd6dc97d8c1"><td class="mdescLeft"> </td><td class="mdescRight">parse query <a href="#ab2f163d52a1f2565227eebd6dc97d8c1">More...</a><br /></td></tr>
|
|
<tr class="separator:ab2f163d52a1f2565227eebd6dc97d8c1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ada556bed2de19dbb7bcfbd5154d6a21e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="query__parser_8c.html#ada556bed2de19dbb7bcfbd5154d6a21e">print_queryparam</a> (<a class="el" href="query__parser_8h.html#a682e389efd87ca09fdcbcb002e1bac57">query_param_t</a> <a class="el" href="structquery__param.html">query_param</a>)</td></tr>
|
|
<tr class="memdesc:ada556bed2de19dbb7bcfbd5154d6a21e"><td class="mdescLeft"> </td><td class="mdescRight">print query parameters <a href="#ada556bed2de19dbb7bcfbd5154d6a21e">More...</a><br /></td></tr>
|
|
<tr class="separator:ada556bed2de19dbb7bcfbd5154d6a21e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1d9cdea31f6d843aee385fc85322c77e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="query__parser_8c.html#a1d9cdea31f6d843aee385fc85322c77e">parse_req_box_prop</a> (char *req_box_prop, int idx, <a class="el" href="query__parser_8h.html#a682e389efd87ca09fdcbcb002e1bac57">query_param_t</a> *<a class="el" href="structquery__param.html">query_param</a>)</td></tr>
|
|
<tr class="separator:a1d9cdea31f6d843aee385fc85322c77e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af45bdebdc292d23fd9816e980320227f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="query__parser_8c.html#af45bdebdc292d23fd9816e980320227f">delete_query</a> (<a class="el" href="query__parser_8h.html#a682e389efd87ca09fdcbcb002e1bac57">query_param_t</a> **query)</td></tr>
|
|
<tr class="memdesc:af45bdebdc292d23fd9816e980320227f"><td class="mdescLeft"> </td><td class="mdescRight">delete query <a href="#af45bdebdc292d23fd9816e980320227f">More...</a><br /></td></tr>
|
|
<tr class="separator:af45bdebdc292d23fd9816e980320227f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
|
<a class="anchor" id="a77b5d5af2adb2cfa7ec785b592fc4074"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define FCGI_stderr   stderr</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac322e421aefb8ec9ccc10bef953e3d82"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define FCGI_stdout   stdout</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a31c99676da88bb0bcdb350710f00fa96"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define logstream   stderr</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Referenced by <a class="el" href="query__parser_8h.html#ada556bed2de19dbb7bcfbd5154d6a21e">print_queryparam()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa999ed852d8bebdfb355d9f9160fb61f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define MAX_LENOFFIELDNAME   10</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>maximum length of field name </p>
|
|
|
|
<p>Referenced by <a class="el" href="query__parser_8h.html#ab2f163d52a1f2565227eebd6dc97d8c1">parse_query()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae4951b2b535cc6dca9f5c24c665d4e74"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define MAX_LENOFFIELDVAL   128</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>maximum length of field value </p>
|
|
|
|
<p>Referenced by <a class="el" href="query__parser_8h.html#ab2f163d52a1f2565227eebd6dc97d8c1">parse_query()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="af45bdebdc292d23fd9816e980320227f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void delete_query </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="query__parser_8h.html#a682e389efd87ca09fdcbcb002e1bac57">query_param_t</a> ** </td>
|
|
<td class="paramname"><em>query</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>delete query </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">query</td><td>address of the deleting query pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab46d86d1bdc600d3575488765d27e1d7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">char * get_fieldparam </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>stringptr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>fieldname</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>fieldval</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Referenced by <a class="el" href="query__parser_8h.html#ab2f163d52a1f2565227eebd6dc97d8c1">parse_query()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abf1c47790bd59fe21716f5eb182ff4c9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="query__parser_8h.html#a682e389efd87ca09fdcbcb002e1bac57">query_param_t</a> * get_initquery </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get initialized query parameters. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>initial query parameters </dd></dl>
|
|
|
|
<p>References <a class="el" href="structquery__param.html#a000ad8669c3942daded32812764d200c">query_param::a</a>, <a class="el" href="structquery__param.html#a75d998d873e666fff69b5543b067ff9d">query_param::box_type</a>, <a class="el" href="structquery__param.html#a55558346af9b7eec74e110e240c80ff0">query_param::cclose</a>, <a class="el" href="structquery__param.html#ae1a7c1f30fd0bdf0b2d8fef81d9a39df">query_param::cid</a>, <a class="el" href="structquery__param.html#a86e32626d4bf804f12a89ea205ded896">query_param::cnew</a>, <a class="el" href="structquery__param.html#acf0e23d53e9fb749b283531cacecf4dd">query_param::comps</a>, <a class="el" href="structquery__param.html#a96566888e9008a08d8a0a2f6ab499e93">query_param::fx</a>, <a class="el" href="structquery__param.html#af3e9dcb91a20e7dd1e52a6d58749a6c0">query_param::fy</a>, <a class="el" href="structquery__param.html#a81793a546cd6519e8ddf04a1706023cf">query_param::g</a>, <a class="el" href="structquery__param.html#a6bebd59a45c50b7296a3dddc26e4a633">query_param::lastcomp</a>, <a class="el" href="structquery__param.html#ac21ae31b17b3181e93041c66b9356490">query_param::layers</a>, <a class="el" href="structquery__param.html#a6349bca2fb4aae90df21d06332cf6bd1">query_param::len</a>, <a class="el" href="structquery__param.html#a6ca756b55398bb3a48e62d1c01de5d3a">query_param::limit</a>, <a class="el" href="structquery__param.html#ad036df52ff1f475553027dd74d2f29a3">query_param::max_depth</a>, <a class="el" href="query__parser_8h.html#ad93969a6f3457e3fe65ed474892bb66d">MAX_NUMOFBOX</a>, <a class="el" href="structquery__param.html#ab98ead415de63bbdbee84c8293b872f4">query_param::metadata_only</a>, <a class="el" href="query__parser_8h.html#a678aedbd2509521578c078f7a356b428a6ff3e1db2b5d63865c829bf61718210d">non</a>, <a class="el" href="structquery__param.html#ac24851f0f639528a77068d1988479283">query_param::numOfcclose</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="structquery__param.html#a5ba5530f2d9cbe2ba9b39d47af083998">query_param::priority</a>, <a class="el" href="structquery__param.html#af53785321b3f4b9f2a6fd9795ed952db">query_param::return_type</a>, <a class="el" href="structquery__param.html#a86592fe40e1e3faeb76baa0499376164">query_param::rh</a>, <a class="el" href="structquery__param.html#ac1aa6b6a46e15754fd38961d99124e13">query_param::root_bin</a>, <a class="el" href="structquery__param.html#aeb6ce3eec1d8f86fdee050fbfe0fe77e">query_param::rw</a>, <a class="el" href="structquery__param.html#adb56a2075a3bc3f7ca03fcd77635d6ec">query_param::rx</a>, <a class="el" href="structquery__param.html#a9bf22509c1dea4641b3f510d8f920f61">query_param::ry</a>, <a class="el" href="structquery__param.html#aee6c8b8c84643f62f0718c6c17abf2c9">query_param::s</a>, <a class="el" href="structquery__param.html#aaf3e9ddc94d0ae3b0edb9cf432bf92f2">query_param::target</a>, <a class="el" href="structquery__param.html#a66aa7b3173e71ea6c19e53a73061a713">query_param::tid</a>, <a class="el" href="query__parser_8h.html#a3724c6ab6a16919b9601c9923042bccfa6ce26a62afab55d7606ad4e92428b30c">UNKNOWN</a>, and <a class="el" href="structquery__param.html#aad236f3975378cd23bec39f217e533f0">query_param::w</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="query__parser_8h.html#ab2f163d52a1f2565227eebd6dc97d8c1">parse_query()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a472b68a9aba39a30306fd19acbf80b11"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void parse_cclose </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>src</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="query__parser_8h.html#a682e389efd87ca09fdcbcb002e1bac57">query_param_t</a> * </td>
|
|
<td class="paramname"><em>query_param</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>References <a class="el" href="structquery__param.html#a55558346af9b7eec74e110e240c80ff0">query_param::cclose</a>, and <a class="el" href="structquery__param.html#ac24851f0f639528a77068d1988479283">query_param::numOfcclose</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="query__parser_8h.html#ab2f163d52a1f2565227eebd6dc97d8c1">parse_query()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af4300b5af805f42a55b09525b0b99686"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void parse_comps </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>field</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="query__parser_8h.html#a682e389efd87ca09fdcbcb002e1bac57">query_param_t</a> * </td>
|
|
<td class="paramname"><em>query_param</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>References <a class="el" href="structquery__param.html#acf0e23d53e9fb749b283531cacecf4dd">query_param::comps</a>, <a class="el" href="structquery__param.html#a6bebd59a45c50b7296a3dddc26e4a633">query_param::lastcomp</a>, <a class="el" href="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="query__parser_8h.html#ab2f163d52a1f2565227eebd6dc97d8c1">parse_query()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aefacb7a133ffc0703a2c624258ad9683"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void parse_metareq </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>field</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="query__parser_8h.html#a682e389efd87ca09fdcbcb002e1bac57">query_param_t</a> * </td>
|
|
<td class="paramname"><em>query_param</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>References <a class="el" href="structquery__param.html#ad036df52ff1f475553027dd74d2f29a3">query_param::max_depth</a>, <a class="el" href="structquery__param.html#ab98ead415de63bbdbee84c8293b872f4">query_param::metadata_only</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="query__parser_8c.html#a1d9cdea31f6d843aee385fc85322c77e">parse_req_box_prop()</a>, and <a class="el" href="structquery__param.html#ac1aa6b6a46e15754fd38961d99124e13">query_param::root_bin</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="query__parser_8h.html#ab2f163d52a1f2565227eebd6dc97d8c1">parse_query()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab2f163d52a1f2565227eebd6dc97d8c1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="query__parser_8h.html#a682e389efd87ca09fdcbcb002e1bac57">query_param_t</a>* parse_query </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>query_string</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>parse query </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">query_string</td><td>request query string </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>pointer to query parameters </dd></dl>
|
|
|
|
<p>References <a class="el" href="structquery__param.html#a75d998d873e666fff69b5543b067ff9d">query_param::box_type</a>, <a class="el" href="structquery__param.html#ae1a7c1f30fd0bdf0b2d8fef81d9a39df">query_param::cid</a>, <a class="el" href="structquery__param.html#a86e32626d4bf804f12a89ea205ded896">query_param::cnew</a>, <a class="el" href="structquery__param.html#a96566888e9008a08d8a0a2f6ab499e93">query_param::fx</a>, <a class="el" href="structquery__param.html#af3e9dcb91a20e7dd1e52a6d58749a6c0">query_param::fy</a>, <a class="el" href="query__parser_8c.html#ab46d86d1bdc600d3575488765d27e1d7">get_fieldparam()</a>, <a class="el" href="query__parser_8c.html#abf1c47790bd59fe21716f5eb182ff4c9">get_initquery()</a>, <a class="el" href="query__parser_8h.html#a678aedbd2509521578c078f7a356b428ad5d83964558f70780d57fc54123df9dd">http</a>, <a class="el" href="query__parser_8h.html#a3724c6ab6a16919b9601c9923042bccfa4c22e36605f3c774a5060f8461eef517">JPPstream</a>, <a class="el" href="query__parser_8h.html#a3724c6ab6a16919b9601c9923042bccfaeb1eb3b1afe3ba8db426dc9bbd710481">JPTstream</a>, <a class="el" href="structquery__param.html#ac21ae31b17b3181e93041c66b9356490">query_param::layers</a>, <a class="el" href="structquery__param.html#a6349bca2fb4aae90df21d06332cf6bd1">query_param::len</a>, <a class="el" href="query__parser_8c.html#aa999ed852d8bebdfb355d9f9160fb61f">MAX_LENOFFIELDNAME</a>, <a class="el" href="query__parser_8c.html#ae4951b2b535cc6dca9f5c24c665d4e74">MAX_LENOFFIELDVAL</a>, <a class="el" href="query__parser_8c.html#a472b68a9aba39a30306fd19acbf80b11">parse_cclose()</a>, <a class="el" href="query__parser_8c.html#af4300b5af805f42a55b09525b0b99686">parse_comps()</a>, <a class="el" href="query__parser_8c.html#aefacb7a133ffc0703a2c624258ad9683">parse_metareq()</a>, <a class="el" href="structquery__param.html#af53785321b3f4b9f2a6fd9795ed952db">query_param::return_type</a>, <a class="el" href="structquery__param.html#a86592fe40e1e3faeb76baa0499376164">query_param::rh</a>, <a class="el" href="structquery__param.html#aeb6ce3eec1d8f86fdee050fbfe0fe77e">query_param::rw</a>, <a class="el" href="structquery__param.html#adb56a2075a3bc3f7ca03fcd77635d6ec">query_param::rx</a>, <a class="el" href="structquery__param.html#a9bf22509c1dea4641b3f510d8f920f61">query_param::ry</a>, <a class="el" href="structquery__param.html#aaf3e9ddc94d0ae3b0edb9cf432bf92f2">query_param::target</a>, <a class="el" href="query__parser_8h.html#a678aedbd2509521578c078f7a356b428a5036938696cb1fd991a6aa47cc514cf7">tcp</a>, and <a class="el" href="structquery__param.html#a66aa7b3173e71ea6c19e53a73061a713">query_param::tid</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1d9cdea31f6d843aee385fc85322c77e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void parse_req_box_prop </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>req_box_prop</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>idx</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="query__parser_8h.html#a682e389efd87ca09fdcbcb002e1bac57">query_param_t</a> * </td>
|
|
<td class="paramname"><em>query_param</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>References <a class="el" href="structquery__param.html#a000ad8669c3942daded32812764d200c">query_param::a</a>, <a class="el" href="structquery__param.html#a75d998d873e666fff69b5543b067ff9d">query_param::box_type</a>, <a class="el" href="structquery__param.html#a81793a546cd6519e8ddf04a1706023cf">query_param::g</a>, <a class="el" href="structquery__param.html#a6ca756b55398bb3a48e62d1c01de5d3a">query_param::limit</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="structquery__param.html#a5ba5530f2d9cbe2ba9b39d47af083998">query_param::priority</a>, <a class="el" href="structquery__param.html#aee6c8b8c84643f62f0718c6c17abf2c9">query_param::s</a>, and <a class="el" href="structquery__param.html#aad236f3975378cd23bec39f217e533f0">query_param::w</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="query__parser_8c.html#aefacb7a133ffc0703a2c624258ad9683">parse_metareq()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ada556bed2de19dbb7bcfbd5154d6a21e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void print_queryparam </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="query__parser_8h.html#a682e389efd87ca09fdcbcb002e1bac57">query_param_t</a> </td>
|
|
<td class="paramname"><em>query_param</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>print query parameters </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname"><a class="el" href="structquery__param.html" title="Query parameters. ">query_param</a></td><td>query parameters </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structquery__param.html#a000ad8669c3942daded32812764d200c">query_param::a</a>, <a class="el" href="structquery__param.html#a75d998d873e666fff69b5543b067ff9d">query_param::box_type</a>, <a class="el" href="structquery__param.html#a55558346af9b7eec74e110e240c80ff0">query_param::cclose</a>, <a class="el" href="structquery__param.html#ae1a7c1f30fd0bdf0b2d8fef81d9a39df">query_param::cid</a>, <a class="el" href="structquery__param.html#a86e32626d4bf804f12a89ea205ded896">query_param::cnew</a>, <a class="el" href="structquery__param.html#acf0e23d53e9fb749b283531cacecf4dd">query_param::comps</a>, <a class="el" href="structquery__param.html#a96566888e9008a08d8a0a2f6ab499e93">query_param::fx</a>, <a class="el" href="structquery__param.html#af3e9dcb91a20e7dd1e52a6d58749a6c0">query_param::fy</a>, <a class="el" href="structquery__param.html#a81793a546cd6519e8ddf04a1706023cf">query_param::g</a>, <a class="el" href="structquery__param.html#a6bebd59a45c50b7296a3dddc26e4a633">query_param::lastcomp</a>, <a class="el" href="structquery__param.html#ac21ae31b17b3181e93041c66b9356490">query_param::layers</a>, <a class="el" href="structquery__param.html#a6349bca2fb4aae90df21d06332cf6bd1">query_param::len</a>, <a class="el" href="structquery__param.html#a6ca756b55398bb3a48e62d1c01de5d3a">query_param::limit</a>, <a class="el" href="query__parser_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>, <a class="el" href="structquery__param.html#ad036df52ff1f475553027dd74d2f29a3">query_param::max_depth</a>, <a class="el" href="query__parser_8h.html#ad93969a6f3457e3fe65ed474892bb66d">MAX_NUMOFBOX</a>, <a class="el" href="structquery__param.html#ab98ead415de63bbdbee84c8293b872f4">query_param::metadata_only</a>, <a class="el" href="structquery__param.html#ac24851f0f639528a77068d1988479283">query_param::numOfcclose</a>, <a class="el" href="structquery__param.html#a5ba5530f2d9cbe2ba9b39d47af083998">query_param::priority</a>, <a class="el" href="structquery__param.html#af53785321b3f4b9f2a6fd9795ed952db">query_param::return_type</a>, <a class="el" href="structquery__param.html#a86592fe40e1e3faeb76baa0499376164">query_param::rh</a>, <a class="el" href="structquery__param.html#ac1aa6b6a46e15754fd38961d99124e13">query_param::root_bin</a>, <a class="el" href="structquery__param.html#aeb6ce3eec1d8f86fdee050fbfe0fe77e">query_param::rw</a>, <a class="el" href="structquery__param.html#adb56a2075a3bc3f7ca03fcd77635d6ec">query_param::rx</a>, <a class="el" href="structquery__param.html#a9bf22509c1dea4641b3f510d8f920f61">query_param::ry</a>, <a class="el" href="structquery__param.html#aee6c8b8c84643f62f0718c6c17abf2c9">query_param::s</a>, <a class="el" href="structquery__param.html#aaf3e9ddc94d0ae3b0edb9cf432bf92f2">query_param::target</a>, <a class="el" href="structquery__param.html#a66aa7b3173e71ea6c19e53a73061a713">query_param::tid</a>, and <a class="el" href="structquery__param.html#aad236f3975378cd23bec39f217e533f0">query_param::w</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<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.8.10
|
|
</small></address>
|
|
</body>
|
|
</html>
|