openjpeg/doxygen/auxtrans__manager_8c.html

483 lines
36 KiB
HTML
Raw Normal View History

2022-05-13 20:21:13 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2015-07-10 18:06:19 +02:00
<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"/>
2022-05-13 20:21:13 +02:00
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
2015-07-10 18:06:19 +02:00
<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;">
2016-09-29 22:38:29 +02:00
<td id="projectalign" style="padding-left: 0.5em;">
2015-07-10 18:06:19 +02:00
<div id="projectname">OpenJPEG
2022-05-13 20:21:13 +02:00
&#160;<span id="projectnumber">2.5.0</span>
2015-07-10 18:06:19 +02:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2022-05-13 20:21:13 +02:00
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
2015-07-10 18:06:19 +02:00
<div id="nav-path" class="navpath">
<ul>
2020-12-28 22:12:25 +01:00
<li class="navelem"><a class="el" href="dir_43e0a1f539e00dcfa1a6bc4d4fee4fc2.html">home</a></li><li class="navelem"><a class="el" href="dir_cb9b2b419d92b64f7cee83d8faf7a4ab.html">even</a></li><li class="navelem"><a class="el" href="dir_f75d9a0165d6564a1e04793ef847d41d.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_5f588d7ea139c1aae751d03c13a16064.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_378f732e812ef6cbaaae22e96a4fa79f.html">src</a></li><li class="navelem"><a class="el" href="dir_19dcb5713315405a27e1bde75a489a4c.html">lib</a></li><li class="navelem"><a class="el" href="dir_54d80c9412497e935deb5677b5fae801.html">openjpip</a></li> </ul>
2015-07-10 18:06:19 +02:00
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<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 &lt;stdio.h&gt;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &quot;<a class="el" href="auxtrans__manager_8h_source.html">auxtrans_manager.h</a>&quot;</code><br />
<code>#include &lt;pthread.h&gt;</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 &#160;</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">&#160;</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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="auxtrans__manager_8c.html#ac322e421aefb8ec9ccc10bef953e3d82">FCGI_stdout</a>&#160;&#160;&#160;stdout</td></tr>
<tr class="separator:ac322e421aefb8ec9ccc10bef953e3d82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77b5d5af2adb2cfa7ec785b592fc4074"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="auxtrans__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>&#160;&#160;&#160;stderr</td></tr>
<tr class="separator:a77b5d5af2adb2cfa7ec785b592fc4074"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31c99676da88bb0bcdb350710f00fa96"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="auxtrans__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>&#160;&#160;&#160;stderr</td></tr>
<tr class="separator:a31c99676da88bb0bcdb350710f00fa96"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memitem:a64304c5e06555a3a78608eff9d0f9157"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structaux__response__param.html">aux_response_param</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="auxtrans__manager_8c.html#a64304c5e06555a3a78608eff9d0f9157">aux_response_param_t</a></td></tr>
<tr class="separator:a64304c5e06555a3a78608eff9d0f9157"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-07-10 18:06:19 +02:00
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memitem:a72e679f1d37899db4dec20b648c12ed9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="auxtrans__manager_8h.html#a7fbdcefe6a0a01cd907fc6023f32b1ad">auxtrans_param_t</a>&#160;</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">&#160;</td><td class="mdescRight">Initialize auxiliary transport server of JPIP server. <a href="auxtrans__manager_8c.html#a72e679f1d37899db4dec20b648c12ed9">More...</a><br /></td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:a72e679f1d37899db4dec20b648c12ed9"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memitem:acfaceca38039d2821be9d5faca98d850"><td class="memItemLeft" align="right" valign="top"><a class="el" href="auxtrans__manager_8c.html#a64304c5e06555a3a78608eff9d0f9157">aux_response_param_t</a> *&#160;</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#a7fbdcefe6a0a01cd907fc6023f32b1ad">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>
2015-07-10 18:06:19 +02:00
<tr class="separator:acfaceca38039d2821be9d5faca98d850"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memitem:a724878b1d59d49a9b5db7ca148a67da4"><td class="memItemLeft" align="right" valign="top">void&#160;</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#a64304c5e06555a3a78608eff9d0f9157">aux_response_param_t</a> **auxresponse)</td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:a724878b1d59d49a9b5db7ca148a67da4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b2a6aa920175602327fffe3680d20a4"><td class="memItemLeft" align="right" valign="top">void *&#160;</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">&#160;</td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memitem:aabcf3e3e4bb3d990061b162cc51108be"><td class="memItemLeft" align="right" valign="top">void&#160;</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#a7fbdcefe6a0a01cd907fc6023f32b1ad">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">&#160;</td><td class="mdescRight">Send response data on aux transport. <a href="auxtrans__manager_8c.html#aabcf3e3e4bb3d990061b162cc51108be">More...</a><br /></td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:aabcf3e3e4bb3d990061b162cc51108be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a728ad6700ddf9f738b3ac5a1ac69f379"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</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>
2022-05-13 20:21:13 +02:00
<tr class="memdesc:a728ad6700ddf9f738b3ac5a1ac69f379"><td class="mdescLeft">&#160;</td><td class="mdescRight">Identify cid sent from client. <a href="auxtrans__manager_8c.html#a728ad6700ddf9f738b3ac5a1ac69f379">More...</a><br /></td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:a728ad6700ddf9f738b3ac5a1ac69f379"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf058dd7791756ca13f9a01abf5a38af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</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">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
2022-05-13 20:21:13 +02:00
<a id="a77b5d5af2adb2cfa7ec785b592fc4074"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77b5d5af2adb2cfa7ec785b592fc4074">&#9670;&nbsp;</a></span>FCGI_stderr</h2>
2015-07-10 18:06:19 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define FCGI_stderr&#160;&#160;&#160;stderr</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="ac322e421aefb8ec9ccc10bef953e3d82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac322e421aefb8ec9ccc10bef953e3d82">&#9670;&nbsp;</a></span>FCGI_stdout</h2>
2015-07-10 18:06:19 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define FCGI_stdout&#160;&#160;&#160;stdout</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="a31c99676da88bb0bcdb350710f00fa96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31c99676da88bb0bcdb350710f00fa96">&#9670;&nbsp;</a></span>logstream</h2>
2015-07-10 18:06:19 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define logstream&#160;&#160;&#160;stderr</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
2022-05-13 20:21:13 +02:00
<a id="a64304c5e06555a3a78608eff9d0f9157"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64304c5e06555a3a78608eff9d0f9157">&#9670;&nbsp;</a></span>aux_response_param_t</h2>
2015-07-10 18:06:19 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2022-05-13 20:21:13 +02:00
<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#a64304c5e06555a3a78608eff9d0f9157">aux_response_param_t</a></td>
2015-07-10 18:06:19 +02:00
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
2022-05-13 20:21:13 +02:00
<a id="a1b2a6aa920175602327fffe3680d20a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b2a6aa920175602327fffe3680d20a4">&#9670;&nbsp;</a></span>aux_streaming()</h2>
2015-07-10 18:06:19 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void * aux_streaming </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>arg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
2022-05-13 20:21:13 +02:00
<p class="reference">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="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>, <a class="el" href="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">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>
2015-07-10 18:06:19 +02:00
2022-05-13 20:21:13 +02:00
<p class="reference">Referenced by <a class="el" href="auxtrans__manager_8h.html#af61f1523999a847b6e4ae90c5ce8b4bf">send_responsedata_on_aux()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="a724878b1d59d49a9b5db7ca148a67da4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a724878b1d59d49a9b5db7ca148a67da4">&#9670;&nbsp;</a></span>delete_auxresponse()</h2>
2015-07-10 18:06:19 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void delete_auxresponse </td>
<td>(</td>
2022-05-13 20:21:13 +02:00
<td class="paramtype"><a class="el" href="auxtrans__manager_8c.html#a64304c5e06555a3a78608eff9d0f9157">aux_response_param_t</a> **&#160;</td>
2015-07-10 18:06:19 +02:00
<td class="paramname"><em>auxresponse</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
2022-05-13 20:21:13 +02:00
<p class="reference">References <a class="el" href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>.</p>
2015-07-10 18:06:19 +02:00
2022-05-13 20:21:13 +02:00
<p class="reference">Referenced by <a class="el" href="auxtrans__manager_8c.html#a1b2a6aa920175602327fffe3680d20a4">aux_streaming()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="acfaceca38039d2821be9d5faca98d850"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acfaceca38039d2821be9d5faca98d850">&#9670;&nbsp;</a></span>gene_auxresponse()</h2>
2015-07-10 18:06:19 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2022-05-13 20:21:13 +02:00
<td class="memname"><a class="el" href="auxtrans__manager_8c.html#a64304c5e06555a3a78608eff9d0f9157">aux_response_param_t</a> * gene_auxresponse </td>
2015-07-10 18:06:19 +02:00
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td>
<td class="paramname"><em>istcp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2022-05-13 20:21:13 +02:00
<td class="paramtype"><a class="el" href="auxtrans__manager_8h.html#a7fbdcefe6a0a01cd907fc6023f32b1ad">auxtrans_param_t</a>&#160;</td>
2015-07-10 18:06:19 +02:00
<td class="paramname"><em>auxtrans</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char&#160;</td>
<td class="paramname"><em>cid</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</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>&#160;</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>&#160;</td>
<td class="paramname"><em>maxlenPerFrame</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2022-05-13 20:21:13 +02:00
<p class="reference">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="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">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>
2015-07-10 18:06:19 +02:00
2022-05-13 20:21:13 +02:00
<p class="reference">Referenced by <a class="el" href="auxtrans__manager_8h.html#af61f1523999a847b6e4ae90c5ce8b4bf">send_responsedata_on_aux()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="a728ad6700ddf9f738b3ac5a1ac69f379"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a728ad6700ddf9f738b3ac5a1ac69f379">&#9670;&nbsp;</a></span>identify_cid()</h2>
2015-07-10 18:06:19 +02:00
<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>&#160;</td>
<td class="paramname"><em>connected_socket</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char&#160;</td>
<td class="paramname"><em>refcid</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">FILE *&#160;</td>
<td class="paramname"><em>fp</em>&#160;</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>
2022-05-13 20:21:13 +02:00
<p class="reference">References <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">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>
2015-07-10 18:06:19 +02:00
2022-05-13 20:21:13 +02:00
<p class="reference">Referenced by <a class="el" href="auxtrans__manager_8c.html#a1b2a6aa920175602327fffe3680d20a4">aux_streaming()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="a72e679f1d37899db4dec20b648c12ed9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72e679f1d37899db4dec20b648c12ed9">&#9670;&nbsp;</a></span>init_aux_transport()</h2>
2015-07-10 18:06:19 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2022-05-13 20:21:13 +02:00
<td class="memname"><a class="el" href="auxtrans__manager_8h.html#a7fbdcefe6a0a01cd907fc6023f32b1ad">auxtrans_param_t</a> init_aux_transport </td>
2015-07-10 18:06:19 +02:00
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tcp_auxport</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>udp_auxport</em>&#160;</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>
2017-08-10 06:39:58 +02:00
<dl class="section return"><dt>Returns</dt><dd>initialized transport parameters </dd></dl>
2015-07-10 18:06:19 +02:00
2022-05-13 20:21:13 +02:00
<p class="reference">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>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="abf058dd7791756ca13f9a01abf5a38af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf058dd7791756ca13f9a01abf5a38af">&#9670;&nbsp;</a></span>recv_ack()</h2>
2015-07-10 18:06:19 +02:00
<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>&#160;</td>
<td class="paramname"><em>connected_socket</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>data</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2022-05-13 20:21:13 +02:00
<p class="reference">References <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">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>
2015-07-10 18:06:19 +02:00
2022-05-13 20:21:13 +02:00
<p class="reference">Referenced by <a class="el" href="auxtrans__manager_8c.html#a1b2a6aa920175602327fffe3680d20a4">aux_streaming()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="aabcf3e3e4bb3d990061b162cc51108be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabcf3e3e4bb3d990061b162cc51108be">&#9670;&nbsp;</a></span>send_responsedata_on_aux()</h2>
2015-07-10 18:06:19 +02:00
<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>&#160;</td>
<td class="paramname"><em>istcp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2022-05-13 20:21:13 +02:00
<td class="paramtype"><a class="el" href="auxtrans__manager_8h.html#a7fbdcefe6a0a01cd907fc6023f32b1ad">auxtrans_param_t</a>&#160;</td>
2015-07-10 18:06:19 +02:00
<td class="paramname"><em>auxtrans</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char&#160;</td>
<td class="paramname"><em>cid</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</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>&#160;</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>&#160;</td>
<td class="paramname"><em>maxlenPerFrame</em>&#160;</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>
2022-05-13 20:21:13 +02:00
<p class="reference">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>
2015-07-10 18:06:19 +02:00
</div>
</div>
</div><!-- contents -->
2022-05-13 20:21:13 +02:00
<div class="ttc" id="aopenjpeg_8h_html_a22de44e15bddae7edfacf4e9ac9bb199"><div class="ttname"><a href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a></div><div class="ttdeci">unsigned char OPJ_BYTE</div><div class="ttdef"><b>Definition:</b> openjpeg.h:123</div></div>
<div class="ttc" id="astructopj__codestream__info_html_a231c10b2c238e1e6462bf7cd40871169"><div class="ttname"><a href="structopj__codestream__info.html#a231c10b2c238e1e6462bf7cd40871169">opj_codestream_info::tw</a></div><div class="ttdeci">int tw</div><div class="ttdoc">number of tiles in X</div><div class="ttdef"><b>Definition:</b> openjpeg.h:873</div></div>
<div class="ttc" id="acio_8c_html_ae94657bc4ae96f252467a685168b94e1"><div class="ttname"><a href="cio_8c.html#ae94657bc4ae96f252467a685168b94e1">opj_stream_write_data</a></div><div class="ttdeci">OPJ_SIZE_T opj_stream_write_data(opj_stream_private_t *p_stream, const OPJ_BYTE *p_buffer, OPJ_SIZE_T p_size, opj_event_mgr_t *p_event_mgr)</div><div class="ttdoc">Writes some bytes to the stream.</div><div class="ttdef"><b>Definition:</b> cio.c:385</div></div>
<div class="ttc" id="atpix__manager_8c_html_afa99ec4acc4ecb2dc3c2d05da15d0e3f"><div class="ttname"><a href="tpix__manager_8c.html#afa99ec4acc4ecb2dc3c2d05da15d0e3f">MAX</a></div><div class="ttdeci">#define MAX(a, b)</div><div class="ttdef"><b>Definition:</b> tpix_manager.c:38</div></div>
<div class="ttc" id="aopenjpeg_8h_html_a64948c8a524dee101c5a4d7293e6158c"><div class="ttname"><a href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a></div><div class="ttdeci">int64_t OPJ_OFF_T</div><div class="ttdef"><b>Definition:</b> openjpeg.h:136</div></div>
<div class="ttc" id="acio_8c_html_ac82f28130f72561ebd1a18b6bc84edb8"><div class="ttname"><a href="cio_8c.html#ac82f28130f72561ebd1a18b6bc84edb8">opj_stream_skip</a></div><div class="ttdeci">OPJ_OFF_T opj_stream_skip(opj_stream_private_t *p_stream, OPJ_OFF_T p_size, opj_event_mgr_t *p_event_mgr)</div><div class="ttdoc">Skips a number of bytes from the stream.</div><div class="ttdef"><b>Definition:</b> cio.c:593</div></div>
<div class="ttc" id="acio_8c_html_a9061d0624a17af80b74e1a114b0c7f06"><div class="ttname"><a href="cio_8c.html#a9061d0624a17af80b74e1a114b0c7f06">opj_stream_seek</a></div><div class="ttdeci">OPJ_BOOL opj_stream_seek(opj_stream_private_t *p_stream, OPJ_OFF_T p_size, struct opj_event_mgr *p_event_mgr)</div><div class="ttdoc">Seeks a number of bytes from the stream.</div><div class="ttdef"><b>Definition:</b> cio.c:641</div></div>
<div class="ttc" id="astructopj__event__mgr_html"><div class="ttname"><a href="structopj__event__mgr.html">opj_event_mgr</a></div><div class="ttdoc">Message handler object used for.</div><div class="ttdef"><b>Definition:</b> event.h:50</div></div>
<div class="ttc" id="acio_8c_html_a5c59a39f3664f9deb654c269153c600a"><div class="ttname"><a href="cio_8c.html#a5c59a39f3664f9deb654c269153c600a">opj_stream_tell</a></div><div class="ttdeci">OPJ_OFF_T opj_stream_tell(const opj_stream_private_t *p_stream)</div><div class="ttdoc">Tells the byte offset on the stream (similar to ftell).</div><div class="ttdef"><b>Definition:</b> cio.c:579</div></div>
<div class="ttc" id="astructopj__stream__private_html"><div class="ttname"><a href="structopj__stream__private.html">opj_stream_private</a></div><div class="ttdoc">Byte input-output stream.</div><div class="ttdef"><b>Definition:</b> cio.h:81</div></div>
<div class="ttc" id="atpix__manager_8c_html_a954403d9d7c19478925fc16781d7a3e7"><div class="ttname"><a href="tpix__manager_8c.html#a954403d9d7c19478925fc16781d7a3e7">opj_write_tpix</a></div><div class="ttdeci">int opj_write_tpix(int coff, opj_codestream_info_t cstr_info, int j2klen, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)</div><div class="ttdef"><b>Definition:</b> tpix_manager.c:60</div></div>
<div class="ttc" id="aopj__includes_8h_html"><div class="ttname"><a href="opj__includes_8h.html">opj_includes.h</a></div></div>
<div class="ttc" id="atpix__manager_8c_html_a615f1af7e1d9253a449ae0494f88b87b"><div class="ttname"><a href="tpix__manager_8c.html#a615f1af7e1d9253a449ae0494f88b87b">opj_write_tpixfaix</a></div><div class="ttdeci">int opj_write_tpixfaix(int coff, int compno, opj_codestream_info_t cstr_info, int j2klen, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)</div><div class="ttdef"><b>Definition:</b> tpix_manager.c:86</div></div>
<div class="ttc" id="astructopj__tp__info_html_a8456c54bdba73448429e5a0d830e2123"><div class="ttname"><a href="structopj__tp__info.html#a8456c54bdba73448429e5a0d830e2123">opj_tp_info::tp_start_pos</a></div><div class="ttdeci">int tp_start_pos</div><div class="ttdoc">start position of tile part</div><div class="ttdef"><b>Definition:</b> openjpeg.h:797</div></div>
<div class="ttc" id="astructopj__tp__info_html"><div class="ttname"><a href="structopj__tp__info.html">opj_tp_info</a></div><div class="ttdoc">Index structure : Information concerning tile-parts.</div><div class="ttdef"><b>Definition:</b> openjpeg.h:795</div></div>
<div class="ttc" id="astructopj__tile__info_html_ad4acc74dc99799b2ee227d1784ce5f0f"><div class="ttname"><a href="structopj__tile__info.html#ad4acc74dc99799b2ee227d1784ce5f0f">opj_tile_info::num_tps</a></div><div class="ttdeci">int num_tps</div><div class="ttdoc">number of tile parts</div><div class="ttdef"><b>Definition:</b> openjpeg.h:843</div></div>
<div class="ttc" id="aindexbox__manager_8h_html_a5bb0059d5f0d95c826cfc5b3b1938a33"><div class="ttname"><a href="indexbox__manager_8h.html#a5bb0059d5f0d95c826cfc5b3b1938a33">JPIP_TPIX</a></div><div class="ttdeci">#define JPIP_TPIX</div><div class="ttdef"><b>Definition:</b> indexbox_manager.h:48</div></div>
<div class="ttc" id="astructopj__codestream__info_html_a626739f8ec7f4f73d4de54024c5878c9"><div class="ttname"><a href="structopj__codestream__info.html#a626739f8ec7f4f73d4de54024c5878c9">opj_codestream_info::tile</a></div><div class="ttdeci">opj_tile_info_t * tile</div><div class="ttdoc">information regarding tiles inside image</div><div class="ttdef"><b>Definition:</b> openjpeg.h:897</div></div>
<div class="ttc" id="astructopj__codestream__info_html"><div class="ttname"><a href="structopj__codestream__info.html">opj_codestream_info</a></div><div class="ttdoc">Index structure of the codestream.</div><div class="ttdef"><b>Definition:</b> openjpeg.h:851</div></div>
<div class="ttc" id="aopenjpeg_8h_html_a4cb1e6e6b6ef2df499d5c02f7df54cbb"><div class="ttname"><a href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a></div><div class="ttdeci">uint32_t OPJ_UINT32</div><div class="ttdef"><b>Definition:</b> openjpeg.h:132</div></div>
<div class="ttc" id="astructopj__tile__info_html_a5d32069e41ba69a088ca9b43ea81ae22"><div class="ttname"><a href="structopj__tile__info.html#a5d32069e41ba69a088ca9b43ea81ae22">opj_tile_info::tp</a></div><div class="ttdeci">opj_tp_info_t * tp</div><div class="ttdoc">information concerning tile parts</div><div class="ttdef"><b>Definition:</b> openjpeg.h:845</div></div>
<div class="ttc" id="aindexbox__manager_8h_html_a182f6e3b0eb1cc56f7c2d5f55eeb5241"><div class="ttname"><a href="indexbox__manager_8h.html#a182f6e3b0eb1cc56f7c2d5f55eeb5241">JPIP_FAIX</a></div><div class="ttdeci">#define JPIP_FAIX</div><div class="ttdef"><b>Definition:</b> indexbox_manager.h:46</div></div>
<div class="ttc" id="astructopj__codestream__info_html_a2aa722a5eb7195ca2f3d242c406505c9"><div class="ttname"><a href="structopj__codestream__info.html#a2aa722a5eb7195ca2f3d242c406505c9">opj_codestream_info::numdecompos</a></div><div class="ttdeci">int * numdecompos</div><div class="ttdoc">number of decomposition for each component</div><div class="ttdef"><b>Definition:</b> openjpeg.h:881</div></div>
<div class="ttc" id="acio_8h_html_a4233661f073556f7d30fd9b2afaafefe"><div class="ttname"><a href="cio_8h.html#a4233661f073556f7d30fd9b2afaafefe">opj_write_bytes</a></div><div class="ttdeci">#define opj_write_bytes</div><div class="ttdef"><b>Definition:</b> cio.h:64</div></div>
<div class="ttc" id="astructopj__codestream__info_html_a4f18a0061ac864226fffd5590a771c08"><div class="ttname"><a href="structopj__codestream__info.html#a4f18a0061ac864226fffd5590a771c08">opj_codestream_info::th</a></div><div class="ttdeci">int th</div><div class="ttdoc">number of tiles in Y</div><div class="ttdef"><b>Definition:</b> openjpeg.h:875</div></div>
<div class="ttc" id="astructopj__tp__info_html_ac5a572e2da8fe4fb41023da20a1f8975"><div class="ttname"><a href="structopj__tp__info.html#ac5a572e2da8fe4fb41023da20a1f8975">opj_tp_info::tp_end_pos</a></div><div class="ttdeci">int tp_end_pos</div><div class="ttdoc">end position of tile part</div><div class="ttdef"><b>Definition:</b> openjpeg.h:801</div></div>
<div class="ttc" id="atpix__manager_8c_html_a2440860fcb3438294b348669f86325f8"><div class="ttname"><a href="tpix__manager_8c.html#a2440860fcb3438294b348669f86325f8">get_num_max_tile_parts</a></div><div class="ttdeci">int get_num_max_tile_parts(opj_codestream_info_t cstr_info)</div><div class="ttdef"><b>Definition:</b> tpix_manager.c:181</div></div>
2015-07-10 18:06:19 +02:00
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
2022-05-13 20:21:13 +02:00
</a> 1.8.17
2015-07-10 18:06:19 +02:00
</small></address>
</body>
</html>