aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>2000-02-17 03:34:17 +0800
committerArturo Espinosa <unammx@src.gnome.org>2000-02-17 03:34:17 +0800
commit8400162c3178a83c761f2628b5d97a9cdd2a7100 (patch)
tree2129a123149618d92b5b66a25122691fd3ceda7f /mail
parent7f04720b1efe9baea8770813e85cb17cd600d077 (diff)
downloadgsoc2013-evolution-8400162c3178a83c761f2628b5d97a9cdd2a7100.tar.gz
gsoc2013-evolution-8400162c3178a83c761f2628b5d97a9cdd2a7100.tar.zst
gsoc2013-evolution-8400162c3178a83c761f2628b5d97a9cdd2a7100.zip
Add session.h
svn path=/trunk/; revision=1799
Diffstat (limited to 'mail')
-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 */