Command_Line_Options Struct Reference


Data Fields

const char * cmd_option
uint8 num_args
uint8 pass
void(* func )()

Detailed Description

One command line option definition. Most of this is shamelessly stolen from XSysStats. But since that is also my program, no problem.

Definition at line 216 of file init.c.


Field Documentation

const char* cmd_option

How it is called on the command line.

Definition at line 217 of file init.c.

void(* func)()

function to call when we match this. if num_args is true, than that gets passed to the function, otherwise nothing is passed

Number or args it takes.

Definition at line 218 of file init.c.

What pass this should be processed on.

Todo:
describe passes :)

Definition at line 219 of file init.c.


The documentation for this struct was generated from the following file:

Generated on Thu Mar 25 23:27:59 2010 for Crossfire Server, Branch 1.12 by  doxygen 1.5.8