GMime 2.4 Reference Manual | ||||
---|---|---|---|---|
GMimeFilterMd5; GMimeFilter* g_mime_filter_md5_new (void); void g_mime_filter_md5_get_digest (GMimeFilterMd5 *md5, unsigned char digest[16]);
typedef struct _GMimeFilterMd5 GMimeFilterMd5;
A filter for calculating the MD5 checksum of a stream.
GMimeFilter* g_mime_filter_md5_new (void);
Creates a new Md5 filter.
Returns : |
a new Md5 filter. |
void g_mime_filter_md5_get_digest (GMimeFilterMd5 *md5, unsigned char digest[16]);
Outputs the md5 digest into digest
.
|
md5 filter object |
|
output buffer of at least 16 bytes |