gwenhywfar  5.10.1
Functions
funcs.c File Reference
#include "funcs.h"
#include <stdio.h>
Include dependency graph for funcs.c:

Go to the source code of this file.

Functions

int GWEN_Funcs_Call (const GWEN_FUNCS *func)
 
int GWEN_Funcs_Call_Args (const GWEN_FUNCS *func, int argc, char **argv)
 
int GWEN_Funcs_Call_DB_NODE_Args (const GWEN_FUNCS *func, GWEN_DB_NODE *node, int argc, char **argv)
 
const GWEN_FUNCSGWEN_Funcs_Find (const GWEN_FUNCS *funcs, const char *name)
 
int GWEN_Funcs_Has_Call (const GWEN_FUNCS *func)
 
int GWEN_Funcs_Has_Call_Args (const GWEN_FUNCS *func)
 
int GWEN_Funcs_Has_Call_DB_NODE_Args (const GWEN_FUNCS *func)
 
void GWEN_Funcs_Usage (const GWEN_FUNCS *funcs)
 
void GWEN_Funcs_Usage_With_Help (const GWEN_FUNCS *funcs)
 

Function Documentation

◆ GWEN_Funcs_Call()

int GWEN_Funcs_Call ( const GWEN_FUNCS func)

Definition at line 49 of file funcs.c.

References GWEN_FUNCS::func1.

◆ GWEN_Funcs_Call_Args()

int GWEN_Funcs_Call_Args ( const GWEN_FUNCS func,
int  argc,
char **  argv 
)

Definition at line 54 of file funcs.c.

References GWEN_FUNCS::func2.

◆ GWEN_Funcs_Call_DB_NODE_Args()

int GWEN_Funcs_Call_DB_NODE_Args ( const GWEN_FUNCS func,
GWEN_DB_NODE node,
int  argc,
char **  argv 
)

Definition at line 59 of file funcs.c.

References GWEN_FUNCS::func3.

Referenced by main().

Here is the caller graph for this function:

◆ GWEN_Funcs_Find()

const GWEN_FUNCS* GWEN_Funcs_Find ( const GWEN_FUNCS funcs,
const char *  name 
)

This function returns a pointer to the function identified by name or NULL if function has not been found.

Definition at line 95 of file funcs.c.

References GWEN_FUNCS::name, and NULL.

Referenced by main().

Here is the caller graph for this function:

◆ GWEN_Funcs_Has_Call()

int GWEN_Funcs_Has_Call ( const GWEN_FUNCS func)

Definition at line 34 of file funcs.c.

References GWEN_FUNCS::func1, and NULL.

◆ GWEN_Funcs_Has_Call_Args()

int GWEN_Funcs_Has_Call_Args ( const GWEN_FUNCS func)

Definition at line 39 of file funcs.c.

References GWEN_FUNCS::func2, and NULL.

◆ GWEN_Funcs_Has_Call_DB_NODE_Args()

int GWEN_Funcs_Has_Call_DB_NODE_Args ( const GWEN_FUNCS func)

Definition at line 44 of file funcs.c.

References GWEN_FUNCS::func3, and NULL.

◆ GWEN_Funcs_Usage()

void GWEN_Funcs_Usage ( const GWEN_FUNCS funcs)

This function prints out a space separated list of all defined functions

Definition at line 67 of file funcs.c.

References GWEN_FUNCS::description, and GWEN_FUNCS::name.

◆ GWEN_Funcs_Usage_With_Help()

void GWEN_Funcs_Usage_With_Help ( const GWEN_FUNCS funcs)

This function prints out list of all defined functions including the description

Definition at line 82 of file funcs.c.

References GWEN_FUNCS::description, and GWEN_FUNCS::name.

Referenced by main().

Here is the caller graph for this function: