aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-summary.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-05-15 07:37:58 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-05-15 07:37:58 +0800
commitd762b979438fbc28cf1cc39b47d046afa69ff30b (patch)
tree5b30908e97eed0e68bfb6764432ac92635a978fb /camel/camel-folder-summary.h
parent4c65eab5b1429f35b7dcd17c417cc4206989786a (diff)
downloadgsoc2013-evolution-d762b979438fbc28cf1cc39b47d046afa69ff30b.tar
gsoc2013-evolution-d762b979438fbc28cf1cc39b47d046afa69ff30b.tar.gz
gsoc2013-evolution-d762b979438fbc28cf1cc39b47d046afa69ff30b.tar.bz2
gsoc2013-evolution-d762b979438fbc28cf1cc39b47d046afa69ff30b.tar.lz
gsoc2013-evolution-d762b979438fbc28cf1cc39b47d046afa69ff30b.tar.xz
gsoc2013-evolution-d762b979438fbc28cf1cc39b47d046afa69ff30b.tar.zst
gsoc2013-evolution-d762b979438fbc28cf1cc39b47d046afa69ff30b.zip
Fixes bug #24136.
2002-05-14 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #24136. * providers/imap/camel-imap-folder.c (content_info_get_part_spec): New function to take a CamelMessageContentInfo and generate a part-specification string. (get_content): Stop passing around part_spec strings and use content_info_get_part_spec instead. * camel-folder-summary.c (camel_content_info_dump): Made this into a public debugging function. * providers/imap/camel-imap-utils.c (imap_parse_body): Make sure to set the parent of any message/rfc822 subparts. svn path=/trunk/; revision=16793
Diffstat (limited to 'camel/camel-folder-summary.h')
-rw-r--r--camel/camel-folder-summary.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/camel/camel-folder-summary.h b/camel/camel-folder-summary.h
index e94ffe2cfa..7545f2af22 100644
--- a/camel/camel-folder-summary.h
+++ b/camel/camel-folder-summary.h
@@ -44,10 +44,10 @@ typedef struct _CamelFolderSummaryClass CamelFolderSummaryClass;
describe the content structure of the message (if it has any) */
struct _CamelMessageContentInfo {
struct _CamelMessageContentInfo *next;
-
+
struct _CamelMessageContentInfo *childs;
struct _CamelMessageContentInfo *parent;
-
+
struct _header_content_type *type;
char *id;
char *description;
@@ -333,6 +333,13 @@ void camel_message_info_set_string(CamelMessageInfo *mi, int type, char *str);
#define camel_message_info_set_mlist(x, s) (g_free(((CamelMessageInfo *)(x))->mlist),((CamelMessageInfo *)(x))->mlist = (s))
#endif
+
+/* debugging functions */
+
+void camel_content_info_dump (CamelMessageContentInfo *ci, int depth);
+
+void camel_message_info_dump (CamelMessageInfo *mi);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */