|
gwenhywfar 5.10.1
|
#include <gwenhywfar/gwenhywfarapi.h>#include <gwenhywfar/db.h>

Go to the source code of this file.
Data Structures | |
| struct | GWEN_FUNCS |
Macros | |
| #define | GWEN_FE_D GWEN_FUNCS_ENTRY_DB_NODE |
| #define | GWEN_FE_DA GWEN_FUNCS_ENTRY_DB_NODE_ARGS |
| #define | GWEN_FE_DAH GWEN_FUNCS_ENTRY_DB_NODE_ARGS_HELP |
| #define | GWEN_FE_END GWEN_FUNCS_ENTRY_END |
| #define | GWEN_FUNCS_ENTRY(a, b) { a, b, NULL, NULL, NULL } |
| #define | GWEN_FUNCS_ENTRY_ARGS(a, b) { a, 0, b, NULL, NULL } |
| #define | GWEN_FUNCS_ENTRY_DB_NODE_ARGS(a, b) { a, NULL, NULL, b, NULL } |
| #define | GWEN_FUNCS_ENTRY_DB_NODE_ARGS_HELP(a, b, c) { a, NULL, NULL, b, c } |
| #define | GWEN_FUNCS_ENTRY_END() { NULL, NULL, NULL, NULL, NULL } |
| #define | GWEN_FUNCS_ENTRY_HELP(a, b, c) { a, b, NULL, NULL, c } |
| #define | GWEN_FUNNCS_ENTRY_ARGS_HELP(a, b, c) { a, 0, b, NULL, c } |
Functions | |
| GWENHYWFAR_API int | GWEN_Funcs_Call (const GWEN_FUNCS *func) |
| GWENHYWFAR_API int | GWEN_Funcs_Call_Args (const GWEN_FUNCS *func, int argc, char **argv) |
| GWENHYWFAR_API int | GWEN_Funcs_Call_DB_NODE_Args (const GWEN_FUNCS *func, GWEN_DB_NODE *node, int argc, char **argv) |
| GWENHYWFAR_API const GWEN_FUNCS * | GWEN_Funcs_Find (const GWEN_FUNCS *funcs, const char *name) |
| GWENHYWFAR_API int | GWEN_Funcs_Has_Call (const GWEN_FUNCS *func) |
| GWENHYWFAR_API int | GWEN_Funcs_Has_Call_Args (const GWEN_FUNCS *func) |
| GWENHYWFAR_API int | GWEN_Funcs_Has_Call_DB_NODE_Args (const GWEN_FUNCS *func) |
| GWENHYWFAR_API void | GWEN_Funcs_Usage (const GWEN_FUNCS *funcs) |
| GWENHYWFAR_API void | GWEN_Funcs_Usage_With_Help (const GWEN_FUNCS *funcs) |
| #define GWEN_FE_DA GWEN_FUNCS_ENTRY_DB_NODE_ARGS |
| #define GWEN_FE_DAH GWEN_FUNCS_ENTRY_DB_NODE_ARGS_HELP |
| #define GWEN_FE_END GWEN_FUNCS_ENTRY_END |
| #define GWEN_FUNNCS_ENTRY_ARGS_HELP | ( | a, | |
| b, | |||
| c | |||
| ) | { a, 0, b, NULL, c } |
| GWENHYWFAR_API int GWEN_Funcs_Call | ( | const GWEN_FUNCS * | func | ) |
Definition at line 49 of file funcs.c.
References GWEN_FUNCS::func1.
| GWENHYWFAR_API 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.
| GWENHYWFAR_API 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().

| GWENHYWFAR_API const GWEN_FUNCS * GWEN_Funcs_Find | ( | const GWEN_FUNCS * | funcs, |
| const char * | name | ||
| ) |
This function returns a pointer to the function described by name or NULL if the function was not found.
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().

| GWENHYWFAR_API int GWEN_Funcs_Has_Call | ( | const GWEN_FUNCS * | func | ) |
Definition at line 34 of file funcs.c.
References GWEN_FUNCS::func1, and NULL.
| GWENHYWFAR_API int GWEN_Funcs_Has_Call_Args | ( | const GWEN_FUNCS * | func | ) |
Definition at line 39 of file funcs.c.
References GWEN_FUNCS::func2, and NULL.
| GWENHYWFAR_API 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.
| GWENHYWFAR_API void GWEN_Funcs_Usage | ( | const GWEN_FUNCS * | funcs | ) |
This function prints out a space separated list of all defined functions without description.
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.
| GWENHYWFAR_API void GWEN_Funcs_Usage_With_Help | ( | const GWEN_FUNCS * | funcs | ) |
This function outputs a list of all defined functions including the description
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().
