rpm
5.4.15
|
Go to the source code of this file.
Macros | |
#define | _RPMFICL_INTERNAL |
Functions | |
static void | rpmficlFini (void *_ficl) |
static rpmficl | rpmficlGetPool (rpmioPool pool) |
static rpmficl | rpmficlI (void) |
rpmficl | rpmficlNew (char **av, uint32_t flags) |
Create and load a ficl interpreter. More... | |
rpmRC | rpmficlRunFile (rpmficl ficl, const char *fn, const char **resultp) |
Execute ficl from a file. More... | |
rpmRC | rpmficlRun (rpmficl ficl, const char *str, const char **resultp) |
Execute ficl string. More... | |
Variables | |
int | _rpmficl_debug = 0 |
rpmficl | _rpmficlI = NULL |
rpmioPool | _rpmficlPool |
|
static |
Definition at line 51 of file rpmficl.c.
References _rpmficl_debug, _rpmficlPool, rpmficlFini(), rpmioGetPool(), and rpmioNewPool().
Referenced by rpmficlNew().
|
static |
Definition at line 65 of file rpmficl.c.
References _rpmficlI, and rpmficlNew().
Referenced by rpmficlNew(), rpmficlRun(), and rpmficlRunFile().
rpmficl rpmficlNew | ( | char ** | av, |
uint32_t | flags | ||
) |
Create and load a ficl interpreter.
av | ficl interpreter args (or NULL) |
flags | ficl interpreter flags ((1<<31) == use global interpreter) |
Definition at line 74 of file rpmficl.c.
References _rpmficl_debug, argvCount(), b, rpmficlGetPool(), rpmficlI(), rpmficlLink(), rpmiobEmpty(), and rpmiobStr().
Referenced by expandMacro(), and rpmficlI().
Execute ficl string.
ficl | ficl interpreter (NULL uses global interpreter) |
str | ficl string to execute (NULL returns RPMRC_FAIL) |
*resultp | ficl exec result |
Definition at line 140 of file rpmficl.c.
References _rpmficl_debug, rpmficlI(), rpmiobStr(), RPMRC_FAIL, and RPMRC_OK.
Referenced by expandMacro().
Execute ficl from a file.
ficl | ficl interpreter (NULL uses global interpreter) |
fn | ficl file to run (NULL returns RPMRC_FAIL) |
*resultp | ficl exec result |
Definition at line 123 of file rpmficl.c.
References _rpmficl_debug, rpmficlI(), RPMRC_FAIL, and RPMRC_OK.
int _rpmficl_debug = 0 |
Definition at line 14 of file rpmficl.c.
Referenced by rpmficlGetPool(), rpmficlNew(), rpmficlRun(), and rpmficlRunFile().
rpmficl _rpmficlI = NULL |
Definition at line 17 of file rpmficl.c.
Referenced by rpmficlI(), and rpmioClean().
rpmioPool _rpmficlPool |
Definition at line 49 of file rpmficl.c.
Referenced by rpmficlGetPool(), and rpmioClean().