rpm  5.4.10
Typedefs | Enumerations | Functions | Variables
rpmlua.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum rpmluavType_e rpmluavType
 
typedef struct rpmlua_s * rpmlua
 
typedef struct rpmluav_s * rpmluav
 

Enumerations

enum  rpmluavType_e { RPMLUAV_NIL = 0, RPMLUAV_STRING = 1, RPMLUAV_NUMBER = 2 }
 

Functions

rpmlua rpmluaGetGlobalState (void)
 
rpmlua rpmluaNew (void)
 
void * rpmluaFree (rpmlua lua)
 
int rpmluaCheckScript (rpmlua _lua, const char *script, const char *name)
 
int rpmluaRunScript (rpmlua _lua, const char *script, const char *name)
 
int rpmluaRunScriptFile (rpmlua _lua, const char *filename)
 
void rpmluaInteractive (rpmlua _lua)
 
void * rpmluaGetData (rpmlua _lua, const char *key)
 
void rpmluaSetData (rpmlua _lua, const char *key, const void *data)
 
const char * rpmluaGetPrintBuffer (rpmlua _lua)
 
void rpmluaSetPrintBuffer (rpmlua _lua, int flag)
 
void rpmluaGetVar (rpmlua _lua, rpmluav var)
 
void rpmluaSetVar (rpmlua _lua, rpmluav var)
 
void rpmluaDelVar (rpmlua _lua, const char *key,...)
 
int rpmluaVarExists (rpmlua _lua, const char *key,...)
 
void rpmluaPushTable (rpmlua _lua, const char *key,...)
 
rpmluav rpmluavNew (void)
 
void * rpmluavFree (rpmluav var)
 
void rpmluavSetListMode (rpmluav var, int flag)
 
void rpmluavSetKey (rpmluav var, rpmluavType type, const void *value)
 
void rpmluavSetValue (rpmluav var, rpmluavType type, const void *value)
 
void rpmluavGetKey (rpmluav var, rpmluavType *type, void **value)
 
void rpmluavGetValue (rpmluav var, rpmluavType *type, void **value)
 
void rpmluavSetKeyNum (rpmluav var, double value)
 
void rpmluavSetValueNum (rpmluav var, double value)
 
double rpmluavGetKeyNum (rpmluav var)
 
double rpmluavGetValueNum (rpmluav var)
 
int rpmluavKeyIsNum (rpmluav var)
 
int rpmluavValueIsNum (rpmluav var)
 

Variables

const char * rpmluaFiles
 
const char * rpmluaPath
 

Typedef Documentation

§ rpmlua

typedef struct rpmlua_s* rpmlua

Definition at line 53 of file rpmlua.h.

§ rpmluav

typedef struct rpmluav_s* rpmluav

Definition at line 54 of file rpmlua.h.

§ rpmluavType

typedef enum rpmluavType_e rpmluavType

Enumeration Type Documentation

§ rpmluavType_e

Enumerator
RPMLUAV_NIL 
RPMLUAV_STRING 
RPMLUAV_NUMBER 

Definition at line 4 of file rpmlua.h.

Function Documentation

§ rpmluaCheckScript()

int rpmluaCheckScript ( rpmlua  _lua,
const char *  script,
const char *  name 
)

Referenced by parseScript().

§ rpmluaDelVar()

void rpmluaDelVar ( rpmlua  _lua,
const char *  key,
  ... 
)

Referenced by psmWait(), and specFini().

§ rpmluaFree()

void* rpmluaFree ( rpmlua  lua)

Referenced by argerror(), and rpmioClean().

§ rpmluaGetData()

void* rpmluaGetData ( rpmlua  _lua,
const char *  key 
)

§ rpmluaGetGlobalState()

rpmlua rpmluaGetGlobalState ( void  )

Referenced by expandMacro(), and rpmReadConfigFiles().

§ rpmluaGetPrintBuffer()

const char* rpmluaGetPrintBuffer ( rpmlua  _lua)

Referenced by expandMacro(), and rpmReadConfigFiles().

§ rpmluaGetVar()

void rpmluaGetVar ( rpmlua  _lua,
rpmluav  var 
)

§ rpmluaInteractive()

void rpmluaInteractive ( rpmlua  _lua)

§ rpmluaNew()

rpmlua rpmluaNew ( void  )

Referenced by argerror().

§ rpmluaPushTable()

void rpmluaPushTable ( rpmlua  _lua,
const char *  key,
  ... 
)

Referenced by addSource(), and psmWait().

§ rpmluaRunScript()

int rpmluaRunScript ( rpmlua  _lua,
const char *  script,
const char *  name 
)

Referenced by expandMacro(), and psmWait().

§ rpmluaRunScriptFile()

int rpmluaRunScriptFile ( rpmlua  _lua,
const char *  filename 
)

§ rpmluaSetData()

void rpmluaSetData ( rpmlua  _lua,
const char *  key,
const void *  data 
)

§ rpmluaSetPrintBuffer()

void rpmluaSetPrintBuffer ( rpmlua  _lua,
int  flag 
)

Referenced by argerror().

§ rpmluaSetVar()

void rpmluaSetVar ( rpmlua  _lua,
rpmluav  var 
)

Referenced by addSource(), and psmWait().

§ rpmluaVarExists()

int rpmluaVarExists ( rpmlua  _lua,
const char *  key,
  ... 
)

§ rpmluavFree()

void* rpmluavFree ( rpmluav  var)

Referenced by addSource(), and psmWait().

§ rpmluavGetKey()

void rpmluavGetKey ( rpmluav  var,
rpmluavType type,
void **  value 
)

§ rpmluavGetKeyNum()

double rpmluavGetKeyNum ( rpmluav  var)

§ rpmluavGetValue()

void rpmluavGetValue ( rpmluav  var,
rpmluavType type,
void **  value 
)

§ rpmluavGetValueNum()

double rpmluavGetValueNum ( rpmluav  var)

§ rpmluavKeyIsNum()

int rpmluavKeyIsNum ( rpmluav  var)

§ rpmluavNew()

rpmluav rpmluavNew ( void  )

Referenced by addSource(), and psmWait().

§ rpmluavSetKey()

void rpmluavSetKey ( rpmluav  var,
rpmluavType  type,
const void *  value 
)

§ rpmluavSetKeyNum()

void rpmluavSetKeyNum ( rpmluav  var,
double  value 
)

§ rpmluavSetListMode()

void rpmluavSetListMode ( rpmluav  var,
int  flag 
)

Referenced by addSource(), and psmWait().

§ rpmluavSetValue()

void rpmluavSetValue ( rpmluav  var,
rpmluavType  type,
const void *  value 
)

Referenced by addSource(), and psmWait().

§ rpmluavSetValueNum()

void rpmluavSetValueNum ( rpmluav  var,
double  value 
)

Referenced by psmWait().

§ rpmluavValueIsNum()

int rpmluavValueIsNum ( rpmluav  var)

Variable Documentation

§ rpmluaFiles

const char* rpmluaFiles

Referenced by rpmShowRC().

§ rpmluaPath

const char* rpmluaPath

Referenced by rpmShowRC().