
Go to the source code of this file.
Classes | |
| struct | argo_data_t |
Defines | |
| #define | ARGO_MAX_SWITCH 10 |
| #define | ARGON_DOUBLE 2 |
| #define | ARGON_INT 0 |
| #define | ARGON_STRING 1 |
| #define | STR strdup |
| #define | WMP_ERROR fprintf |
Functions | |
| int | argo_addDouble (double *var, char *sw, double dfl) |
| int | argo_addInt (int *var, char *sw, int dfl, int need_value) |
| int | argo_addIntMandatory (int *var, char *sw, int dfl, int need_value) |
| int | argo_addString (char *var, char *sw, char *dfl) |
| void | argo_doProcess (int argc, char *argv[], int start) |
| void | argo_setComment (char *sw, char *text) |
| void | argo_setCommentId (int id, char *text) |
| void | argo_setExample (char *exe, char *switchs) |
| static void | init () |
Variables | |
| static char | example [256] |
| struct { | |
| argo_data_t at [ARGO_MAX_SWITCH] | |
| char idx | |
| } | regs |
| #define ARGO_MAX_SWITCH 10 |
Definition at line 40 of file src/argon.h.
| #define ARGON_DOUBLE 2 |
Definition at line 53 of file src/argon.h.
| #define ARGON_INT 0 |
Definition at line 51 of file src/argon.h.
| #define ARGON_STRING 1 |
Definition at line 52 of file src/argon.h.
| #define STR strdup |
Definition at line 55 of file src/argon.h.
| #define WMP_ERROR fprintf |
Definition at line 54 of file src/argon.h.
| int argo_addDouble | ( | double * | var, |
| char * | sw, | ||
| double | dfl | ||
| ) |
| int argo_addInt | ( | int * | var, |
| char * | sw, | ||
| int | dfl, | ||
| int | need_value | ||
| ) |
| int argo_addIntMandatory | ( | int * | var, |
| char * | sw, | ||
| int | dfl, | ||
| int | need_value | ||
| ) |
Definition at line 95 of file src/argon.h.
| int argo_addString | ( | char * | var, |
| char * | sw, | ||
| char * | dfl | ||
| ) |
| void argo_doProcess | ( | int | argc, |
| char * | argv[], | ||
| int | start | ||
| ) |
| void argo_setComment | ( | char * | sw, |
| char * | text | ||
| ) |
| void argo_setCommentId | ( | int | id, |
| char * | text | ||
| ) |
| void argo_setExample | ( | char * | exe, |
| char * | switchs | ||
| ) |
Definition at line 141 of file src/argon.h.
| static void init | ( | ) | [static] |
Definition at line 74 of file src/argon.h.
Definition at line 68 of file src/argon.h.
char example[256] [static] |
Definition at line 72 of file src/argon.h.
| char idx |
Definition at line 69 of file src/argon.h.
struct { ... } regs [static] |