summaryrefslogtreecommitdiff
path: root/src/bincimap-up.cc
blob: 48615ad0204a7c2510225d3bf1dad7a153dcf276 (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[])
{
  auto imapServer = Binc::IMAPServer(argc, argv);
  int initResult = imapServer.initialize();
  if (initResult != 0) return initResult;
  return imapServer.runStub();
}