summaryrefslogtreecommitdiff
path: root/src/bincimap-up.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/bincimap-up.cc')
-rw-r--r--src/bincimap-up.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/bincimap-up.cc b/src/bincimap-up.cc
new file mode 100644
index 0000000..77576de
--- /dev/null
+++ b/src/bincimap-up.cc
@@ -0,0 +1,16 @@
+/** --------------------------------------------------------------------
+ * @file bincimap-up.cc
+ * @brief Implementation of the preauthenticated bincimap stub
+ * @author Andreas Aardal Hanssen
+ * @date 2002-2005
+ * ------------------------------------------------------------------ **/
+#include "imapserver.h"
+
+//------------------------------------------------------------------------
+int main(int argc, char *argv[])
+{
+ Binc::IMAPServer imapServer(argc, argv);
+ int initResult = imapServer.initialize();
+ if (initResult != 0) return initResult;
+ return imapServer.runStub();
+}