aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-01-03 03:33:34 +0800
committerDan Winship <danw@src.gnome.org>2001-01-03 03:33:34 +0800
commitaf35d99587599042f7521aa761dc511a166df3cf (patch)
tree91cd80c4180c3b8385823ddc58f9884751374f0c /camel/camel-mime-utils.h
parent81d69ae252c95ee51a80e5681d504876bd199de7 (diff)
downloadgsoc2013-evolution-af35d99587599042f7521aa761dc511a166df3cf.tar
gsoc2013-evolution-af35d99587599042f7521aa761dc511a166df3cf.tar.gz
gsoc2013-evolution-af35d99587599042f7521aa761dc511a166df3cf.tar.bz2
gsoc2013-evolution-af35d99587599042f7521aa761dc511a166df3cf.tar.lz
gsoc2013-evolution-af35d99587599042f7521aa761dc511a166df3cf.tar.xz
gsoc2013-evolution-af35d99587599042f7521aa761dc511a166df3cf.tar.zst
gsoc2013-evolution-af35d99587599042f7521aa761dc511a166df3cf.zip
New function to return just foo/bar with no parameters.
* camel-mime-utils.c (header_content_type_simple): New function to return just foo/bar with no parameters. * camel-data-wrapper.c (get_mime_type): Use header_content_type_simple rather than header_content_type_format. svn path=/trunk/; revision=7213
Diffstat (limited to 'camel/camel-mime-utils.h')
-rw-r--r--camel/camel-mime-utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/camel-mime-utils.h b/camel/camel-mime-utils.h
index 119eda9626..2e478066fc 100644
--- a/camel/camel-mime-utils.h
+++ b/camel/camel-mime-utils.h
@@ -118,6 +118,7 @@ const char *header_content_type_param(struct _header_content_type *t, const char
void header_content_type_set_param(struct _header_content_type *t, const char *name, const char *value);
int header_content_type_is(struct _header_content_type *ct, const char *type, const char *subtype);
char *header_content_type_format(struct _header_content_type *ct);
+char *header_content_type_simple(struct _header_content_type *ct);
/* DEBUGGING function */
void header_content_type_dump(struct _header_content_type *ct);