1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>KLone: codec.h File Reference</title>
<link href="kl.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
<div class="nav">
<a class="el" href="dir_000002.html">klone</a></div>
<h1>codec.h File Reference</h1>
<p>
<a href="codec_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structcodec__s.html">codec_s</a></td></tr>
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef codec_chain_s </td><td class="memItemRight" valign="bottom"><a class="el" href="codec_8h.html#a0">codec_chain_t</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef ssize_t(* </td><td class="memItemRight" valign="bottom"><a class="el" href="codec_8h.html#a1">codec_transform_t</a> )(struct <a class="el" href="structcodec__s.html">codec_s</a> *codec, char *dst, size_t *dst_cnt, const char *src, size_t src_sz)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef ssize_t(* </td><td class="memItemRight" valign="bottom"><a class="el" href="codec_8h.html#a2">codec_flush_t</a> )(struct <a class="el" href="structcodec__s.html">codec_s</a> *codec, char *dst, size_t *dst_cnt)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="codec_8h.html#a3">codec_free_t</a> )(struct <a class="el" href="structcodec__s.html">codec_s</a> *codec)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structcodec__s.html">codec_s</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="codec_8h.html#a4">codec_t</a></td></tr>
<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom">{ <a class="el" href="codec_8h.html#a10a5">CODEC_FLUSH_COMPLETE</a>,
<a class="el" href="codec_8h.html#a10a6">CODEC_FLUSH_CHUNK</a>
}</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom">{ <a class="el" href="codec_8h.html#a11a7">CODEC_BUFSZ</a> = 4096
}</td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="codec_8h.html#a8">TAILQ_HEAD</a> (codec_chain_s, <a class="el" href="structcodec__s.html">codec_s</a>)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__codec__t.html#ga3">codec_free</a> (<a class="el" href="structcodec__s.html">codec_t</a> *codec)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Dispose all the resources allocated to the supplied codec. <a href="group__codec__t.html#ga3"></a><br></td></tr>
</table>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="a0" doxytag="codec.h::codec_chain_t"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">typedef struct codec_chain_s <a class="el" href="codec_8h.html#a0">codec_chain_t</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="codec_8h-source.html#l00028">28</a> of file <a class="el" href="codec_8h-source.html">codec.h</a>. </td>
</tr>
</table>
<a class="anchor" name="a2" doxytag="codec.h::codec_flush_t"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">typedef ssize_t(* <a class="el" href="codec_8h.html#a2">codec_flush_t</a>)(struct <a class="el" href="structcodec__s.html">codec_s</a> *codec, char *dst, size_t *dst_cnt) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="codec_8h-source.html#l00033">33</a> of file <a class="el" href="codec_8h-source.html">codec.h</a>. </td>
</tr>
</table>
<a class="anchor" name="a3" doxytag="codec.h::codec_free_t"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">typedef int(* <a class="el" href="codec_8h.html#a3">codec_free_t</a>)(struct <a class="el" href="structcodec__s.html">codec_s</a> *codec) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="codec_8h-source.html#l00036">36</a> of file <a class="el" href="codec_8h-source.html">codec.h</a>. </td>
</tr>
</table>
<a class="anchor" name="a4" doxytag="codec.h::codec_t"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">typedef struct <a class="el" href="structcodec__s.html">codec_s</a> <a class="el" href="structcodec__s.html">codec_t</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
<p>
Referenced by <a class="el" href="cipher_8c-source.html#l00172">codec_cipher_create()</a>, <a class="el" href="codec_8c-source.html#l00028">codec_free()</a>, <a class="el" href="gzip_8c-source.html#l00142">codec_gzip_create()</a>, <a class="el" href="null_8c-source.html#l00074">codec_null_create()</a>, <a class="el" href="emb_8c-source.html#l00133">emb_open()</a>, <a class="el" href="io_8c-source.html#l00815">io_codec_add_head()</a>, <a class="el" href="io_8c-source.html#l00834">io_codec_add_tail()</a>, <a class="el" href="io_8c-source.html#l00852">io_codecs_remove()</a>, <a class="el" href="rsfilter_8c-source.html#l00199">response_filter_create()</a>, <a class="el" href="session_8c-source.html#l00413">session_prv_load_from_io()</a>, <a class="el" href="session_8c-source.html#l00664">session_prv_save_to_io()</a>, and <a class="el" href="translat_8c-source.html#l00230">translate()</a>. </td>
</tr>
</table>
<a class="anchor" name="a1" doxytag="codec.h::codec_transform_t"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">typedef ssize_t(* <a class="el" href="codec_8h.html#a1">codec_transform_t</a>)(struct <a class="el" href="structcodec__s.html">codec_s</a> *codec, char *dst, size_t *dst_cnt, const char *src, size_t src_sz) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="codec_8h-source.html#l00030">30</a> of file <a class="el" href="codec_8h-source.html">codec.h</a>. </td>
</tr>
</table>
<hr><h2>Enumeration Type Documentation</h2>
<a class="anchor" name="a10" doxytag="codec.h::@14"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">anonymous enum </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="a10a5" doxytag="CODEC_FLUSH_COMPLETE"></a>CODEC_FLUSH_COMPLETE</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a10a6" doxytag="CODEC_FLUSH_CHUNK"></a>CODEC_FLUSH_CHUNK</em> </td><td>
</td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="codec_8h-source.html#l00023">23</a> of file <a class="el" href="codec_8h-source.html">codec.h</a>. </td>
</tr>
</table>
<a class="anchor" name="a11" doxytag="codec.h::@15"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">anonymous enum </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="a11a7" doxytag="CODEC_BUFSZ"></a>CODEC_BUFSZ</em> </td><td>
</td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="codec_8h-source.html#l00025">25</a> of file <a class="el" href="codec_8h-source.html">codec.h</a>. </td>
</tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="a8" doxytag="codec.h::TAILQ_HEAD"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">TAILQ_HEAD </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">codec_chain_s </td>
<td class="mdname" nowrap>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap><a class="el" href="structcodec__s.html">codec_s</a> </td>
<td class="mdname" nowrap></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
</td>
</tr>
</table>
<hr>
<div>
<div style="text-align:left">
<a href="http://www.koanlogic.com/kl/cont/gb/html/products.html">←Products</a>
</div>
<div style="text-align:center;">
© 2005-2006 - <a href="http://www.koanlogic.com">KoanLogic S.r.l.</a> - All rights reserved
</div>
</div>
</body>
</html>
|