|
gwenhywfar 5.14.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) |
| #define | I18S(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 | ) |
Definition at line 24 of file tools/typemaker/args.c.
Referenced by checkArgs(), and usage().
| #define I18S | ( | 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.
References FreeParam_free(), _S_PARAM::next, and _S_ARGS::params.
Referenced by main().


| ARGUMENTS * Arguments_new | ( | ) |
Definition at line 36 of file tools/typemaker/args.c.
References _S_ARGS::compact, GWEN_LoggerLevel_Notice, GWEN_LoggerType_Console, _S_ARGS::logLevel, _S_ARGS::logType, and _S_ARGS::verbous.
Referenced by main().

| int checkArgs | ( | ARGUMENTS * | args, |
| int | argc, | ||
| char ** | argv ) |
Definition at line 136 of file tools/typemaker/args.c.
References Arguments_AddParam(), _S_ARGS::compact, _S_ARGS::domain, GWEN_Logger_Name2Level(), GWEN_Logger_Name2Logtype(), GWEN_LoggerLevel_Unknown, GWEN_LoggerType_Unknown, I18N, k_PRG_VERSION_INFO, _S_ARGS::logFile, _S_ARGS::logLevel, _S_ARGS::logType, _S_ARGS::outputFile, RETURNVALUE_PARAM, usage(), and _S_ARGS::verbous.
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 GWEN_UNUSED, I18N, and k_PRG_VERSION_INFO.
Referenced by checkArgs().
