rpm 5.3.12
|
Go to the source code of this file.
Defines | |
#define | _RPMRUBY_INTERNAL |
Functions | |
int | rpmrubyRunThread (rpmruby ruby) |
static void | rpmrubyFini (void *_ruby) |
static rpmruby | rpmrubyGetPool (rpmioPool pool) |
static rpmruby | rpmrubyI (void) |
rpmruby | rpmrubyNew (char **av, uint32_t flags) |
Create and load a ruby interpreter. | |
rpmRC | rpmrubyRunFile (rpmruby ruby, const char *fn, const char **resultp) |
Execute ruby from a file. | |
rpmRC | rpmrubyRun (rpmruby ruby, const char *str, const char **resultp) |
Execute ruby string. | |
Variables | |
int | _rpmruby_debug = 0 |
rpmruby | _rpmrubyI = NULL |
rpmioPool | _rpmrubyPool |
static void rpmrubyFini | ( | void * | _ruby | ) | [static] |
Definition at line 190 of file rpmruby.c.
References _free(), _rpmrubyI, and argvFree().
Referenced by rpmrubyGetPool().
Definition at line 219 of file rpmruby.c.
References _rpmruby_debug, _rpmrubyPool, rpmioGetPool(), rpmioNewPool(), and rpmrubyFini().
Referenced by rpmrubyNew().
static rpmruby rpmrubyI | ( | void | ) | [static] |
Definition at line 241 of file rpmruby.c.
References _rpmrubyI, and rpmrubyNew().
Referenced by rpmrubyNew(), rpmrubyRun(), and rpmrubyRunFile().
rpmruby rpmrubyNew | ( | char ** | av, |
uint32_t | flags | ||
) |
Create and load a ruby interpreter.
av | ruby interpreter args (or NULL) |
flags | ruby interpreter flags ((1<<31): use global interpreter) |
Definition at line 252 of file rpmruby.c.
References _rpmruby_debug, _rpmrubyI, argvAppend(), argvCount(), rpmrubyGetPool(), rpmrubyI(), rpmrubyLink(), and rpmrubyRun().
Referenced by expandMacro(), and rpmrubyI().
Execute ruby string.
ruby | ruby interpreter (NULL uses global interpreter) |
str | ruby string to execute (NULL returns RPMRC_FAIL) |
*resultp | ruby exec result |
Definition at line 353 of file rpmruby.c.
References RPMRC_FAIL, RPMRC_OK, and rpmrubyI().
Referenced by expandMacro(), and rpmrubyNew().
Execute ruby from a file.
ruby | ruby interpreter (NULL uses global interpreter) |
fn | ruby file to run (NULL returns RPMRC_FAIL) |
*resultp | ruby exec result |
Definition at line 325 of file rpmruby.c.
References RPMRC_FAIL, RPMRC_OK, and rpmrubyI().
int _rpmruby_debug = 0 |
Definition at line 35 of file rpmruby.c.
Referenced by rpmrubyGetPool(), and rpmrubyNew().
Definition at line 38 of file rpmruby.c.
Referenced by rpmcliFini(), rpmioClean(), rpmrubyFini(), rpmrubyI(), and rpmrubyNew().
Definition at line 217 of file rpmruby.c.
Referenced by rpmcliFini(), rpmioClean(), and rpmrubyGetPool().