|
gwenhywfar
5.10.1
|
#include "args.h"#include <gwenhywfar/debug.h>#include <stdlib.h>#include <assert.h>#include <string.h>
Go to the source code of this file.
Macros | |
| #define | I18N(m) m |
| #define | I18S(m) m |
Functions | |
| void | Arguments_AddParam (ARGUMENTS *ar, const char *pr) |
| void | Arguments_free (ARGUMENTS *ar) |
| ARGUMENTS * | Arguments_new () |
| int | checkArgs (ARGUMENTS *args, int argc, char **argv) |
| void | FreeParam_free (FREEPARAM *fr) |
| FREEPARAM * | FreeParam_new (const char *s) |
| void | usage (GWEN_UNUSED const char *prgname) |
| #define I18N | ( | m | ) | m |
Definition at line 24 of file tools/typemaker/args.c.
Referenced by checkArgs(), and usage().
| #define I18S | ( | m | ) | m |
Definition at line 25 of file tools/typemaker/args.c.
| void Arguments_AddParam | ( | ARGUMENTS * | ar, |
| const char * | pr | ||
| ) |
Definition at line 72 of file tools/typemaker/args.c.
References DBG_ENTER, DBG_LEAVE, FreeParam_new(), _S_PARAM::next, and _S_ARGS::params.
Referenced by checkArgs().


| void Arguments_free | ( | ARGUMENTS * | ar | ) |
Definition at line 99 of file tools/typemaker/args.c.
Referenced by main().

| ARGUMENTS* Arguments_new | ( | ) |
Definition at line 36 of file tools/typemaker/args.c.
Referenced by main().

| int checkArgs | ( | ARGUMENTS * | args, |
| int | argc, | ||
| char ** | argv | ||
| ) |
Definition at line 136 of file tools/typemaker/args.c.
Referenced by main().

| void FreeParam_free | ( | FREEPARAM * | fr | ) |
Definition at line 64 of file tools/typemaker/args.c.
Referenced by Arguments_free().

| FREEPARAM* FreeParam_new | ( | const char * | s | ) |
Definition at line 52 of file tools/typemaker/args.c.
References _S_PARAM::param.
Referenced by Arguments_AddParam().

| void usage | ( | GWEN_UNUSED const char * | prgname | ) |
Definition at line 117 of file tools/typemaker/args.c.
References I18N, and k_PRG_VERSION_INFO.
Referenced by checkArgs().

1.8.14