aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-05-03 18:31:00 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-03 18:31:00 +0800
commite24fd5f7d15b9a97812764d1598a267204fc4479 (patch)
tree171d12e7abae6f09cccd02598bbea449daab5a05 /mail/mail-tools.h
parent03cdf54aaba80cf64c118b148c32d5f540365d93 (diff)
downloadgsoc2013-evolution-e24fd5f7d15b9a97812764d1598a267204fc4479.tar
gsoc2013-evolution-e24fd5f7d15b9a97812764d1598a267204fc4479.tar.gz
gsoc2013-evolution-e24fd5f7d15b9a97812764d1598a267204fc4479.tar.bz2
gsoc2013-evolution-e24fd5f7d15b9a97812764d1598a267204fc4479.tar.lz
gsoc2013-evolution-e24fd5f7d15b9a97812764d1598a267204fc4479.tar.xz
gsoc2013-evolution-e24fd5f7d15b9a97812764d1598a267204fc4479.tar.zst
gsoc2013-evolution-e24fd5f7d15b9a97812764d1598a267204fc4479.zip
removed.
2004-05-03 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (receive_update_done): removed. * em-mailer-prefs.h: * message-tag-followup.h: * mail-config-druid.h: * mail-tools.h: clean up & use forward decls. Fix users with busted includes. svn path=/trunk/; revision=25745
Diffstat (limited to 'mail/mail-tools.h')
-rw-r--r--mail/mail-tools.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/mail/mail-tools.h b/mail/mail-tools.h
index 1603ae6d34..295a30d832 100644
--- a/mail/mail-tools.h
+++ b/mail/mail-tools.h
@@ -1,6 +1,5 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-
-/*
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
+ *
* Author :
* Peter Williams <peterw@ximian.com>
*
@@ -24,8 +23,12 @@
#ifndef MAIL_TOOLS_H
#define MAIL_TOOLS_H
-#include <camel/camel.h>
-#include <camel/camel-filter-driver.h> /*eek*/
+#include <glib.h>
+
+struct _CamelFolder;
+struct _CamelException;
+struct _CamelMimeMessage;
+struct _CamelMimePart;
typedef struct _xevolution {
char *flags;
@@ -38,35 +41,32 @@ typedef struct _xevolution {
} XEvolution;
/* Get the "inbox" for a url (uses global session) */
-CamelFolder *mail_tool_get_inbox (const char *url, CamelException *ex);
+struct _CamelFolder *mail_tool_get_inbox (const char *url, struct _CamelException *ex);
/* Get the "trash" for a url (uses global session) */
-CamelFolder *mail_tool_get_trash (const char *url, int connect, CamelException *ex);
+struct _CamelFolder *mail_tool_get_trash (const char *url, int connect, struct _CamelException *ex);
/* Does a camel_movemail into the local movemail folder
* and returns the path to the new movemail folder that was created. which shoudl be freed later */
-char *mail_tool_do_movemail (const char *source_url, CamelException *ex);
+char *mail_tool_do_movemail (const char *source_url, struct _CamelException *ex);
-XEvolution *mail_tool_remove_xevolution_headers (CamelMimeMessage *message);
-void mail_tool_restore_xevolution_headers (CamelMimeMessage *message, XEvolution *xev);
+XEvolution *mail_tool_remove_xevolution_headers (struct _CamelMimeMessage *message);
+void mail_tool_restore_xevolution_headers (struct _CamelMimeMessage *message, XEvolution *xev);
void mail_tool_destroy_xevolution (XEvolution *xev);
/* Generates the subject for a message forwarding @msg */
-gchar *mail_tool_generate_forward_subject (CamelMimeMessage *msg);
+gchar *mail_tool_generate_forward_subject (struct _CamelMimeMessage *msg);
/* Make a message into an attachment */
-CamelMimePart *mail_tool_make_message_attachment (CamelMimeMessage *message);
-
-/* Parse the ui into a real CamelFolder any way we know how. */
-CamelFolder *mail_tool_uri_to_folder (const char *uri, guint32 flags, CamelException *ex);
+struct _CamelMimePart *mail_tool_make_message_attachment (struct _CamelMimeMessage *message);
-GHashTable *mail_lookup_url_table (CamelMimeMessage *mime_message);
+/* Parse the ui into a real struct _CamelFolder any way we know how. */
+struct _CamelFolder *mail_tool_uri_to_folder (const char *uri, guint32 flags, struct _CamelException *ex);
-CamelFolder *mail_tools_x_evolution_message_parse (char *in, unsigned int inlen, GPtrArray **uids);
+GHashTable *mail_lookup_url_table (struct _CamelMimeMessage *mime_message);
-char *mail_tools_folder_to_url (CamelFolder *folder);
+struct _CamelFolder *mail_tools_x_evolution_message_parse (char *in, unsigned int inlen, GPtrArray **uids);
-struct _EMeta *mail_tool_get_meta_data(const char *uri);
-void mail_tool_delete_meta_data(const char *uri);
+char *mail_tools_folder_to_url (struct _CamelFolder *folder);
#endif