~ubuntu-branches/ubuntu/natty/evolution-data-server/natty

« back to all changes in this revision

Viewing changes to docs/reference/camel/html/camel-CamelMimeFilterYenc.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-03-01 22:47:15 UTC
  • mfrom: (1.1.77 upstream)
  • Revision ID: james.westby@ubuntu.com-20100301224715-drsxc2y3t8anz3c0
Tags: 2.28.3-0ubuntu1
* New upstream version:
  Bug Fixes:
  - #602723 - Contact list name doesn't get displayed in 'To' dialog 
  - #600322 - assertion failed: (reply == msg) in cs_waitinfo()
              (lp: #455020, #475147)
  - #564727 - Few memory leaks (lp: #305428)
  - #574940 - Always ref returned info from message_info_from_uid 
              (lp: #341909)
  - #429317 - Use the relative URI returned if the server 
              re-directs a request
  - #602820 - Test validity of a book_view before using it in LDAP 
  - #590762 - Recurring google calendar items are not changeable
  - #604236 - Slow GPG processing 
  - #597816 - Do not crash on incorrect parameters used in sexp to SQL 
              (lp: #444177)
  - #604544 - Try Exchange fallback authentication only once 
  - #600778 - Fix --enable-e2k-debug configure option resolution 
  - #260407 - 'endswith' address book search doesn't work 
  - #549221 - (bnc) delete, sync flags immediately
* debian/patches/99_reconfigure.patch:
  - new version update

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>CamelMimeFilterYenc</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
7
7
<link rel="home" href="index.html" title="Camel Reference Manual">
8
8
<link rel="up" href="StreamFilters.html" title="Stream Filters">
9
9
<link rel="prev" href="camel-CamelMimeFilterWindows.html" title="CamelMimeFilterWindows">
10
10
<link rel="next" href="Services.html" title="Services">
11
 
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="classes.html" title="Part I. Camel Classes">
14
 
<link rel="chapter" href="ClassTree.html" title="Class Hierarchy">
15
 
<link rel="chapter" href="Fundamentals.html" title="Fundamentals">
16
 
<link rel="chapter" href="Streams.html" title="Streams">
17
 
<link rel="chapter" href="StreamFilters.html" title="Stream Filters">
18
 
<link rel="chapter" href="Services.html" title="Services">
19
 
<link rel="chapter" href="Filters.html" title="Filters">
20
 
<link rel="chapter" href="Folders.html" title="Folders">
21
 
<link rel="chapter" href="SearchFolders.html" title="Search Folders">
22
 
<link rel="chapter" href="Addresses.html" title="Addresses">
23
 
<link rel="chapter" href="Crypto.html" title="Crypto Contexts">
24
 
<link rel="chapter" href="MIME.html" title="MIME Objects">
25
 
<link rel="chapter" href="Storage.html" title="Metadata Storage">
26
 
<link rel="chapter" href="Utilities.html" title="Utilities">
27
 
<link rel="chapter" href="Deprecated.html" title="Deprecated Objects">
28
 
<link rel="index" href="ix01.html" title="Index">
29
 
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
30
13
</head>
31
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
32
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
39
22
</tr>
40
23
<tr><td colspan="5" class="shortcuts">
41
24
<a href="#camel-CamelMimeFilterYenc.synopsis" class="shortcut">Top</a>
42
 
                 | 
43
 
                <a href="#camel-CamelMimeFilterYenc.description" class="shortcut">Description</a>
 
25
                   | 
 
26
                  <a href="#camel-CamelMimeFilterYenc.description" class="shortcut">Description</a>
44
27
</td></tr>
45
28
</table>
46
 
<div class="refentry" title="CamelMimeFilterYenc">
 
29
<div class="refentry" lang="en">
47
30
<a name="camel-CamelMimeFilterYenc"></a><div class="titlepage"></div>
48
31
<div class="refnamediv"><table width="100%"><tr>
49
32
<td valign="top">
52
35
</td>
53
36
<td valign="top" align="right"></td>
54
37
</tr></table></div>
55
 
<div class="refsynopsisdiv" title="Synopsis">
 
38
<div class="refsynopsisdiv">
56
39
<a name="camel-CamelMimeFilterYenc.synopsis"></a><h2>Synopsis</h2>
57
 
<pre class="synopsis">
58
 
                    <a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc">CamelMimeFilterYenc</a>;
 
40
<pre class="synopsis">                    <a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc">CamelMimeFilterYenc</a>;
59
41
enum                <a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYencDirection" title="enum CamelMimeFilterYencDirection">CamelMimeFilterYencDirection</a>;
60
 
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YDECODE-STATE-INIT--CAPS" title="CAMEL_MIME_YDECODE_STATE_INIT">CAMEL_MIME_YDECODE_STATE_INIT</a>
61
 
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-STATE-INIT--CAPS" title="CAMEL_MIME_YENCODE_STATE_INIT">CAMEL_MIME_YENCODE_STATE_INIT</a>
62
 
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YDECODE-STATE-EOLN--CAPS" title="CAMEL_MIME_YDECODE_STATE_EOLN">CAMEL_MIME_YDECODE_STATE_EOLN</a>
63
 
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YDECODE-STATE-ESCAPE--CAPS" title="CAMEL_MIME_YDECODE_STATE_ESCAPE">CAMEL_MIME_YDECODE_STATE_ESCAPE</a>
64
 
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YDECODE-STATE-BEGIN--CAPS" title="CAMEL_MIME_YDECODE_STATE_BEGIN">CAMEL_MIME_YDECODE_STATE_BEGIN</a>
65
 
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YDECODE-STATE-PART--CAPS" title="CAMEL_MIME_YDECODE_STATE_PART">CAMEL_MIME_YDECODE_STATE_PART</a>
66
 
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YDECODE-STATE-DECODE--CAPS" title="CAMEL_MIME_YDECODE_STATE_DECODE">CAMEL_MIME_YDECODE_STATE_DECODE</a>
67
 
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YDECODE-STATE-END--CAPS" title="CAMEL_MIME_YDECODE_STATE_END">CAMEL_MIME_YDECODE_STATE_END</a>
68
 
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-CRC-INIT--CAPS" title="CAMEL_MIME_YENCODE_CRC_INIT">CAMEL_MIME_YENCODE_CRC_INIT</a>
69
 
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-CRC-FINAL--CAPS" title="CAMEL_MIME_YENCODE_CRC_FINAL()">CAMEL_MIME_YENCODE_CRC_FINAL</a>        (crc)
70
 
<a class="link" href="camel-CamelMimeFilter.html#CamelMimeFilter" title="struct CamelMimeFilter">CamelMimeFilter</a> *   <a class="link" href="camel-CamelMimeFilterYenc.html#camel-mime-filter-yenc-new" title="camel_mime_filter_yenc_new ()">camel_mime_filter_yenc_new</a>          (<a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYencDirection" title="enum CamelMimeFilterYencDirection">CamelMimeFilterYencDirection</a> direction);
71
 
void                <a class="link" href="camel-CamelMimeFilterYenc.html#camel-mime-filter-yenc-set-state" title="camel_mime_filter_yenc_set_state ()">camel_mime_filter_yenc_set_state</a>    (<a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc">CamelMimeFilterYenc</a> *yenc,
72
 
                                                         <a
73
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
74
 
>gint</a> state);
75
 
void                <a class="link" href="camel-CamelMimeFilterYenc.html#camel-mime-filter-yenc-set-crc" title="camel_mime_filter_yenc_set_crc ()">camel_mime_filter_yenc_set_crc</a>      (<a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc">CamelMimeFilterYenc</a> *yenc,
76
 
                                                         <a
77
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
78
 
>guint32</a> crc);
79
 
<a
80
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
81
 
>guint32</a>             <a class="link" href="camel-CamelMimeFilterYenc.html#camel-mime-filter-yenc-get-pcrc" title="camel_mime_filter_yenc_get_pcrc ()">camel_mime_filter_yenc_get_pcrc</a>     (<a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc">CamelMimeFilterYenc</a> *yenc);
82
 
<a
83
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
84
 
>guint32</a>             <a class="link" href="camel-CamelMimeFilterYenc.html#camel-mime-filter-yenc-get-crc" title="camel_mime_filter_yenc_get_crc ()">camel_mime_filter_yenc_get_crc</a>      (<a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc">CamelMimeFilterYenc</a> *yenc);
85
 
<a
86
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"
87
 
>gsize</a>               <a class="link" href="camel-CamelMimeFilterYenc.html#camel-ydecode-step" title="camel_ydecode_step ()">camel_ydecode_step</a>                  (const <a
88
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
89
 
>guchar</a> *in,
90
 
                                                         <a
91
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"
92
 
>gsize</a> inlen,
93
 
                                                         <a
94
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
95
 
>guchar</a> *out,
96
 
                                                         <a
97
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
98
 
>gint</a> *state,
99
 
                                                         <a
100
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
101
 
>guint32</a> *pcrc,
102
 
                                                         <a
103
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
104
 
>guint32</a> *crc);
105
 
<a
106
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"
107
 
>gsize</a>               <a class="link" href="camel-CamelMimeFilterYenc.html#camel-yencode-step" title="camel_yencode_step ()">camel_yencode_step</a>                  (const <a
108
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
109
 
>guchar</a> *in,
110
 
                                                         <a
111
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"
112
 
>gsize</a> inlen,
113
 
                                                         <a
114
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
115
 
>guchar</a> *out,
116
 
                                                         <a
117
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
118
 
>gint</a> *state,
119
 
                                                         <a
120
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
121
 
>guint32</a> *pcrc,
122
 
                                                         <a
123
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
124
 
>guint32</a> *crc);
125
 
<a
126
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"
127
 
>gsize</a>               <a class="link" href="camel-CamelMimeFilterYenc.html#camel-yencode-close" title="camel_yencode_close ()">camel_yencode_close</a>                 (const <a
128
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
129
 
>guchar</a> *in,
130
 
                                                         <a
131
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"
132
 
>gsize</a> inlen,
133
 
                                                         <a
134
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
135
 
>guchar</a> *out,
136
 
                                                         <a
137
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
138
 
>gint</a> *state,
139
 
                                                         <a
140
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
141
 
>guint32</a> *pcrc,
142
 
                                                         <a
143
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
144
 
>guint32</a> *crc);
 
42
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YDECODE-STATE-INIT:CAPS" title="CAMEL_MIME_YDECODE_STATE_INIT">CAMEL_MIME_YDECODE_STATE_INIT</a>
 
43
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-STATE-INIT:CAPS" title="CAMEL_MIME_YENCODE_STATE_INIT">CAMEL_MIME_YENCODE_STATE_INIT</a>
 
44
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YDECODE-STATE-EOLN:CAPS" title="CAMEL_MIME_YDECODE_STATE_EOLN">CAMEL_MIME_YDECODE_STATE_EOLN</a>
 
45
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YDECODE-STATE-ESCAPE:CAPS" title="CAMEL_MIME_YDECODE_STATE_ESCAPE">CAMEL_MIME_YDECODE_STATE_ESCAPE</a>
 
46
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YDECODE-STATE-BEGIN:CAPS" title="CAMEL_MIME_YDECODE_STATE_BEGIN">CAMEL_MIME_YDECODE_STATE_BEGIN</a>
 
47
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YDECODE-STATE-PART:CAPS" title="CAMEL_MIME_YDECODE_STATE_PART">CAMEL_MIME_YDECODE_STATE_PART</a>
 
48
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YDECODE-STATE-DECODE:CAPS" title="CAMEL_MIME_YDECODE_STATE_DECODE">CAMEL_MIME_YDECODE_STATE_DECODE</a>
 
49
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YDECODE-STATE-END:CAPS" title="CAMEL_MIME_YDECODE_STATE_END">CAMEL_MIME_YDECODE_STATE_END</a>
 
50
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-CRC-INIT:CAPS" title="CAMEL_MIME_YENCODE_CRC_INIT">CAMEL_MIME_YENCODE_CRC_INIT</a>
 
51
#define             <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-CRC-FINAL:CAPS" title="CAMEL_MIME_YENCODE_CRC_FINAL()">CAMEL_MIME_YENCODE_CRC_FINAL</a>        (crc)
 
52
<a class="link" href="camel-CamelMimeFilter.html#CamelMimeFilter" title="struct CamelMimeFilter"><span class="returnvalue">CamelMimeFilter</span></a> *   <a class="link" href="camel-CamelMimeFilterYenc.html#camel-mime-filter-yenc-new" title="camel_mime_filter_yenc_new ()">camel_mime_filter_yenc_new</a>          (<em class="parameter"><code><a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYencDirection" title="enum CamelMimeFilterYencDirection"><span class="type">CamelMimeFilterYencDirection</span></a> direction</code></em>);
 
53
<span class="returnvalue">void</span>                <a class="link" href="camel-CamelMimeFilterYenc.html#camel-mime-filter-yenc-set-state" title="camel_mime_filter_yenc_set_state ()">camel_mime_filter_yenc_set_state</a>    (<em class="parameter"><code><a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc"><span class="type">CamelMimeFilterYenc</span></a> *yenc</code></em>,
 
54
                                                         <em class="parameter"><code><span class="type">gint</span> state</code></em>);
 
55
<span class="returnvalue">void</span>                <a class="link" href="camel-CamelMimeFilterYenc.html#camel-mime-filter-yenc-set-crc" title="camel_mime_filter_yenc_set_crc ()">camel_mime_filter_yenc_set_crc</a>      (<em class="parameter"><code><a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc"><span class="type">CamelMimeFilterYenc</span></a> *yenc</code></em>,
 
56
                                                         <em class="parameter"><code><span class="type">guint32</span> crc</code></em>);
 
57
<span class="returnvalue">guint32</span>             <a class="link" href="camel-CamelMimeFilterYenc.html#camel-mime-filter-yenc-get-pcrc" title="camel_mime_filter_yenc_get_pcrc ()">camel_mime_filter_yenc_get_pcrc</a>     (<em class="parameter"><code><a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc"><span class="type">CamelMimeFilterYenc</span></a> *yenc</code></em>);
 
58
<span class="returnvalue">guint32</span>             <a class="link" href="camel-CamelMimeFilterYenc.html#camel-mime-filter-yenc-get-crc" title="camel_mime_filter_yenc_get_crc ()">camel_mime_filter_yenc_get_crc</a>      (<em class="parameter"><code><a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc"><span class="type">CamelMimeFilterYenc</span></a> *yenc</code></em>);
 
59
<span class="returnvalue">gsize</span>               <a class="link" href="camel-CamelMimeFilterYenc.html#camel-ydecode-step" title="camel_ydecode_step ()">camel_ydecode_step</a>                  (<em class="parameter"><code>const <span class="type">guchar</span> *in</code></em>,
 
60
                                                         <em class="parameter"><code><span class="type">gsize</span> inlen</code></em>,
 
61
                                                         <em class="parameter"><code><span class="type">guchar</span> *out</code></em>,
 
62
                                                         <em class="parameter"><code><span class="type">gint</span> *state</code></em>,
 
63
                                                         <em class="parameter"><code><span class="type">guint32</span> *pcrc</code></em>,
 
64
                                                         <em class="parameter"><code><span class="type">guint32</span> *crc</code></em>);
 
65
<span class="returnvalue">gsize</span>               <a class="link" href="camel-CamelMimeFilterYenc.html#camel-yencode-step" title="camel_yencode_step ()">camel_yencode_step</a>                  (<em class="parameter"><code>const <span class="type">guchar</span> *in</code></em>,
 
66
                                                         <em class="parameter"><code><span class="type">gsize</span> inlen</code></em>,
 
67
                                                         <em class="parameter"><code><span class="type">guchar</span> *out</code></em>,
 
68
                                                         <em class="parameter"><code><span class="type">gint</span> *state</code></em>,
 
69
                                                         <em class="parameter"><code><span class="type">guint32</span> *pcrc</code></em>,
 
70
                                                         <em class="parameter"><code><span class="type">guint32</span> *crc</code></em>);
 
71
<span class="returnvalue">gsize</span>               <a class="link" href="camel-CamelMimeFilterYenc.html#camel-yencode-close" title="camel_yencode_close ()">camel_yencode_close</a>                 (<em class="parameter"><code>const <span class="type">guchar</span> *in</code></em>,
 
72
                                                         <em class="parameter"><code><span class="type">gsize</span> inlen</code></em>,
 
73
                                                         <em class="parameter"><code><span class="type">guchar</span> *out</code></em>,
 
74
                                                         <em class="parameter"><code><span class="type">gint</span> *state</code></em>,
 
75
                                                         <em class="parameter"><code><span class="type">guint32</span> *pcrc</code></em>,
 
76
                                                         <em class="parameter"><code><span class="type">guint32</span> *crc</code></em>);
145
77
</pre>
146
78
</div>
147
 
<div class="refsect1" title="Description">
 
79
<div class="refsect1" lang="en">
148
80
<a name="camel-CamelMimeFilterYenc.description"></a><h2>Description</h2>
149
81
<p>
150
82
</p>
151
83
</div>
152
 
<div class="refsect1" title="Details">
 
84
<div class="refsect1" lang="en">
153
85
<a name="camel-CamelMimeFilterYenc.details"></a><h2>Details</h2>
154
 
<div class="refsect2" title="CamelMimeFilterYenc">
 
86
<div class="refsect2" lang="en">
155
87
<a name="CamelMimeFilterYenc"></a><h3>CamelMimeFilterYenc</h3>
156
88
<pre class="programlisting">typedef struct {
157
89
        CamelMimeFilter parent_object;
169
101
</p>
170
102
</div>
171
103
<hr>
172
 
<div class="refsect2" title="enum CamelMimeFilterYencDirection">
 
104
<div class="refsect2" lang="en">
173
105
<a name="CamelMimeFilterYencDirection"></a><h3>enum CamelMimeFilterYencDirection</h3>
174
106
<pre class="programlisting">typedef enum {
175
107
        CAMEL_MIME_FILTER_YENC_DIRECTION_ENCODE,
180
112
</p>
181
113
</div>
182
114
<hr>
183
 
<div class="refsect2" title="CAMEL_MIME_YDECODE_STATE_INIT">
184
 
<a name="CAMEL-MIME-YDECODE-STATE-INIT--CAPS"></a><h3>CAMEL_MIME_YDECODE_STATE_INIT</h3>
 
115
<div class="refsect2" lang="en">
 
116
<a name="CAMEL-MIME-YDECODE-STATE-INIT:CAPS"></a><h3>CAMEL_MIME_YDECODE_STATE_INIT</h3>
185
117
<pre class="programlisting">#define CAMEL_MIME_YDECODE_STATE_INIT     (0)
186
118
</pre>
187
119
<p>
188
120
</p>
189
121
</div>
190
122
<hr>
191
 
<div class="refsect2" title="CAMEL_MIME_YENCODE_STATE_INIT">
192
 
<a name="CAMEL-MIME-YENCODE-STATE-INIT--CAPS"></a><h3>CAMEL_MIME_YENCODE_STATE_INIT</h3>
 
123
<div class="refsect2" lang="en">
 
124
<a name="CAMEL-MIME-YENCODE-STATE-INIT:CAPS"></a><h3>CAMEL_MIME_YENCODE_STATE_INIT</h3>
193
125
<pre class="programlisting">#define CAMEL_MIME_YENCODE_STATE_INIT     (0)
194
126
</pre>
195
127
<p>
196
128
</p>
197
129
</div>
198
130
<hr>
199
 
<div class="refsect2" title="CAMEL_MIME_YDECODE_STATE_EOLN">
200
 
<a name="CAMEL-MIME-YDECODE-STATE-EOLN--CAPS"></a><h3>CAMEL_MIME_YDECODE_STATE_EOLN</h3>
 
131
<div class="refsect2" lang="en">
 
132
<a name="CAMEL-MIME-YDECODE-STATE-EOLN:CAPS"></a><h3>CAMEL_MIME_YDECODE_STATE_EOLN</h3>
201
133
<pre class="programlisting">#define CAMEL_MIME_YDECODE_STATE_EOLN     (1 &lt;&lt; 8)
202
134
</pre>
203
135
<p>
204
136
</p>
205
137
</div>
206
138
<hr>
207
 
<div class="refsect2" title="CAMEL_MIME_YDECODE_STATE_ESCAPE">
208
 
<a name="CAMEL-MIME-YDECODE-STATE-ESCAPE--CAPS"></a><h3>CAMEL_MIME_YDECODE_STATE_ESCAPE</h3>
 
139
<div class="refsect2" lang="en">
 
140
<a name="CAMEL-MIME-YDECODE-STATE-ESCAPE:CAPS"></a><h3>CAMEL_MIME_YDECODE_STATE_ESCAPE</h3>
209
141
<pre class="programlisting">#define CAMEL_MIME_YDECODE_STATE_ESCAPE   (1 &lt;&lt; 9)
210
142
</pre>
211
143
<p>
212
144
</p>
213
145
</div>
214
146
<hr>
215
 
<div class="refsect2" title="CAMEL_MIME_YDECODE_STATE_BEGIN">
216
 
<a name="CAMEL-MIME-YDECODE-STATE-BEGIN--CAPS"></a><h3>CAMEL_MIME_YDECODE_STATE_BEGIN</h3>
 
147
<div class="refsect2" lang="en">
 
148
<a name="CAMEL-MIME-YDECODE-STATE-BEGIN:CAPS"></a><h3>CAMEL_MIME_YDECODE_STATE_BEGIN</h3>
217
149
<pre class="programlisting">#define CAMEL_MIME_YDECODE_STATE_BEGIN    (1 &lt;&lt; 12)
218
150
</pre>
219
151
<p>
220
152
</p>
221
153
</div>
222
154
<hr>
223
 
<div class="refsect2" title="CAMEL_MIME_YDECODE_STATE_PART">
224
 
<a name="CAMEL-MIME-YDECODE-STATE-PART--CAPS"></a><h3>CAMEL_MIME_YDECODE_STATE_PART</h3>
 
155
<div class="refsect2" lang="en">
 
156
<a name="CAMEL-MIME-YDECODE-STATE-PART:CAPS"></a><h3>CAMEL_MIME_YDECODE_STATE_PART</h3>
225
157
<pre class="programlisting">#define CAMEL_MIME_YDECODE_STATE_PART     (1 &lt;&lt; 13)
226
158
</pre>
227
159
<p>
228
160
</p>
229
161
</div>
230
162
<hr>
231
 
<div class="refsect2" title="CAMEL_MIME_YDECODE_STATE_DECODE">
232
 
<a name="CAMEL-MIME-YDECODE-STATE-DECODE--CAPS"></a><h3>CAMEL_MIME_YDECODE_STATE_DECODE</h3>
 
163
<div class="refsect2" lang="en">
 
164
<a name="CAMEL-MIME-YDECODE-STATE-DECODE:CAPS"></a><h3>CAMEL_MIME_YDECODE_STATE_DECODE</h3>
233
165
<pre class="programlisting">#define CAMEL_MIME_YDECODE_STATE_DECODE   (1 &lt;&lt; 14)
234
166
</pre>
235
167
<p>
236
168
</p>
237
169
</div>
238
170
<hr>
239
 
<div class="refsect2" title="CAMEL_MIME_YDECODE_STATE_END">
240
 
<a name="CAMEL-MIME-YDECODE-STATE-END--CAPS"></a><h3>CAMEL_MIME_YDECODE_STATE_END</h3>
 
171
<div class="refsect2" lang="en">
 
172
<a name="CAMEL-MIME-YDECODE-STATE-END:CAPS"></a><h3>CAMEL_MIME_YDECODE_STATE_END</h3>
241
173
<pre class="programlisting">#define CAMEL_MIME_YDECODE_STATE_END      (1 &lt;&lt; 15)
242
174
</pre>
243
175
<p>
244
176
</p>
245
177
</div>
246
178
<hr>
247
 
<div class="refsect2" title="CAMEL_MIME_YENCODE_CRC_INIT">
248
 
<a name="CAMEL-MIME-YENCODE-CRC-INIT--CAPS"></a><h3>CAMEL_MIME_YENCODE_CRC_INIT</h3>
 
179
<div class="refsect2" lang="en">
 
180
<a name="CAMEL-MIME-YENCODE-CRC-INIT:CAPS"></a><h3>CAMEL_MIME_YENCODE_CRC_INIT</h3>
249
181
<pre class="programlisting">#define CAMEL_MIME_YENCODE_CRC_INIT       (~0)
250
182
</pre>
251
183
<p>
252
184
</p>
253
185
</div>
254
186
<hr>
255
 
<div class="refsect2" title="CAMEL_MIME_YENCODE_CRC_FINAL()">
256
 
<a name="CAMEL-MIME-YENCODE-CRC-FINAL--CAPS"></a><h3>CAMEL_MIME_YENCODE_CRC_FINAL()</h3>
 
187
<div class="refsect2" lang="en">
 
188
<a name="CAMEL-MIME-YENCODE-CRC-FINAL:CAPS"></a><h3>CAMEL_MIME_YENCODE_CRC_FINAL()</h3>
257
189
<pre class="programlisting">#define CAMEL_MIME_YENCODE_CRC_FINAL(crc) (~crc)
258
190
</pre>
259
191
<p>
268
200
</table></div>
269
201
</div>
270
202
<hr>
271
 
<div class="refsect2" title="camel_mime_filter_yenc_new ()">
 
203
<div class="refsect2" lang="en">
272
204
<a name="camel-mime-filter-yenc-new"></a><h3>camel_mime_filter_yenc_new ()</h3>
273
 
<pre class="programlisting"><a class="link" href="camel-CamelMimeFilter.html#CamelMimeFilter" title="struct CamelMimeFilter">CamelMimeFilter</a> *   camel_mime_filter_yenc_new          (<a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYencDirection" title="enum CamelMimeFilterYencDirection">CamelMimeFilterYencDirection</a> direction);</pre>
 
205
<pre class="programlisting"><a class="link" href="camel-CamelMimeFilter.html#CamelMimeFilter" title="struct CamelMimeFilter"><span class="returnvalue">CamelMimeFilter</span></a> *   camel_mime_filter_yenc_new          (<em class="parameter"><code><a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYencDirection" title="enum CamelMimeFilterYencDirection"><span class="type">CamelMimeFilterYencDirection</span></a> direction</code></em>);</pre>
274
206
<p>
275
207
Create a new <a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc"><span class="type">CamelMimeFilterYenc</span></a> filter object.</p>
276
 
<p>
277
 
</p>
278
208
<div class="variablelist"><table border="0">
279
209
<col align="left" valign="top">
280
210
<tbody>
281
211
<tr>
282
212
<td><p><span class="term"><em class="parameter"><code>direction</code></em> :</span></p></td>
283
 
<td> encode direction
 
213
<td>encode direction
284
214
</td>
285
215
</tr>
286
216
<tr>
292
222
</table></div>
293
223
</div>
294
224
<hr>
295
 
<div class="refsect2" title="camel_mime_filter_yenc_set_state ()">
 
225
<div class="refsect2" lang="en">
296
226
<a name="camel-mime-filter-yenc-set-state"></a><h3>camel_mime_filter_yenc_set_state ()</h3>
297
 
<pre class="programlisting">void                camel_mime_filter_yenc_set_state    (<a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc">CamelMimeFilterYenc</a> *yenc,
298
 
                                                         <a
299
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
300
 
>gint</a> state);</pre>
 
227
<pre class="programlisting"><span class="returnvalue">void</span>                camel_mime_filter_yenc_set_state    (<em class="parameter"><code><a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc"><span class="type">CamelMimeFilterYenc</span></a> *yenc</code></em>,
 
228
                                                         <em class="parameter"><code><span class="type">gint</span> state</code></em>);</pre>
301
229
<p>
302
230
Sets the current state of the yencoder/ydecoder</p>
303
 
<p>
304
 
</p>
305
231
<div class="variablelist"><table border="0">
306
232
<col align="left" valign="top">
307
233
<tbody>
308
234
<tr>
309
235
<td><p><span class="term"><em class="parameter"><code>yenc</code></em> :</span></p></td>
310
 
<td> a <a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc"><span class="type">CamelMimeFilterYenc</span></a> object
 
236
<td>a <a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc"><span class="type">CamelMimeFilterYenc</span></a> object
311
237
</td>
312
238
</tr>
313
239
<tr>
314
240
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
315
 
<td> encode/decode state
 
241
<td>encode/decode state
316
242
</td>
317
243
</tr>
318
244
</tbody>
319
245
</table></div>
320
246
</div>
321
247
<hr>
322
 
<div class="refsect2" title="camel_mime_filter_yenc_set_crc ()">
 
248
<div class="refsect2" lang="en">
323
249
<a name="camel-mime-filter-yenc-set-crc"></a><h3>camel_mime_filter_yenc_set_crc ()</h3>
324
 
<pre class="programlisting">void                camel_mime_filter_yenc_set_crc      (<a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc">CamelMimeFilterYenc</a> *yenc,
325
 
                                                         <a
326
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
327
 
>guint32</a> crc);</pre>
 
250
<pre class="programlisting"><span class="returnvalue">void</span>                camel_mime_filter_yenc_set_crc      (<em class="parameter"><code><a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc"><span class="type">CamelMimeFilterYenc</span></a> *yenc</code></em>,
 
251
                                                         <em class="parameter"><code><span class="type">guint32</span> crc</code></em>);</pre>
328
252
<p>
329
253
Sets the current crc32 value on the yEnc filter <em class="parameter"><code>yenc</code></em> to <em class="parameter"><code>crc</code></em>.</p>
330
 
<p>
331
 
</p>
332
254
<div class="variablelist"><table border="0">
333
255
<col align="left" valign="top">
334
256
<tbody>
335
257
<tr>
336
258
<td><p><span class="term"><em class="parameter"><code>yenc</code></em> :</span></p></td>
337
 
<td> a <a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc"><span class="type">CamelMimeFilterYenc</span></a> object
 
259
<td>a <a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc"><span class="type">CamelMimeFilterYenc</span></a> object
338
260
</td>
339
261
</tr>
340
262
<tr>
341
263
<td><p><span class="term"><em class="parameter"><code>crc</code></em> :</span></p></td>
342
 
<td> crc32 value
 
264
<td>crc32 value
343
265
</td>
344
266
</tr>
345
267
</tbody>
346
268
</table></div>
347
269
</div>
348
270
<hr>
349
 
<div class="refsect2" title="camel_mime_filter_yenc_get_pcrc ()">
 
271
<div class="refsect2" lang="en">
350
272
<a name="camel-mime-filter-yenc-get-pcrc"></a><h3>camel_mime_filter_yenc_get_pcrc ()</h3>
351
 
<pre class="programlisting"><a
352
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
353
 
>guint32</a>             camel_mime_filter_yenc_get_pcrc     (<a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc">CamelMimeFilterYenc</a> *yenc);</pre>
354
 
<p>
355
 
Get the computed part crc or (<a
356
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
357
 
><span class="type">guint32</span></a>) <code class="literal">-1</code> on fail.</p>
358
 
<p>
359
 
</p>
 
273
<pre class="programlisting"><span class="returnvalue">guint32</span>             camel_mime_filter_yenc_get_pcrc     (<em class="parameter"><code><a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc"><span class="type">CamelMimeFilterYenc</span></a> *yenc</code></em>);</pre>
 
274
<p>
 
275
Get the computed part crc or (<span class="type">guint32</span>) <code class="literal">-1</code> on fail.</p>
360
276
<div class="variablelist"><table border="0">
361
277
<col align="left" valign="top">
362
278
<tbody>
363
279
<tr>
364
280
<td><p><span class="term"><em class="parameter"><code>yenc</code></em> :</span></p></td>
365
 
<td> a <a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc"><span class="type">CamelMimeFilterYenc</span></a> object
 
281
<td>a <a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc"><span class="type">CamelMimeFilterYenc</span></a> object
366
282
</td>
367
283
</tr>
368
284
<tr>
369
285
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
370
 
<td> the computed part crc or (<a
371
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
372
 
><span class="type">guint32</span></a>) <code class="literal">-1</code> on fail.
 
286
<td> the computed part crc or (<span class="type">guint32</span>) <code class="literal">-1</code> on fail.
373
287
</td>
374
288
</tr>
375
289
</tbody>
376
290
</table></div>
377
291
</div>
378
292
<hr>
379
 
<div class="refsect2" title="camel_mime_filter_yenc_get_crc ()">
 
293
<div class="refsect2" lang="en">
380
294
<a name="camel-mime-filter-yenc-get-crc"></a><h3>camel_mime_filter_yenc_get_crc ()</h3>
381
 
<pre class="programlisting"><a
382
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
383
 
>guint32</a>             camel_mime_filter_yenc_get_crc      (<a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc">CamelMimeFilterYenc</a> *yenc);</pre>
384
 
<p>
385
 
Get the computed crc or (<a
386
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
387
 
><span class="type">guint32</span></a>) -1 on fail.</p>
388
 
<p>
389
 
</p>
 
295
<pre class="programlisting"><span class="returnvalue">guint32</span>             camel_mime_filter_yenc_get_crc      (<em class="parameter"><code><a class="link" href="camel-CamelMimeFilterYenc.html#CamelMimeFilterYenc" title="CamelMimeFilterYenc"><span class="type">CamelMimeFilterYenc</span></a> *yenc</code></em>);</pre>
 
296
<p>
 
297
Get the computed crc or (<span class="type">guint32</span>) -1 on fail.</p>
390
298
<div class="variablelist"><table border="0">
391
299
<col align="left" valign="top">
392
300
<tbody>
393
301
<tr>
394
302
<td><p><span class="term"><em class="parameter"><code>yenc</code></em> :</span></p></td>
395
 
<td> a <span class="type">CamelMimeFiletrYenc</span> object
 
303
<td>a <span class="type">CamelMimeFiletrYenc</span> object
396
304
</td>
397
305
</tr>
398
306
<tr>
399
307
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
400
 
<td> the computed crc or (<a
401
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
402
 
><span class="type">guint32</span></a>) -1 on fail.
 
308
<td> the computed crc or (<span class="type">guint32</span>) -1 on fail.
403
309
</td>
404
310
</tr>
405
311
</tbody>
406
312
</table></div>
407
313
</div>
408
314
<hr>
409
 
<div class="refsect2" title="camel_ydecode_step ()">
 
315
<div class="refsect2" lang="en">
410
316
<a name="camel-ydecode-step"></a><h3>camel_ydecode_step ()</h3>
411
 
<pre class="programlisting"><a
412
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"
413
 
>gsize</a>               camel_ydecode_step                  (const <a
414
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
415
 
>guchar</a> *in,
416
 
                                                         <a
417
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"
418
 
>gsize</a> inlen,
419
 
                                                         <a
420
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
421
 
>guchar</a> *out,
422
 
                                                         <a
423
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
424
 
>gint</a> *state,
425
 
                                                         <a
426
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
427
 
>guint32</a> *pcrc,
428
 
                                                         <a
429
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
430
 
>guint32</a> *crc);</pre>
 
317
<pre class="programlisting"><span class="returnvalue">gsize</span>               camel_ydecode_step                  (<em class="parameter"><code>const <span class="type">guchar</span> *in</code></em>,
 
318
                                                         <em class="parameter"><code><span class="type">gsize</span> inlen</code></em>,
 
319
                                                         <em class="parameter"><code><span class="type">guchar</span> *out</code></em>,
 
320
                                                         <em class="parameter"><code><span class="type">gint</span> *state</code></em>,
 
321
                                                         <em class="parameter"><code><span class="type">guint32</span> *pcrc</code></em>,
 
322
                                                         <em class="parameter"><code><span class="type">guint32</span> *crc</code></em>);</pre>
431
323
<p>
432
324
Performs a 'decode step' on a chunk of yEncoded data of length
433
325
<em class="parameter"><code>inlen</code></em> pointed to by <em class="parameter"><code>in</code></em> and writes to <em class="parameter"><code>out</code></em>. Assumes the =ybegin
434
326
and =ypart lines have already been stripped off.
435
327
</p>
436
328
<p>
437
 
To get the crc32 value of the part, use <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-CRC-FINAL--CAPS" title="CAMEL_MIME_YENCODE_CRC_FINAL()"><span class="type">CAMEL_MIME_YENCODE_CRC_FINAL</span></a>
 
329
To get the crc32 value of the part, use <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-CRC-FINAL:CAPS" title="CAMEL_MIME_YENCODE_CRC_FINAL()"><span class="type">CAMEL_MIME_YENCODE_CRC_FINAL</span></a>
438
330
(<em class="parameter"><code>pcrc</code></em>). If there are more parts, you should reuse <em class="parameter"><code>crc</code></em> without
439
331
re-initializing. Once all parts have been decoded, you may get the
440
 
combined crc32 value of all the parts using <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-CRC-FINAL--CAPS" title="CAMEL_MIME_YENCODE_CRC_FINAL()"><span class="type">CAMEL_MIME_YENCODE_CRC_FINAL</span></a>
 
332
combined crc32 value of all the parts using <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-CRC-FINAL:CAPS" title="CAMEL_MIME_YENCODE_CRC_FINAL()"><span class="type">CAMEL_MIME_YENCODE_CRC_FINAL</span></a>
441
333
(<em class="parameter"><code>crc</code></em>).</p>
442
 
<p>
443
 
</p>
444
334
<div class="variablelist"><table border="0">
445
335
<col align="left" valign="top">
446
336
<tbody>
447
337
<tr>
448
338
<td><p><span class="term"><em class="parameter"><code>in</code></em> :</span></p></td>
449
 
<td> input buffer
 
339
<td>input buffer
450
340
</td>
451
341
</tr>
452
342
<tr>
453
343
<td><p><span class="term"><em class="parameter"><code>inlen</code></em> :</span></p></td>
454
 
<td> input buffer length
 
344
<td>input buffer length
455
345
</td>
456
346
</tr>
457
347
<tr>
458
348
<td><p><span class="term"><em class="parameter"><code>out</code></em> :</span></p></td>
459
 
<td> output buffer
 
349
<td>output buffer
460
350
</td>
461
351
</tr>
462
352
<tr>
463
353
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
464
 
<td> ydecode state
 
354
<td>ydecode state
465
355
</td>
466
356
</tr>
467
357
<tr>
468
358
<td><p><span class="term"><em class="parameter"><code>pcrc</code></em> :</span></p></td>
469
 
<td> part crc state
 
359
<td>part crc state
470
360
</td>
471
361
</tr>
472
362
<tr>
473
363
<td><p><span class="term"><em class="parameter"><code>crc</code></em> :</span></p></td>
474
 
<td> crc state
 
364
<td>crc state
475
365
</td>
476
366
</tr>
477
367
<tr>
483
373
</table></div>
484
374
</div>
485
375
<hr>
486
 
<div class="refsect2" title="camel_yencode_step ()">
 
376
<div class="refsect2" lang="en">
487
377
<a name="camel-yencode-step"></a><h3>camel_yencode_step ()</h3>
488
 
<pre class="programlisting"><a
489
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"
490
 
>gsize</a>               camel_yencode_step                  (const <a
491
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
492
 
>guchar</a> *in,
493
 
                                                         <a
494
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"
495
 
>gsize</a> inlen,
496
 
                                                         <a
497
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
498
 
>guchar</a> *out,
499
 
                                                         <a
500
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
501
 
>gint</a> *state,
502
 
                                                         <a
503
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
504
 
>guint32</a> *pcrc,
505
 
                                                         <a
506
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
507
 
>guint32</a> *crc);</pre>
 
378
<pre class="programlisting"><span class="returnvalue">gsize</span>               camel_yencode_step                  (<em class="parameter"><code>const <span class="type">guchar</span> *in</code></em>,
 
379
                                                         <em class="parameter"><code><span class="type">gsize</span> inlen</code></em>,
 
380
                                                         <em class="parameter"><code><span class="type">guchar</span> *out</code></em>,
 
381
                                                         <em class="parameter"><code><span class="type">gint</span> *state</code></em>,
 
382
                                                         <em class="parameter"><code><span class="type">guint32</span> *pcrc</code></em>,
 
383
                                                         <em class="parameter"><code><span class="type">guint32</span> *crc</code></em>);</pre>
508
384
<p>
509
385
Performs an yEncode 'encode step' on a chunk of raw data of length
510
386
<em class="parameter"><code>inlen</code></em> pointed to by <em class="parameter"><code>in</code></em> and writes to <em class="parameter"><code>out</code></em>.
511
387
</p>
512
388
<p>
513
 
<em class="parameter"><code>state</code></em> should be initialized to <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-STATE-INIT--CAPS" title="CAMEL_MIME_YENCODE_STATE_INIT"><span class="type">CAMEL_MIME_YENCODE_STATE_INIT</span></a> before
 
389
<em class="parameter"><code>state</code></em> should be initialized to <a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-STATE-INIT:CAPS" title="CAMEL_MIME_YENCODE_STATE_INIT"><span class="type">CAMEL_MIME_YENCODE_STATE_INIT</span></a> before
514
390
beginning making the first call to this function. Subsequent calls
515
391
should reuse <em class="parameter"><code>state</code></em>.
516
392
</p>
517
393
<p>
518
394
Along the same lines, <em class="parameter"><code>pcrc</code></em> and <em class="parameter"><code>crc</code></em> should be initialized to
519
 
<a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-CRC-INIT--CAPS" title="CAMEL_MIME_YENCODE_CRC_INIT"><span class="type">CAMEL_MIME_YENCODE_CRC_INIT</span></a> before using.</p>
520
 
<p>
521
 
</p>
 
395
<a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-CRC-INIT:CAPS" title="CAMEL_MIME_YENCODE_CRC_INIT"><span class="type">CAMEL_MIME_YENCODE_CRC_INIT</span></a> before using.</p>
522
396
<div class="variablelist"><table border="0">
523
397
<col align="left" valign="top">
524
398
<tbody>
525
399
<tr>
526
400
<td><p><span class="term"><em class="parameter"><code>in</code></em> :</span></p></td>
527
 
<td> input buffer
 
401
<td>input buffer
528
402
</td>
529
403
</tr>
530
404
<tr>
531
405
<td><p><span class="term"><em class="parameter"><code>inlen</code></em> :</span></p></td>
532
 
<td> input buffer length
 
406
<td>input buffer length
533
407
</td>
534
408
</tr>
535
409
<tr>
536
410
<td><p><span class="term"><em class="parameter"><code>out</code></em> :</span></p></td>
537
 
<td> output buffer
 
411
<td>output buffer
538
412
</td>
539
413
</tr>
540
414
<tr>
541
415
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
542
 
<td> yencode state
 
416
<td>yencode state
543
417
</td>
544
418
</tr>
545
419
<tr>
546
420
<td><p><span class="term"><em class="parameter"><code>pcrc</code></em> :</span></p></td>
547
 
<td> part crc state
 
421
<td>part crc state
548
422
</td>
549
423
</tr>
550
424
<tr>
551
425
<td><p><span class="term"><em class="parameter"><code>crc</code></em> :</span></p></td>
552
 
<td> crc state
 
426
<td>crc state
553
427
</td>
554
428
</tr>
555
429
<tr>
561
435
</table></div>
562
436
</div>
563
437
<hr>
564
 
<div class="refsect2" title="camel_yencode_close ()">
 
438
<div class="refsect2" lang="en">
565
439
<a name="camel-yencode-close"></a><h3>camel_yencode_close ()</h3>
566
 
<pre class="programlisting"><a
567
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"
568
 
>gsize</a>               camel_yencode_close                 (const <a
569
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
570
 
>guchar</a> *in,
571
 
                                                         <a
572
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"
573
 
>gsize</a> inlen,
574
 
                                                         <a
575
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
576
 
>guchar</a> *out,
577
 
                                                         <a
578
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
579
 
>gint</a> *state,
580
 
                                                         <a
581
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
582
 
>guint32</a> *pcrc,
583
 
                                                         <a
584
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
585
 
>guint32</a> *crc);</pre>
 
440
<pre class="programlisting"><span class="returnvalue">gsize</span>               camel_yencode_close                 (<em class="parameter"><code>const <span class="type">guchar</span> *in</code></em>,
 
441
                                                         <em class="parameter"><code><span class="type">gsize</span> inlen</code></em>,
 
442
                                                         <em class="parameter"><code><span class="type">guchar</span> *out</code></em>,
 
443
                                                         <em class="parameter"><code><span class="type">gint</span> *state</code></em>,
 
444
                                                         <em class="parameter"><code><span class="type">guint32</span> *pcrc</code></em>,
 
445
                                                         <em class="parameter"><code><span class="type">guint32</span> *crc</code></em>);</pre>
586
446
<p>
587
447
Call this function when finished encoding data with
588
448
<a class="link" href="camel-CamelMimeFilterYenc.html#camel-yencode-step" title="camel_yencode_step ()"><span class="type">camel_yencode_step</span></a> to flush off the remaining state.
589
449
</p>
590
450
<p>
591
 
<a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-CRC-FINAL--CAPS" title="CAMEL_MIME_YENCODE_CRC_FINAL()"><span class="type">CAMEL_MIME_YENCODE_CRC_FINAL</span></a> (<em class="parameter"><code>pcrc</code></em>) will give you the crc32 of the
 
451
<a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-CRC-FINAL:CAPS" title="CAMEL_MIME_YENCODE_CRC_FINAL()"><span class="type">CAMEL_MIME_YENCODE_CRC_FINAL</span></a> (<em class="parameter"><code>pcrc</code></em>) will give you the crc32 of the
592
452
encoded "part". If there are more "parts" to encode, you should
593
453
re-use <em class="parameter"><code>crc</code></em> when encoding the next "parts" and then use
594
 
<a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-CRC-FINAL--CAPS" title="CAMEL_MIME_YENCODE_CRC_FINAL()"><span class="type">CAMEL_MIME_YENCODE_CRC_FINAL</span></a> (<em class="parameter"><code>crc</code></em>) to get the combined crc32 value of
 
454
<a class="link" href="camel-CamelMimeFilterYenc.html#CAMEL-MIME-YENCODE-CRC-FINAL:CAPS" title="CAMEL_MIME_YENCODE_CRC_FINAL()"><span class="type">CAMEL_MIME_YENCODE_CRC_FINAL</span></a> (<em class="parameter"><code>crc</code></em>) to get the combined crc32 value of
595
455
all the parts.</p>
596
 
<p>
597
 
</p>
598
456
<div class="variablelist"><table border="0">
599
457
<col align="left" valign="top">
600
458
<tbody>
601
459
<tr>
602
460
<td><p><span class="term"><em class="parameter"><code>in</code></em> :</span></p></td>
603
 
<td> input buffer
 
461
<td>input buffer
604
462
</td>
605
463
</tr>
606
464
<tr>
607
465
<td><p><span class="term"><em class="parameter"><code>inlen</code></em> :</span></p></td>
608
 
<td> input buffer length
 
466
<td>input buffer length
609
467
</td>
610
468
</tr>
611
469
<tr>
612
470
<td><p><span class="term"><em class="parameter"><code>out</code></em> :</span></p></td>
613
 
<td> output buffer
 
471
<td>output buffer
614
472
</td>
615
473
</tr>
616
474
<tr>
617
475
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
618
 
<td> yencode state
 
476
<td>yencode state
619
477
</td>
620
478
</tr>
621
479
<tr>
622
480
<td><p><span class="term"><em class="parameter"><code>pcrc</code></em> :</span></p></td>
623
 
<td> part crc state
 
481
<td>part crc state
624
482
</td>
625
483
</tr>
626
484
<tr>
627
485
<td><p><span class="term"><em class="parameter"><code>crc</code></em> :</span></p></td>
628
 
<td> crc state
 
486
<td>crc state
629
487
</td>
630
488
</tr>
631
489
<tr>
640
498
</div>
641
499
<div class="footer">
642
500
<hr>
643
 
          Generated by GTK-Doc V1.11</div>
 
501
          Generated by GTK-Doc V1.14</div>
644
502
</body>
645
 
</html>
 
503
</html>
 
 
b'\\ No newline at end of file'