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

« back to all changes in this revision

Viewing changes to docs/reference/libedataserver/html/libedataserver-md5-utils.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-10-19 10:39:37 UTC
  • mfrom: (1.1.75 upstream)
  • Revision ID: james.westby@ubuntu.com-20091019103937-6cfyh1pemq2vhbju
Tags: 2.28.1-0ubuntu1
New upstream version:
Bug Fixes:
#270893Support client certificates for IMAP 
#593019Importing event with pseudo "Etc/UTC" timezone crashed
(lp: #373865)
#593023Deleting an imported recurrent event will remain    
#594502Some google calendar meetings don't show up 
#595082Contacts displayed twice in new email contact list (lp: #428917)
#596157Use "Message-ID" instead of "Message-Id" 

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>MD5 Utility Functions</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
7
7
<link rel="home" href="index.html" title="Evolution-Data-Server Manual: Utilities (libedataserver)">
8
8
<link rel="up" href="ch01.html" title="Evolution-Data-Server Manual: Utilities (libedataserver)">
9
9
<link rel="prev" href="libedataserver-Version-Information.html" title="Version Information">
10
10
<link rel="next" href="ix01.html" title="Index">
11
 
<meta name="generator" content="GTK-Doc V1.12 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="chapter" href="ch01.html" title="Evolution-Data-Server Manual: Utilities (libedataserver)">
14
14
<link rel="index" href="ix01.html" title="Index">
24
24
</tr>
25
25
<tr><td colspan="5" class="shortcuts">
26
26
<a href="#libedataserver-md5-utils.synopsis" class="shortcut">Top</a>
27
 
                   | 
28
 
                  <a href="#libedataserver-md5-utils.description" class="shortcut">Description</a>
 
27
                 | 
 
28
                <a href="#libedataserver-md5-utils.description" class="shortcut">Description</a>
29
29
</td></tr>
30
30
</table>
31
31
<div class="refentry" lang="en">
39
39
</tr></table></div>
40
40
<div class="refsynopsisdiv">
41
41
<a name="libedataserver-md5-utils.synopsis"></a><h2>Synopsis</h2>
42
 
<pre class="synopsis">                    <a class="link" href="libedataserver-md5-utils.html#MD5Context" title="MD5Context">MD5Context</a>;
 
42
<pre class="synopsis">
 
43
                    <a class="link" href="libedataserver-md5-utils.html#MD5Context" title="MD5Context">MD5Context</a>;
43
44
void                <a class="link" href="libedataserver-md5-utils.html#md5-get-digest" title="md5_get_digest ()">md5_get_digest</a>                      (const gchar *buffer,
44
45
                                                         gint buffer_size,
45
46
                                                         guchar digest[16]);
71
72
</div>
72
73
<p>
73
74
A buffer structure used for md5 calculation.</p>
 
75
<p>
 
76
</p>
74
77
</div>
75
78
<hr>
76
79
<div class="refsect2" lang="en">
83
86
<p><code class="literal">md5_get_digest</code> is deprecated and should not be used in newly-written code.</p>
84
87
</div>
85
88
<p>
 
89
Get the md5 hash of a buffer. The result is put in
 
90
the 16 bytes buffer <em class="parameter"><code>digest</code></em> .</p>
 
91
<p>
86
92
</p>
87
93
<div class="variablelist"><table border="0">
88
94
<col align="left" valign="top">
89
95
<tbody>
90
96
<tr>
91
97
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
92
 
<td>
 
98
<td> byte buffer
93
99
</td>
94
100
</tr>
95
101
<tr>
96
102
<td><p><span class="term"><em class="parameter"><code>buffer_size</code></em> :</span></p></td>
97
 
<td>
 
103
<td> buffer size (in bytes)
98
104
</td>
99
105
</tr>
100
106
<tr>
101
107
<td><p><span class="term"><em class="parameter"><code>digest</code></em> :</span></p></td>
102
 
<td>
 
108
<td> 16 bytes buffer receiving the hash code.
103
109
</td>
104
110
</tr>
105
111
</tbody>
115
121
<p><code class="literal">md5_get_digest_from_file</code> is deprecated and should not be used in newly-written code.</p>
116
122
</div>
117
123
<p>
 
124
Get the md5 hash of a file. The result is put in
 
125
the 16 bytes buffer <em class="parameter"><code>digest</code></em> .</p>
 
126
<p>
118
127
</p>
119
128
<div class="variablelist"><table border="0">
120
129
<col align="left" valign="top">
121
130
<tbody>
122
131
<tr>
123
132
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
124
 
<td>
 
133
<td> file name
125
134
</td>
126
135
</tr>
127
136
<tr>
128
137
<td><p><span class="term"><em class="parameter"><code>digest</code></em> :</span></p></td>
129
 
<td>
 
138
<td> 16 bytes buffer receiving the hash code.
130
139
</td>
131
140
</tr>
132
141
</tbody>
141
150
<p><code class="literal">md5_init</code> is deprecated and should not be used in newly-written code.</p>
142
151
</div>
143
152
<p>
 
153
Initialise an md5 buffer.</p>
 
154
<p>
144
155
</p>
145
156
<div class="variablelist"><table border="0">
146
157
<col align="left" valign="top">
147
158
<tbody><tr>
148
159
<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td>
149
 
<td>
 
160
<td> md5 context
150
161
</td>
151
162
</tr></tbody>
152
163
</table></div>
162
173
<p><code class="literal">md5_update</code> is deprecated and should not be used in newly-written code.</p>
163
174
</div>
164
175
<p>
 
176
Update context to reflect the concatenation of another buffer full
 
177
of bytes. Use this to progressively construct an md5 hash.</p>
 
178
<p>
165
179
</p>
166
180
<div class="variablelist"><table border="0">
167
181
<col align="left" valign="top">
168
182
<tbody>
169
183
<tr>
170
184
<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td>
171
 
<td>
 
185
<td> context object used for md5 computaion
172
186
</td>
173
187
</tr>
174
188
<tr>
175
189
<td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
176
 
<td>
 
190
<td> buffer to add
177
191
</td>
178
192
</tr>
179
193
<tr>
180
194
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
181
 
<td>
 
195
<td> buffer length
182
196
</td>
183
197
</tr>
184
198
</tbody>
194
208
<p><code class="literal">md5_final</code> is deprecated and should not be used in newly-written code.</p>
195
209
</div>
196
210
<p>
 
211
copy the final md5 hash to a bufer</p>
 
212
<p>
197
213
</p>
198
214
<div class="variablelist"><table border="0">
199
215
<col align="left" valign="top">
200
216
<tbody>
201
217
<tr>
202
218
<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td>
203
 
<td>
 
219
<td> context containing the calculated md5
204
220
</td>
205
221
</tr>
206
222
<tr>
207
223
<td><p><span class="term"><em class="parameter"><code>digest</code></em> :</span></p></td>
208
 
<td>
 
224
<td> 16 bytes buffer
209
225
</td>
210
226
</tr>
211
227
</tbody>
215
231
</div>
216
232
<div class="footer">
217
233
<hr>
218
 
          Generated by GTK-Doc V1.12</div>
 
234
          Generated by GTK-Doc V1.11</div>
219
235
</body>
220
236
</html>