aboutsummaryrefslogtreecommitdiff
path: root/src/procheader.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-03-03 10:46:03 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-03-03 10:46:03 +0000
commita80cf7559e18da4e89fae15c2ff10966b1983ffa (patch)
tree29c77b69a7cf2acff7a06c41a8369253e3773e63 /src/procheader.h
parented32db180ae51bb50d6d819962f188173ed2c8b1 (diff)
use Content-Type's charset as a fallback encoding of broken header strings.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@144 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/procheader.h')
-rw-r--r--src/procheader.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/procheader.h b/src/procheader.h
index 599324e1..1667b4ed 100644
--- a/src/procheader.h
+++ b/src/procheader.h
@@ -61,8 +61,10 @@ gint procheader_find_header_list (GSList *hlist,
const gchar *header_name);
void procheader_header_list_destroy (GSList *hlist);
-GPtrArray *procheader_get_header_array (FILE *fp);
-GPtrArray *procheader_get_header_array_asis (FILE *fp);
+GPtrArray *procheader_get_header_array (FILE *fp,
+ const gchar *encoding);
+GPtrArray *procheader_get_header_array_asis (FILE *fp,
+ const gchar *encoding);
void procheader_header_array_destroy (GPtrArray *harray);
void procheader_header_free (Header *header);