Initialize the gmime for upstream
[platform/upstream/gmime.git] / docs / reference / html / GMimeFilterMd5.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>GMimeFilterMd5</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="GMime 2.6 Reference Manual">
8 <link rel="up" href="Filters.html" title="Stream Filters">
9 <link rel="prev" href="GMimeFilterHTML.html" title="GMimeFilterHTML">
10 <link rel="next" href="GMimeFilterStrip.html" title="GMimeFilterStrip">
11 <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
14 <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">
17 <td><a accesskey="p" href="GMimeFilterHTML.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18 <td><a accesskey="u" href="Filters.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20 <th width="100%" align="center">GMime 2.6 Reference Manual</th>
21 <td><a accesskey="n" href="GMimeFilterStrip.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22 </tr>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#GMimeFilterMd5.synopsis" class="shortcut">Top</a>
25                    | 
26                   <a href="#GMimeFilterMd5.description" class="shortcut">Description</a>
27                    | 
28                   <a href="#GMimeFilterMd5.object-hierarchy" class="shortcut">Object Hierarchy</a>
29 </td></tr>
30 </table>
31 <div class="refentry">
32 <a name="GMimeFilterMd5"></a><div class="titlepage"></div>
33 <div class="refnamediv"><table width="100%"><tr>
34 <td valign="top">
35 <h2><span class="refentrytitle"><a name="GMimeFilterMd5.top_of_page"></a>GMimeFilterMd5</span></h2>
36 <p>GMimeFilterMd5 — Calculate an md5sum</p>
37 </td>
38 <td valign="top" align="right"></td>
39 </tr></table></div>
40 <div class="refsynopsisdiv">
41 <a name="GMimeFilterMd5.synopsis"></a><h2>Synopsis</h2>
42 <pre class="synopsis">struct              <a class="link" href="GMimeFilterMd5.html#GMimeFilterMd5-struct" title="struct GMimeFilterMd5">GMimeFilterMd5</a>;
43 <a class="link" href="GMimeFilter.html" title="GMimeFilter"><span class="returnvalue">GMimeFilter</span></a> *       <a class="link" href="GMimeFilterMd5.html#g-mime-filter-md5-new" title="g_mime_filter_md5_new ()">g_mime_filter_md5_new</a>               (<em class="parameter"><code><span class="type">void</span></code></em>);
44 <span class="returnvalue">void</span>                <a class="link" href="GMimeFilterMd5.html#g-mime-filter-md5-get-digest" title="g_mime_filter_md5_get_digest ()">g_mime_filter_md5_get_digest</a>        (<em class="parameter"><code><a class="link" href="GMimeFilterMd5.html" title="GMimeFilterMd5"><span class="type">GMimeFilterMd5</span></a> *md5</code></em>,
45                                                          <em class="parameter"><code>unsigned <span class="type">char</span> digest[16]</code></em>);
46 </pre>
47 </div>
48 <div class="refsect1">
49 <a name="GMimeFilterMd5.object-hierarchy"></a><h2>Object Hierarchy</h2>
50 <pre class="synopsis">
51   GObject
52    +----<a class="link" href="GMimeFilter.html" title="GMimeFilter">GMimeFilter</a>
53          +----GMimeFilterMd5
54 </pre>
55 </div>
56 <div class="refsect1">
57 <a name="GMimeFilterMd5.description"></a><h2>Description</h2>
58 <p>
59 Calculate an md5sum for a stream.
60 </p>
61 </div>
62 <div class="refsect1">
63 <a name="GMimeFilterMd5.details"></a><h2>Details</h2>
64 <div class="refsect2">
65 <a name="GMimeFilterMd5-struct"></a><h3>struct GMimeFilterMd5</h3>
66 <pre class="programlisting">struct GMimeFilterMd5;</pre>
67 <p>
68 A filter for calculating the MD5 checksum of a stream.
69 </p>
70 <div class="variablelist"><table border="0">
71 <col align="left" valign="top">
72 <tbody></tbody>
73 </table></div>
74 </div>
75 <hr>
76 <div class="refsect2">
77 <a name="g-mime-filter-md5-new"></a><h3>g_mime_filter_md5_new ()</h3>
78 <pre class="programlisting"><a class="link" href="GMimeFilter.html" title="GMimeFilter"><span class="returnvalue">GMimeFilter</span></a> *       g_mime_filter_md5_new               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
79 <p>
80 Creates a new Md5 filter.
81 </p>
82 <div class="variablelist"><table border="0">
83 <col align="left" valign="top">
84 <tbody><tr>
85 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
86 <td>a new Md5 filter.</td>
87 </tr></tbody>
88 </table></div>
89 </div>
90 <hr>
91 <div class="refsect2">
92 <a name="g-mime-filter-md5-get-digest"></a><h3>g_mime_filter_md5_get_digest ()</h3>
93 <pre class="programlisting"><span class="returnvalue">void</span>                g_mime_filter_md5_get_digest        (<em class="parameter"><code><a class="link" href="GMimeFilterMd5.html" title="GMimeFilterMd5"><span class="type">GMimeFilterMd5</span></a> *md5</code></em>,
94                                                          <em class="parameter"><code>unsigned <span class="type">char</span> digest[16]</code></em>);</pre>
95 <p>
96 Outputs the md5 digest into <em class="parameter"><code>digest</code></em>.
97 </p>
98 <div class="variablelist"><table border="0">
99 <col align="left" valign="top">
100 <tbody>
101 <tr>
102 <td><p><span class="term"><em class="parameter"><code>md5</code></em> :</span></p></td>
103 <td>md5 filter object</td>
104 </tr>
105 <tr>
106 <td><p><span class="term"><em class="parameter"><code>digest</code></em> :</span></p></td>
107 <td>output buffer of at least 16 bytes</td>
108 </tr>
109 </tbody>
110 </table></div>
111 </div>
112 </div>
113 <div class="refsect1">
114 <a name="GMimeFilterMd5.see-also"></a><h2>See Also</h2>
115 <a class="link" href="GMimeFilter.html" title="GMimeFilter"><span class="type">GMimeFilter</span></a>
116 </div>
117 </div>
118 <div class="footer">
119 <hr>
120           Generated by GTK-Doc V1.18</div>
121 </body>
122 </html>