Defines | |
| #define | MYSERVER_RUNAS_CONSOLE 1 |
| #define | MYSERVER_RUNAS_SERVICE 2 |
Functions | |
| void | consoleService () |
| int | main (int argn, char **argv) |
| void | registerService () |
| void | registerSignals () |
| void | removeService () |
| void | RunAsService () |
| void | runService () |
| void | Sig_Hup (int signal) |
| void | Sig_Quit (int signal) |
| int | writePidfile (const char *) |
Variables | |
| int | argn |
| char ** | argv |
| char * | path |
| const char * | versionOfSoftware = "0.8.12" |
|
|
External libraries to be included in the project. |
|
|
|
|
|
Start MyServer in console mode. |
|
||||||||||||
|
Main function for MyServer. |
|
|
Register the service. |
|
|
|
|
|
Unregister the OS service. |
|
|
Start the service. |
|
|
Run MyServer service. |
|
|
|
|
|
|
|
|
Write the current PID to the file. |
|
|
|
|
|
|
|
|
|
|
|
Change this to reflect the version of the software. |
1.3.9.1