44#ifndef INCLUDE_OLA_BASE_INIT_H_
45#define INCLUDE_OLA_BASE_INIT_H_
72bool 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);
148void InitExportMap(
int argc,
char* argv[], ExportMap *export_map);
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:291
void Daemonise()
Run as a daemon.
Definition Init.cpp:323
bool InstallSignal(int sig, void(*fp)(int signo))
Install a signal handler.
Definition Init.cpp:258
bool InstallSEGVHandler()
Install signal handlers to deal with SIGBUS & SIGSEGV.
Definition Init.cpp:278
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:221
bool ServerInit(int argc, char *argv[], ExportMap *export_map)
Used to initialize a server.
Definition Init.cpp:190
void ClockInit()
Logs status of clock capabilities.
Definition Init.cpp:395
bool NetworkInit()
Perform platform-specific initialization of the networking subsystem.
Definition Init.cpp:242
The namespace containing all OLA symbols.
Definition Credentials.cpp:44