Data Structures | |
struct | hdrObject_s |
struct | rpmdbObject_s |
struct | rpmdbMIObject_s |
struct | rpmtransObject_s |
struct | tsCallbackType |
class | header |
A python header object represents an RPM package header. More... | |
class | rpmdbMatchIterator |
A python rpmdbMatchIterator object represents the result of an RPM database query. More... | |
class | rpmdb |
A python rpmdb object represents an RPM database. More... | |
Files | |
file | hash.c |
file | hash.h |
file | rpmmodule.c |
file | upgrade.c |
file | upgrade.h |
Typedefs | |
typedef struct rpmdbObject_s | rpmdbObject |
typedef struct rpmdbMIObject_s | rpmdbMIObject |
typedef struct rpmtransObject_s | rpmtransObject |
typedef struct hdrObject_s | hdrObject |
Variables | |
static PyObject * | pyrpmError |
Class: header | |
| |
static struct PyMethodDef | hdrMethods [] |
static PyMappingMethods | hdrAsMapping |
static PyTypeObject | hdrType |
static PyObject * | hdrKeyList (hdrObject *s, PyObject *args) |
static PyObject * | hdrUnload (hdrObject *s, PyObject *args, PyObject *keywords) |
static PyObject * | hdrVerifyFile (hdrObject *s, PyObject *args) |
Returns a list of these tuples for each item that failed: (attr_name, correctValue, currentValue) It should be passed the file number to verify. | |
static PyObject * | hdrExpandFilelist (hdrObject *s, PyObject *args) |
static PyObject * | hdrCompressFilelist (hdrObject *s, PyObject *args) |
static void | mungeFilelist (Header h) |
static PyObject * | hdrFullFilelist (hdrObject *s, PyObject *args) |
static PyObject * | hdrSprintf (hdrObject *s, PyObject *args) |
static PyObject * | hdrGetAttr (hdrObject *s, char *name) |
static void | hdrDealloc (hdrObject *s) |
static long | tagNumFromPyObject (PyObject *item) |
static PyObject * | hdrSubscript (hdrObject *s, PyObject *item) |
static PyObject * | rhnUnload (hdrObject *s, PyObject *args) |
Class: rpmdbMatchIterator | |
| |
static struct PyMethodDef | rpmdbMIMethods [] |
static PyTypeObject | rpmdbMIType |
static PyObject * | rpmdbMINext (rpmdbMIObject *s, PyObject *args) |
static PyObject * | rpmdbMIGetAttr (rpmdbObject *s, char *name) |
static void | rpmdbMIDealloc (rpmdbMIObject *s) |
Class: rpmtrans | |
| |
static Header | transactionSetHeader = NULL |
static struct PyMethodDef | rpmtransMethods [] |
static PyTypeObject | rpmtransType |
static PyObject * | rpmtransAdd (rpmtransObject *s, PyObject *args) |
static PyObject * | rpmtransRemove (rpmtransObject *s, PyObject *args) |
static PyObject * | rpmtransDepCheck (rpmtransObject *s, PyObject *args) |
static PyObject * | rpmtransOrder (rpmtransObject *s, PyObject *args) |
static PyObject * | py_rpmtransGetKeys (rpmtransObject *s, PyObject *args) |
static void * | tsCallback (const void *hd, const rpmCallbackType what, const unsigned long amount, const unsigned long total, const void *pkgKey, rpmCallbackData data) |
static PyObject * | rpmtransRun (rpmtransObject *s, PyObject *args) |
static PyObject * | rpmtransGetAttr (rpmtransObject *o, char *name) |
static void | rpmtransDealloc (PyObject *o) |
static int | rpmtransSetAttr (rpmtransObject *o, char *name, PyObject *val) |
typedef struct hdrObject_s hdrObject |
Definition at line 57 of file rpmmodule.c.
typedef struct rpmdbMIObject_s rpmdbMIObject |
Definition at line 49 of file rpmmodule.c.
typedef struct rpmdbObject_s rpmdbObject |
Definition at line 45 of file rpmmodule.c.
typedef struct rpmtransObject_s rpmtransObject |
Definition at line 53 of file rpmmodule.c.
static PyObject* hdrCompressFilelist | ( | hdrObject * | s, | |
PyObject * | args | |||
) | [static] |
Definition at line 417 of file rpmmodule.c.
static void hdrDealloc | ( | hdrObject * | s | ) | [static] |
Definition at line 567 of file rpmmodule.c.
static PyObject* hdrExpandFilelist | ( | hdrObject * | s, | |
PyObject * | args | |||
) | [static] |
Definition at line 408 of file rpmmodule.c.
static PyObject* hdrFullFilelist | ( | hdrObject * | s, | |
PyObject * | args | |||
) | [static] |
Definition at line 511 of file rpmmodule.c.
static PyObject* hdrGetAttr | ( | hdrObject * | s, | |
char * | name | |||
) | [static] |
Definition at line 561 of file rpmmodule.c.
static PyObject* hdrKeyList | ( | hdrObject * | s, | |
PyObject * | args | |||
) | [static] |
Definition at line 133 of file rpmmodule.c.
static PyObject* hdrSprintf | ( | hdrObject * | s, | |
PyObject * | args | |||
) | [static] |
Definition at line 523 of file rpmmodule.c.
static PyObject* hdrSubscript | ( | hdrObject * | s, | |
PyObject * | item | |||
) | [static] |
Definition at line 596 of file rpmmodule.c.
static PyObject* hdrUnload | ( | hdrObject * | s, | |
PyObject * | args, | |||
PyObject * | keywords | |||
) | [static] |
Definition at line 166 of file rpmmodule.c.
static PyObject* hdrVerifyFile | ( | hdrObject * | s, | |
PyObject * | args | |||
) | [static] |
Returns a list of these tuples for each item that failed: (attr_name, correctValue, currentValue) It should be passed the file number to verify.
Definition at line 202 of file rpmmodule.c.
static void mungeFilelist | ( | Header | h | ) | [static] |
Definition at line 427 of file rpmmodule.c.
static PyObject* py_rpmtransGetKeys | ( | rpmtransObject * | s, | |
PyObject * | args | |||
) | [static] |
Definition at line 1437 of file rpmmodule.c.
static PyObject* rhnUnload | ( | hdrObject * | s, | |
PyObject * | args | |||
) | [static] |
Definition at line 451 of file rpmmodule.c.
static void rpmdbMIDealloc | ( | rpmdbMIObject * | s | ) | [static] |
Definition at line 851 of file rpmmodule.c.
static PyObject* rpmdbMIGetAttr | ( | rpmdbObject * | s, | |
char * | name | |||
) | [static] |
Definition at line 845 of file rpmmodule.c.
static PyObject* rpmdbMINext | ( | rpmdbMIObject * | s, | |
PyObject * | args | |||
) | [static] |
Definition at line 814 of file rpmmodule.c.
static PyObject* rpmtransAdd | ( | rpmtransObject * | s, | |
PyObject * | args | |||
) | [static] |
Definition at line 1322 of file rpmmodule.c.
static void rpmtransDealloc | ( | PyObject * | o | ) | [static] |
Definition at line 1587 of file rpmmodule.c.
static PyObject* rpmtransDepCheck | ( | rpmtransObject * | s, | |
PyObject * | args | |||
) | [static] |
Definition at line 1387 of file rpmmodule.c.
static PyObject* rpmtransGetAttr | ( | rpmtransObject * | o, | |
char * | name | |||
) | [static] |
Definition at line 1581 of file rpmmodule.c.
static PyObject* rpmtransOrder | ( | rpmtransObject * | s, | |
PyObject * | args | |||
) | [static] |
Definition at line 1426 of file rpmmodule.c.
static PyObject* rpmtransRemove | ( | rpmtransObject * | s, | |
PyObject * | args | |||
) | [static] |
< Fingerprint search marker.
Definition at line 1356 of file rpmmodule.c.
static PyObject* rpmtransRun | ( | rpmtransObject * | s, | |
PyObject * | args | |||
) | [static] |
Definition at line 1521 of file rpmmodule.c.
static int rpmtransSetAttr | ( | rpmtransObject * | o, | |
char * | name, | |||
PyObject * | val | |||
) | [static] |
Definition at line 1603 of file rpmmodule.c.
static long tagNumFromPyObject | ( | PyObject * | item | ) | [static] |
Definition at line 578 of file rpmmodule.c.
static void* tsCallback | ( | const void * | hd, | |
const rpmCallbackType | what, | |||
const unsigned long | amount, | |||
const unsigned long | total, | |||
const void * | pkgKey, | |||
rpmCallbackData | data | |||
) | [static] |
Definition at line 1476 of file rpmmodule.c.
PyMappingMethods hdrAsMapping [static] |
{ (inquiry) 0, (binaryfunc) hdrSubscript, (objobjargproc)0, }
Definition at line 755 of file rpmmodule.c.
struct PyMethodDef hdrMethods[] [static] |
{ {"keys", (PyCFunction) hdrKeyList, 1 }, {"unload", (PyCFunction) hdrUnload, METH_VARARGS|METH_KEYWORDS }, {"verifyFile", (PyCFunction) hdrVerifyFile, 1 }, {"expandFilelist", (PyCFunction) hdrExpandFilelist, 1 }, {"compressFilelist", (PyCFunction) hdrCompressFilelist, 1 }, {"fullFilelist", (PyCFunction) hdrFullFilelist, 1 }, {"rhnUnload", (PyCFunction) rhnUnload, METH_VARARGS }, {"sprintf", (PyCFunction) hdrSprintf, METH_VARARGS }, {NULL, NULL} }
Definition at line 547 of file rpmmodule.c.
PyTypeObject hdrType [static] |
{ PyObject_HEAD_INIT(NULL) 0, "header", sizeof(hdrObject), 0, (destructor) hdrDealloc, 0, (getattrfunc) hdrGetAttr, 0, 0, 0, 0, 0, &hdrAsMapping, }
Definition at line 763 of file rpmmodule.c.
PyObject* pyrpmError [static] |
Definition at line 61 of file rpmmodule.c.
struct PyMethodDef rpmdbMIMethods[] [static] |
{ {"next", (PyCFunction) rpmdbMINext, 1 }, {NULL, NULL} }
Definition at line 838 of file rpmmodule.c.
PyTypeObject rpmdbMIType [static] |
{ PyObject_HEAD_INIT(NULL) 0, "rpmdbMatchIterator", sizeof(rpmdbMIObject), 0, (destructor) rpmdbMIDealloc, 0, (getattrfunc) rpmdbMIGetAttr, 0, 0, 0, 0, 0, 0, }
Definition at line 861 of file rpmmodule.c.
struct PyMethodDef rpmtransMethods[] [static] |
{ {"add", (PyCFunction) rpmtransAdd, 1 }, {"remove", (PyCFunction) rpmtransRemove, 1 }, {"depcheck", (PyCFunction) rpmtransDepCheck, 1 }, {"order", (PyCFunction) rpmtransOrder, 1 }, {"getKeys", (PyCFunction) py_rpmtransGetKeys, 1 }, {"run", (PyCFunction) rpmtransRun, 1 }, {NULL, NULL} }
Definition at line 1569 of file rpmmodule.c.
PyTypeObject rpmtransType [static] |
{ PyObject_HEAD_INIT(NULL) 0, "rpmtrans", sizeof(rpmtransObject), 0, (destructor) rpmtransDealloc, 0, (getattrfunc) rpmtransGetAttr, (setattrfunc) rpmtransSetAttr, 0, 0, 0, 0, 0, }
Definition at line 1626 of file rpmmodule.c.
Header transactionSetHeader = NULL [static] |
Definition at line 1472 of file rpmmodule.c.