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