<ahref="function__list_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="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> * The copyright in this software is being made available under the 2-clauses</span></div>
<divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment"> * BSD License, included below. This software may be subject to other third</span></div>
<divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> * party and contributor rights, including patent rights, and no such rights</span></div>
<divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment"> * are granted under this license.</span></div>
<divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> * modification, are permitted provided that the following conditions</span></div>
<divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> * are met:</span></div>
<divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment"> * 1. Redistributions of source code must retain the above copyright</span></div>
<divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer.</span></div>
<divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div>
<divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer in the</span></div>
<divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment"> * documentation and/or other materials provided with the distribution.</span></div>
<divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'</span></div>
<divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div>
<divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div>
<divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div>
<divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> <spanclass="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="comment"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> <spanclass="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></div>
<divclass="ttc"id="afunction__list_8h_html_ae39a4783cf450cc32e8d7bea251a6f90"><divclass="ttname"><ahref="function__list_8h.html#ae39a4783cf450cc32e8d7bea251a6f90">opj_procedure_list_destroy</a></div><divclass="ttdeci">void opj_procedure_list_destroy(opj_procedure_list_t *p_list)</div><divclass="ttdoc">Destroys a validation list.</div><divclass="ttdef"><b>Definition:</b> function_list.c:58</div></div>
<divclass="ttc"id="aopj__malloc_8c_html_a3fe08bb7876e393dd04332d049a4d53e"><divclass="ttname"><ahref="opj__malloc_8c.html#a3fe08bb7876e393dd04332d049a4d53e">opj_calloc</a></div><divclass="ttdeci">void * opj_calloc(size_t num, size_t size)</div><divclass="ttdoc">Allocate a memory block with elements initialized to 0.</div><divclass="ttdef"><b>Definition:</b> opj_malloc.c:198</div></div>
<divclass="ttc"id="astructopj__procedure__list_html_ac64b1b06188f14c9f6f0b5136c200ad0"><divclass="ttname"><ahref="structopj__procedure__list.html#ac64b1b06188f14c9f6f0b5136c200ad0">opj_procedure_list::m_nb_max_procedures</a></div><divclass="ttdeci">OPJ_UINT32 m_nb_max_procedures</div><divclass="ttdoc">The number of the array of validation procedures.</div><divclass="ttdef"><b>Definition:</b> function_list.h:65</div></div>
<divclass="ttc"id="afunction__list_8c_html_ae39a4783cf450cc32e8d7bea251a6f90"><divclass="ttname"><ahref="function__list_8c.html#ae39a4783cf450cc32e8d7bea251a6f90">opj_procedure_list_destroy</a></div><divclass="ttdeci">void opj_procedure_list_destroy(opj_procedure_list_t *p_list)</div><divclass="ttdoc">Destroys a validation list.</div><divclass="ttdef"><b>Definition:</b> function_list.c:58</div></div>
<divclass="ttc"id="aevent_8c_html_a80a24e8c6d24861cd2403e48a7c2591e"><divclass="ttname"><ahref="event_8c.html#a80a24e8c6d24861cd2403e48a7c2591e">opj_event_msg</a></div><divclass="ttdeci">OPJ_BOOL opj_event_msg(opj_event_mgr_t *p_event_mgr, OPJ_INT32 event_type, const char *fmt,...)</div><divclass="ttdoc">Write formatted data to a string and send the string to a user callback.</div><divclass="ttdef"><b>Definition:</b> event.c:91</div></div>
<divclass="ttc"id="afunction__list_8h_html_a59b23b53d24723a628ce8e83f0966e78"><divclass="ttname"><ahref="function__list_8h.html#a59b23b53d24723a628ce8e83f0966e78">opj_procedure_list_t</a></div><divclass="ttdeci">struct opj_procedure_list opj_procedure_list_t</div><divclass="ttdoc">A list of procedures.</div></div>
<divclass="ttc"id="afunction__list_8c_html_a24cf23916e23907db588b420f870dbf4"><divclass="ttname"><ahref="function__list_8c.html#a24cf23916e23907db588b420f870dbf4">opj_procedure_list_get_nb_procedures</a></div><divclass="ttdeci">OPJ_UINT32 opj_procedure_list_get_nb_procedures(opj_procedure_list_t *p_validation_list)</div><divclass="ttdoc">Gets the number of validation procedures.</div><divclass="ttdef"><b>Definition:</b> function_list.c:102</div></div>
<divclass="ttc"id="astructopj__event__mgr_html"><divclass="ttname"><ahref="structopj__event__mgr.html">opj_event_mgr</a></div><divclass="ttdoc">Message handler object used for.</div><divclass="ttdef"><b>Definition:</b> event.h:50</div></div>
<divclass="ttc"id="astructopj__procedure__list_html_a289f86770cadb567af4ccf3156fca8c7"><divclass="ttname"><ahref="structopj__procedure__list.html#a289f86770cadb567af4ccf3156fca8c7">opj_procedure_list::m_procedures</a></div><divclass="ttdeci">opj_procedure * m_procedures</div><divclass="ttdoc">The array of procedures.</div><divclass="ttdef"><b>Definition:</b> function_list.h:69</div></div>
<divclass="ttc"id="afunction__list_8h_html_a24cf23916e23907db588b420f870dbf4"><divclass="ttname"><ahref="function__list_8h.html#a24cf23916e23907db588b420f870dbf4">opj_procedure_list_get_nb_procedures</a></div><divclass="ttdeci">OPJ_UINT32 opj_procedure_list_get_nb_procedures(opj_procedure_list_t *p_validation_list)</div><divclass="ttdoc">Gets the number of validation procedures.</div><divclass="ttdef"><b>Definition:</b> function_list.c:102</div></div>
<divclass="ttc"id="afunction__list_8h_html_a5058f9c3fdf2ff44f72c315e571cd153"><divclass="ttname"><ahref="function__list_8h.html#a5058f9c3fdf2ff44f72c315e571cd153">opj_procedure_list_create</a></div><divclass="ttdeci">opj_procedure_list_t * opj_procedure_list_create(void)</div><divclass="ttdoc">Creates a validation list.</div><divclass="ttdef"><b>Definition:</b> function_list.c:39</div></div>
<divclass="ttc"id="astructopj__procedure__list_html_af7aae9f4ec9402a74049bbc439019742"><divclass="ttname"><ahref="structopj__procedure__list.html#af7aae9f4ec9402a74049bbc439019742">opj_procedure_list::m_nb_procedures</a></div><divclass="ttdeci">OPJ_UINT32 m_nb_procedures</div><divclass="ttdoc">The number of validation procedures.</div><divclass="ttdef"><b>Definition:</b> function_list.h:61</div></div>
<divclass="ttc"id="afunction__list_8c_html_ae8846726864247ad8f11ed1be5987e39"><divclass="ttname"><ahref="function__list_8c.html#ae8846726864247ad8f11ed1be5987e39">opj_procedure_list_create</a></div><divclass="ttdeci">opj_procedure_list_t * opj_procedure_list_create()</div><divclass="ttdoc">Creates a validation list.</div><divclass="ttdef"><b>Definition:</b> function_list.c:39</div></div>
<divclass="ttc"id="afunction__list_8c_html_a504334e4d2e64b16372e70f6c7a9d3e2"><divclass="ttname"><ahref="function__list_8c.html#a504334e4d2e64b16372e70f6c7a9d3e2">opj_procedure_list_add_procedure</a></div><divclass="ttdeci">OPJ_BOOL opj_procedure_list_add_procedure(opj_procedure_list_t *p_validation_list, opj_procedure p_procedure, opj_event_mgr_t *p_manager)</div><divclass="ttdoc">Adds a new validation procedure.</div><divclass="ttdef"><b>Definition:</b> function_list.c:70</div></div>
<divclass="ttc"id="afunction__list_8h_html_a0fbe67e6c1863704ac826cd33de8f91b"><divclass="ttname"><ahref="function__list_8h.html#a0fbe67e6c1863704ac826cd33de8f91b">opj_procedure_list_get_first_procedure</a></div><divclass="ttdeci">opj_procedure * opj_procedure_list_get_first_procedure(opj_procedure_list_t *p_validation_list)</div><divclass="ttdoc">Gets the pointer on the first validation procedure.</div><divclass="ttdef"><b>Definition:</b> function_list.c:108</div></div>
<divclass="ttc"id="afunction__list_8c_html_a9db9849fff78faa60392827aabf7e529"><divclass="ttname"><ahref="function__list_8c.html#a9db9849fff78faa60392827aabf7e529">opj_procedure_list_clear</a></div><divclass="ttdeci">void opj_procedure_list_clear(opj_procedure_list_t *p_validation_list)</div><divclass="ttdoc">Clears the list of validation procedures.</div><divclass="ttdef"><b>Definition:</b> function_list.c:114</div></div>
<divclass="ttc"id="afunction__list_8c_html_a8d474095158ba1ed5c673c66c60bd607"><divclass="ttname"><ahref="function__list_8c.html#a8d474095158ba1ed5c673c66c60bd607">OPJ_VALIDATION_SIZE</a></div><divclass="ttdeci">#define OPJ_VALIDATION_SIZE</div><divclass="ttdoc">Default size of the validation list, if not sufficient, data will be reallocated with a double size.</div><divclass="ttdef"><b>Definition:</b> function_list.c:37</div></div>
<divclass="ttc"id="astructopj__procedure__list_html"><divclass="ttname"><ahref="structopj__procedure__list.html">opj_procedure_list</a></div><divclass="ttdoc">A list of procedures.</div><divclass="ttdef"><b>Definition:</b> function_list.h:57</div></div>
<divclass="ttc"id="afunction__list_8c_html_a0fbe67e6c1863704ac826cd33de8f91b"><divclass="ttname"><ahref="function__list_8c.html#a0fbe67e6c1863704ac826cd33de8f91b">opj_procedure_list_get_first_procedure</a></div><divclass="ttdeci">opj_procedure * opj_procedure_list_get_first_procedure(opj_procedure_list_t *p_validation_list)</div><divclass="ttdoc">Gets the pointer on the first validation procedure.</div><divclass="ttdef"><b>Definition:</b> function_list.c:108</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="afunction__list_8h_html_a9db9849fff78faa60392827aabf7e529"><divclass="ttname"><ahref="function__list_8h.html#a9db9849fff78faa60392827aabf7e529">opj_procedure_list_clear</a></div><divclass="ttdeci">void opj_procedure_list_clear(opj_procedure_list_t *p_validation_list)</div><divclass="ttdoc">Clears the list of validation procedures.</div><divclass="ttdef"><b>Definition:</b> function_list.c:114</div></div>
<divclass="ttc"id="afunction__list_8h_html_a504334e4d2e64b16372e70f6c7a9d3e2"><divclass="ttname"><ahref="function__list_8h.html#a504334e4d2e64b16372e70f6c7a9d3e2">opj_procedure_list_add_procedure</a></div><divclass="ttdeci">OPJ_BOOL opj_procedure_list_add_procedure(opj_procedure_list_t *p_validation_list, opj_procedure p_procedure, opj_event_mgr_t *p_manager)</div><divclass="ttdoc">Adds a new validation procedure.</div><divclass="ttdef"><b>Definition:</b> function_list.c:70</div></div>
<divclass="ttc"id="afunction__list_8h_html_ad3262b137c34187dce496329b8a637b9"><divclass="ttname"><ahref="function__list_8h.html#ad3262b137c34187dce496329b8a637b9">opj_procedure</a></div><divclass="ttdeci">void(* opj_procedure)(void)</div><divclass="ttdoc">declare a function pointer</div><divclass="ttdef"><b>Definition:</b> function_list.h:52</div></div>