692 lines
41 KiB
HTML
692 lines
41 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.13"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>OpenJPEG: cache_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.3.1</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.13 -->
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
initMenu('',false,false,'search.php','Search');
|
|
});
|
|
</script>
|
|
<div id="main-nav"></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> |
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">cache_manager.h File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include "<a class="el" href="metadata__manager_8h_source.html">metadata_manager.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="ihdrbox__manager_8h_source.html">ihdrbox_manager.h</a>"</code><br />
|
|
</div>
|
|
<p><a href="cache__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="structcache__param.html">cache_param</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">cache parameters <a href="structcache__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="structcachelist__param.html">cachelist_param</a></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:ad353c885e94af199b74fb9b97d51bbec"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structcache__param.html">cache_param</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a></td></tr>
|
|
<tr class="memdesc:ad353c885e94af199b74fb9b97d51bbec"><td class="mdescLeft"> </td><td class="mdescRight">cache parameters <a href="#ad353c885e94af199b74fb9b97d51bbec">More...</a><br /></td></tr>
|
|
<tr class="separator:ad353c885e94af199b74fb9b97d51bbec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7e12967917ae0307a4437f57b08eeaa3"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structcachelist__param.html">cachelist_param</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a></td></tr>
|
|
<tr class="separator:a7e12967917ae0307a4437f57b08eeaa3"><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:a0de1bb714bff02327255920dfc5bd838"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="cache__manager_8h.html#a0de1bb714bff02327255920dfc5bd838">gene_cachelist</a> (void)</td></tr>
|
|
<tr class="memdesc:a0de1bb714bff02327255920dfc5bd838"><td class="mdescLeft"> </td><td class="mdescRight">generate a cache list <a href="#a0de1bb714bff02327255920dfc5bd838">More...</a><br /></td></tr>
|
|
<tr class="separator:a0de1bb714bff02327255920dfc5bd838"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a60b3dc9f408f026931faa4589d1e4c1b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="cache__manager_8h.html#a60b3dc9f408f026931faa4589d1e4c1b">delete_cachelist</a> (<a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> **cachelist)</td></tr>
|
|
<tr class="memdesc:a60b3dc9f408f026931faa4589d1e4c1b"><td class="mdescLeft"> </td><td class="mdescRight">delete cache list <a href="#a60b3dc9f408f026931faa4589d1e4c1b">More...</a><br /></td></tr>
|
|
<tr class="separator:a60b3dc9f408f026931faa4589d1e4c1b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae673ba42122433300afa3581ed4eb5af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="cache__manager_8h.html#ae673ba42122433300afa3581ed4eb5af">gene_cache</a> (const char *targetname, int csn, char *tid, char *cid)</td></tr>
|
|
<tr class="memdesc:ae673ba42122433300afa3581ed4eb5af"><td class="mdescLeft"> </td><td class="mdescRight">generate a cache <a href="#ae673ba42122433300afa3581ed4eb5af">More...</a><br /></td></tr>
|
|
<tr class="separator:ae673ba42122433300afa3581ed4eb5af"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa552e4ceb9be91d6b502419e406907fd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="cache__manager_8h.html#aa552e4ceb9be91d6b502419e406907fd">delete_cache</a> (<a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a> **cache)</td></tr>
|
|
<tr class="memdesc:aa552e4ceb9be91d6b502419e406907fd"><td class="mdescLeft"> </td><td class="mdescRight">delete a cache <a href="#aa552e4ceb9be91d6b502419e406907fd">More...</a><br /></td></tr>
|
|
<tr class="separator:aa552e4ceb9be91d6b502419e406907fd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a602fae2adbfa511bccf6f2fad3fe7891"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="cache__manager_8h.html#a602fae2adbfa511bccf6f2fad3fe7891">insert_cache_into_list</a> (<a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a> *cache, <a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> *cachelist)</td></tr>
|
|
<tr class="memdesc:a602fae2adbfa511bccf6f2fad3fe7891"><td class="mdescLeft"> </td><td class="mdescRight">insert a cache into list <a href="#a602fae2adbfa511bccf6f2fad3fe7891">More...</a><br /></td></tr>
|
|
<tr class="separator:a602fae2adbfa511bccf6f2fad3fe7891"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a373dac3fd74b9947e59a095048b18a0a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="cache__manager_8h.html#a373dac3fd74b9947e59a095048b18a0a">search_cache</a> (const char targetname[], <a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> *cachelist)</td></tr>
|
|
<tr class="memdesc:a373dac3fd74b9947e59a095048b18a0a"><td class="mdescLeft"> </td><td class="mdescRight">search a cache by target name <a href="#a373dac3fd74b9947e59a095048b18a0a">More...</a><br /></td></tr>
|
|
<tr class="separator:a373dac3fd74b9947e59a095048b18a0a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3971cee032d83329cb3f23a66f0f9dd9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="cache__manager_8h.html#a3971cee032d83329cb3f23a66f0f9dd9">search_cacheBycsn</a> (int csn, <a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> *cachelist)</td></tr>
|
|
<tr class="memdesc:a3971cee032d83329cb3f23a66f0f9dd9"><td class="mdescLeft"> </td><td class="mdescRight">search a cache by csn <a href="#a3971cee032d83329cb3f23a66f0f9dd9">More...</a><br /></td></tr>
|
|
<tr class="separator:a3971cee032d83329cb3f23a66f0f9dd9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac538e4f629668779ce42d178389c5b7a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="cache__manager_8h.html#ac538e4f629668779ce42d178389c5b7a">search_cacheBycid</a> (const char cid[], <a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> *cachelist)</td></tr>
|
|
<tr class="memdesc:ac538e4f629668779ce42d178389c5b7a"><td class="mdescLeft"> </td><td class="mdescRight">search a cache by cid <a href="#ac538e4f629668779ce42d178389c5b7a">More...</a><br /></td></tr>
|
|
<tr class="separator:ac538e4f629668779ce42d178389c5b7a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3bd60aac832b765c765eb71211af2e05"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="cache__manager_8h.html#a3bd60aac832b765c765eb71211af2e05">search_cacheBytid</a> (const char tid[], <a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> *cachelist)</td></tr>
|
|
<tr class="memdesc:a3bd60aac832b765c765eb71211af2e05"><td class="mdescLeft"> </td><td class="mdescRight">search a cache by tid <a href="#a3bd60aac832b765c765eb71211af2e05">More...</a><br /></td></tr>
|
|
<tr class="separator:a3bd60aac832b765c765eb71211af2e05"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a87a27aa289a528077e7d77c5c89db5bf"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="cache__manager_8h.html#a87a27aa289a528077e7d77c5c89db5bf">add_cachecid</a> (const char *cid, <a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a> *cache)</td></tr>
|
|
<tr class="memdesc:a87a27aa289a528077e7d77c5c89db5bf"><td class="mdescLeft"> </td><td class="mdescRight">add cid into a cache <a href="#a87a27aa289a528077e7d77c5c89db5bf">More...</a><br /></td></tr>
|
|
<tr class="separator:a87a27aa289a528077e7d77c5c89db5bf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aeb3f8c42f00448cd7b3907d8bd516dd8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="cache__manager_8h.html#aeb3f8c42f00448cd7b3907d8bd516dd8">update_cachetid</a> (const char *tid, <a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a> *cache)</td></tr>
|
|
<tr class="memdesc:aeb3f8c42f00448cd7b3907d8bd516dd8"><td class="mdescLeft"> </td><td class="mdescRight">update tid of a cache <a href="#aeb3f8c42f00448cd7b3907d8bd516dd8">More...</a><br /></td></tr>
|
|
<tr class="separator:aeb3f8c42f00448cd7b3907d8bd516dd8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4091726e2df2dac42292353947a4ea07"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="cache__manager_8h.html#a4091726e2df2dac42292353947a4ea07">remove_cachecid</a> (const char *cid, <a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> *cachelist)</td></tr>
|
|
<tr class="memdesc:a4091726e2df2dac42292353947a4ea07"><td class="mdescLeft"> </td><td class="mdescRight">remove cid in cache <a href="#a4091726e2df2dac42292353947a4ea07">More...</a><br /></td></tr>
|
|
<tr class="separator:a4091726e2df2dac42292353947a4ea07"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaf3ec7928cfc0cfa3888db892d50c20c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="cache__manager_8h.html#aaf3ec7928cfc0cfa3888db892d50c20c">print_cache</a> (<a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a> *cache)</td></tr>
|
|
<tr class="memdesc:aaf3ec7928cfc0cfa3888db892d50c20c"><td class="mdescLeft"> </td><td class="mdescRight">print cache parameters <a href="#aaf3ec7928cfc0cfa3888db892d50c20c">More...</a><br /></td></tr>
|
|
<tr class="separator:aaf3ec7928cfc0cfa3888db892d50c20c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a86ab032b568db30c8763213f221cc760"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="cache__manager_8h.html#a86ab032b568db30c8763213f221cc760">print_allcache</a> (<a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> *cachelist)</td></tr>
|
|
<tr class="memdesc:a86ab032b568db30c8763213f221cc760"><td class="mdescLeft"> </td><td class="mdescRight">print all cache parameters <a href="#a86ab032b568db30c8763213f221cc760">More...</a><br /></td></tr>
|
|
<tr class="separator:a86ab032b568db30c8763213f221cc760"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a id="ad353c885e94af199b74fb9b97d51bbec"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad353c885e94af199b74fb9b97d51bbec">◆ </a></span>cache_param_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef struct <a class="el" href="structcache__param.html">cache_param</a> <a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>cache parameters </p>
|
|
<p>cache list parameters </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7e12967917ae0307a4437f57b08eeaa3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7e12967917ae0307a4437f57b08eeaa3">◆ </a></span>cachelist_param_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef struct <a class="el" href="structcachelist__param.html">cachelist_param</a> <a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="a87a27aa289a528077e7d77c5c89db5bf"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a87a27aa289a528077e7d77c5c89db5bf">◆ </a></span>add_cachecid()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void add_cachecid </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="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a> * </td>
|
|
<td class="paramname"><em>cache</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>add cid into a cache </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">cache</td><td>cache pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcache__param.html#a15739295a73f8bca1a53b4c11f3a855a">cache_param::cid</a>, and <a class="el" href="structcache__param.html#acc75fa242d285962ff9451c0b875c18c">cache_param::numOfcid</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#ab4022f5e297b5d3a456cd841c3902675">handle_JPIPstreamMSG()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa552e4ceb9be91d6b502419e406907fd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa552e4ceb9be91d6b502419e406907fd">◆ </a></span>delete_cache()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void delete_cache </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a> ** </td>
|
|
<td class="paramname"><em>cache</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>delete a cache </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cache</td><td>address of the cache pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="metadata__manager_8c.html#aaf53c8e8dc223c54970487cafe2ba7eb">delete_metadatalist()</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="cache__manager_8h.html#a60b3dc9f408f026931faa4589d1e4c1b">delete_cachelist()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a60b3dc9f408f026931faa4589d1e4c1b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a60b3dc9f408f026931faa4589d1e4c1b">◆ </a></span>delete_cachelist()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void delete_cachelist </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> ** </td>
|
|
<td class="paramname"><em>cachelist</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>delete cache list </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in,out]</td><td class="paramname">cachelist</td><td>address of the cache list pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="cache__manager_8c.html#aa552e4ceb9be91d6b502419e406907fd">delete_cache()</a>, and <a class="el" href="structcache__param.html#aea41f0c4553d98f30fbd299e78a637e8">cache_param::next</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="openjpip_8h.html#a05f5e9a3abc177c5a18e0a97c77cc2e0">terminate_dec_server()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae673ba42122433300afa3581ed4eb5af"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae673ba42122433300afa3581ed4eb5af">◆ </a></span>gene_cache()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a>* gene_cache </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>targetname</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>csn</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></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>generate a cache </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">targetname</td><td>target file name </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">csn</td><td>codestream number </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">tid</td><td>target identifier </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cid</td><td>channel identifier </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>pointer to the generated cache </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcache__param.html#a15739295a73f8bca1a53b4c11f3a855a">cache_param::cid</a>, <a class="el" href="structcache__param.html#a8f5a0232ef788420480274e68932a8d3">cache_param::csn</a>, <a class="el" href="structcache__param.html#a4b1e92d200b2d6f991acfb031024181e">cache_param::filename</a>, <a class="el" href="metadata__manager_8c.html#a109c77c889ca43e454720f61692bd960">gene_metadatalist()</a>, <a class="el" href="structcache__param.html#a89b857a7eea2ef020774bba91421b47f">cache_param::ihdrbox</a>, <a class="el" href="structcache__param.html#a001b90163246b1af6f7b4e37e9ae53c2">cache_param::metadatalist</a>, <a class="el" href="structcache__param.html#aea41f0c4553d98f30fbd299e78a637e8">cache_param::next</a>, <a class="el" href="structcache__param.html#acc75fa242d285962ff9451c0b875c18c">cache_param::numOfcid</a>, and <a class="el" href="structcache__param.html#ab49c86ae00ed1c75ec917bec95377aeb">cache_param::tid</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#ab4022f5e297b5d3a456cd841c3902675">handle_JPIPstreamMSG()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0de1bb714bff02327255920dfc5bd838"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0de1bb714bff02327255920dfc5bd838">◆ </a></span>gene_cachelist()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a>* gene_cachelist </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 cache list </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>pointer to the generated cache list </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcachelist__param.html#a1555171ee1d36bc00c82246c1ea411dd">cachelist_param::first</a>, and <a class="el" href="structcachelist__param.html#aa67288298eb248dfe68696202b79f009">cachelist_param::last</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="openjpip_8h.html#ae5c902178b9b0aa3b752de016a1074d7">init_dec_server()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a602fae2adbfa511bccf6f2fad3fe7891"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a602fae2adbfa511bccf6f2fad3fe7891">◆ </a></span>insert_cache_into_list()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void insert_cache_into_list </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a> * </td>
|
|
<td class="paramname"><em>cache</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> * </td>
|
|
<td class="paramname"><em>cachelist</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>insert a cache into list </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cache</td><td>cache pointer </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cachelist</td><td>cache list pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcachelist__param.html#a1555171ee1d36bc00c82246c1ea411dd">cachelist_param::first</a>, <a class="el" href="structcachelist__param.html#aa67288298eb248dfe68696202b79f009">cachelist_param::last</a>, and <a class="el" href="structcache__param.html#aea41f0c4553d98f30fbd299e78a637e8">cache_param::next</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#ab4022f5e297b5d3a456cd841c3902675">handle_JPIPstreamMSG()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a86ab032b568db30c8763213f221cc760"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a86ab032b568db30c8763213f221cc760">◆ </a></span>print_allcache()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void print_allcache </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> * </td>
|
|
<td class="paramname"><em>cachelist</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>print all cache parameters </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cachelist</td><td>cache list pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcachelist__param.html#a1555171ee1d36bc00c82246c1ea411dd">cachelist_param::first</a>, <a class="el" href="structcache__param.html#aea41f0c4553d98f30fbd299e78a637e8">cache_param::next</a>, and <a class="el" href="cache__manager_8c.html#aaf3ec7928cfc0cfa3888db892d50c20c">print_cache()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aaf3ec7928cfc0cfa3888db892d50c20c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aaf3ec7928cfc0cfa3888db892d50c20c">◆ </a></span>print_cache()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void print_cache </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a> * </td>
|
|
<td class="paramname"><em>cache</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>print cache parameters </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cache</td><td>cache pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcache__param.html#a15739295a73f8bca1a53b4c11f3a855a">cache_param::cid</a>, <a class="el" href="structcache__param.html#a8f5a0232ef788420480274e68932a8d3">cache_param::csn</a>, <a class="el" href="structcache__param.html#a4b1e92d200b2d6f991acfb031024181e">cache_param::filename</a>, <a class="el" href="structcache__param.html#acc75fa242d285962ff9451c0b875c18c">cache_param::numOfcid</a>, and <a class="el" href="structcache__param.html#ab49c86ae00ed1c75ec917bec95377aeb">cache_param::tid</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="cache__manager_8h.html#a86ab032b568db30c8763213f221cc760">print_allcache()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4091726e2df2dac42292353947a4ea07"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4091726e2df2dac42292353947a4ea07">◆ </a></span>remove_cachecid()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void remove_cachecid </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="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> * </td>
|
|
<td class="paramname"><em>cachelist</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>remove cid in cache </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">cachelist</td><td>cachelist pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="cache__manager_8c.html#a9acafab6ba8be44d424c238272480aad">remove_cidInCache()</a>, and <a class="el" href="cache__manager_8c.html#ac538e4f629668779ce42d178389c5b7a">search_cacheBycid()</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#a1b541c52a440a95733cd0f961189ad5a">handle_dstCIDreqMSG()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a373dac3fd74b9947e59a095048b18a0a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a373dac3fd74b9947e59a095048b18a0a">◆ </a></span>search_cache()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a>* search_cache </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char </td>
|
|
<td class="paramname"><em>targetname</em>[], </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> * </td>
|
|
<td class="paramname"><em>cachelist</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>search a cache by target name </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">targetname</td><td>target filename </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cachelist</td><td>cache list pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>found cache pointer </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcache__param.html#a4b1e92d200b2d6f991acfb031024181e">cache_param::filename</a>, <a class="el" href="structcachelist__param.html#a1555171ee1d36bc00c82246c1ea411dd">cachelist_param::first</a>, and <a class="el" href="structcache__param.html#aea41f0c4553d98f30fbd299e78a637e8">cache_param::next</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#aa47b5aa4364e9df31b03eca619009445">handle_CIDreqMSG()</a>, <a class="el" href="dec__clientmsg__handler_8h.html#ab4022f5e297b5d3a456cd841c3902675">handle_JPIPstreamMSG()</a>, and <a class="el" href="dec__clientmsg__handler_8h.html#a86f804d83268e44baef977b7b54cbbcc">handle_TIDreqMSG()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac538e4f629668779ce42d178389c5b7a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac538e4f629668779ce42d178389c5b7a">◆ </a></span>search_cacheBycid()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a>* search_cacheBycid </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="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> * </td>
|
|
<td class="paramname"><em>cachelist</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>search a cache by cid </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">cachelist</td><td>cache list pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>found cache pointer </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcache__param.html#a15739295a73f8bca1a53b4c11f3a855a">cache_param::cid</a>, <a class="el" href="structcachelist__param.html#a1555171ee1d36bc00c82246c1ea411dd">cachelist_param::first</a>, <a class="el" href="structcache__param.html#aea41f0c4553d98f30fbd299e78a637e8">cache_param::next</a>, and <a class="el" href="structcache__param.html#acc75fa242d285962ff9451c0b875c18c">cache_param::numOfcid</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#a163197f925cd8d6f60da5b6151e01c3b">handle_JP2saveMSG()</a>, <a class="el" href="dec__clientmsg__handler_8h.html#ac1721ebe188622dcbd80540e1bc4a237">handle_PNMreqMSG()</a>, <a class="el" href="dec__clientmsg__handler_8h.html#a98cac1bbde27cbbd1d4292985b3f5b49">handle_SIZreqMSG()</a>, <a class="el" href="dec__clientmsg__handler_8h.html#a22becf5f598618de947805f858b1a617">handle_XMLreqMSG()</a>, and <a class="el" href="cache__manager_8h.html#a4091726e2df2dac42292353947a4ea07">remove_cachecid()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3971cee032d83329cb3f23a66f0f9dd9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3971cee032d83329cb3f23a66f0f9dd9">◆ </a></span>search_cacheBycsn()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a>* search_cacheBycsn </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>csn</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> * </td>
|
|
<td class="paramname"><em>cachelist</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>search a cache by csn </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">csn</td><td>codestream number </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cachelist</td><td>cache list pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>found cache pointer </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcache__param.html#a8f5a0232ef788420480274e68932a8d3">cache_param::csn</a>, <a class="el" href="structcachelist__param.html#a1555171ee1d36bc00c82246c1ea411dd">cachelist_param::first</a>, and <a class="el" href="structcache__param.html#aea41f0c4553d98f30fbd299e78a637e8">cache_param::next</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#ab4022f5e297b5d3a456cd841c3902675">handle_JPIPstreamMSG()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3bd60aac832b765c765eb71211af2e05"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3bd60aac832b765c765eb71211af2e05">◆ </a></span>search_cacheBytid()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a>* search_cacheBytid </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="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a> * </td>
|
|
<td class="paramname"><em>cachelist</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>search a cache by tid </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">tid</td><td>target identifier </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cachelist</td><td>cache list pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>found cache pointer </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcachelist__param.html#a1555171ee1d36bc00c82246c1ea411dd">cachelist_param::first</a>, <a class="el" href="structcache__param.html#aea41f0c4553d98f30fbd299e78a637e8">cache_param::next</a>, and <a class="el" href="structcache__param.html#ab49c86ae00ed1c75ec917bec95377aeb">cache_param::tid</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#ac1721ebe188622dcbd80540e1bc4a237">handle_PNMreqMSG()</a>, and <a class="el" href="dec__clientmsg__handler_8h.html#a98cac1bbde27cbbd1d4292985b3f5b49">handle_SIZreqMSG()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aeb3f8c42f00448cd7b3907d8bd516dd8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aeb3f8c42f00448cd7b3907d8bd516dd8">◆ </a></span>update_cachetid()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void update_cachetid </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="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a> * </td>
|
|
<td class="paramname"><em>cache</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>update tid of a cache </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">tid</td><td>target identifier </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cache</td><td>cache pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcache__param.html#a4b1e92d200b2d6f991acfb031024181e">cache_param::filename</a>, <a class="el" href="cache__manager_8c.html#a9acafab6ba8be44d424c238272480aad">remove_cidInCache()</a>, and <a class="el" href="structcache__param.html#ab49c86ae00ed1c75ec917bec95377aeb">cache_param::tid</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#ab4022f5e297b5d3a456cd841c3902675">handle_JPIPstreamMSG()</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.13
|
|
</small></address>
|
|
</body>
|
|
</html>
|