Crossfire Server, Branch 1.12
R12190
|
One command line option definition. More...
Data Fields | |
const char * | cmd_option |
How it is called on the command line. | |
void(* | func )() |
function to call when we match this. | |
uint8 | num_args |
Number or args it takes. | |
uint8 | pass |
What pass this should be processed on. |
One command line option definition.
Most of this is shamelessly stolen from XSysStats. But since that is also my program, no problem.
const char* Command_Line_Options::cmd_option |
How it is called on the command line.
Definition at line 217 of file init.c.
Referenced by parse_args().
void(* Command_Line_Options::func)() |
function to call when we match this.
if num_args is true, than that gets passed to the function, otherwise nothing is passed
Definition at line 220 of file init.c.
Referenced by parse_args().