<ahref="cache__manager_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/*</span></div>
<divclass="line"><aname="l00009"></a><spanclass="lineno"> 9</span> <spanclass="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="comment"> * modification, are permitted provided that the following conditions</span></div>
<divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> * are met:</span></div>
<divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> * 1. Redistributions of source code must retain the above copyright</span></div>
<divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer.</span></div>
<divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div>
<divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer in the</span></div>
<divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> * documentation and/or other materials provided with the distribution.</span></div>
<divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'</span></div>
<divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div>
<divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div>
<divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div>
<divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> <spanclass="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="comment"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></div>
<divclass="ttc"id="cache__manager_8h_html_a3bd60aac832b765c765eb71211af2e05"><divclass="ttname"><ahref="cache__manager_8h.html#a3bd60aac832b765c765eb71211af2e05">search_cacheBytid</a></div><divclass="ttdeci">cache_param_t * search_cacheBytid(const char tid[], cachelist_param_t *cachelist)</div><divclass="ttdoc">search a cache by tid </div><divclass="ttdef"><b>Definition:</b> cache_manager.c:162</div></div>
<divclass="ttc"id="cache__manager_8h_html_a602fae2adbfa511bccf6f2fad3fe7891"><divclass="ttname"><ahref="cache__manager_8h.html#a602fae2adbfa511bccf6f2fad3fe7891">insert_cache_into_list</a></div><divclass="ttdeci">void insert_cache_into_list(cache_param_t *cache, cachelist_param_t *cachelist)</div><divclass="ttdoc">insert a cache into list </div><divclass="ttdef"><b>Definition:</b> cache_manager.c:100</div></div>
<divclass="ttc"id="structcachelist__param_html_aa67288298eb248dfe68696202b79f009"><divclass="ttname"><ahref="structcachelist__param.html#aa67288298eb248dfe68696202b79f009">cachelist_param::last</a></div><divclass="ttdeci">cache_param_t * last</div><divclass="ttdoc">last cache pointer of the list </div><divclass="ttdef"><b>Definition:</b> cache_manager.h:52</div></div>
<divclass="ttc"id="structcache__param_html_a8f5a0232ef788420480274e68932a8d3"><divclass="ttname"><ahref="structcache__param.html#a8f5a0232ef788420480274e68932a8d3">cache_param::csn</a></div><divclass="ttdeci">int csn</div><divclass="ttdoc">codestream number </div><divclass="ttdef"><b>Definition:</b> cache_manager.h:41</div></div>
<divclass="ttc"id="structcache__param_html_a001b90163246b1af6f7b4e37e9ae53c2"><divclass="ttname"><ahref="structcache__param.html#a001b90163246b1af6f7b4e37e9ae53c2">cache_param::metadatalist</a></div><divclass="ttdeci">metadatalist_param_t * metadatalist</div><divclass="ttdoc">metadata-bin list </div><divclass="ttdef"><b>Definition:</b> cache_manager.h:44</div></div>
<divclass="ttc"id="structcache__param_html_a15739295a73f8bca1a53b4c11f3a855a"><divclass="ttname"><ahref="structcache__param.html#a15739295a73f8bca1a53b4c11f3a855a">cache_param::cid</a></div><divclass="ttdeci">char ** cid</div><divclass="ttdoc">dynamic array of channel identifiers </div><divclass="ttdef"><b>Definition:</b> cache_manager.h:42</div></div>
<divclass="ttc"id="cache__manager_8h_html_aa552e4ceb9be91d6b502419e406907fd"><divclass="ttname"><ahref="cache__manager_8h.html#aa552e4ceb9be91d6b502419e406907fd">delete_cache</a></div><divclass="ttdeci">void delete_cache(cache_param_t **cache)</div><divclass="ttdoc">delete a cache </div><divclass="ttdef"><b>Definition:</b> cache_manager.c:83</div></div>
<divclass="ttc"id="structcache__param_html_a4b1e92d200b2d6f991acfb031024181e"><divclass="ttname"><ahref="structcache__param.html#a4b1e92d200b2d6f991acfb031024181e">cache_param::filename</a></div><divclass="ttdeci">char * filename</div><divclass="ttdoc">file name </div><divclass="ttdef"><b>Definition:</b> cache_manager.h:39</div></div>
<divclass="ttc"id="cache__manager_8h_html_a86ab032b568db30c8763213f221cc760"><divclass="ttname"><ahref="cache__manager_8h.html#a86ab032b568db30c8763213f221cc760">print_allcache</a></div><divclass="ttdeci">void print_allcache(cachelist_param_t *cachelist)</div><divclass="ttdoc">print all cache parameters </div><divclass="ttdef"><b>Definition:</b> cache_manager.c:264</div></div>
<divclass="ttc"id="cache__manager_8h_html_ae673ba42122433300afa3581ed4eb5af"><divclass="ttname"><ahref="cache__manager_8h.html#ae673ba42122433300afa3581ed4eb5af">gene_cache</a></div><divclass="ttdeci">cache_param_t * gene_cache(const char *targetname, int csn, char *tid, char *cid)</div><divclass="ttdoc">generate a cache </div><divclass="ttdef"><b>Definition:</b> cache_manager.c:61</div></div>
<divclass="ttc"id="cache__manager_8h_html_aeb3f8c42f00448cd7b3907d8bd516dd8"><divclass="ttname"><ahref="cache__manager_8h.html#aeb3f8c42f00448cd7b3907d8bd516dd8">update_cachetid</a></div><divclass="ttdeci">void update_cachetid(const char *tid, cache_param_t *cache)</div><divclass="ttdoc">update tid of a cache </div><divclass="ttdef"><b>Definition:</b> cache_manager.c:194</div></div>
<divclass="ttc"id="cache__manager_8h_html_a373dac3fd74b9947e59a095048b18a0a"><divclass="ttname"><ahref="cache__manager_8h.html#a373dac3fd74b9947e59a095048b18a0a">search_cache</a></div><divclass="ttdeci">cache_param_t * search_cache(const char targetname[], cachelist_param_t *cachelist)</div><divclass="ttdoc">search a cache by target name </div><divclass="ttdef"><b>Definition:</b> cache_manager.c:109</div></div>
<divclass="ttc"id="cache__manager_8h_html_a60b3dc9f408f026931faa4589d1e4c1b"><divclass="ttname"><ahref="cache__manager_8h.html#a60b3dc9f408f026931faa4589d1e4c1b">delete_cachelist</a></div><divclass="ttdeci">void delete_cachelist(cachelist_param_t **cachelist)</div><divclass="ttdoc">delete cache list </div><divclass="ttdef"><b>Definition:</b> cache_manager.c:48</div></div>
<divclass="ttc"id="cache__manager_8h_html_ac538e4f629668779ce42d178389c5b7a"><divclass="ttname"><ahref="cache__manager_8h.html#ac538e4f629668779ce42d178389c5b7a">search_cacheBycid</a></div><divclass="ttdeci">cache_param_t * search_cacheBycid(const char cid[], cachelist_param_t *cachelist)</div><divclass="ttdoc">search a cache by cid </div><divclass="ttdef"><b>Definition:</b> cache_manager.c:143</div></div>
<divclass="ttc"id="structcachelist__param_html_a1555171ee1d36bc00c82246c1ea411dd"><divclass="ttname"><ahref="structcachelist__param.html#a1555171ee1d36bc00c82246c1ea411dd">cachelist_param::first</a></div><divclass="ttdeci">cache_param_t * first</div><divclass="ttdoc">first cache pointer of the list </div><divclass="ttdef"><b>Definition:</b> cache_manager.h:51</div></div>
<divclass="ttc"id="structcache__param_html_aea41f0c4553d98f30fbd299e78a637e8"><divclass="ttname"><ahref="structcache__param.html#aea41f0c4553d98f30fbd299e78a637e8">cache_param::next</a></div><divclass="ttdeci">struct cache_param * next</div><divclass="ttdoc">pointer to the next cache </div><divclass="ttdef"><b>Definition:</b> cache_manager.h:46</div></div>
<divclass="ttc"id="structcache__param_html_acc75fa242d285962ff9451c0b875c18c"><divclass="ttname"><ahref="structcache__param.html#acc75fa242d285962ff9451c0b875c18c">cache_param::numOfcid</a></div><divclass="ttdeci">int numOfcid</div><divclass="ttdoc">number of cids </div><divclass="ttdef"><b>Definition:</b> cache_manager.h:43</div></div>
<divclass="ttc"id="cache__manager_8h_html_a0de1bb714bff02327255920dfc5bd838"><divclass="ttname"><ahref="cache__manager_8h.html#a0de1bb714bff02327255920dfc5bd838">gene_cachelist</a></div><divclass="ttdeci">cachelist_param_t * gene_cachelist(void)</div><divclass="ttdoc">generate a cache list </div><divclass="ttdef"><b>Definition:</b> cache_manager.c:36</div></div>
<divclass="ttc"id="structmetadatalist__param_html"><divclass="ttname"><ahref="structmetadatalist__param.html">metadatalist_param</a></div><divclass="ttdoc">metadata-bin list parameters </div><divclass="ttdef"><b>Definition:</b> metadata_manager.h:52</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">