summaryrefslogtreecommitdiff
path: root/src/bincimapd.cc
blob: 44e61bdf3e294c301fe23d992ca23670513556c6 (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() {}
}

int main(int argc, char *argv[])
{
  auto imapServer = Binc::IMAPServer(argc, argv);
  int initResult = imapServer.initialize();
  if (initResult != 0) return initResult;
  return imapServer.run();
}