|
rpm
5.4.14
|

Go to the source code of this file.
Macros | |
| #define | _RPMTCL_INTERNAL |
Functions | |
| static void | rpmtclFini (void *_tcl) |
| static rpmtcl | rpmtclGetPool (rpmioPool pool) |
| static rpmtcl | rpmtclI (void) |
| rpmtcl | rpmtclNew (char **av, uint32_t flags) |
| Create and load a tcl interpreter. More... | |
| rpmRC | rpmtclRunFile (rpmtcl tcl, const char *fn, const char **resultp) |
| Execute tcl from a file. More... | |
| rpmRC | rpmtclRun (rpmtcl tcl, const char *str, const char **resultp) |
| Execute tcl string. More... | |
Variables | |
| int | _rpmtcl_debug = 0 |
| rpmtcl | _rpmtclI = NULL |
| rpmioPool | _rpmtclPool |
Definition at line 19 of file rpmtcl.c.
References NULL, rpmiobFree(), and void.
Referenced by rpmtclGetPool().
Definition at line 36 of file rpmtcl.c.
References _rpmtcl_debug, _rpmtclPool, NULL, rpmioGetPool(), rpmioNewPool(), and rpmtclFini().
Referenced by rpmtclNew().
Definition at line 116 of file rpmtcl.c.
References _rpmtclI, NULL, and rpmtclNew().
Referenced by rpmtclNew(), rpmtclRun(), and rpmtclRunFile().
| rpmtcl rpmtclNew | ( | char ** | av, |
| uint32_t | flags | ||
| ) |
Create and load a tcl interpreter.
| av | tcl interpreter args (or NULL) |
| flags | tcl interpreter flags ((1<<31): use global interpreter) |
Definition at line 125 of file rpmtcl.c.
References ac, argvCount(), NULL, rpmiobNew(), rpmtclGetPool(), rpmtclI(), rpmtclLink(), sprintf(), and void.
Execute tcl string.
| tcl | tcl interpreter (NULL uses global interpreter) |
| str | tcl string to execute (NULL returns RPMRC_FAIL) |
| *resultp | tcl exec result |
Definition at line 179 of file rpmtcl.c.
References _rpmtcl_debug, fprintf(), NULL, rc, rpmiobStr(), RPMRC_FAIL, RPMRC_OK, and rpmtclI().
Referenced by while().
Execute tcl from a file.
| tcl | tcl interpreter (NULL uses global interpreter) |
| fn | tcl file to run (NULL returns RPMRC_FAIL) |
| *resultp | tcl exec result |
Definition at line 160 of file rpmtcl.c.
References _rpmtcl_debug, fprintf(), NULL, rc, rpmiobStr(), RPMRC_FAIL, RPMRC_OK, and rpmtclI().
| int _rpmtcl_debug = 0 |
Definition at line 14 of file rpmtcl.c.
Referenced by rpmtclGetPool(), rpmtclRun(), and rpmtclRunFile().
Definition at line 17 of file rpmtcl.c.
Referenced by rpmioClean(), and rpmtclI().
| rpmioPool _rpmtclPool |
Definition at line 34 of file rpmtcl.c.
Referenced by rpmioClean(), and rpmtclGetPool().
1.8.5