summaryrefslogtreecommitdiff
path: root/src/bincimapd.cc
blob: b8ba1cbdc0fb2950123058751966c032cecda3ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**  --------------------------------------------------------------------
 *  @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();
}