<ahref="channel__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="line"><aname="l00047"></a><spanclass="lineno"> 47</span> <spanclass="comment">/* - a record of the client's capabilities and preferences to the extent that the server queues requests*/</span></div>
<divclass="ttc"id="astructcachemodel__param_html"><divclass="ttname"><ahref="structcachemodel__param.html">cachemodel_param</a></div><divclass="ttdoc">Cache model parameters.</div><divclass="ttdef"><b>Definition:</b> cachemodel_manager.h:37</div></div>
<divclass="ttc"id="astructauxtrans__param_html"><divclass="ttname"><ahref="structauxtrans__param.html">auxtrans_param</a></div><divclass="ttdoc">auxiliary transport setting parameters</div><divclass="ttdef"><b>Definition:</b> auxtrans_manager.h:38</div></div>
<divclass="ttc"id="achannel__manager_8c_html_a52a8a4a100b4d92065e3cc59c524b385"><divclass="ttname"><ahref="channel__manager_8c.html#a52a8a4a100b4d92065e3cc59c524b385">print_allchannel</a></div><divclass="ttdeci">void print_allchannel(channellist_param_t *channellist)</div><divclass="ttdoc">print all channel parameters</div><divclass="ttdef"><b>Definition:</b> channel_manager.c:161</div></div>
<divclass="ttc"id="astructchannellist__param_html_abd9d99bfdfdf6512f50adef2d7297b54"><divclass="ttname"><ahref="structchannellist__param.html#abd9d99bfdfdf6512f50adef2d7297b54">channellist_param::first</a></div><divclass="ttdeci">channel_param_t * first</div><divclass="ttdoc">first channel pointer of the list</div><divclass="ttdef"><b>Definition:</b> channel_manager.h:55</div></div>
<divclass="ttc"id="achannel__manager_8c_html_a91fac1c56d2811545d854017eab8c2c9"><divclass="ttname"><ahref="channel__manager_8c.html#a91fac1c56d2811545d854017eab8c2c9">search_channel</a></div><divclass="ttdeci">channel_param_t * search_channel(const char cid[], channellist_param_t *channellist)</div><divclass="ttdoc">search a channel by channel ID</div><divclass="ttdef"><b>Definition:</b> channel_manager.c:173</div></div>
<divclass="ttc"id="achannel__manager_8h_html_aa7cd20c99fb2c7f4e2854b5665f07d31"><divclass="ttname"><ahref="channel__manager_8h.html#aa7cd20c99fb2c7f4e2854b5665f07d31">gene_channellist</a></div><divclass="ttdeci">channellist_param_t * gene_channellist(void)</div><divclass="ttdoc">generate a channel list</div><divclass="ttdef"><b>Definition:</b> channel_manager.c:48</div></div>
<divclass="ttc"id="achannel__manager_8h_html_a3cf71e47fa3aac6af0101b35b1d6748c"><divclass="ttname"><ahref="channel__manager_8h.html#a3cf71e47fa3aac6af0101b35b1d6748c">MAX_LENOFCID</a></div><divclass="ttdeci">#define MAX_LENOFCID</div><divclass="ttdoc">maximum length of channel identifier</div><divclass="ttdef"><b>Definition:</b> channel_manager.h:40</div></div>
<divclass="ttc"id="astructchannellist__param_html_a3eb97d76e4c3af87b0c8858d9900a087"><divclass="ttname"><ahref="structchannellist__param.html#a3eb97d76e4c3af87b0c8858d9900a087">channellist_param::last</a></div><divclass="ttdeci">channel_param_t * last</div><divclass="ttdoc">last channel pointer of the list</div><divclass="ttdef"><b>Definition:</b> channel_manager.h:56</div></div>
<divclass="ttc"id="achannel__manager_8h_html_a3ed3c9030cbc3db6a647d9782bb2eed7"><divclass="ttname"><ahref="channel__manager_8h.html#a3ed3c9030cbc3db6a647d9782bb2eed7">channellist_param_t</a></div><divclass="ttdeci">struct channellist_param channellist_param_t</div><divclass="ttdoc">Channel list parameters.</div></div>
<divclass="ttc"id="achannel__manager_8h_html_a646131823ea1f30bbdfc66e7c43f9e71"><divclass="ttname"><ahref="channel__manager_8h.html#a646131823ea1f30bbdfc66e7c43f9e71">delete_channel</a></div><divclass="ttdeci">void delete_channel(channel_param_t **channel, channellist_param_t *channellist)</div><divclass="ttdoc">delete a channel</div><divclass="ttdef"><b>Definition:</b> channel_manager.c:121</div></div>
<divclass="ttc"id="astructquery__param_html_a86e32626d4bf804f12a89ea205ded896"><divclass="ttname"><ahref="structquery__param.html#a86e32626d4bf804f12a89ea205ded896">query_param::cnew</a></div><divclass="ttdeci">cnew_transport_t cnew</div><divclass="ttdoc">transport name if there is new channel request, else non</div><divclass="ttdef"><b>Definition:</b> query_parser.h:57</div></div>
<divclass="ttc"id="astructcachemodel__param_html_aaad2900a86415256baf4b5a9bf87494a"><divclass="ttname"><ahref="structcachemodel__param.html#aaad2900a86415256baf4b5a9bf87494a">cachemodel_param::target</a></div><divclass="ttdeci">target_param_t * target</div><divclass="ttdoc">reference pointer to the target</div><divclass="ttdef"><b>Definition:</b> cachemodel_manager.h:38</div></div>
<divclass="ttc"id="achannel__manager_8c_html_aa7cd20c99fb2c7f4e2854b5665f07d31"><divclass="ttname"><ahref="channel__manager_8c.html#aa7cd20c99fb2c7f4e2854b5665f07d31">gene_channellist</a></div><divclass="ttdeci">channellist_param_t * gene_channellist(void)</div><divclass="ttdoc">generate a channel list</div><divclass="ttdef"><b>Definition:</b> channel_manager.c:48</div></div>
<divclass="ttc"id="aopj__malloc_8c_html_a9d7d909f8dc1a2c23313c48645341e81"><divclass="ttname"><ahref="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free</a></div><divclass="ttdeci">void opj_free(void *ptr)</div><divclass="ttdoc">Deallocates or frees a memory block.</div><divclass="ttdef"><b>Definition:</b> opj_malloc.c:246</div></div>
<divclass="ttc"id="astructchannel__param_html_a5b4e4343d21cda16eda8e12c4b6bea14"><divclass="ttname"><ahref="structchannel__param.html#a5b4e4343d21cda16eda8e12c4b6bea14">channel_param::next</a></div><divclass="ttdeci">struct channel_param * next</div><divclass="ttdoc">pointer to the next channel</div><divclass="ttdef"><b>Definition:</b> channel_manager.h:49</div></div>
<divclass="ttc"id="astructtarget__param_html_a9b60d04127436a18e722d871e7c0044f"><divclass="ttname"><ahref="structtarget__param.html#a9b60d04127436a18e722d871e7c0044f">target_param::targetname</a></div><divclass="ttdeci">char * targetname</div><divclass="ttdoc">local file path or URL ( URL is supported only with SERVER mode)</div><divclass="ttdef"><b>Definition:</b> target_manager.h:42</div></div>
<divclass="ttc"id="astructchannel__param_html_aaca5428e2c53c76f62d4b96d8a45972a"><divclass="ttname"><ahref="structchannel__param.html#aaca5428e2c53c76f62d4b96d8a45972a">channel_param::cachemodel</a></div><divclass="ttdeci">cachemodel_param_t * cachemodel</div><divclass="ttdoc">reference pointer to the cache model</div><divclass="ttdef"><b>Definition:</b> channel_manager.h:44</div></div>
<divclass="ttc"id="achannel__manager_8c_html_a646131823ea1f30bbdfc66e7c43f9e71"><divclass="ttname"><ahref="channel__manager_8c.html#a646131823ea1f30bbdfc66e7c43f9e71">delete_channel</a></div><divclass="ttdeci">void delete_channel(channel_param_t **channel, channellist_param_t *channellist)</div><divclass="ttdoc">delete a channel</div><divclass="ttdef"><b>Definition:</b> channel_manager.c:121</div></div>
<divclass="ttc"id="achannel__manager_8h_html_ad007e8ea5019112156d30e9de4619a79"><divclass="ttname"><ahref="channel__manager_8h.html#ad007e8ea5019112156d30e9de4619a79">gene_channel</a></div><divclass="ttdeci">channel_param_t * gene_channel(query_param_t query_param, auxtrans_param_t auxtrans, cachemodel_param_t *cachemodel, channellist_param_t *channellist)</div><divclass="ttdoc">generate a channel under the channel list</div><divclass="ttdef"><b>Definition:</b> channel_manager.c:60</div></div>
<divclass="ttc"id="astructchannellist__param_html"><divclass="ttname"><ahref="structchannellist__param.html">channellist_param</a></div><divclass="ttdoc">Channel list parameters.</div><divclass="ttdef"><b>Definition:</b> channel_manager.h:54</div></div>
<divclass="ttc"id="aquery__parser_8h_html_a8c630df3507b2bc17f0a4c10f110e9d8"><divclass="ttname"><ahref="query__parser_8h.html#a8c630df3507b2bc17f0a4c10f110e9d8">cnew_transport_t</a></div><divclass="ttdeci">enum cnew_transport cnew_transport_t</div><divclass="ttdoc">cnew aux transport name</div></div>