<ahref="event_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="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment"> * modification, are permitted provided that the following conditions</span></div>
<divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment"> * are met:</span></div>
<divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment"> * 1. Redistributions of source code must retain 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.</span></div>
<divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div>
<divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer in the</span></div>
<divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment"> * documentation and/or other materials provided with the distribution.</span></div>
<divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'</span></div>
<divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div>
<divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> <spanclass="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div>
<divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div>
<divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> <spanclass="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<divclass="line"><aname="l00030"></a><spanclass="lineno"> 30</span> <spanclass="comment"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<divclass="line"><aname="l00031"></a><spanclass="lineno"> 31</span> <spanclass="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></div>
<divclass="ttc"id="group___e_v_e_n_t_html_ga87d9d4bdfd203ccd8a7522d6f197a3b7"><divclass="ttname"><ahref="group___e_v_e_n_t.html#ga87d9d4bdfd203ccd8a7522d6f197a3b7">opj_event_msg</a></div><divclass="ttdeci">OPJ_BOOL opj_event_msg(opj_event_mgr_t *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="structopj__event__mgr_html_af0954e95dec628614f22a501f2b6ce9b"><divclass="ttname"><ahref="structopj__event__mgr.html#af0954e95dec628614f22a501f2b6ce9b">opj_event_mgr::warning_handler</a></div><divclass="ttdeci">opj_msg_callback warning_handler</div><divclass="ttdoc">Warning message callback if available, NULL otherwise. </div><divclass="ttdef"><b>Definition:</b> event.h:60</div></div>
<divclass="ttc"id="structopj__event__mgr_html_ae86cf70e19e00750bdf4df2fdae4f4b3"><divclass="ttname"><ahref="structopj__event__mgr.html#ae86cf70e19e00750bdf4df2fdae4f4b3">opj_event_mgr::m_warning_data</a></div><divclass="ttdeci">void * m_warning_data</div><divclass="ttdoc">Data to call the event manager upon. </div><divclass="ttdef"><b>Definition:</b> event.h:54</div></div>
<divclass="ttc"id="structopj__event__mgr_html_a9ee0c627fefd37d56e3487af6fc250b6"><divclass="ttname"><ahref="structopj__event__mgr.html#a9ee0c627fefd37d56e3487af6fc250b6">opj_event_mgr::error_handler</a></div><divclass="ttdeci">opj_msg_callback error_handler</div><divclass="ttdoc">Error message callback if available, NULL otherwise. </div><divclass="ttdef"><b>Definition:</b> event.h:58</div></div>
<divclass="ttc"id="group___e_v_e_n_t_html_ga8584de0db0bbc62b70d5cf5089165ef2"><divclass="ttname"><ahref="group___e_v_e_n_t.html#ga8584de0db0bbc62b70d5cf5089165ef2">opj_set_default_event_handler</a></div><divclass="ttdeci">void opj_set_default_event_handler(opj_event_mgr_t *p_manager)</div><divclass="ttdoc">Set the event manager with the default callback function for the 3 levels. </div><divclass="ttdef"><b>Definition:</b> event.c:142</div></div>
<divclass="ttc"id="structopj__event__mgr_html_a914c15d0e74ed08bc54a93664df4402c"><divclass="ttname"><ahref="structopj__event__mgr.html#a914c15d0e74ed08bc54a93664df4402c">opj_event_mgr::m_info_data</a></div><divclass="ttdeci">void * m_info_data</div><divclass="ttdoc">Data to call the event manager upon. </div><divclass="ttdef"><b>Definition:</b> event.h:56</div></div>