aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/session.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/session.h b/mail/session.h
new file mode 100644
index 0000000000..8b870f0383
--- /dev/null
+++ b/mail/session.h
@@ -0,0 +1,17 @@
+#ifndef EVOLUTION_MAIL_SESSION_H
+#define EVOLUTION_MAIL_SESSION_H
+
+#include <camel/camel-store.h>
+#include <camel/camel-session.h>
+typedef struct {
+ CamelSession *session;
+ CamelStore *store;
+} SessionStore;
+
+SessionStore *session_store_new (const char *uri);
+void session_store_destroy (SessionStore *ss);
+void session_init (void);
+
+extern SessionStore *default_session;
+
+#endif /* EVOLUTION_MAIL_SESSION_H */