Mercurial > pidgin
comparison libpurple/mime.h @ 32819:2c6510167895 default tip
propagate from branch 'im.pidgin.pidgin.2.x.y' (head 3315c5dfbd0ad16511bdcf865e5b07c02d07df24)
to branch 'im.pidgin.pidgin' (head cbd1eda6bcbf0565ae7766396bb8f6f419cb6a9a)
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 02 Jun 2012 02:30:49 +0000 |
parents | 98520ee78f12 |
children |
comparison
equal
deleted
inserted
replaced
32818:01ff09d4a463 | 32819:2c6510167895 |
---|---|
24 #ifndef _PURPLE_MIME_H | 24 #ifndef _PURPLE_MIME_H |
25 #define _PURPLE_MIME_H | 25 #define _PURPLE_MIME_H |
26 | 26 |
27 #include <glib.h> | 27 #include <glib.h> |
28 | 28 |
29 #ifdef __cplusplus | |
30 extern "C" { | |
31 #endif | |
32 | |
33 /** | 29 /** |
34 * @file mime.h | 30 * @file mime.h |
35 * @ingroup core | 31 * @ingroup core |
36 * | 32 * |
37 * Rudimentary parsing of multi-part MIME messages into more | 33 * Rudimentary parsing of multi-part MIME messages into more |
45 | 41 |
46 /** | 42 /** |
47 * A part of a multipart MIME document. | 43 * A part of a multipart MIME document. |
48 */ | 44 */ |
49 typedef struct _PurpleMimePart PurpleMimePart; | 45 typedef struct _PurpleMimePart PurpleMimePart; |
46 | |
47 G_BEGIN_DECLS | |
50 | 48 |
51 /** | 49 /** |
52 * Allocate an empty MIME document. | 50 * Allocate an empty MIME document. |
53 */ | 51 */ |
54 PurpleMimeDocument *purple_mime_document_new(void); | 52 PurpleMimeDocument *purple_mime_document_new(void); |
209 */ | 207 */ |
210 gsize purple_mime_part_get_length(PurpleMimePart *part); | 208 gsize purple_mime_part_get_length(PurpleMimePart *part); |
211 | 209 |
212 void purple_mime_part_set_data(PurpleMimePart *part, const char *data); | 210 void purple_mime_part_set_data(PurpleMimePart *part, const char *data); |
213 | 211 |
214 #ifdef __cplusplus | 212 G_END_DECLS |
215 } | 213 |
216 #endif | 214 #endif |
217 | |
218 #endif |