#include <sys/param.h>
Go to the source code of this file.
|
#define | _DEBUG |
|
#define | DEBUG_OUT(...) do { fprintf(stdout,"wd: " __VA_ARGS__ ); fprintf(stdout,"\n"); fflush(stdout); } while( 0 ) |
|
|
enum | wd_oper_t {
WD_OPER_NONE,
WD_OPER_ADD,
WD_OPER_REMOVE,
WD_OPER_DUMP,
WD_OPER_LIST,
WD_OPER_GET_BY_BM_NAME,
WD_OPER_GET
} |
|
enum | wd_entity_t {
WD_ENTITY_ANY,
WD_ENTITY_DIR,
WD_ENTITY_FILE,
WD_ENTITY_UNKNOWN,
WD_ENTITY_NONEXISTANT
} |
|
enum | wd_dir_format_t { WD_DIRFORM_NONE,
WD_DIRFORM_CYGWIN,
WD_DIRFORM_WINDOWS
} |
|
#define DEBUG_OUT |
( |
|
... | ) |
do { fprintf(stdout,"wd: " __VA_ARGS__ ); fprintf(stdout,"\n"); fflush(stdout); } while( 0 ) |
Enumerator |
---|
WD_DIRFORM_NONE |
|
WD_DIRFORM_CYGWIN |
|
WD_DIRFORM_WINDOWS |
|
Definition at line 40 of file cmdln.h.
Enumerator |
---|
WD_ENTITY_ANY |
|
WD_ENTITY_DIR |
|
WD_ENTITY_FILE |
|
WD_ENTITY_UNKNOWN |
|
WD_ENTITY_NONEXISTANT |
|
Definition at line 32 of file cmdln.h.
Enumerator |
---|
WD_OPER_NONE |
|
WD_OPER_ADD |
|
WD_OPER_REMOVE |
|
WD_OPER_DUMP |
|
WD_OPER_LIST |
|
WD_OPER_GET_BY_BM_NAME |
|
WD_OPER_GET |
|
Definition at line 22 of file cmdln.h.
Initialise the specified config with default values.
- Parameters
-
[in] | p_config | The configuration to initialise |
Definition at line 86 of file cmdln.c.
int process_cmdln |
( |
config_container_t *const |
p_config, |
|
|
const int |
argc, |
|
|
char *const |
argv[] |
|
) |
| |