From af35d99587599042f7521aa761dc511a166df3cf Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 2 Jan 2001 19:33:34 +0000 Subject: 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 --- camel/camel-mime-utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'camel/camel-mime-utils.h') 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); -- cgit