source: box/trunk/bin/s3simulator/s3simulator.cpp @ 2504

Revision 2504, 659 bytes checked in by chris, 3 years ago (diff)

Move S3Simulator into its own class, like S3Client, for reuse elsewhere.

  • Property svn:eol-style set to native
Line 
1// --------------------------------------------------------------------------
2//
3// File
4//              Name:    s3simulator.cpp
5//              Purpose: main file for S3 simulator daemon
6//              Created: 2003/10/11
7//
8// --------------------------------------------------------------------------
9
10#include "Box.h"
11#include "S3Simulator.h"
12#include "MainHelper.h"
13
14#include "MemLeakFindOn.h"
15
16int main(int argc, const char *argv[])
17{
18        int ExitCode = 0;
19
20        MAINHELPER_START
21
22        Logging::SetProgramName("s3simulator");
23        Logging::ToConsole(true);
24        Logging::ToSyslog (true);
25       
26        S3Simulator daemon;
27        ExitCode = daemon.Main("s3simulator.conf", argc, argv);
28
29        MAINHELPER_END
30
31        return ExitCode;
32}
Note: See TracBrowser for help on using the repository browser.