summaryrefslogtreecommitdiff
path: root/src/bincimapd.cc
blob: 1ec89dfe8c62a2b40ca701fabe27b0a3853f8111 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 *  @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[])
{
  auto imapServer = Binc::IMAPServer(argc, argv);
  int initResult = imapServer.initialize();
  if (initResult != 0) return initResult;
  return imapServer.run();
}