|
rpm
5.4.14
|
#include "system.h"#include <stdarg.h>#include <argv.h>#include "rpmsquirrel.h"#include "debug.h"
Go to the source code of this file.
Macros | |
| #define | _RPMSQUIRREL_INTERNAL |
Functions | |
| static void | rpmsquirrelFini (void *_squirrel) |
| static rpmsquirrel | rpmsquirrelGetPool (rpmioPool pool) |
| static rpmsquirrel | rpmsquirrelI (void) |
| rpmsquirrel | rpmsquirrelNew (char **av, uint32_t flags) |
| rpmRC | rpmsquirrelRunFile (rpmsquirrel squirrel, const char *fn, const char **resultp) |
| Execute squirrel from a file. More... | |
| rpmRC | rpmsquirrelRun (rpmsquirrel squirrel, const char *str, const char **resultp) |
| Execute squirrel string. More... | |
Variables | |
| int | _rpmsquirrel_debug = 0 |
| rpmsquirrel | _rpmsquirrelI = NULL |
| rpmioPool | _rpmsquirrelPool |
| #define _RPMSQUIRREL_INTERNAL |
Definition at line 16 of file rpmsquirrel.c.
Definition at line 27 of file rpmsquirrel.c.
References NULL, rpmiobFree(), and void.
Referenced by rpmsquirrelGetPool().
|
static |
Definition at line 44 of file rpmsquirrel.c.
References _rpmsquirrel_debug, _rpmsquirrelPool, NULL, rpmioGetPool(), rpmioNewPool(), and rpmsquirrelFini().
Referenced by rpmsquirrelNew().
|
static |
Definition at line 96 of file rpmsquirrel.c.
References _rpmsquirrelI, NULL, and rpmsquirrelNew().
Referenced by rpmsquirrelNew(), rpmsquirrelRun(), and rpmsquirrelRunFile().
| rpmsquirrel rpmsquirrelNew | ( | char ** | av, |
| uint32_t | flags | ||
| ) |
Definition at line 105 of file rpmsquirrel.c.
References ac, argvCount(), i, NULL, rpmiobNew(), rpmsquirrelGetPool(), rpmsquirrelI(), and rpmsquirrelLink().
Referenced by rpmsquirrelI(), and while().
| rpmRC rpmsquirrelRun | ( | rpmsquirrel | squirrel, |
| const char * | str, | ||
| const char ** | resultp | ||
| ) |
Execute squirrel string.
| squirrel | squirrel interpreter (NULL uses global interpreter) |
| str | squirrel string to execute (NULL returns RPMRC_FAIL) |
| *resultp | squirrel exec result |
Definition at line 179 of file rpmsquirrel.c.
References _rpmsquirrel_debug, fprintf(), ns, NULL, rc, res, rpmiobStr(), RPMRC_FAIL, RPMRC_OK, and rpmsquirrelI().
Referenced by while().
| rpmRC rpmsquirrelRunFile | ( | rpmsquirrel | squirrel, |
| const char * | fn, | ||
| const char ** | resultp | ||
| ) |
Execute squirrel from a file.
| squirrel | squirrel interpreter (NULL uses global interpreter) |
| fn | squirrel file to run (NULL returns RPMRC_FAIL) |
| *resultp | squirrel exec result |
Definition at line 160 of file rpmsquirrel.c.
References _rpmsquirrel_debug, fprintf(), NULL, rc, rpmiobStr(), RPMRC_FAIL, RPMRC_OK, and rpmsquirrelI().
| int _rpmsquirrel_debug = 0 |
Definition at line 22 of file rpmsquirrel.c.
Referenced by rpmsquirrelGetPool(), rpmsquirrelRun(), and rpmsquirrelRunFile().
| rpmsquirrel _rpmsquirrelI = NULL |
Definition at line 25 of file rpmsquirrel.c.
Referenced by rpmioClean(), and rpmsquirrelI().
| rpmioPool _rpmsquirrelPool |
Definition at line 42 of file rpmsquirrel.c.
Referenced by rpmioClean(), and rpmsquirrelGetPool().
1.8.5