aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-send-recv.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-send-recv.h')
-rw-r--r--mail/mail-send-recv.h25
1 files changed, 11 insertions, 14 deletions
diff --git a/mail/mail-send-recv.h b/mail/mail-send-recv.h
index 8d8e4bbde2..4fc4e991ec 100644
--- a/mail/mail-send-recv.h
+++ b/mail/mail-send-recv.h
@@ -24,25 +24,22 @@
#define MAIL_SEND_RECV_H
#include <gtk/gtk.h>
-#include "mail-config.h"
+#include <camel/camel-session.h>
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
-
-struct _CamelSession;
+G_BEGIN_DECLS
/* send/receive all uri's */
-GtkWidget *mail_send_receive(void);
+GtkWidget * mail_send_receive (void);
+
/* receive a single uri */
-void mail_receive_uri(const char *uri, int keep);
-void mail_send (void);
+void mail_receive_uri (const gchar *uri,
+ gboolean keep_on_server);
+
+void mail_send (void);
+
/* setup auto receive stuff */
-void mail_autoreceive_init (struct _CamelSession *session);
+void mail_autoreceive_init (CamelSession *session);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* ! MAIL_SEND_RECV_H */