#include <time.h>
Go to the source code of this file.
Version Flags | |
The flags to be passed into get_version().
| |
| #define | VERSION_FLAG_MAJOR 0 |
| #define | VERSION_FLAG_MINOR 1 |
| #define | VERSION_FLAG_REVISION 2 |
| #define | VERSION_FLAG_RELEASE 3 |
| #define | VERSION_FLAG_OFFICIAL 4 |
| #define | VERSION_FLAG_MOD 5 |
Defines | |
| #define | MAX_TERMFUNC 10 |
| Maximum number of termfunc callbacks. | |
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. | |
|
|
Maximum number of termfunc callbacks.
|
1.4.4