openjpeg/doxygen/session__manager_8c.html

392 lines
26 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: session_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="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">session_manager.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &lt;stdio.h&gt;</code><br />
<code>#include &quot;<a class="el" href="session__manager_8h_source.html">session_manager.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="target__manager_8h_source.html">target_manager.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ac322e421aefb8ec9ccc10bef953e3d82"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="session__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="session__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="session__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="func-members"></a>
Functions</h2></td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memitem:a90a84c5d74e54bad1d6350cac56a79cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="session__manager_8c.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="session__manager_8c.html#a90a84c5d74e54bad1d6350cac56a79cc">More...</a><br /></td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:a90a84c5d74e54bad1d6350cac56a79cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memitem:adf5841c3d4f97b49c02bfa9919aa5eea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="session__manager_8h.html#a53198d65174cd83cc2aa3089cb800d78">session_param_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="session__manager_8c.html#adf5841c3d4f97b49c02bfa9919aa5eea">gene_session</a> (<a class="el" href="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">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="session__manager_8c.html#adf5841c3d4f97b49c02bfa9919aa5eea">More...</a><br /></td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:adf5841c3d4f97b49c02bfa9919aa5eea"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-13 20:21:13 +02:00
<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_8c.html#abc0c61762e6d3def2bb0aec3660317bd">search_session_and_channel</a> (char cid[], <a class="el" href="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> *sessionlist, <a class="el" href="session__manager_8h.html#a53198d65174cd83cc2aa3089cb800d78">session_param_t</a> **foundsession, <a class="el" href="channel__manager_8h.html#a1cbfade720dfe793f134255b7a89ea95">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="session__manager_8c.html#abc0c61762e6d3def2bb0aec3660317bd">More...</a><br /></td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:abc0c61762e6d3def2bb0aec3660317bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-13 20:21:13 +02:00
<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_8c.html#ab06ce1e06337889daeeb3e5f26ce5023">insert_cachemodel_into_session</a> (<a class="el" href="session__manager_8h.html#a53198d65174cd83cc2aa3089cb800d78">session_param_t</a> *session, <a class="el" href="cachemodel__manager_8h.html#afc947ec11dce7bd97428642c4a2bebbd">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="session__manager_8c.html#ab06ce1e06337889daeeb3e5f26ce5023">More...</a><br /></td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:ab06ce1e06337889daeeb3e5f26ce5023"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-13 20:21:13 +02:00
<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_8c.html#a8a988f84471ec85e0c4b586d0b976dee">delete_session</a> (<a class="el" href="session__manager_8h.html#a53198d65174cd83cc2aa3089cb800d78">session_param_t</a> **session, <a class="el" href="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> *sessionlist)</td></tr>
<tr class="memdesc:a8a988f84471ec85e0c4b586d0b976dee"><td class="mdescLeft">&#160;</td><td class="mdescRight">delete a session <a href="session__manager_8c.html#a8a988f84471ec85e0c4b586d0b976dee">More...</a><br /></td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:a8a988f84471ec85e0c4b586d0b976dee"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-13 20:21:13 +02:00
<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_8c.html#a1966edbca375ecbe0f673f3768f95e8e">delete_sessionlist</a> (<a class="el" href="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> **sessionlist)</td></tr>
<tr class="memdesc:a1966edbca375ecbe0f673f3768f95e8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">delete session list <a href="session__manager_8c.html#a1966edbca375ecbe0f673f3768f95e8e">More...</a><br /></td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:a1966edbca375ecbe0f673f3768f95e8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-13 20:21:13 +02:00
<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_8c.html#a53a7e92eb661d0a8b9837689c2e09ed9">print_allsession</a> (<a class="el" href="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> *sessionlist)</td></tr>
<tr class="memdesc:a53a7e92eb661d0a8b9837689c2e09ed9"><td class="mdescLeft">&#160;</td><td class="mdescRight">print all sessions <a href="session__manager_8c.html#a53a7e92eb661d0a8b9837689c2e09ed9">More...</a><br /></td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:a53a7e92eb661d0a8b9837689c2e09ed9"><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">Function Documentation</h2>
2022-05-13 20:21:13 +02:00
<a id="a8a988f84471ec85e0c4b586d0b976dee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a988f84471ec85e0c4b586d0b976dee">&#9670;&nbsp;</a></span>delete_session()</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> delete_session </td>
<td>(</td>
2022-05-13 20:21:13 +02:00
<td class="paramtype"><a class="el" href="session__manager_8h.html#a53198d65174cd83cc2aa3089cb800d78">session_param_t</a> **&#160;</td>
2015-07-10 18:06:19 +02:00
<td class="paramname"><em>session</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="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> *&#160;</td>
2015-07-10 18:06:19 +02:00
<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>
2022-05-13 20:21:13 +02:00
<p class="reference">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="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</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="jpip__parser_8h.html#ab28d80db34574a75d5bc720925dea329">close_channel()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="a1966edbca375ecbe0f673f3768f95e8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1966edbca375ecbe0f673f3768f95e8e">&#9670;&nbsp;</a></span>delete_sessionlist()</h2>
2015-07-10 18:06:19 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void delete_sessionlist </td>
<td>(</td>
2022-05-13 20:21:13 +02:00
<td class="paramtype"><a class="el" href="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> **&#160;</td>
2015-07-10 18:06:19 +02:00
<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>
2022-05-13 20:21:13 +02:00
<p class="reference">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="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="adf5841c3d4f97b49c02bfa9919aa5eea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf5841c3d4f97b49c02bfa9919aa5eea">&#9670;&nbsp;</a></span>gene_session()</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="session__manager_8h.html#a53198d65174cd83cc2aa3089cb800d78">session_param_t</a>* gene_session </td>
2015-07-10 18:06:19 +02:00
<td>(</td>
2022-05-13 20:21:13 +02:00
<td class="paramtype"><a class="el" href="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> *&#160;</td>
2015-07-10 18:06:19 +02:00
<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>
2022-05-13 20:21:13 +02:00
<p class="reference">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="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc()</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="jpip__parser_8h.html#a0a8093084853869a255f8f7f178e2e37">open_channel()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="a90a84c5d74e54bad1d6350cac56a79cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90a84c5d74e54bad1d6350cac56a79cc">&#9670;&nbsp;</a></span>gene_sessionlist()</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="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a>* gene_sessionlist </td>
2015-07-10 18:06:19 +02:00
<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>
2022-05-13 20:21:13 +02:00
<p class="reference">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="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="ab06ce1e06337889daeeb3e5f26ce5023"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab06ce1e06337889daeeb3e5f26ce5023">&#9670;&nbsp;</a></span>insert_cachemodel_into_session()</h2>
2015-07-10 18:06:19 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void insert_cachemodel_into_session </td>
<td>(</td>
2022-05-13 20:21:13 +02:00
<td class="paramtype"><a class="el" href="session__manager_8h.html#a53198d65174cd83cc2aa3089cb800d78">session_param_t</a> *&#160;</td>
2015-07-10 18:06:19 +02:00
<td class="paramname"><em>session</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="cachemodel__manager_8h.html#afc947ec11dce7bd97428642c4a2bebbd">cachemodel_param_t</a> *&#160;</td>
2015-07-10 18:06:19 +02:00
<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>
2022-05-13 20:21:13 +02:00
<p class="reference">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>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="a53a7e92eb661d0a8b9837689c2e09ed9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53a7e92eb661d0a8b9837689c2e09ed9">&#9670;&nbsp;</a></span>print_allsession()</h2>
2015-07-10 18:06:19 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void print_allsession </td>
<td>(</td>
2022-05-13 20:21:13 +02:00
<td class="paramtype"><a class="el" href="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> *&#160;</td>
2015-07-10 18:06:19 +02:00
<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>
2022-05-13 20:21:13 +02:00
<p class="reference">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>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="abc0c61762e6d3def2bb0aec3660317bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc0c61762e6d3def2bb0aec3660317bd">&#9670;&nbsp;</a></span>search_session_and_channel()</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> 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>
2022-05-13 20:21:13 +02:00
<td class="paramtype"><a class="el" href="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> *&#160;</td>
2015-07-10 18:06:19 +02:00
<td class="paramname"><em>sessionlist</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="session__manager_8h.html#a53198d65174cd83cc2aa3089cb800d78">session_param_t</a> **&#160;</td>
2015-07-10 18:06:19 +02:00
<td class="paramname"><em>foundsession</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="channel__manager_8h.html#a1cbfade720dfe793f134255b7a89ea95">channel_param_t</a> **&#160;</td>
2015-07-10 18:06:19 +02:00
<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>
2022-05-13 20:21:13 +02:00
<p class="reference">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>
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="jpip__parser_8h.html#a90326bc7816043198de9c7b60826afe2">associate_channel()</a>, and <a class="el" href="jpip__parser_8h.html#ab28d80db34574a75d5bc720925dea329">close_channel()</a>.</p>
2015-07-10 18:06:19 +02:00
</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"/>
2022-05-13 20:21:13 +02:00
</a> 1.8.17
2015-07-10 18:06:19 +02:00
</small></address>
</body>
</html>