diff options
Diffstat (limited to 'camel/gmime-utils.h')
-rw-r--r-- | camel/gmime-utils.h | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/camel/gmime-utils.h b/camel/gmime-utils.h index 5c99ca3d66..0c12f6bfb2 100644 --- a/camel/gmime-utils.h +++ b/camel/gmime-utils.h @@ -35,11 +35,27 @@ extern "C" { #include <stdio.h> #include <camel-stream.h> -void gmime_write_header_pair_to_stream (CamelStream *stream, const gchar* name, const gchar *value); -void write_header_table_to_stream (CamelStream *stream, GHashTable *header_table); -void write_header_with_glist_to_stream (CamelStream *stream, const gchar *header_name, GList *header_values, const gchar *separator); +typedef struct +{ + gchar *name; + gchar *value; -GHashTable *get_header_table_from_stream (CamelStream *stream); +} Rfc822Header; + + +void gmime_write_header_pair_to_stream (CamelStream *stream, + const gchar* name, + const gchar *value); + +void write_header_table_to_stream (CamelStream *stream, + GHashTable *header_table); + +void write_header_with_glist_to_stream (CamelStream *stream, + const gchar *header_name, + GList *header_values, + const gchar *separator); + +GArray *get_header_array_from_stream (CamelStream *stream); gchar *gmime_read_line_from_stream (CamelStream *stream); |