gwenhywfar 5.12.0
args.c File Reference
#include "args.h"
#include <gwenhywfar/debug.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
Include dependency graph for tools/xmlmerge/args.c:

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)
ARGUMENTSArguments_new ()
int checkArgs (ARGUMENTS *args, int argc, char **argv)
void FreeParam_free (FREEPARAM *fr)
FREEPARAMFreeParam_new (const char *s)
void usage (GWEN_UNUSED const char *prgname)

Macro Definition Documentation

◆ I18N

#define I18N ( m)
Value:
m

Definition at line 24 of file tools/xmlmerge/args.c.

Referenced by checkArgs(), and usage().

◆ I18S

#define I18S ( m)
Value:
m

Definition at line 25 of file tools/xmlmerge/args.c.

Function Documentation

◆ Arguments_AddParam()

void Arguments_AddParam ( ARGUMENTS * ar,
const char * pr )

Definition at line 73 of file tools/xmlmerge/args.c.

References DBG_ENTER, DBG_LEAVE, FreeParam_new(), _S_PARAM::next, and _S_ARGS::params.

Referenced by checkArgs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Arguments_free()

void Arguments_free ( ARGUMENTS * ar)

Definition at line 100 of file tools/xmlmerge/args.c.

References FreeParam_free(), _S_PARAM::next, and _S_ARGS::params.

Here is the call graph for this function:

◆ Arguments_new()

◆ checkArgs()

◆ FreeParam_free()

void FreeParam_free ( FREEPARAM * fr)

Definition at line 65 of file tools/xmlmerge/args.c.

Referenced by Arguments_free().

Here is the caller graph for this function:

◆ FreeParam_new()

FREEPARAM * FreeParam_new ( const char * s)

Definition at line 53 of file tools/xmlmerge/args.c.

References _S_PARAM::param.

Referenced by Arguments_AddParam().

Here is the caller graph for this function:

◆ usage()

void usage ( GWEN_UNUSED const char * prgname)

Definition at line 118 of file tools/xmlmerge/args.c.

References GWEN_UNUSED, I18N, and k_PRG_VERSION_INFO.

Referenced by checkArgs().

Here is the caller graph for this function: