Functions | |
void | do_init (const int argc, char **argv) |
Called on server startup. | |
void | set_termfunc (void(*termfunc)(void)) |
Assign a function as a callback on termination. | |
void | versionscreen (void) |
Prints version. | |
void | display_title (void) |
Prints logo Prints a fancy and colourful logo. | |
int | get_version (char flag) |
Gets server version number. | |
Variables | |
int | runflag |
Main loop control. | |
time_t | start_time |
Server startup time. |
|
Prints logo Prints a fancy and colourful logo.
|
|
Called on server startup.
A standalone server must implement this function. The
|
|
Gets server version number.
|
|
Assign a function as a callback on termination.
This is not useful at the moment, since the signal handler is broken. Refer to
|
|
Prints version. Prints a fancy and colourful version information.
|
|
Main loop control. Set this to 0 to terminate the main loop.
|
|
Server startup time. This is used for uptime calculation. |