~ubuntu-branches/ubuntu/dapper/evolution-data-server/dapper-updates

« 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: 2006-02-27 22:17:31 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20060227221731-8qmgp0o0d2ooncle
Tags: 1.5.92-0ubuntu1
* New upstream version
* debian/patches/01_weather_calendar_fix.patch:
  - fixed with the new version
* debian/patches/04_external_libdb_autoconf.patch:
  - updated

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
 
<html xmlns:cf="http://docbook.sourceforge.net/xmlns/chunkfast/1.0">
 
1
<html>
3
2
<head>
4
3
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
4
<title>MD5 Utility Functions</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.69.0">
 
5
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
7
6
<link rel="start" href="index.html" title="Evolution API Reference: libedataserver, utility library">
8
7
<link rel="up" href="ch01.html" title="Evolution API Reference: libedataserver, utility library">
9
8
<link rel="prev" href="libedataserver-e-xml-hash-utils.html" title="EXMLHash">
12
11
<link rel="chapter" href="ch01.html" title="Evolution API Reference: libedataserver, utility library">
13
12
</head>
14
13
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
 
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
 
<tr valign="middle">
 
14
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
17
15
<td><a accesskey="p" href="libedataserver-e-xml-hash-utils.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
16
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
17
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
18
<th width="100%" align="center">Evolution API Reference: libedataserver, utility library</th>
21
 
<td>&#160;</td>
22
 
</tr>
23
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
24
 
                  &#160;|&#160;
25
 
                  <a href="#desc" class="shortcut">Description</a></nobr></td></tr>
26
 
</table>
 
19
</tr></table>
27
20
<div class="refentry" lang="en">
28
21
<a name="libedataserver-md5-utils"></a><div class="titlepage"></div>
29
22
<div class="refnamediv"><table width="100%"><tr>
30
23
<td valign="top">
31
 
<h2><span class="refentrytitle"><a name="top_of_page"></a>MD5 Utility Functions</span></h2>
 
24
<h2><span class="refentrytitle">MD5 Utility Functions</span></h2>
32
25
<p>MD5 Utility Functions &#8212; Functions for manipulating MD5 checksums.</p>
33
26
</td>
34
27
<td valign="top" align="right"></td>
35
28
</tr></table></div>
36
29
<div class="refsynopsisdiv">
37
 
<a name="synopsis"></a><h2>Synopsis</h2>
 
30
<h2>Synopsis</h2>
38
31
<pre class="synopsis">
39
32
 
40
33
 
41
34
 
42
35
            <a href="libedataserver-md5-utils.html#MD5Context">MD5Context</a>;
43
36
void        <a href="libedataserver-md5-utils.html#md5-get-digest">md5_get_digest</a>                  (const <a
44
 
href="../glib/glib-Basic-Types.html#gchar"
 
37
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
45
38
>gchar</a> *buffer,
46
39
                                             <a
47
 
href="../glib/glib-Basic-Types.html#gint"
 
40
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
48
41
>gint</a> buffer_size,
49
42
                                             <a
50
 
href="../glib/glib-Basic-Types.html#guchar"
 
43
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
51
44
>guchar</a> digest[16]);
52
45
void        <a href="libedataserver-md5-utils.html#md5-get-digest-from-file">md5_get_digest_from_file</a>        (const <a
53
 
href="../glib/glib-Basic-Types.html#gchar"
 
46
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
54
47
>gchar</a> *filename,
55
48
                                             <a
56
 
href="../glib/glib-Basic-Types.html#guchar"
 
49
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
57
50
>guchar</a> digest[16]);
58
51
void        <a href="libedataserver-md5-utils.html#md5-init">md5_init</a>                        (<a href="libedataserver-md5-utils.html#MD5Context">MD5Context</a> *ctx);
59
52
void        <a href="libedataserver-md5-utils.html#md5-update">md5_update</a>                      (<a href="libedataserver-md5-utils.html#MD5Context">MD5Context</a> *ctx,
60
53
                                             const <a
61
 
href="../glib/glib-Basic-Types.html#guchar"
 
54
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
62
55
>guchar</a> *buf,
63
56
                                             <a
64
 
href="../glib/glib-Basic-Types.html#guint32"
 
57
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"
65
58
>guint32</a> len);
66
59
void        <a href="libedataserver-md5-utils.html#md5-final">md5_final</a>                       (<a href="libedataserver-md5-utils.html#MD5Context">MD5Context</a> *ctx,
67
60
                                             <a
68
 
href="../glib/glib-Basic-Types.html#guchar"
 
61
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
69
62
>guchar</a> digest[16]);
70
63
</pre>
71
64
</div>
72
65
<div class="refsect1" lang="en">
73
 
<a name="desc"></a><h2>Description</h2>
 
66
<a name="id2593991"></a><h2>Description</h2>
74
67
<p>
75
68
 
76
69
</p>
77
70
</div>
78
71
<div class="refsect1" lang="en">
79
 
<a name="details"></a><h2>Details</h2>
 
72
<a name="id2594002"></a><h2>Details</h2>
80
73
<div class="refsect2" lang="en">
81
 
<a name="id2599855"></a><h3>
 
74
<a name="id2594008"></a><h3>
82
75
<a name="MD5Context"></a>MD5Context</h3>
83
 
<a class="indexterm" name="id2599867"></a><pre class="programlisting">typedef struct {
 
76
<a class="indexterm" name="id2594018"></a><pre class="programlisting">typedef struct {
84
77
} MD5Context;
85
78
</pre>
86
79
<p>
91
84
</div>
92
85
<hr>
93
86
<div class="refsect2" lang="en">
94
 
<a name="id2596264"></a><h3>
 
87
<a name="id2594038"></a><h3>
95
88
<a name="md5-get-digest"></a>md5_get_digest ()</h3>
96
 
<a class="indexterm" name="id2596276"></a><pre class="programlisting">void        md5_get_digest                  (const <a
97
 
href="../glib/glib-Basic-Types.html#gchar"
 
89
<a class="indexterm" name="id2594048"></a><pre class="programlisting">void        md5_get_digest                  (const <a
 
90
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
98
91
>gchar</a> *buffer,
99
92
                                             <a
100
 
href="../glib/glib-Basic-Types.html#gint"
 
93
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
101
94
>gint</a> buffer_size,
102
95
                                             <a
103
 
href="../glib/glib-Basic-Types.html#guchar"
 
96
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
104
97
>guchar</a> digest[16]);</pre>
105
98
<p>
106
99
Get the md5 hash of a buffer. The result is put in 
134
127
</div>
135
128
<hr>
136
129
<div class="refsect2" lang="en">
137
 
<a name="id2596375"></a><h3>
 
130
<a name="id2598748"></a><h3>
138
131
<a name="md5-get-digest-from-file"></a>md5_get_digest_from_file ()</h3>
139
 
<a class="indexterm" name="id2596386"></a><pre class="programlisting">void        md5_get_digest_from_file        (const <a
140
 
href="../glib/glib-Basic-Types.html#gchar"
 
132
<a class="indexterm" name="id2598757"></a><pre class="programlisting">void        md5_get_digest_from_file        (const <a
 
133
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
141
134
>gchar</a> *filename,
142
135
                                             <a
143
 
href="../glib/glib-Basic-Types.html#guchar"
 
136
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
144
137
>guchar</a> digest[16]);</pre>
145
138
<p>
146
139
Get the md5 hash of a file. The result is put in 
168
161
</div>
169
162
<hr>
170
163
<div class="refsect2" lang="en">
171
 
<a name="id2601862"></a><h3>
 
164
<a name="id2598834"></a><h3>
172
165
<a name="md5-init"></a>md5_init ()</h3>
173
 
<a class="indexterm" name="id2601874"></a><pre class="programlisting">void        md5_init                        (<a href="libedataserver-md5-utils.html#MD5Context">MD5Context</a> *ctx);</pre>
 
166
<a class="indexterm" name="id2598844"></a><pre class="programlisting">void        md5_init                        (<a href="libedataserver-md5-utils.html#MD5Context">MD5Context</a> *ctx);</pre>
174
167
<p>
175
168
Initialise an md5 buffer.</p>
176
169
<p>
188
181
</div>
189
182
<hr>
190
183
<div class="refsect2" lang="en">
191
 
<a name="id2601922"></a><h3>
 
184
<a name="id2598893"></a><h3>
192
185
<a name="md5-update"></a>md5_update ()</h3>
193
 
<a class="indexterm" name="id2601934"></a><pre class="programlisting">void        md5_update                      (<a href="libedataserver-md5-utils.html#MD5Context">MD5Context</a> *ctx,
 
186
<a class="indexterm" name="id2598902"></a><pre class="programlisting">void        md5_update                      (<a href="libedataserver-md5-utils.html#MD5Context">MD5Context</a> *ctx,
194
187
                                             const <a
195
 
href="../glib/glib-Basic-Types.html#guchar"
 
188
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
196
189
>guchar</a> *buf,
197
190
                                             <a
198
 
href="../glib/glib-Basic-Types.html#guint32"
 
191
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"
199
192
>guint32</a> len);</pre>
200
193
<p>
201
194
Update context to reflect the concatenation of another buffer full
229
222
</div>
230
223
<hr>
231
224
<div class="refsect2" lang="en">
232
 
<a name="id2602028"></a><h3>
 
225
<a name="id2596212"></a><h3>
233
226
<a name="md5-final"></a>md5_final ()</h3>
234
 
<a class="indexterm" name="id2602040"></a><pre class="programlisting">void        md5_final                       (<a href="libedataserver-md5-utils.html#MD5Context">MD5Context</a> *ctx,
 
227
<a class="indexterm" name="id2596222"></a><pre class="programlisting">void        md5_final                       (<a href="libedataserver-md5-utils.html#MD5Context">MD5Context</a> *ctx,
235
228
                                             <a
236
 
href="../glib/glib-Basic-Types.html#guchar"
 
229
href="/opt/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
237
230
>guchar</a> digest[16]);</pre>
238
231
<p>
239
232
copy the final md5 hash to a bufer</p>
260
253
</div>
261
254
</div>
262
255
</div>
 
256
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
 
257
<td align="left"><a accesskey="p" href="libedataserver-e-xml-hash-utils.html"><b>&lt;&lt;&#160;EXMLHash</b></a></td>
 
258
<td align="right"></td>
 
259
</tr></table>
263
260
</body>
264
261
</html>