openjpeg/doxygen/cache__manager_8h_source.html

189 lines
31 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>OpenJPEG: cache_manager.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">OpenJPEG
&#160;<span id="projectnumber">2.3.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d522931ffa1371640980b621734a4381.html">Users</a></li><li class="navelem"><a class="el" href="dir_694e20c96f4fc1be4aed4f026eadce94.html">antonin</a></li><li class="navelem"><a class="el" href="dir_3ca1ad36e65e03f9e8d67ddc2553765b.html">dev</a></li><li class="navelem"><a class="el" href="dir_181a881edfcb8646dab693a228fa6bde.html">opj</a></li><li class="navelem"><a class="el" href="dir_5064bb5511811c3176850b7e47443f14.html">github</a></li><li class="navelem"><a class="el" href="dir_0b20524d8f8835ca75acc430451c8412.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_e3f8a8e294f8271ee71cbcf3c2acacc1.html">src</a></li><li class="navelem"><a class="el" href="dir_da83fe5fdfb6c4554d36abffc03790ad.html">lib</a></li><li class="navelem"><a class="el" href="dir_6ec2d9a1b37a1187cc46aeaf3b19e1b3.html">openjpip</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">cache_manager.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="cache__manager_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * $Id$</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * Copyright (c) 2002-2014, Professor Benoit Macq</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * Copyright (c) 2010-2011, Kaori Hagihara</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * All rights reserved.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * modification, are permitted provided that the following conditions</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * are met:</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * 1. Redistributions of source code must retain the above copyright</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * notice, this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * notice, this list of conditions and the following disclaimer in the</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * documentation and/or other materials provided with the distribution.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS&#39;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#ifndef CACHE_MANAGER_H_</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor"># define CACHE_MANAGER_H_</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="metadata__manager_8h.html">metadata_manager.h</a>&quot;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ihdrbox__manager_8h.html">ihdrbox_manager.h</a>&quot;</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="structcache__param.html"> 38</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structcache__param.html">cache_param</a> {</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structcache__param.html#a4b1e92d200b2d6f991acfb031024181e"> 39</a></span>&#160; <span class="keywordtype">char</span> *<a class="code" href="structcache__param.html#a4b1e92d200b2d6f991acfb031024181e">filename</a>; </div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structcache__param.html#ab49c86ae00ed1c75ec917bec95377aeb"> 40</a></span>&#160; <span class="keywordtype">char</span> *<a class="code" href="structcache__param.html#ab49c86ae00ed1c75ec917bec95377aeb">tid</a>; </div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structcache__param.html#a8f5a0232ef788420480274e68932a8d3"> 41</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structcache__param.html#a8f5a0232ef788420480274e68932a8d3">csn</a>; </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structcache__param.html#a15739295a73f8bca1a53b4c11f3a855a"> 42</a></span>&#160; <span class="keywordtype">char</span> **<a class="code" href="structcache__param.html#a15739295a73f8bca1a53b4c11f3a855a">cid</a>; </div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structcache__param.html#acc75fa242d285962ff9451c0b875c18c"> 43</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structcache__param.html#acc75fa242d285962ff9451c0b875c18c">numOfcid</a>; </div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structcache__param.html#a001b90163246b1af6f7b4e37e9ae53c2"> 44</a></span>&#160; <a class="code" href="structmetadatalist__param.html">metadatalist_param_t</a> *<a class="code" href="structcache__param.html#a001b90163246b1af6f7b4e37e9ae53c2">metadatalist</a>; </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structcache__param.html#a89b857a7eea2ef020774bba91421b47f"> 45</a></span>&#160; <a class="code" href="structihdrbox__param.html">ihdrbox_param_t</a> *<a class="code" href="structcache__param.html#a89b857a7eea2ef020774bba91421b47f">ihdrbox</a>; </div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structcache__param.html#aea41f0c4553d98f30fbd299e78a637e8"> 46</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structcache__param.html">cache_param</a> *<a class="code" href="structcache__param.html#aea41f0c4553d98f30fbd299e78a637e8">next</a>; </div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;} <a class="code" href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a>;</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structcachelist__param.html"> 50</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structcachelist__param.html">cachelist_param</a> {</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structcachelist__param.html#a1555171ee1d36bc00c82246c1ea411dd"> 51</a></span>&#160; <a class="code" href="structcache__param.html">cache_param_t</a> *<a class="code" href="structcachelist__param.html#a1555171ee1d36bc00c82246c1ea411dd">first</a>; </div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structcachelist__param.html#aa67288298eb248dfe68696202b79f009"> 52</a></span>&#160; <a class="code" href="structcache__param.html">cache_param_t</a> *<a class="code" href="structcachelist__param.html#aa67288298eb248dfe68696202b79f009">last</a>; </div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;} <a class="code" href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a>;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<a class="code" href="structcachelist__param.html">cachelist_param_t</a> * <a class="code" href="cache__manager_8h.html#a0de1bb714bff02327255920dfc5bd838">gene_cachelist</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="keywordtype">void</span> <a class="code" href="cache__manager_8h.html#a60b3dc9f408f026931faa4589d1e4c1b">delete_cachelist</a>(<a class="code" href="structcachelist__param.html">cachelist_param_t</a> **cachelist);</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<a class="code" href="structcache__param.html">cache_param_t</a> * <a class="code" href="cache__manager_8h.html#ae673ba42122433300afa3581ed4eb5af">gene_cache</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *targetname, <span class="keywordtype">int</span> csn, <span class="keywordtype">char</span> *tid,</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keywordtype">char</span> *cid);</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<span class="keywordtype">void</span> <a class="code" href="cache__manager_8h.html#aa552e4ceb9be91d6b502419e406907fd">delete_cache</a>(<a class="code" href="structcache__param.html">cache_param_t</a> **cache);</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="keywordtype">void</span> <a class="code" href="cache__manager_8h.html#a602fae2adbfa511bccf6f2fad3fe7891">insert_cache_into_list</a>(<a class="code" href="structcache__param.html">cache_param_t</a> *cache, <a class="code" href="structcachelist__param.html">cachelist_param_t</a> *cachelist);</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;<a class="code" href="structcache__param.html">cache_param_t</a> * <a class="code" href="cache__manager_8h.html#a373dac3fd74b9947e59a095048b18a0a">search_cache</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> targetname[],</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <a class="code" href="structcachelist__param.html">cachelist_param_t</a> *cachelist);</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;<a class="code" href="structcache__param.html">cache_param_t</a> * <a class="code" href="cache__manager_8h.html#a3971cee032d83329cb3f23a66f0f9dd9">search_cacheBycsn</a>(<span class="keywordtype">int</span> csn, <a class="code" href="structcachelist__param.html">cachelist_param_t</a> *cachelist);</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<a class="code" href="structcache__param.html">cache_param_t</a> * <a class="code" href="cache__manager_8h.html#ac538e4f629668779ce42d178389c5b7a">search_cacheBycid</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> cid[],</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <a class="code" href="structcachelist__param.html">cachelist_param_t</a> *cachelist);</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;<a class="code" href="structcache__param.html">cache_param_t</a> * <a class="code" href="cache__manager_8h.html#a3bd60aac832b765c765eb71211af2e05">search_cacheBytid</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> tid[],</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <a class="code" href="structcachelist__param.html">cachelist_param_t</a> *cachelist);</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="keywordtype">void</span> <a class="code" href="cache__manager_8h.html#a87a27aa289a528077e7d77c5c89db5bf">add_cachecid</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *cid, <a class="code" href="structcache__param.html">cache_param_t</a> *cache);</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;<span class="keywordtype">void</span> <a class="code" href="cache__manager_8h.html#aeb3f8c42f00448cd7b3907d8bd516dd8">update_cachetid</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *tid, <a class="code" href="structcache__param.html">cache_param_t</a> *cache);</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;<span class="keywordtype">void</span> <a class="code" href="cache__manager_8h.html#a4091726e2df2dac42292353947a4ea07">remove_cachecid</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *cid, <a class="code" href="structcachelist__param.html">cachelist_param_t</a> *cachelist);</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;<span class="keywordtype">void</span> <a class="code" href="cache__manager_8h.html#aaf3ec7928cfc0cfa3888db892d50c20c">print_cache</a>(<a class="code" href="structcache__param.html">cache_param_t</a> *cache);</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;<span class="keywordtype">void</span> <a class="code" href="cache__manager_8h.html#a86ab032b568db30c8763213f221cc760">print_allcache</a>(<a class="code" href="structcachelist__param.html">cachelist_param_t</a> *cachelist);</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* !CACHE_MANAGER_H_ */</span><span class="preprocessor"></span></div>
<div class="ttc" id="cache__manager_8h_html_a3bd60aac832b765c765eb71211af2e05"><div class="ttname"><a href="cache__manager_8h.html#a3bd60aac832b765c765eb71211af2e05">search_cacheBytid</a></div><div class="ttdeci">cache_param_t * search_cacheBytid(const char tid[], cachelist_param_t *cachelist)</div><div class="ttdoc">search a cache by tid </div><div class="ttdef"><b>Definition:</b> cache_manager.c:173</div></div>
<div class="ttc" id="structcache__param_html"><div class="ttname"><a href="structcache__param.html">cache_param</a></div><div class="ttdoc">cache parameters </div><div class="ttdef"><b>Definition:</b> cache_manager.h:38</div></div>
<div class="ttc" id="ihdrbox__manager_8h_html"><div class="ttname"><a href="ihdrbox__manager_8h.html">ihdrbox_manager.h</a></div></div>
<div class="ttc" id="cache__manager_8h_html_a602fae2adbfa511bccf6f2fad3fe7891"><div class="ttname"><a href="cache__manager_8h.html#a602fae2adbfa511bccf6f2fad3fe7891">insert_cache_into_list</a></div><div class="ttdeci">void insert_cache_into_list(cache_param_t *cache, cachelist_param_t *cachelist)</div><div class="ttdoc">insert a cache into list </div><div class="ttdef"><b>Definition:</b> cache_manager.c:103</div></div>
<div class="ttc" id="structcachelist__param_html_aa67288298eb248dfe68696202b79f009"><div class="ttname"><a href="structcachelist__param.html#aa67288298eb248dfe68696202b79f009">cachelist_param::last</a></div><div class="ttdeci">cache_param_t * last</div><div class="ttdoc">last cache pointer of the list </div><div class="ttdef"><b>Definition:</b> cache_manager.h:52</div></div>
<div class="ttc" id="structcachelist__param_html"><div class="ttname"><a href="structcachelist__param.html">cachelist_param</a></div><div class="ttdef"><b>Definition:</b> cache_manager.h:50</div></div>
<div class="ttc" id="structcache__param_html_a8f5a0232ef788420480274e68932a8d3"><div class="ttname"><a href="structcache__param.html#a8f5a0232ef788420480274e68932a8d3">cache_param::csn</a></div><div class="ttdeci">int csn</div><div class="ttdoc">codestream number </div><div class="ttdef"><b>Definition:</b> cache_manager.h:41</div></div>
<div class="ttc" id="structcache__param_html_a001b90163246b1af6f7b4e37e9ae53c2"><div class="ttname"><a href="structcache__param.html#a001b90163246b1af6f7b4e37e9ae53c2">cache_param::metadatalist</a></div><div class="ttdeci">metadatalist_param_t * metadatalist</div><div class="ttdoc">metadata-bin list </div><div class="ttdef"><b>Definition:</b> cache_manager.h:44</div></div>
<div class="ttc" id="metadata__manager_8h_html"><div class="ttname"><a href="metadata__manager_8h.html">metadata_manager.h</a></div></div>
<div class="ttc" id="cache__manager_8h_html_a4091726e2df2dac42292353947a4ea07"><div class="ttname"><a href="cache__manager_8h.html#a4091726e2df2dac42292353947a4ea07">remove_cachecid</a></div><div class="ttdeci">void remove_cachecid(const char *cid, cachelist_param_t *cachelist)</div><div class="ttdoc">remove cid in cache </div><div class="ttdef"><b>Definition:</b> cache_manager.c:225</div></div>
<div class="ttc" id="cache__manager_8h_html_a3971cee032d83329cb3f23a66f0f9dd9"><div class="ttname"><a href="cache__manager_8h.html#a3971cee032d83329cb3f23a66f0f9dd9">search_cacheBycsn</a></div><div class="ttdeci">cache_param_t * search_cacheBycsn(int csn, cachelist_param_t *cachelist)</div><div class="ttdoc">search a cache by csn </div><div class="ttdef"><b>Definition:</b> cache_manager.c:135</div></div>
<div class="ttc" id="structcache__param_html_ab49c86ae00ed1c75ec917bec95377aeb"><div class="ttname"><a href="structcache__param.html#ab49c86ae00ed1c75ec917bec95377aeb">cache_param::tid</a></div><div class="ttdeci">char * tid</div><div class="ttdoc">taregt identifier </div><div class="ttdef"><b>Definition:</b> cache_manager.h:40</div></div>
<div class="ttc" id="cache__manager_8h_html_a7e12967917ae0307a4437f57b08eeaa3"><div class="ttname"><a href="cache__manager_8h.html#a7e12967917ae0307a4437f57b08eeaa3">cachelist_param_t</a></div><div class="ttdeci">struct cachelist_param cachelist_param_t</div></div>
<div class="ttc" id="structcache__param_html_a15739295a73f8bca1a53b4c11f3a855a"><div class="ttname"><a href="structcache__param.html#a15739295a73f8bca1a53b4c11f3a855a">cache_param::cid</a></div><div class="ttdeci">char ** cid</div><div class="ttdoc">dynamic array of channel identifiers </div><div class="ttdef"><b>Definition:</b> cache_manager.h:42</div></div>
<div class="ttc" id="cache__manager_8h_html_aa552e4ceb9be91d6b502419e406907fd"><div class="ttname"><a href="cache__manager_8h.html#aa552e4ceb9be91d6b502419e406907fd">delete_cache</a></div><div class="ttdeci">void delete_cache(cache_param_t **cache)</div><div class="ttdoc">delete a cache </div><div class="ttdef"><b>Definition:</b> cache_manager.c:84</div></div>
<div class="ttc" id="structcache__param_html_a4b1e92d200b2d6f991acfb031024181e"><div class="ttname"><a href="structcache__param.html#a4b1e92d200b2d6f991acfb031024181e">cache_param::filename</a></div><div class="ttdeci">char * filename</div><div class="ttdoc">file name </div><div class="ttdef"><b>Definition:</b> cache_manager.h:39</div></div>
<div class="ttc" id="cache__manager_8h_html_a86ab032b568db30c8763213f221cc760"><div class="ttname"><a href="cache__manager_8h.html#a86ab032b568db30c8763213f221cc760">print_allcache</a></div><div class="ttdeci">void print_allcache(cachelist_param_t *cachelist)</div><div class="ttdoc">print all cache parameters </div><div class="ttdef"><b>Definition:</b> cache_manager.c:283</div></div>
<div class="ttc" id="cache__manager_8h_html_ae673ba42122433300afa3581ed4eb5af"><div class="ttname"><a href="cache__manager_8h.html#ae673ba42122433300afa3581ed4eb5af">gene_cache</a></div><div class="ttdeci">cache_param_t * gene_cache(const char *targetname, int csn, char *tid, char *cid)</div><div class="ttdoc">generate a cache </div><div class="ttdef"><b>Definition:</b> cache_manager.c:61</div></div>
<div class="ttc" id="cache__manager_8h_html_aeb3f8c42f00448cd7b3907d8bd516dd8"><div class="ttname"><a href="cache__manager_8h.html#aeb3f8c42f00448cd7b3907d8bd516dd8">update_cachetid</a></div><div class="ttdeci">void update_cachetid(const char *tid, cache_param_t *cache)</div><div class="ttdoc">update tid of a cache </div><div class="ttdef"><b>Definition:</b> cache_manager.c:210</div></div>
<div class="ttc" id="structcache__param_html_a89b857a7eea2ef020774bba91421b47f"><div class="ttname"><a href="structcache__param.html#a89b857a7eea2ef020774bba91421b47f">cache_param::ihdrbox</a></div><div class="ttdeci">ihdrbox_param_t * ihdrbox</div><div class="ttdoc">ihdrbox </div><div class="ttdef"><b>Definition:</b> cache_manager.h:45</div></div>
<div class="ttc" id="cache__manager_8h_html_a87a27aa289a528077e7d77c5c89db5bf"><div class="ttname"><a href="cache__manager_8h.html#a87a27aa289a528077e7d77c5c89db5bf">add_cachecid</a></div><div class="ttdeci">void add_cachecid(const char *cid, cache_param_t *cache)</div><div class="ttdoc">add cid into a cache </div><div class="ttdef"><b>Definition:</b> cache_manager.c:193</div></div>
<div class="ttc" id="cache__manager_8h_html_aaf3ec7928cfc0cfa3888db892d50c20c"><div class="ttname"><a href="cache__manager_8h.html#aaf3ec7928cfc0cfa3888db892d50c20c">print_cache</a></div><div class="ttdeci">void print_cache(cache_param_t *cache)</div><div class="ttdoc">print cache parameters </div><div class="ttdef"><b>Definition:</b> cache_manager.c:267</div></div>
<div class="ttc" id="cache__manager_8h_html_a373dac3fd74b9947e59a095048b18a0a"><div class="ttname"><a href="cache__manager_8h.html#a373dac3fd74b9947e59a095048b18a0a">search_cache</a></div><div class="ttdeci">cache_param_t * search_cache(const char targetname[], cachelist_param_t *cachelist)</div><div class="ttdoc">search a cache by target name </div><div class="ttdef"><b>Definition:</b> cache_manager.c:113</div></div>
<div class="ttc" id="cache__manager_8h_html_a60b3dc9f408f026931faa4589d1e4c1b"><div class="ttname"><a href="cache__manager_8h.html#a60b3dc9f408f026931faa4589d1e4c1b">delete_cachelist</a></div><div class="ttdeci">void delete_cachelist(cachelist_param_t **cachelist)</div><div class="ttdoc">delete cache list </div><div class="ttdef"><b>Definition:</b> cache_manager.c:48</div></div>
<div class="ttc" id="structihdrbox__param_html"><div class="ttname"><a href="structihdrbox__param.html">ihdrbox_param</a></div><div class="ttdoc">I.5.3.1 Image Header box. </div><div class="ttdef"><b>Definition:</b> ihdrbox_manager.h:39</div></div>
<div class="ttc" id="cache__manager_8h_html_ac538e4f629668779ce42d178389c5b7a"><div class="ttname"><a href="cache__manager_8h.html#ac538e4f629668779ce42d178389c5b7a">search_cacheBycid</a></div><div class="ttdeci">cache_param_t * search_cacheBycid(const char cid[], cachelist_param_t *cachelist)</div><div class="ttdoc">search a cache by cid </div><div class="ttdef"><b>Definition:</b> cache_manager.c:151</div></div>
<div class="ttc" id="structcachelist__param_html_a1555171ee1d36bc00c82246c1ea411dd"><div class="ttname"><a href="structcachelist__param.html#a1555171ee1d36bc00c82246c1ea411dd">cachelist_param::first</a></div><div class="ttdeci">cache_param_t * first</div><div class="ttdoc">first cache pointer of the list </div><div class="ttdef"><b>Definition:</b> cache_manager.h:51</div></div>
<div class="ttc" id="structcache__param_html_aea41f0c4553d98f30fbd299e78a637e8"><div class="ttname"><a href="structcache__param.html#aea41f0c4553d98f30fbd299e78a637e8">cache_param::next</a></div><div class="ttdeci">struct cache_param * next</div><div class="ttdoc">pointer to the next cache </div><div class="ttdef"><b>Definition:</b> cache_manager.h:46</div></div>
<div class="ttc" id="structcache__param_html_acc75fa242d285962ff9451c0b875c18c"><div class="ttname"><a href="structcache__param.html#acc75fa242d285962ff9451c0b875c18c">cache_param::numOfcid</a></div><div class="ttdeci">int numOfcid</div><div class="ttdoc">number of cids </div><div class="ttdef"><b>Definition:</b> cache_manager.h:43</div></div>
<div class="ttc" id="cache__manager_8h_html_ad353c885e94af199b74fb9b97d51bbec"><div class="ttname"><a href="cache__manager_8h.html#ad353c885e94af199b74fb9b97d51bbec">cache_param_t</a></div><div class="ttdeci">struct cache_param cache_param_t</div><div class="ttdoc">cache parameters </div></div>
<div class="ttc" id="cache__manager_8h_html_a0de1bb714bff02327255920dfc5bd838"><div class="ttname"><a href="cache__manager_8h.html#a0de1bb714bff02327255920dfc5bd838">gene_cachelist</a></div><div class="ttdeci">cachelist_param_t * gene_cachelist(void)</div><div class="ttdoc">generate a cache list </div><div class="ttdef"><b>Definition:</b> cache_manager.c:36</div></div>
<div class="ttc" id="structmetadatalist__param_html"><div class="ttname"><a href="structmetadatalist__param.html">metadatalist_param</a></div><div class="ttdoc">metadata-bin list parameters </div><div class="ttdef"><b>Definition:</b> metadata_manager.h:54</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>