1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* mime-utils.h : misc utilities for mime */
7 * Bertrand Guiheneuf <bertrand@helixcode.com>
9 * Copyright 1999, 2000 HelixCode (http://www.helixcode.com) .
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation; either version 2 of the
14 * License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
29 #define GMIME_UTILS_H 1
35 #endif /* __cplusplus }*/
39 #include <camel-stream.h>
49 void gmime_write_header_pair_to_stream (CamelStream *stream,
53 void gmime_write_header_table_to_stream (CamelStream *stream,
54 GHashTable *header_table);
56 void gmime_write_header_with_glist_to_stream (CamelStream *stream,
57 const gchar *header_name,
59 const gchar *separator);
61 GArray *get_header_array_from_stream (CamelStream *stream);
62 gchar *gmime_read_line_from_stream (CamelStream *stream);
68 #endif /* __cplusplus */
70 #endif /* GMIME_UTILS_H */