aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-multipart.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2003-08-27 02:16:51 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-08-27 02:16:51 +0800
commit04b9ec51d45f2efb3b8118eef99c7592ba269792 (patch)
tree2ed61b2ef50a2f74fcc4911b1145367514d721e7 /camel/camel-multipart.c
parent173fc4ff4c7f267cefeeeed0a7a93a7f1f245c62 (diff)
downloadgsoc2013-evolution-04b9ec51d45f2efb3b8118eef99c7592ba269792.tar
gsoc2013-evolution-04b9ec51d45f2efb3b8118eef99c7592ba269792.tar.gz
gsoc2013-evolution-04b9ec51d45f2efb3b8118eef99c7592ba269792.tar.bz2
gsoc2013-evolution-04b9ec51d45f2efb3b8118eef99c7592ba269792.tar.lz
gsoc2013-evolution-04b9ec51d45f2efb3b8118eef99c7592ba269792.tar.xz
gsoc2013-evolution-04b9ec51d45f2efb3b8118eef99c7592ba269792.tar.zst
gsoc2013-evolution-04b9ec51d45f2efb3b8118eef99c7592ba269792.zip
temporarily reverting my camel namespace patches until after we merge in some of the other branches
svn path=/trunk/; revision=22373
Diffstat (limited to 'camel/camel-multipart.c')
-rw-r--r--camel/camel-multipart.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/camel/camel-multipart.c b/camel/camel-multipart.c
index 1ec771103d..0d5148e890 100644
--- a/camel/camel-multipart.c
+++ b/camel/camel-multipart.c
@@ -374,7 +374,7 @@ set_boundary (CamelMultipart *multipart, const char *boundary)
boundary = bbuf;
}
- camel_content_type_set_param (cdw->mime_type, "boundary", boundary);
+ header_content_type_set_param (cdw->mime_type, "boundary", boundary);
}
/**
@@ -402,7 +402,7 @@ get_boundary (CamelMultipart *multipart)
CamelDataWrapper *cdw = CAMEL_DATA_WRAPPER (multipart);
g_return_val_if_fail (cdw->mime_type != NULL, NULL);
- return camel_content_type_param (cdw->mime_type, "boundary");
+ return header_content_type_param (cdw->mime_type, "boundary");
}
/**
@@ -546,21 +546,21 @@ static int
construct_from_parser(CamelMultipart *multipart, struct _CamelMimeParser *mp)
{
int err;
- CamelContentType *content_type;
+ struct _header_content_type *content_type;
CamelMimePart *bodypart;
char *buf;
size_t len;
- g_assert(camel_mime_parser_state(mp) == CAMEL_MIME_PARSER_STATE_MULTIPART);
+ g_assert(camel_mime_parser_state(mp) == HSCAN_MULTIPART);
/* FIXME: we should use a came-mime-mutlipart, not jsut a camel-multipart, but who cares */
d(printf("Creating multi-part\n"));
content_type = camel_mime_parser_content_type(mp);
camel_multipart_set_boundary(multipart,
- camel_content_type_param(content_type, "boundary"));
+ header_content_type_param(content_type, "boundary"));
- while (camel_mime_parser_step(mp, &buf, &len) != CAMEL_MIME_PARSER_STATE_MULTIPART_END) {
+ while (camel_mime_parser_step(mp, &buf, &len) != HSCAN_MULTIPART_END) {
camel_mime_parser_unstep(mp);
bodypart = camel_mime_part_new();
camel_mime_part_construct_from_parser(bodypart, mp);