rpm
5.4.15
|
Go to the source code of this file.
Macros | |
#define | rpmficlUnlink(_ficl) ((rpmficl)rpmioUnlinkPoolItem((rpmioItem)(_ficl), __FUNCTION__, __FILE__, __LINE__)) |
#define | rpmficlLink(_ficl) ((rpmficl)rpmioLinkPoolItem((rpmioItem)(_ficl), __FUNCTION__, __FILE__, __LINE__)) |
#define | rpmficlFree(_ficl) ((rpmficl)rpmioFreePoolItem((rpmioItem)(_ficl), __FUNCTION__, __FILE__, __LINE__)) |
Typedefs | |
typedef struct rpmficl_s * | rpmficl |
Functions | |
rpmficl | rpmficlUnlink (rpmficl ficl) |
Unreference a ficl interpreter instance. More... | |
rpmficl | rpmficlLink (rpmficl ficl) |
Reference a ficl interpreter instance. More... | |
rpmficl | rpmficlFree (rpmficl ficl) |
Destroy a ficl interpreter. More... | |
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 |
rpmficl | _rpmficlI |
#define rpmficlFree | ( | _ficl | ) | ((rpmficl)rpmioFreePoolItem((rpmioItem)(_ficl), __FUNCTION__, __FILE__, __LINE__)) |
#define rpmficlLink | ( | _ficl | ) | ((rpmficl)rpmioLinkPoolItem((rpmioItem)(_ficl), __FUNCTION__, __FILE__, __LINE__)) |
#define rpmficlUnlink | ( | _ficl | ) | ((rpmficl)rpmioUnlinkPoolItem((rpmioItem)(_ficl), __FUNCTION__, __FILE__, __LINE__)) |
Destroy a ficl interpreter.
ficl | ficl interpreter |
Referenced by expandMacro(), and rpmioClean().
Reference a ficl interpreter instance.
ficl | ficl interpreter |
Referenced by rpmficlNew().
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.
Unreference a ficl interpreter instance.
ficl | ficl interpreter |
int _rpmficl_debug |
Definition at line 14 of file rpmficl.c.
Referenced by rpmficlGetPool(), rpmficlNew(), rpmficlRun(), and rpmficlRunFile().
rpmficl _rpmficlI |
Definition at line 17 of file rpmficl.c.
Referenced by rpmficlI(), and rpmioClean().