openjpeg/doxygen/session__manager_8h.html

378 lines
26 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: session_manager.h 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
&#160;<span id="projectnumber">2.2.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;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&#160;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> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">session_manager.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="channel__manager_8h_source.html">channel_manager.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="cachemodel__manager_8h_source.html">cachemodel_manager.h</a>&quot;</code><br />
</div>
<p><a href="session__manager_8h_source.html">Go to the source code of this file.</a></p>
<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="structsession__param.html">session_param</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Session parameters. <a href="structsession__param.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsessionlist__param.html">sessionlist_param</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Session list parameters. <a href="structsessionlist__param.html#details">More...</a><br /></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="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:aa7ca624af510b5391b545b8e1f19ff44"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structsession__param.html">session_param</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="session__manager_8h.html#aa7ca624af510b5391b545b8e1f19ff44">session_param_t</a></td></tr>
<tr class="memdesc:aa7ca624af510b5391b545b8e1f19ff44"><td class="mdescLeft">&#160;</td><td class="mdescRight">Session parameters. <a href="#aa7ca624af510b5391b545b8e1f19ff44">More...</a><br /></td></tr>
<tr class="separator:aa7ca624af510b5391b545b8e1f19ff44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33b9fae9b52fd6a3019727b45ab97389"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structsessionlist__param.html">sessionlist_param</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="session__manager_8h.html#a33b9fae9b52fd6a3019727b45ab97389">sessionlist_param_t</a></td></tr>
<tr class="memdesc:a33b9fae9b52fd6a3019727b45ab97389"><td class="mdescLeft">&#160;</td><td class="mdescRight">Session list parameters. <a href="#a33b9fae9b52fd6a3019727b45ab97389">More...</a><br /></td></tr>
<tr class="separator:a33b9fae9b52fd6a3019727b45ab97389"><td class="memSeparator" colspan="2">&#160;</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:a90a84c5d74e54bad1d6350cac56a79cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="session__manager_8h.html#a33b9fae9b52fd6a3019727b45ab97389">sessionlist_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="session__manager_8h.html#a90a84c5d74e54bad1d6350cac56a79cc">gene_sessionlist</a> (void)</td></tr>
<tr class="memdesc:a90a84c5d74e54bad1d6350cac56a79cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">generate a session list <a href="#a90a84c5d74e54bad1d6350cac56a79cc">More...</a><br /></td></tr>
<tr class="separator:a90a84c5d74e54bad1d6350cac56a79cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf5841c3d4f97b49c02bfa9919aa5eea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="session__manager_8h.html#aa7ca624af510b5391b545b8e1f19ff44">session_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="session__manager_8h.html#adf5841c3d4f97b49c02bfa9919aa5eea">gene_session</a> (<a class="el" href="session__manager_8h.html#a33b9fae9b52fd6a3019727b45ab97389">sessionlist_param_t</a> *sessionlist)</td></tr>
<tr class="memdesc:adf5841c3d4f97b49c02bfa9919aa5eea"><td class="mdescLeft">&#160;</td><td class="mdescRight">generate a session under the sesion list <a href="#adf5841c3d4f97b49c02bfa9919aa5eea">More...</a><br /></td></tr>
<tr class="separator:adf5841c3d4f97b49c02bfa9919aa5eea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc0c61762e6d3def2bb0aec3660317bd"><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="session__manager_8h.html#abc0c61762e6d3def2bb0aec3660317bd">search_session_and_channel</a> (char cid[], <a class="el" href="session__manager_8h.html#a33b9fae9b52fd6a3019727b45ab97389">sessionlist_param_t</a> *sessionlist, <a class="el" href="session__manager_8h.html#aa7ca624af510b5391b545b8e1f19ff44">session_param_t</a> **foundsession, <a class="el" href="channel__manager_8h.html#a1ffdb45a69ad5ba0e9b0b91f5f5859ce">channel_param_t</a> **foundchannel)</td></tr>
<tr class="memdesc:abc0c61762e6d3def2bb0aec3660317bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">search a channel and its belonging session by channel ID <a href="#abc0c61762e6d3def2bb0aec3660317bd">More...</a><br /></td></tr>
<tr class="separator:abc0c61762e6d3def2bb0aec3660317bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab06ce1e06337889daeeb3e5f26ce5023"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="session__manager_8h.html#ab06ce1e06337889daeeb3e5f26ce5023">insert_cachemodel_into_session</a> (<a class="el" href="session__manager_8h.html#aa7ca624af510b5391b545b8e1f19ff44">session_param_t</a> *session, <a class="el" href="cachemodel__manager_8h.html#a2bcd824e03fe7a8d42e69b380a308fcb">cachemodel_param_t</a> *cachemodel)</td></tr>
<tr class="memdesc:ab06ce1e06337889daeeb3e5f26ce5023"><td class="mdescLeft">&#160;</td><td class="mdescRight">insert a cache model into a session <a href="#ab06ce1e06337889daeeb3e5f26ce5023">More...</a><br /></td></tr>
<tr class="separator:ab06ce1e06337889daeeb3e5f26ce5023"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a988f84471ec85e0c4b586d0b976dee"><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="session__manager_8h.html#a8a988f84471ec85e0c4b586d0b976dee">delete_session</a> (<a class="el" href="session__manager_8h.html#aa7ca624af510b5391b545b8e1f19ff44">session_param_t</a> **session, <a class="el" href="session__manager_8h.html#a33b9fae9b52fd6a3019727b45ab97389">sessionlist_param_t</a> *sessionlist)</td></tr>
<tr class="memdesc:a8a988f84471ec85e0c4b586d0b976dee"><td class="mdescLeft">&#160;</td><td class="mdescRight">delete a session <a href="#a8a988f84471ec85e0c4b586d0b976dee">More...</a><br /></td></tr>
<tr class="separator:a8a988f84471ec85e0c4b586d0b976dee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1966edbca375ecbe0f673f3768f95e8e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="session__manager_8h.html#a1966edbca375ecbe0f673f3768f95e8e">delete_sessionlist</a> (<a class="el" href="session__manager_8h.html#a33b9fae9b52fd6a3019727b45ab97389">sessionlist_param_t</a> **sessionlist)</td></tr>
<tr class="memdesc:a1966edbca375ecbe0f673f3768f95e8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">delete session list <a href="#a1966edbca375ecbe0f673f3768f95e8e">More...</a><br /></td></tr>
<tr class="separator:a1966edbca375ecbe0f673f3768f95e8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53a7e92eb661d0a8b9837689c2e09ed9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="session__manager_8h.html#a53a7e92eb661d0a8b9837689c2e09ed9">print_allsession</a> (<a class="el" href="session__manager_8h.html#a33b9fae9b52fd6a3019727b45ab97389">sessionlist_param_t</a> *sessionlist)</td></tr>
<tr class="memdesc:a53a7e92eb661d0a8b9837689c2e09ed9"><td class="mdescLeft">&#160;</td><td class="mdescRight">print all sessions <a href="#a53a7e92eb661d0a8b9837689c2e09ed9">More...</a><br /></td></tr>
<tr class="separator:a53a7e92eb661d0a8b9837689c2e09ed9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="aa7ca624af510b5391b545b8e1f19ff44"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structsession__param.html">session_param</a> <a class="el" href="session__manager_8h.html#aa7ca624af510b5391b545b8e1f19ff44">session_param_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Session parameters. </p>
</div>
</div>
<a class="anchor" id="a33b9fae9b52fd6a3019727b45ab97389"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structsessionlist__param.html">sessionlist_param</a> <a class="el" href="session__manager_8h.html#a33b9fae9b52fd6a3019727b45ab97389">sessionlist_param_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Session list parameters. </p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a8a988f84471ec85e0c4b586d0b976dee"></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> delete_session </td>
<td>(</td>
<td class="paramtype"><a class="el" href="session__manager_8h.html#aa7ca624af510b5391b545b8e1f19ff44">session_param_t</a> **&#160;</td>
<td class="paramname"><em>session</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="session__manager_8h.html#a33b9fae9b52fd6a3019727b45ab97389">sessionlist_param_t</a> *&#160;</td>
<td class="paramname"><em>sessionlist</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>delete a session </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">session</td><td>address of the session pointer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">sessionlist</td><td>session list pointer </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>if succeeded (true) or failed (false) </dd></dl>
<p>References <a class="el" href="cachemodel__manager_8c.html#a2fa4daab45ddfe9a30fc29a5d5821572">delete_cachemodellist()</a>, <a class="el" href="channel__manager_8c.html#aa566525d763648474609180b8348ed87">delete_channellist()</a>, <a class="el" href="structsessionlist__param.html#aef3ea30ea258e86ef99b9e4b7d72988e">sessionlist_param::first</a>, <a class="el" href="structsessionlist__param.html#a74d800176ba4c7207fc7ffa0bf82f1ea">sessionlist_param::last</a>, <a class="el" href="session__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>, <a class="el" href="structsession__param.html#a8919cca2326147adca004b25ee008017">session_param::next</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
<p>Referenced by <a class="el" href="jpip__parser_8h.html#ab28d80db34574a75d5bc720925dea329">close_channel()</a>.</p>
</div>
</div>
<a class="anchor" id="a1966edbca375ecbe0f673f3768f95e8e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void delete_sessionlist </td>
<td>(</td>
<td class="paramtype"><a class="el" href="session__manager_8h.html#a33b9fae9b52fd6a3019727b45ab97389">sessionlist_param_t</a> **&#160;</td>
<td class="paramname"><em>sessionlist</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>delete session list </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in,out]</td><td class="paramname">sessionlist</td><td>address of the session list pointer </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="structsession__param.html#ab361432db60730051ef4e88f810ad282">session_param::cachemodellist</a>, <a class="el" href="structsession__param.html#a869ab9f64fc1ec57a7f223027850f8f6">session_param::channellist</a>, <a class="el" href="cachemodel__manager_8c.html#a2fa4daab45ddfe9a30fc29a5d5821572">delete_cachemodellist()</a>, <a class="el" href="channel__manager_8c.html#aa566525d763648474609180b8348ed87">delete_channellist()</a>, <a class="el" href="session__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>, <a class="el" href="structsession__param.html#a8919cca2326147adca004b25ee008017">session_param::next</a>, and <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>.</p>
</div>
</div>
<a class="anchor" id="adf5841c3d4f97b49c02bfa9919aa5eea"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="session__manager_8h.html#aa7ca624af510b5391b545b8e1f19ff44">session_param_t</a>* gene_session </td>
<td>(</td>
<td class="paramtype"><a class="el" href="session__manager_8h.html#a33b9fae9b52fd6a3019727b45ab97389">sessionlist_param_t</a> *&#160;</td>
<td class="paramname"><em>sessionlist</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>generate a session under the sesion list </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">sessionlist</td><td>session list to insert the new session </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to the generated session </dd></dl>
<p>References <a class="el" href="structsession__param.html#ab361432db60730051ef4e88f810ad282">session_param::cachemodellist</a>, <a class="el" href="structsession__param.html#a869ab9f64fc1ec57a7f223027850f8f6">session_param::channellist</a>, <a class="el" href="structsessionlist__param.html#aef3ea30ea258e86ef99b9e4b7d72988e">sessionlist_param::first</a>, <a class="el" href="cachemodel__manager_8c.html#aa9ed9725968b7cad5746bf371185ddf6">gene_cachemodellist()</a>, <a class="el" href="channel__manager_8c.html#aa7cd20c99fb2c7f4e2854b5665f07d31">gene_channellist()</a>, <a class="el" href="structsessionlist__param.html#a74d800176ba4c7207fc7ffa0bf82f1ea">sessionlist_param::last</a>, <a class="el" href="structsession__param.html#a8919cca2326147adca004b25ee008017">session_param::next</a>, and <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>.</p>
<p>Referenced by <a class="el" href="jpip__parser_8h.html#a0a8093084853869a255f8f7f178e2e37">open_channel()</a>.</p>
</div>
</div>
<a class="anchor" id="a90a84c5d74e54bad1d6350cac56a79cc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="session__manager_8h.html#a33b9fae9b52fd6a3019727b45ab97389">sessionlist_param_t</a>* gene_sessionlist </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>generate a session list </p>
<dl class="section return"><dt>Returns</dt><dd>pointer to the generated session list </dd></dl>
<p>References <a class="el" href="structsessionlist__param.html#aef3ea30ea258e86ef99b9e4b7d72988e">sessionlist_param::first</a>, <a class="el" href="structsessionlist__param.html#a74d800176ba4c7207fc7ffa0bf82f1ea">sessionlist_param::last</a>, and <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>.</p>
</div>
</div>
<a class="anchor" id="ab06ce1e06337889daeeb3e5f26ce5023"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void insert_cachemodel_into_session </td>
<td>(</td>
<td class="paramtype"><a class="el" href="session__manager_8h.html#aa7ca624af510b5391b545b8e1f19ff44">session_param_t</a> *&#160;</td>
<td class="paramname"><em>session</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="cachemodel__manager_8h.html#a2bcd824e03fe7a8d42e69b380a308fcb">cachemodel_param_t</a> *&#160;</td>
<td class="paramname"><em>cachemodel</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>insert a cache model into a session </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">session</td><td>session pointer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">cachemodel</td><td>cachemodel pointer </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="structsession__param.html#ab361432db60730051ef4e88f810ad282">session_param::cachemodellist</a>, <a class="el" href="structcachemodellist__param.html#ab6ea5db7ee4bc86522cb07f9f29f243c">cachemodellist_param::first</a>, <a class="el" href="structcachemodellist__param.html#a230686ed9a04c0d53828b7450b779ea2">cachemodellist_param::last</a>, <a class="el" href="session__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>, and <a class="el" href="structcachemodel__param.html#a6bfd52e715d76d87c19a8bbee8e84fee">cachemodel_param::next</a>.</p>
</div>
</div>
<a class="anchor" id="a53a7e92eb661d0a8b9837689c2e09ed9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void print_allsession </td>
<td>(</td>
<td class="paramtype"><a class="el" href="session__manager_8h.html#a33b9fae9b52fd6a3019727b45ab97389">sessionlist_param_t</a> *&#160;</td>
<td class="paramname"><em>sessionlist</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>print all sessions </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">sessionlist</td><td>session list pointer </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="structsession__param.html#ab361432db60730051ef4e88f810ad282">session_param::cachemodellist</a>, <a class="el" href="structsession__param.html#a869ab9f64fc1ec57a7f223027850f8f6">session_param::channellist</a>, <a class="el" href="structsessionlist__param.html#aef3ea30ea258e86ef99b9e4b7d72988e">sessionlist_param::first</a>, <a class="el" href="structcachemodellist__param.html#ab6ea5db7ee4bc86522cb07f9f29f243c">cachemodellist_param::first</a>, <a class="el" href="session__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>, <a class="el" href="structsession__param.html#a8919cca2326147adca004b25ee008017">session_param::next</a>, <a class="el" href="structcachemodel__param.html#a6bfd52e715d76d87c19a8bbee8e84fee">cachemodel_param::next</a>, <a class="el" href="channel__manager_8c.html#a52a8a4a100b4d92065e3cc59c524b385">print_allchannel()</a>, <a class="el" href="target__manager_8c.html#a70f4754f86b888e3f0b8a471ed58a17f">print_target()</a>, and <a class="el" href="structcachemodel__param.html#aaad2900a86415256baf4b5a9bf87494a">cachemodel_param::target</a>.</p>
</div>
</div>
<a class="anchor" id="abc0c61762e6d3def2bb0aec3660317bd"></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> search_session_and_channel </td>
<td>(</td>
<td class="paramtype">char&#160;</td>
<td class="paramname"><em>cid</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="session__manager_8h.html#a33b9fae9b52fd6a3019727b45ab97389">sessionlist_param_t</a> *&#160;</td>
<td class="paramname"><em>sessionlist</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="session__manager_8h.html#aa7ca624af510b5391b545b8e1f19ff44">session_param_t</a> **&#160;</td>
<td class="paramname"><em>foundsession</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="channel__manager_8h.html#a1ffdb45a69ad5ba0e9b0b91f5f5859ce">channel_param_t</a> **&#160;</td>
<td class="paramname"><em>foundchannel</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>search a channel and its belonging session by channel ID </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">cid</td><td>channel identifier </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">sessionlist</td><td>session list pointer </td></tr>
<tr><td class="paramdir">[in,out]</td><td class="paramname">foundsession</td><td>address of the found session pointer </td></tr>
<tr><td class="paramdir">[in,out]</td><td class="paramname">foundchannel</td><td>address of the found channel pointer </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>if the channel is found (true) or not (false) </dd></dl>
<p>References <a class="el" href="session__manager_8c.html#ac322e421aefb8ec9ccc10bef953e3d82">FCGI_stdout</a>, <a class="el" href="structsessionlist__param.html#aef3ea30ea258e86ef99b9e4b7d72988e">sessionlist_param::first</a>, <a class="el" href="structsession__param.html#a8919cca2326147adca004b25ee008017">session_param::next</a>, <a class="el" href="structchannel__param.html#a5b4e4343d21cda16eda8e12c4b6bea14">channel_param::next</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
<p>Referenced by <a class="el" href="jpip__parser_8h.html#a90326bc7816043198de9c7b60826afe2">associate_channel()</a>, and <a class="el" href="jpip__parser_8h.html#ab28d80db34574a75d5bc720925dea329">close_channel()</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- 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"/>
</a> 1.8.10
</small></address>
</body>
</html>