summaryrefslogtreecommitdiff
path: root/src/bincimap-up.cc
blob: c74b98ff8196d4de6564c28ad55c16d5fa778c82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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();
}