gwenhywfar  4.99.8beta
Macros | Functions
tools/typemaker/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/typemaker/args.c:

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

Macro Definition Documentation

#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.

Function Documentation

void Arguments_AddParam ( ARGUMENTS ar,
const char *  pr 
)

Definition at line 69 of file tools/typemaker/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:

void Arguments_free ( ARGUMENTS ar)

Definition at line 95 of file tools/typemaker/args.c.

Referenced by main().

Here is the caller graph for this function:

ARGUMENTS* Arguments_new ( )

Definition at line 36 of file tools/typemaker/args.c.

Referenced by main().

Here is the caller graph for this function:

int checkArgs ( ARGUMENTS args,
int  argc,
char **  argv 
)

Definition at line 130 of file tools/typemaker/args.c.

Referenced by main().

Here is the caller graph for this function:

void FreeParam_free ( FREEPARAM fr)

Definition at line 62 of file tools/typemaker/args.c.

Referenced by Arguments_free().

Here is the caller graph for this function:

FREEPARAM* FreeParam_new ( const char *  s)

Definition at line 51 of file tools/typemaker/args.c.

References _S_PARAM::param.

Referenced by Arguments_AddParam().

Here is the caller graph for this function:

void usage ( const char *  prgname)

Definition at line 112 of file tools/typemaker/args.c.

References I18N, and k_PRG_VERSION_INFO.

Referenced by checkArgs().

Here is the caller graph for this function: