44 #ifndef INCLUDE_OLA_BASE_INIT_H_
45 #define INCLUDE_OLA_BASE_INIT_H_
72 bool ServerInit(
int argc,
char *argv[], ExportMap *export_map);
90 ExportMap *export_map,
91 const std::string &first_line,
92 const std::string &description);
109 const std::string &first_line,
110 const std::string &description);
148 void InitExportMap(
int argc,
char* argv[], ExportMap *export_map);
166 #endif // INCLUDE_OLA_BASE_INIT_H_
bool InstallSEGVHandler()
Install signal handlers to deal with SIGBUS & SIGSEGV.
Definition: Init.cpp:274
Export variables on the http server.
void InitExportMap(int argc, char *argv[], ExportMap *export_map)
Populate the ExportMap with a couple of basic variables.
Definition: Init.cpp:287
bool NetworkInit()
Perform platform-specific initialization of the networking subsystem.
Definition: Init.cpp:238
bool ServerInit(int argc, char *argv[], ExportMap *export_map)
Used to initialize a server.
Definition: Init.cpp:188
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
bool AppInit(int *argc, char *argv[], const string &first_line, const string &description)
Used to initialize a application. Installs the SEGV handler and initializes the random number generat...
Definition: Init.cpp:218
bool InstallSignal(int sig, void(*fp)(int signo))
Install a signal handler.
Definition: Init.cpp:254
void Daemonise()
Run as a daemon.
Definition: Init.cpp:319