diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-06-26 01:14:22 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-06-26 01:14:22 +0200 |
commit | 28639c4e3b553664dd7c249d629935c129534c1e (patch) | |
tree | e1f752b581d6deee4fe2b9946ca04b6d00c354d9 /src/argparser.h | |
parent | move structs into .h file (diff) | |
download | argparser-28639c4e3b553664dd7c249d629935c129534c1e.tar.gz argparser-28639c4e3b553664dd7c249d629935c129534c1e.tar.bz2 argparser-28639c4e3b553664dd7c249d629935c129534c1e.tar.xz |
move non-static variables into .h file
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/argparser.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/src/argparser.h b/src/argparser.h index 19629ce..6862f2c 100644 --- a/src/argparser.h +++ b/src/argparser.h @@ -100,3 +100,60 @@ typedef struct } args_Array; + +/** + * The name of the executed command + */ +char* args_program; + +/** + * Short, single-line, description of the program + */ +char* args_description; + +/** + * Formated, multi-line, usage text, `null` if none + */ +char* args_usage; + +/** + * Long, multi-line, description of the program, `null` if none + */ +char* args_longdescription; + +/** + * The error output stream + */ +FILE* args_out; + +/** + * The passed arguments + */ +char** args_arguments; + +/** + * The number of passed arguments + */ +long args_arguments_count; + +/** + * The number of unrecognised arguments + */ +long args_unrecognised_count; + +/** + * The concatination of `files` with blankspaces as delimiters, `null` if no files + */ +char* args_message; + +/** + * The arguments passed that is not tied to an option + */ +char** args_files; + +/** + * The number of elements in `args_files` + */ +long args_files_count; + + |