Files | |
file | hash.c |
file | hash.h |
file | rpmmodule.c |
file | upgrade.c |
file | upgrade.h |
Data Structures | |
struct | hdrObject_s |
struct | hdrObject_s |
class | header |
A python header object represents an RPM package header. More... | |
class | rpmdb |
A python rpmdb object represents an RPM database. More... | |
class | rpmdbMatchIterator |
A python rpmdbMatchIterator object represents the result of an RPM database query. More... | |
struct | rpmdbMIObject_s |
struct | rpmdbObject_s |
struct | rpmdbObject_s |
class | rpmtrans |
A python rpmtrans object represents an RPM transaction set. More... | |
struct | rpmtransObject_s |
struct | rpmtransObject_s |
struct | tsCallbackType |
Class: header | |
PyObject* | hdrKeyList (hdrObject *s, PyObject *args) |
PyObject* | hdrUnload (hdrObject *s, PyObject *args, PyObject *keywords) |
PyObject* | hdrVerifyFile (hdrObject *s, PyObject *args) |
PyObject* | hdrExpandFilelist (hdrObject *s, PyObject *args) |
PyObject* | hdrCompressFilelist (hdrObject *s, PyObject *args) |
void | mungeFilelist (Header h) |
PyObject* | hdrFullFilelist (hdrObject *s, PyObject *args) |
PyObject* | hdrSprintf (hdrObject *s, PyObject *args) |
PyObject* | hdrGetAttr (hdrObject *s, char *name) |
void | hdrDealloc (hdrObject *s) |
long | tagNumFromPyObject (PyObject *item) |
PyObject* | hdrSubscript (hdrObject *s, PyObject *item) |
PyObject* | rhnUnload (hdrObject *s, PyObject *args) |
struct PyMethodDef | hdrMethods [] |
PyMappingMethods | hdrAsMapping |
PyTypeObject | hdrType |
Class: rpmdbMatchIterator | |
PyObject* | rpmdbMINext (rpmdbMIObject *s, PyObject *args) |
PyObject* | rpmdbMIGetAttr (rpmdbObject *s, char *name) |
void | rpmdbMIDealloc (rpmdbMIObject *s) |
struct PyMethodDef | rpmdbMIMethods [] |
PyTypeObject | rpmdbMIType |
Class: rpmdb | |
PyObject* | rpmdbFirst (rpmdbObject *s, PyObject *args) |
PyObject* | rpmdbNext (rpmdbObject *s, PyObject *args) |
PyObject* | handleDbResult (rpmdbMatchIterator mi) |
PyObject* | rpmdbByFile (rpmdbObject *s, PyObject *args) |
PyObject* | rpmdbByName (rpmdbObject *s, PyObject *args) |
PyObject* | rpmdbByProvides (rpmdbObject *s, PyObject *args) |
rpmdbMIObject* | py_rpmdbInitIterator (rpmdbObject *s, PyObject *args) |
PyObject* | rpmdbGetAttr (rpmdbObject *s, char *name) |
void | rpmdbDealloc (rpmdbObject *s) |
int | rpmdbLength (rpmdbObject *s) |
hdrObject* | rpmdbSubscript (rpmdbObject *s, PyObject *key) |
struct PyMethodDef | rpmdbMethods [] |
PyMappingMethods | rpmdbAsMapping |
PyTypeObject | rpmdbType |
Class: rpmtrans | |
PyObject* | rpmtransAdd (rpmtransObject *s, PyObject *args) |
PyObject* | rpmtransRemove (rpmtransObject *s, PyObject *args) |
PyObject* | rpmtransDepCheck (rpmtransObject *s, PyObject *args) |
PyObject* | rpmtransOrder (rpmtransObject *s, PyObject *args) |
PyObject* | py_rpmtransGetKeys (rpmtransObject *s, PyObject *args) |
void* | tsCallback (const void *hd, const rpmCallbackType what, const unsigned long amount, const unsigned long total, const void *pkgKey, rpmCallbackData data) |
PyObject* | rpmtransRun (rpmtransObject *s, PyObject *args) |
PyObject* | rpmtransGetAttr (rpmtransObject *o, char *name) |
void | rpmtransDealloc (PyObject *o) |
int | rpmtransSetAttr (rpmtransObject *o, char *name, PyObject *val) |
Header | transactionSetHeader = NULL |
struct PyMethodDef | rpmtransMethods [] |
PyTypeObject | rpmtransType |
Module: rpm | |
PyObject* | rpmtransCreate (PyObject *self, PyObject *args) |
Typedefs | |
typedef struct rpmdbObject_s | rpmdbObject |
typedef struct rpmdbMIObject_s | rpmdbMIObject |
typedef struct rpmtransObject_s | rpmtransObject |
typedef struct hdrObject_s | hdrObject |
Variables | |
PyObject* | pyrpmError |
|
Definition at line 58 of file rpmmodule.c. |
|
Definition at line 50 of file rpmmodule.c. |
|
Definition at line 46 of file rpmmodule.c. |
|
Definition at line 54 of file rpmmodule.c. |
|
Definition at line 1011 of file rpmmodule.c. Referenced by rpmdbByFile(), rpmdbByName(), and rpmdbByProvides().
|
|
Definition at line 418 of file rpmmodule.c. |
|
Definition at line 568 of file rpmmodule.c. |
|
Definition at line 409 of file rpmmodule.c. |
|
Definition at line 512 of file rpmmodule.c. |
|
Definition at line 562 of file rpmmodule.c. |
|
Definition at line 134 of file rpmmodule.c. |
|
Definition at line 524 of file rpmmodule.c. |
|
Definition at line 597 of file rpmmodule.c. |
|
Definition at line 167 of file rpmmodule.c. |
|
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 203 of file rpmmodule.c. |
|
Definition at line 428 of file rpmmodule.c. Referenced by hdrFullFilelist().
|
|
Definition at line 1061 of file rpmmodule.c. |
|
Definition at line 1438 of file rpmmodule.c. |
|
Definition at line 452 of file rpmmodule.c. |
|
Definition at line 1030 of file rpmmodule.c. |
|
Definition at line 1040 of file rpmmodule.c. |
|
Definition at line 1050 of file rpmmodule.c. |
|
Definition at line 1110 of file rpmmodule.c. |
|
Definition at line 950 of file rpmmodule.c. |
|
Definition at line 1104 of file rpmmodule.c. |
|
Definition at line 1124 of file rpmmodule.c. |
|
Definition at line 852 of file rpmmodule.c. |
|
Definition at line 846 of file rpmmodule.c. |
|
Definition at line 815 of file rpmmodule.c. |
|
Definition at line 989 of file rpmmodule.c. |
|
Definition at line 1142 of file rpmmodule.c. |
|
Definition at line 1323 of file rpmmodule.c. |
|
Definition at line 1653 of file rpmmodule.c. |
|
Definition at line 1588 of file rpmmodule.c. |
|
Definition at line 1388 of file rpmmodule.c. |
|
Definition at line 1582 of file rpmmodule.c. |
|
Definition at line 1427 of file rpmmodule.c. |
|
Definition at line 1357 of file rpmmodule.c. |
|
Definition at line 1522 of file rpmmodule.c. |
|
Definition at line 1604 of file rpmmodule.c. |
|
Definition at line 579 of file rpmmodule.c. Referenced by hdrSubscript(), and py_rpmdbInitIterator().
|
|
Definition at line 1477 of file rpmmodule.c. |
|
Initial value: { (inquiry) 0, (binaryfunc) hdrSubscript, (objobjargproc)0, } Definition at line 756 of file rpmmodule.c. |
|
Initial value: { {"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 548 of file rpmmodule.c. |
|
Initial value: { PyObject_HEAD_INIT(NULL) 0, "header", sizeof(hdrObject), 0, (destructor) hdrDealloc, 0, (getattrfunc) hdrGetAttr, 0, 0, 0, 0, 0, &hdrAsMapping, } Definition at line 764 of file rpmmodule.c. |
|
Definition at line 62 of file rpmmodule.c. |
|
Initial value: { (inquiry) rpmdbLength, (binaryfunc) rpmdbSubscript, (objobjargproc)0, } Definition at line 1176 of file rpmmodule.c. |
|
Initial value: { {"next", (PyCFunction) rpmdbMINext, 1 }, {NULL, NULL} } Definition at line 839 of file rpmmodule.c. |
|
Initial value: { PyObject_HEAD_INIT(NULL) 0, "rpmdbMatchIterator", sizeof(rpmdbMIObject), 0, (destructor) rpmdbMIDealloc, 0, (getattrfunc) rpmdbMIGetAttr, 0, 0, 0, 0, 0, 0, } Definition at line 862 of file rpmmodule.c. |
|
Initial value: { {"firstkey", (PyCFunction) rpmdbFirst, 1 }, {"nextkey", (PyCFunction) rpmdbNext, 1 }, {"findbyfile", (PyCFunction) rpmdbByFile, 1 }, {"findbyname", (PyCFunction) rpmdbByName, 1 }, {"findbyprovides", (PyCFunction) rpmdbByProvides, 1 }, {"match", (PyCFunction) py_rpmdbInitIterator, 1 }, {NULL, NULL} } Definition at line 1092 of file rpmmodule.c. |
|
Initial value: { PyObject_HEAD_INIT(NULL) 0, "rpmdb", sizeof(rpmdbObject), 0, (destructor) rpmdbDealloc, 0, (getattrfunc) rpmdbGetAttr, 0, 0, 0, 0, 0, &rpmdbAsMapping, } Definition at line 1185 of file rpmmodule.c. |
|
Initial value: { {"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 1570 of file rpmmodule.c. |
|
Initial value: { PyObject_HEAD_INIT(NULL) 0, "rpmtrans", sizeof(rpmtransObject), 0, (destructor) rpmtransDealloc, 0, (getattrfunc) rpmtransGetAttr, (setattrfunc) rpmtransSetAttr, 0, 0, 0, 0, 0, } Definition at line 1627 of file rpmmodule.c. |
|
Definition at line 1473 of file rpmmodule.c. |