391 lines
27 KiB
HTML
391 lines
27 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<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
|
|
 <span id="projectnumber">2.5.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- 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&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',false,false,'search.php','Search');
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<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>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Data Structures</a> |
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<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 "<a class="el" href="channel__manager_8h_source.html">channel_manager.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="cachemodel__manager_8h_source.html">cachemodel_manager.h</a>"</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  </td><td class="memItemRight" valign="bottom"><a class="el" href="structsession__param.html">session_param</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structsessionlist__param.html">sessionlist_param</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </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"> </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:a53198d65174cd83cc2aa3089cb800d78"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structsession__param.html">session_param</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="session__manager_8h.html#a53198d65174cd83cc2aa3089cb800d78">session_param_t</a></td></tr>
|
|
<tr class="memdesc:a53198d65174cd83cc2aa3089cb800d78"><td class="mdescLeft"> </td><td class="mdescRight">Session parameters. <a href="session__manager_8h.html#a53198d65174cd83cc2aa3089cb800d78">More...</a><br /></td></tr>
|
|
<tr class="separator:a53198d65174cd83cc2aa3089cb800d78"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a55742588933e5da65d113e266dd4e4a8"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structsessionlist__param.html">sessionlist_param</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a></td></tr>
|
|
<tr class="memdesc:a55742588933e5da65d113e266dd4e4a8"><td class="mdescLeft"> </td><td class="mdescRight">Session list parameters. <a href="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">More...</a><br /></td></tr>
|
|
<tr class="separator:a55742588933e5da65d113e266dd4e4a8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:a90a84c5d74e54bad1d6350cac56a79cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> * </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"> </td><td class="mdescRight">generate a session list <a href="session__manager_8h.html#a90a84c5d74e54bad1d6350cac56a79cc">More...</a><br /></td></tr>
|
|
<tr class="separator:a90a84c5d74e54bad1d6350cac56a79cc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adf5841c3d4f97b49c02bfa9919aa5eea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="session__manager_8h.html#a53198d65174cd83cc2aa3089cb800d78">session_param_t</a> * </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#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> *sessionlist)</td></tr>
|
|
<tr class="memdesc:adf5841c3d4f97b49c02bfa9919aa5eea"><td class="mdescLeft"> </td><td class="mdescRight">generate a session under the sesion list <a href="session__manager_8h.html#adf5841c3d4f97b49c02bfa9919aa5eea">More...</a><br /></td></tr>
|
|
<tr class="separator:adf5841c3d4f97b49c02bfa9919aa5eea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abc0c61762e6d3def2bb0aec3660317bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="session__manager_8h.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"> </td><td class="mdescRight">search a channel and its belonging session by channel ID <a href="session__manager_8h.html#abc0c61762e6d3def2bb0aec3660317bd">More...</a><br /></td></tr>
|
|
<tr class="separator:abc0c61762e6d3def2bb0aec3660317bd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab06ce1e06337889daeeb3e5f26ce5023"><td class="memItemLeft" align="right" valign="top">void </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#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"> </td><td class="mdescRight">insert a cache model into a session <a href="session__manager_8h.html#ab06ce1e06337889daeeb3e5f26ce5023">More...</a><br /></td></tr>
|
|
<tr class="separator:ab06ce1e06337889daeeb3e5f26ce5023"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8a988f84471ec85e0c4b586d0b976dee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="session__manager_8h.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"> </td><td class="mdescRight">delete a session <a href="session__manager_8h.html#a8a988f84471ec85e0c4b586d0b976dee">More...</a><br /></td></tr>
|
|
<tr class="separator:a8a988f84471ec85e0c4b586d0b976dee"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1966edbca375ecbe0f673f3768f95e8e"><td class="memItemLeft" align="right" valign="top">void </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#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> **sessionlist)</td></tr>
|
|
<tr class="memdesc:a1966edbca375ecbe0f673f3768f95e8e"><td class="mdescLeft"> </td><td class="mdescRight">delete session list <a href="session__manager_8h.html#a1966edbca375ecbe0f673f3768f95e8e">More...</a><br /></td></tr>
|
|
<tr class="separator:a1966edbca375ecbe0f673f3768f95e8e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a53a7e92eb661d0a8b9837689c2e09ed9"><td class="memItemLeft" align="right" valign="top">void </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#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> *sessionlist)</td></tr>
|
|
<tr class="memdesc:a53a7e92eb661d0a8b9837689c2e09ed9"><td class="mdescLeft"> </td><td class="mdescRight">print all sessions <a href="session__manager_8h.html#a53a7e92eb661d0a8b9837689c2e09ed9">More...</a><br /></td></tr>
|
|
<tr class="separator:a53a7e92eb661d0a8b9837689c2e09ed9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a id="a53198d65174cd83cc2aa3089cb800d78"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a53198d65174cd83cc2aa3089cb800d78">◆ </a></span>session_param_t</h2>
|
|
|
|
<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#a53198d65174cd83cc2aa3089cb800d78">session_param_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Session parameters. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a55742588933e5da65d113e266dd4e4a8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a55742588933e5da65d113e266dd4e4a8">◆ </a></span>sessionlist_param_t</h2>
|
|
|
|
<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#a55742588933e5da65d113e266dd4e4a8">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 id="a8a988f84471ec85e0c4b586d0b976dee"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8a988f84471ec85e0c4b586d0b976dee">◆ </a></span>delete_session()</h2>
|
|
|
|
<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#a53198d65174cd83cc2aa3089cb800d78">session_param_t</a> ** </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#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> * </td>
|
|
<td class="paramname"><em>sessionlist</em> </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 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>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="jpip__parser_8h.html#ab28d80db34574a75d5bc720925dea329">close_channel()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1966edbca375ecbe0f673f3768f95e8e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1966edbca375ecbe0f673f3768f95e8e">◆ </a></span>delete_sessionlist()</h2>
|
|
|
|
<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#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> ** </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 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>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="adf5841c3d4f97b49c02bfa9919aa5eea"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#adf5841c3d4f97b49c02bfa9919aa5eea">◆ </a></span>gene_session()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="session__manager_8h.html#a53198d65174cd83cc2aa3089cb800d78">session_param_t</a>* gene_session </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> * </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 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>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="jpip__parser_8h.html#a0a8093084853869a255f8f7f178e2e37">open_channel()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a90a84c5d74e54bad1d6350cac56a79cc"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a90a84c5d74e54bad1d6350cac56a79cc">◆ </a></span>gene_sessionlist()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="session__manager_8h.html#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a>* gene_sessionlist </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </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 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>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab06ce1e06337889daeeb3e5f26ce5023"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab06ce1e06337889daeeb3e5f26ce5023">◆ </a></span>insert_cachemodel_into_session()</h2>
|
|
|
|
<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#a53198d65174cd83cc2aa3089cb800d78">session_param_t</a> * </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#afc947ec11dce7bd97428642c4a2bebbd">cachemodel_param_t</a> * </td>
|
|
<td class="paramname"><em>cachemodel</em> </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 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>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a53a7e92eb661d0a8b9837689c2e09ed9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a53a7e92eb661d0a8b9837689c2e09ed9">◆ </a></span>print_allsession()</h2>
|
|
|
|
<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#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> * </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 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>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abc0c61762e6d3def2bb0aec3660317bd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abc0c61762e6d3def2bb0aec3660317bd">◆ </a></span>search_session_and_channel()</h2>
|
|
|
|
<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 </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#a55742588933e5da65d113e266dd4e4a8">sessionlist_param_t</a> * </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#a53198d65174cd83cc2aa3089cb800d78">session_param_t</a> ** </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#a1cbfade720dfe793f134255b7a89ea95">channel_param_t</a> ** </td>
|
|
<td class="paramname"><em>foundchannel</em> </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 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>
|
|
|
|
<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>
|
|
|
|
</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.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|