<!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/html;charset=UTF-8"/> <title>libkate: /home/v/Kate/WORK_TREES/kate-sorceress-backup/v/src/kate/src/kate_decode_state.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.0 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <h1>/home/v/Kate/WORK_TREES/kate-sorceress-backup/v/src/kate/src/kate_decode_state.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Copyright (C) 2008 Vincent Penquerc'h.</span> <a name="l00002"></a>00002 <span class="comment"> This file is part of the Kate codec library.</span> <a name="l00003"></a>00003 <span class="comment"> Written by Vincent Penquerc'h.</span> <a name="l00004"></a>00004 <span class="comment"></span> <a name="l00005"></a>00005 <span class="comment"> Use, distribution and reproduction of this library is governed</span> <a name="l00006"></a>00006 <span class="comment"> by a BSD style source license included with this source in the</span> <a name="l00007"></a>00007 <span class="comment"> file 'COPYING'. Please read these terms before distributing. */</span> <a name="l00008"></a>00008 <a name="l00009"></a>00009 <a name="l00010"></a>00010 <span class="preprocessor">#ifndef KATE_kate_decode_state_h_GUARD</span> <a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define KATE_kate_decode_state_h_GUARD</span> <a name="l00012"></a>00012 <span class="preprocessor"></span> <a name="l00013"></a>00013 <span class="preprocessor">#include "kate_internal.h"</span> <a name="l00014"></a>00014 <span class="preprocessor">#include "<a class="code" href="kate_8h.html">kate/kate.h</a>"</span> <a name="l00015"></a>00015 <a name="l00016"></a><a class="code" href="structkate__active__event.html">00016</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structkate__active__event.html">kate_active_event</a> { <a name="l00017"></a>00017 kate_int32_t id; <a name="l00018"></a>00018 kate_int64_t start; <a name="l00019"></a>00019 kate_int64_t end; <a name="l00020"></a>00020 } <a class="code" href="structkate__active__event.html">kate_active_event</a>; <a name="l00021"></a>00021 <a name="l00022"></a><a class="code" href="structkate__decode__state.html">00022</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structkate__decode__state.html">kate_decode_state</a> { <a name="l00023"></a>00023 <a class="code" href="structkate__info.html">kate_info</a> *ki; <a name="l00024"></a>00024 <a class="code" href="structkate__comment.html">kate_comment</a> *kc; <a name="l00025"></a>00025 <a class="code" href="structkate__event.html">kate_event</a> *event; <a name="l00026"></a>00026 <a name="l00027"></a>00027 <span class="keywordtype">size_t</span> n_active_events; <a name="l00028"></a>00028 <a class="code" href="structkate__active__event.html">kate_active_event</a> *active_events; <a name="l00029"></a>00029 } <a class="code" href="structkate__decode__state.html">kate_decode_state</a>; <a name="l00030"></a>00030 <a name="l00031"></a>00031 <span class="keyword">extern</span> <a class="code" href="structkate__decode__state.html">kate_decode_state</a> *kate_decode_state_create(<span class="keywordtype">void</span>) kate_internal; <a name="l00032"></a>00032 extern <span class="keywordtype">int</span> kate_decode_state_clear(<a class="code" href="structkate__decode__state.html">kate_decode_state</a> *kds,const <a class="code" href="structkate__info.html">kate_info</a> *ki,<span class="keywordtype">int</span> new) kate_internal; <a name="l00033"></a>00033 extern <span class="keywordtype">int</span> kate_decode_state_destroy(<a class="code" href="structkate__decode__state.html">kate_decode_state</a> *kds) kate_internal; <a name="l00034"></a>00034 extern <span class="keywordtype">int</span> kate_decode_state_find_event(<a class="code" href="structkate__decode__state.html">kate_decode_state</a> *kds,kate_int32_t <span class="keywordtype">id</span>) kate_internal; <a name="l00035"></a>00035 extern <span class="keywordtype">int</span> kate_decode_state_add_event(<a class="code" href="structkate__decode__state.html">kate_decode_state</a> *kds,const <a class="code" href="structkate__event.html">kate_event</a> *ev) kate_internal; <a name="l00036"></a>00036 extern <span class="keywordtype">int</span> kate_decode_state_flush_events(<a class="code" href="structkate__decode__state.html">kate_decode_state</a> *kds,kate_int64_t granule) kate_internal; <a name="l00037"></a>00037 <a name="l00038"></a>00038 <span class="preprocessor">#endif</span> </pre></div></div> <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Aug 21 13:11:14 2011 for libkate by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.0 </small></address> </body> </html>