523 lines
28 KiB
HTML
523 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.10"/>
|
|
<title>OpenJPEG: imgsock_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 id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">OpenJPEG
|
|
 <span id="projectnumber">2.1.2</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="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">imgsock_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="imgsock__manager_8h_source.html">imgsock_manager.h</a>"</code><br />
|
|
</div><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:a88596b309ecbf50e65da25a0aea426e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="imgsock__manager_8h.html#a4f1a3f3e8cfdfcd734cb176619c48d4a">msgtype_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="imgsock__manager_8c.html#a88596b309ecbf50e65da25a0aea426e4">identify_clientmsg</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> connected_socket)</td></tr>
|
|
<tr class="memdesc:a88596b309ecbf50e65da25a0aea426e4"><td class="mdescLeft"> </td><td class="mdescRight">indeitify client message type <a href="#a88596b309ecbf50e65da25a0aea426e4">More...</a><br /></td></tr>
|
|
<tr class="separator:a88596b309ecbf50e65da25a0aea426e4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a79dc7124bbbf2db9f5b6149a6752be13"><td class="memItemLeft" align="right" valign="top"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="imgsock__manager_8c.html#a79dc7124bbbf2db9f5b6149a6752be13">receive_JPIPstream</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> connected_socket, char **target, char **tid, char **cid, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> *streamlen)</td></tr>
|
|
<tr class="memdesc:a79dc7124bbbf2db9f5b6149a6752be13"><td class="mdescLeft"> </td><td class="mdescRight">receive a JPT- JPP- stream from client <a href="#a79dc7124bbbf2db9f5b6149a6752be13">More...</a><br /></td></tr>
|
|
<tr class="separator:a79dc7124bbbf2db9f5b6149a6752be13"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a50505110646211f92d184f42b155af03"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="imgsock__manager_8c.html#a50505110646211f92d184f42b155af03">send_XMLstream</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> connected_socket, <a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *xmlstream, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> length)</td></tr>
|
|
<tr class="memdesc:a50505110646211f92d184f42b155af03"><td class="mdescLeft"> </td><td class="mdescRight">send XML data stream to the client <a href="#a50505110646211f92d184f42b155af03">More...</a><br /></td></tr>
|
|
<tr class="separator:a50505110646211f92d184f42b155af03"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a920368b941b6d4f71f7fb778aa60b018"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="imgsock__manager_8c.html#a920368b941b6d4f71f7fb778aa60b018">send_IDstream</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> connected_socket, const char *id, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> idlen, const char *label)</td></tr>
|
|
<tr class="separator:a920368b941b6d4f71f7fb778aa60b018"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a081b42d4f0534776013732cc12fc3462"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="imgsock__manager_8c.html#a081b42d4f0534776013732cc12fc3462">send_CIDstream</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> connected_socket, const char *cid, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> cidlen)</td></tr>
|
|
<tr class="memdesc:a081b42d4f0534776013732cc12fc3462"><td class="mdescLeft"> </td><td class="mdescRight">send CID data stream to the client <a href="#a081b42d4f0534776013732cc12fc3462">More...</a><br /></td></tr>
|
|
<tr class="separator:a081b42d4f0534776013732cc12fc3462"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8b2bca455725152af924bfb025e5b568"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="imgsock__manager_8c.html#a8b2bca455725152af924bfb025e5b568">send_TIDstream</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> connected_socket, const char *tid, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> tidlen)</td></tr>
|
|
<tr class="memdesc:a8b2bca455725152af924bfb025e5b568"><td class="mdescLeft"> </td><td class="mdescRight">send TID data stream to the client <a href="#a8b2bca455725152af924bfb025e5b568">More...</a><br /></td></tr>
|
|
<tr class="separator:a8b2bca455725152af924bfb025e5b568"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad71cceb07cfdf4a4a83145a8ce1851bb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="imgsock__manager_8c.html#ad71cceb07cfdf4a4a83145a8ce1851bb">send_PNMstream</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> connected_socket, <a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *pnmstream, unsigned int width, unsigned int height, unsigned int numofcomp, <a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> maxval)</td></tr>
|
|
<tr class="memdesc:ad71cceb07cfdf4a4a83145a8ce1851bb"><td class="mdescLeft"> </td><td class="mdescRight">send PGM/PPM image stream to the client <a href="#ad71cceb07cfdf4a4a83145a8ce1851bb">More...</a><br /></td></tr>
|
|
<tr class="separator:ad71cceb07cfdf4a4a83145a8ce1851bb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a26cd2f3c7292e32bbc04bb22da49c8a1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="imgsock__manager_8c.html#a26cd2f3c7292e32bbc04bb22da49c8a1">send_SIZstream</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> connected_socket, unsigned int width, unsigned int height)</td></tr>
|
|
<tr class="memdesc:a26cd2f3c7292e32bbc04bb22da49c8a1"><td class="mdescLeft"> </td><td class="mdescRight">send SIZ data stream to the client <a href="#a26cd2f3c7292e32bbc04bb22da49c8a1">More...</a><br /></td></tr>
|
|
<tr class="separator:a26cd2f3c7292e32bbc04bb22da49c8a1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aef215de317da9d172aeecff45d9cd8bc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="imgsock__manager_8c.html#aef215de317da9d172aeecff45d9cd8bc">response_signal</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> connected_socket, <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> succeed)</td></tr>
|
|
<tr class="memdesc:aef215de317da9d172aeecff45d9cd8bc"><td class="mdescLeft"> </td><td class="mdescRight">send response signal to the client <a href="#aef215de317da9d172aeecff45d9cd8bc">More...</a><br /></td></tr>
|
|
<tr class="separator:aef215de317da9d172aeecff45d9cd8bc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="a88596b309ecbf50e65da25a0aea426e4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="imgsock__manager_8h.html#a4f1a3f3e8cfdfcd734cb176619c48d4a">msgtype_t</a> identify_clientmsg </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><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>indeitify client message type </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>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>message type </dd></dl>
|
|
|
|
<p>References <a class="el" href="sock__manager_8h.html#a8b5839f71a3b6e7d64b2d5e9967e3dd1">BUF_LEN</a>, <a class="el" href="imgsock__manager_8h.html#a7378ec24a6dd5918089470e4305c8faaaa1d590c1e9fe651a91a0580c2401e705">MSGERROR</a>, <a class="el" href="imgsock__manager_8h.html#a7b8aae575f31be24372855ed4baebde1">NUM_OF_MSGTYPES</a>, and <a class="el" href="sock__manager_8c.html#a777bd29ec89be2ffb64e799ba58a3c55">receive_line()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="openjpip_8h.html#a43441d763d72585d9cc6c9b4b4ea422e">handle_clientreq()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a79dc7124bbbf2db9f5b6149a6752be13"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a>* receive_JPIPstream </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>target</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char ** </td>
|
|
<td class="paramname"><em>tid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char ** </td>
|
|
<td class="paramname"><em>cid</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>streamlen</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>receive a JPT- JPP- stream 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">[out]</td><td class="paramname">target</td><td>address of received target file name string pointer ( malloced, if not received, NULL) </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">tid</td><td>address of received target identifier string pointer ( malloced, if not received, null string) </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">cid</td><td>address of received channel identifier string pointer ( malloced, if not received, null string) </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">streamlen</td><td>length of the received codestream </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>JPT- JPP- codestream </dd></dl>
|
|
|
|
<p>References <a class="el" href="sock__manager_8h.html#a8b5839f71a3b6e7d64b2d5e9967e3dd1">BUF_LEN</a>, <a class="el" href="sock__manager_8c.html#a777bd29ec89be2ffb64e799ba58a3c55">receive_line()</a>, and <a class="el" href="sock__manager_8c.html#aaeac7207dae4f03273607ba021530da6">receive_stream()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#ab4022f5e297b5d3a456cd841c3902675">handle_JPIPstreamMSG()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aef215de317da9d172aeecff45d9cd8bc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void response_signal </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"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> </td>
|
|
<td class="paramname"><em>succeed</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>send response signal to the 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">succeed</td><td>whether if the requested process succeeded </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="sock__manager_8c.html#a7f5fb3b9c22e70ba6e82ca5560d98cc5">send_stream()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#a1b541c52a440a95733cd0f961189ad5a">handle_dstCIDreqMSG()</a>, and <a class="el" href="dec__clientmsg__handler_8h.html#ab4022f5e297b5d3a456cd841c3902675">handle_JPIPstreamMSG()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a081b42d4f0534776013732cc12fc3462"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void send_CIDstream </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">const char * </td>
|
|
<td class="paramname"><em>cid</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>cidlen</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>send CID data stream to the 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">cid</td><td>cid string </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cidlen</td><td>legnth of the cid string </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="imgsock__manager_8c.html#a920368b941b6d4f71f7fb778aa60b018">send_IDstream()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#aa47b5aa4364e9df31b03eca619009445">handle_CIDreqMSG()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a920368b941b6d4f71f7fb778aa60b018"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void send_IDstream </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">const char * </td>
|
|
<td class="paramname"><em>id</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>idlen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>label</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>References <a class="el" href="sock__manager_8c.html#a7f5fb3b9c22e70ba6e82ca5560d98cc5">send_stream()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="imgsock__manager_8h.html#a081b42d4f0534776013732cc12fc3462">send_CIDstream()</a>, and <a class="el" href="imgsock__manager_8h.html#a8b2bca455725152af924bfb025e5b568">send_TIDstream()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad71cceb07cfdf4a4a83145a8ce1851bb"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void send_PNMstream </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"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> * </td>
|
|
<td class="paramname"><em>pnmstream</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>width</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>height</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>numofcomp</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> </td>
|
|
<td class="paramname"><em>maxval</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>send PGM/PPM image stream to the 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">pnmstream</td><td>PGM/PPM image codestream </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">width</td><td>width of the PGM/PPM image (different from the original image) </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">height</td><td>height of the PGM/PPM image </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">numofcomp</td><td>number of components of the image </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">maxval</td><td>maximum value of the image (only 255 supported) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="sock__manager_8c.html#a7f5fb3b9c22e70ba6e82ca5560d98cc5">send_stream()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#ac1721ebe188622dcbd80540e1bc4a237">handle_PNMreqMSG()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a26cd2f3c7292e32bbc04bb22da49c8a1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void send_SIZstream </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">unsigned int </td>
|
|
<td class="paramname"><em>width</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>height</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>send SIZ data stream to the 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">width</td><td>original width of the image </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">height</td><td>original height of the image </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="sock__manager_8c.html#a7f5fb3b9c22e70ba6e82ca5560d98cc5">send_stream()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#a98cac1bbde27cbbd1d4292985b3f5b49">handle_SIZreqMSG()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8b2bca455725152af924bfb025e5b568"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void send_TIDstream </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">const char * </td>
|
|
<td class="paramname"><em>tid</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>tidlen</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>send TID data stream to the 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">tid</td><td>tid string </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">tidlen</td><td>legnth of the tid string </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="imgsock__manager_8c.html#a920368b941b6d4f71f7fb778aa60b018">send_IDstream()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#a86f804d83268e44baef977b7b54cbbcc">handle_TIDreqMSG()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a50505110646211f92d184f42b155af03"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void send_XMLstream </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"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> * </td>
|
|
<td class="paramname"><em>xmlstream</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></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>send XML data stream to the 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">xmlstream</td><td>xml data stream </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>legnth of the xml data stream </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="sock__manager_8c.html#a7f5fb3b9c22e70ba6e82ca5560d98cc5">send_stream()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#a22becf5f598618de947805f858b1a617">handle_XMLreqMSG()</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>
|