465 lines
28 KiB
HTML
465 lines
28 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.9.1"/>
|
|
<title>OpenJPEG: auxtrans_manager.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 style="padding-left: 0.5em;">
|
|
<div id="projectname">OpenJPEG
|
|
 <span id="projectnumber">2.1.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.9.1 -->
|
|
<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="#nested-classes">Data Structures</a> |
|
|
<a href="#define-members">Macros</a> |
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">auxtrans_manager.c File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include <stdio.h></code><br />
|
|
<code>#include <string.h></code><br />
|
|
<code>#include <stdlib.h></code><br />
|
|
<code>#include "<a class="el" href="auxtrans__manager_8h_source.html">auxtrans_manager.h</a>"</code><br />
|
|
<code>#include <pthread.h></code><br />
|
|
</div><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
|
Data Structures</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structaux__response__param.html">aux_response_param</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><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="auxtrans__manager_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="auxtrans__manager_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="auxtrans__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>   stderr</td></tr>
|
|
<tr class="separator:a31c99676da88bb0bcdb350710f00fa96"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr class="memitem:a8cf367a5ed70424df40ae81bf78e761b"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structaux__response__param.html">aux_response_param</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="auxtrans__manager_8c.html#a8cf367a5ed70424df40ae81bf78e761b">aux_response_param_t</a></td></tr>
|
|
<tr class="separator:a8cf367a5ed70424df40ae81bf78e761b"><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:a72e679f1d37899db4dec20b648c12ed9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="auxtrans__manager_8h.html#a3a43df0d30b6082ba37b6129f3186263">auxtrans_param_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="auxtrans__manager_8c.html#a72e679f1d37899db4dec20b648c12ed9">init_aux_transport</a> (int tcp_auxport, int udp_auxport)</td></tr>
|
|
<tr class="memdesc:a72e679f1d37899db4dec20b648c12ed9"><td class="mdescLeft"> </td><td class="mdescRight">Initialize auxiliary transport server of JPIP server. <a href="#a72e679f1d37899db4dec20b648c12ed9">More...</a><br /></td></tr>
|
|
<tr class="separator:a72e679f1d37899db4dec20b648c12ed9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aff6d8f931e99feb9cb30a4fc2540823d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="auxtrans__manager_8c.html#aff6d8f931e99feb9cb30a4fc2540823d">close_aux_transport</a> (<a class="el" href="auxtrans__manager_8h.html#a3a43df0d30b6082ba37b6129f3186263">auxtrans_param_t</a> auxtrans)</td></tr>
|
|
<tr class="memdesc:aff6d8f931e99feb9cb30a4fc2540823d"><td class="mdescLeft"> </td><td class="mdescRight">Close auxiliary transport server of JPIP server. <a href="#aff6d8f931e99feb9cb30a4fc2540823d">More...</a><br /></td></tr>
|
|
<tr class="separator:aff6d8f931e99feb9cb30a4fc2540823d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acfaceca38039d2821be9d5faca98d850"><td class="memItemLeft" align="right" valign="top"><a class="el" href="auxtrans__manager_8c.html#a8cf367a5ed70424df40ae81bf78e761b">aux_response_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="auxtrans__manager_8c.html#acfaceca38039d2821be9d5faca98d850">gene_auxresponse</a> (<a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> istcp, <a class="el" href="auxtrans__manager_8h.html#a3a43df0d30b6082ba37b6129f3186263">auxtrans_param_t</a> auxtrans, const char cid[], void *data, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> datalen, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> maxlenPerFrame)</td></tr>
|
|
<tr class="separator:acfaceca38039d2821be9d5faca98d850"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a724878b1d59d49a9b5db7ca148a67da4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="auxtrans__manager_8c.html#a724878b1d59d49a9b5db7ca148a67da4">delete_auxresponse</a> (<a class="el" href="auxtrans__manager_8c.html#a8cf367a5ed70424df40ae81bf78e761b">aux_response_param_t</a> **auxresponse)</td></tr>
|
|
<tr class="separator:a724878b1d59d49a9b5db7ca148a67da4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1b2a6aa920175602327fffe3680d20a4"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="auxtrans__manager_8c.html#a1b2a6aa920175602327fffe3680d20a4">aux_streaming</a> (void *arg)</td></tr>
|
|
<tr class="separator:a1b2a6aa920175602327fffe3680d20a4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aabcf3e3e4bb3d990061b162cc51108be"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="auxtrans__manager_8c.html#aabcf3e3e4bb3d990061b162cc51108be">send_responsedata_on_aux</a> (<a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> istcp, <a class="el" href="auxtrans__manager_8h.html#a3a43df0d30b6082ba37b6129f3186263">auxtrans_param_t</a> auxtrans, const char cid[], void *data, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> datalen, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> maxlenPerFrame)</td></tr>
|
|
<tr class="memdesc:aabcf3e3e4bb3d990061b162cc51108be"><td class="mdescLeft"> </td><td class="mdescRight">Send response data on aux transport. <a href="#aabcf3e3e4bb3d990061b162cc51108be">More...</a><br /></td></tr>
|
|
<tr class="separator:aabcf3e3e4bb3d990061b162cc51108be"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a728ad6700ddf9f738b3ac5a1ac69f379"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="auxtrans__manager_8c.html#a728ad6700ddf9f738b3ac5a1ac69f379">identify_cid</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> connected_socket, char refcid[], FILE *fp)</td></tr>
|
|
<tr class="memdesc:a728ad6700ddf9f738b3ac5a1ac69f379"><td class="mdescLeft"> </td><td class="mdescRight">Identify cid sent from client. <a href="#a728ad6700ddf9f738b3ac5a1ac69f379">More...</a><br /></td></tr>
|
|
<tr class="separator:a728ad6700ddf9f738b3ac5a1ac69f379"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abf058dd7791756ca13f9a01abf5a38af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="auxtrans__manager_8c.html#abf058dd7791756ca13f9a01abf5a38af">recv_ack</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> connected_socket, void *data)</td></tr>
|
|
<tr class="separator:abf058dd7791756ca13f9a01abf5a38af"><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">
|
|
|
|
<p>Referenced by <a class="el" href="auxtrans__manager_8c.html#a1b2a6aa920175602327fffe3680d20a4">aux_streaming()</a>, and <a class="el" href="auxtrans__manager_8h.html#af61f1523999a847b6e4ae90c5ce8b4bf">send_responsedata_on_aux()</a>.</p>
|
|
|
|
</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">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a class="anchor" id="a8cf367a5ed70424df40ae81bf78e761b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef struct <a class="el" href="structaux__response__param.html">aux_response_param</a> <a class="el" href="auxtrans__manager_8c.html#a8cf367a5ed70424df40ae81bf78e761b">aux_response_param_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="a1b2a6aa920175602327fffe3680d20a4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void * aux_streaming </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>References <a class="el" href="sock__manager_8c.html#a792461126a522ddf1db31e7353c055d8">accept_socket()</a>, <a class="el" href="structaux__response__param.html#a8518da4becda3f0d7983e4fe903ea160">aux_response_param::cid</a>, <a class="el" href="sock__manager_8c.html#af35003e15c5a408a198d4b3eb717bfdd">close_socket()</a>, <a class="el" href="structaux__response__param.html#aa506ca3d6f97425280832130f46a98e3">aux_response_param::data</a>, <a class="el" href="structaux__response__param.html#a5a7cdf8203854a4ddecd40a502c6f0c7">aux_response_param::datalen</a>, <a class="el" href="auxtrans__manager_8c.html#a724878b1d59d49a9b5db7ca148a67da4">delete_auxresponse()</a>, <a class="el" href="auxtrans__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>, <a class="el" href="auxtrans__manager_8c.html#a728ad6700ddf9f738b3ac5a1ac69f379">identify_cid()</a>, <a class="el" href="structaux__response__param.html#a822d03cad8ada364340e01bb3a23d5c5">aux_response_param::listensock</a>, <a class="el" href="structaux__response__param.html#a7a5b762792a297b52f09ce87c5d9c1ce">aux_response_param::maxlenPerFrame</a>, <a class="el" href="group___m_i_s_c.html#ga700b1aef6148bd6c3edde626610ffe2f">opj_free</a>, <a class="el" href="group___m_i_s_c.html#gaed655b4c0cec54620065ab1abf56e8cc">opj_malloc</a>, <a class="el" href="auxtrans__manager_8c.html#abf058dd7791756ca13f9a01abf5a38af">recv_ack()</a>, and <a class="el" href="sock__manager_8c.html#a7f5fb3b9c22e70ba6e82ca5560d98cc5">send_stream()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="auxtrans__manager_8h.html#af61f1523999a847b6e4ae90c5ce8b4bf">send_responsedata_on_aux()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aff6d8f931e99feb9cb30a4fc2540823d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void close_aux_transport </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="auxtrans__manager_8h.html#a3a43df0d30b6082ba37b6129f3186263">auxtrans_param_t</a> </td>
|
|
<td class="paramname"><em>auxtrans</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Close auxiliary transport server of JPIP server. </p>
|
|
<p>auxiliary response parameters </p>
|
|
|
|
<p>References <a class="el" href="sock__manager_8c.html#af35003e15c5a408a198d4b3eb717bfdd">close_socket()</a>, <a class="el" href="structauxtrans__param.html#a0d6b0229459be4a4d7b755126fd64b2a">auxtrans_param::tcplistensock</a>, and <a class="el" href="structauxtrans__param.html#af05ae7e0e02361a75ff018aa04a86ff2">auxtrans_param::udplistensock</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a724878b1d59d49a9b5db7ca148a67da4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void delete_auxresponse </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="auxtrans__manager_8c.html#a8cf367a5ed70424df40ae81bf78e761b">aux_response_param_t</a> ** </td>
|
|
<td class="paramname"><em>auxresponse</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>References <a class="el" href="group___m_i_s_c.html#ga700b1aef6148bd6c3edde626610ffe2f">opj_free</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="auxtrans__manager_8c.html#a1b2a6aa920175602327fffe3680d20a4">aux_streaming()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acfaceca38039d2821be9d5faca98d850"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="auxtrans__manager_8c.html#a8cf367a5ed70424df40ae81bf78e761b">aux_response_param_t</a> * gene_auxresponse </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> </td>
|
|
<td class="paramname"><em>istcp</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="auxtrans__manager_8h.html#a3a43df0d30b6082ba37b6129f3186263">auxtrans_param_t</a> </td>
|
|
<td class="paramname"><em>auxtrans</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char </td>
|
|
<td class="paramname"><em>cid</em>[], </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>data</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> </td>
|
|
<td class="paramname"><em>datalen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> </td>
|
|
<td class="paramname"><em>maxlenPerFrame</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>References <a class="el" href="structaux__response__param.html#a8518da4becda3f0d7983e4fe903ea160">aux_response_param::cid</a>, <a class="el" href="structaux__response__param.html#aa506ca3d6f97425280832130f46a98e3">aux_response_param::data</a>, <a class="el" href="structaux__response__param.html#a5a7cdf8203854a4ddecd40a502c6f0c7">aux_response_param::datalen</a>, <a class="el" href="structaux__response__param.html#a822d03cad8ada364340e01bb3a23d5c5">aux_response_param::listensock</a>, <a class="el" href="structaux__response__param.html#a7a5b762792a297b52f09ce87c5d9c1ce">aux_response_param::maxlenPerFrame</a>, <a class="el" href="group___m_i_s_c.html#gaed655b4c0cec54620065ab1abf56e8cc">opj_malloc</a>, <a class="el" href="structauxtrans__param.html#a0d6b0229459be4a4d7b755126fd64b2a">auxtrans_param::tcplistensock</a>, and <a class="el" href="structauxtrans__param.html#af05ae7e0e02361a75ff018aa04a86ff2">auxtrans_param::udplistensock</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="auxtrans__manager_8h.html#af61f1523999a847b6e4ae90c5ce8b4bf">send_responsedata_on_aux()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a728ad6700ddf9f738b3ac5a1ac69f379"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> identify_cid </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> </td>
|
|
<td class="paramname"><em>connected_socket</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char </td>
|
|
<td class="paramname"><em>refcid</em>[], </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">FILE * </td>
|
|
<td class="paramname"><em>fp</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Identify cid sent from client. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">connected_socket</td><td>file descriptor of the connected socket </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">refcid</td><td>refenrece channel ID </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>file pointer for log of aux stream </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if identified, false otherwise </dd></dl>
|
|
|
|
<p>References <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___m_i_s_c.html#ga700b1aef6148bd6c3edde626610ffe2f">opj_free</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, and <a class="el" href="sock__manager_8c.html#a0257a018729bc73d0ccc970069a6352c">receive_string()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="auxtrans__manager_8c.html#a1b2a6aa920175602327fffe3680d20a4">aux_streaming()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a72e679f1d37899db4dec20b648c12ed9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="auxtrans__manager_8h.html#a3a43df0d30b6082ba37b6129f3186263">auxtrans_param_t</a> init_aux_transport </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>tcp_auxport</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>udp_auxport</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Initialize auxiliary transport server of JPIP server. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">tcp_auxport</td><td>opening tcp auxiliary port ( 0 not to open, valid No. 49152-65535) </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">udp_auxport</td><td>opening udp auxiliary port ( 0 not to open, valid No. 49152-65535) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>intialized transport parameters </dd></dl>
|
|
|
|
<p>References <a class="el" href="sock__manager_8c.html#a3c822e28c71631b25683cc57e8e4536b">open_listeningsocket()</a>, <a class="el" href="structauxtrans__param.html#abedbebb343b69044ed6e016063363ad1">auxtrans_param::tcpauxport</a>, <a class="el" href="structauxtrans__param.html#a0d6b0229459be4a4d7b755126fd64b2a">auxtrans_param::tcplistensock</a>, <a class="el" href="structauxtrans__param.html#aa15a5c62c50b46e5eabe9796a4f59947">auxtrans_param::udpauxport</a>, and <a class="el" href="structauxtrans__param.html#af05ae7e0e02361a75ff018aa04a86ff2">auxtrans_param::udplistensock</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abf058dd7791756ca13f9a01abf5a38af"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> recv_ack </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> </td>
|
|
<td class="paramname"><em>connected_socket</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>data</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>References <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___m_i_s_c.html#ga700b1aef6148bd6c3edde626610ffe2f">opj_free</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, and <a class="el" href="sock__manager_8c.html#aaeac7207dae4f03273607ba021530da6">receive_stream()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="auxtrans__manager_8c.html#a1b2a6aa920175602327fffe3680d20a4">aux_streaming()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aabcf3e3e4bb3d990061b162cc51108be"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void send_responsedata_on_aux </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> </td>
|
|
<td class="paramname"><em>istcp</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="auxtrans__manager_8h.html#a3a43df0d30b6082ba37b6129f3186263">auxtrans_param_t</a> </td>
|
|
<td class="paramname"><em>auxtrans</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char </td>
|
|
<td class="paramname"><em>cid</em>[], </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>data</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> </td>
|
|
<td class="paramname"><em>length</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> </td>
|
|
<td class="paramname"><em>maxlenPerFrame</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Send response data on aux transport. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">istcp</td><td>true if tcp, false if udp </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">auxtrans</td><td>available transport parameters </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cid</td><td>channel ID </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>sending data </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>length of data </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">maxlenPerFrame</td><td>maximum data length to send per frame </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="auxtrans__manager_8c.html#a1b2a6aa920175602327fffe3680d20a4">aux_streaming()</a>, <a class="el" href="auxtrans__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>, <a class="el" href="auxtrans__manager_8c.html#acfaceca38039d2821be9d5faca98d850">gene_auxresponse()</a>, and <a class="el" href="structauxtrans__param.html#a0d6b0229459be4a4d7b755126fd64b2a">auxtrans_param::tcplistensock</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.9.1
|
|
</small></address>
|
|
</body>
|
|
</html>
|