/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999,2000 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2002 Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
void procheader_header_array_destroy (GPtrArray *harray);
void procheader_header_free (Header *header);
+const HeaderEntry* procheader_get_headernames (gboolean full);
+
void procheader_get_header_fields (FILE *fp,
HeaderEntry hentry[]);
-MsgInfo *procheader_parse (const gchar *file,
+MsgInfo *procheader_parse_file (const gchar *file,
+ MsgFlags flags,
+ gboolean full,
+ gboolean decrypted);
+MsgInfo *procheader_parse_str (const gchar *str,
+ MsgFlags flags,
+ gboolean full,
+ gboolean decrypted);
+MsgInfo *procheader_parse_stream (FILE *fp,
MsgFlags flags,
- gboolean full);
-MsgInfo *procheader_file_parse(FILE * fp, MsgFlags flags,
- gboolean full);
+ gboolean full,
+ gboolean decrypted);
+MsgInfo *procheader_file_parse (FILE *fp,
+ MsgFlags flags,
+ gboolean full,
+ gboolean decrypted);
gchar *procheader_get_fromname (const gchar *str);
+gboolean procheader_date_parse_to_tm (const gchar *str,
+ struct tm *t,
+ char *zone);
+
time_t procheader_date_parse (gchar *dest,
const gchar *src,
gint len);