Files | |
| file | rpmmodule.c |
Compounds | |
| struct | FDlist_t |
| 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 |
Module: rpm | |
| typedef struct FDlist_t | FDlist |
| PyObject* | rpmtransCreate (PyObject *self, PyObject *args) |
| PyObject* | doAddMacro (PyObject *self, PyObject *args) |
| PyObject* | doDelMacro (PyObject *self, PyObject *args) |
| PyObject* | archScore (PyObject *self, PyObject *args) |
| int | psGetArchScore (Header h) |
| int | pkgCompareVer (void *first, void *second) |
| void | pkgSort (struct pkgSet *psp) |
| PyObject* | findUpgradeSet (PyObject *self, PyObject *args) |
| PyObject* | rpmHeaderFromPackage (PyObject *self, PyObject *args) |
| PyObject* | hdrLoad (PyObject *self, PyObject *args) |
| PyObject* | rpmInitDB (PyObject *self, PyObject *args) |
| rpmdbObject* | rpmOpenDB (PyObject *self, PyObject *args) |
| PyObject* | rebuildDB (PyObject *self, PyObject *args) |
| PyObject* | rpmReadHeaders (FD_t fd) |
| PyObject* | rpmHeaderFromFD (PyObject *self, PyObject *args) |
| PyObject* | rpmHeaderFromFile (PyObject *self, PyObject *args) |
| int | rpmMergeHeaders (PyObject *list, FD_t fd, int matchTag) |
| void | errorcb (void) |
| PyObject* | errorSetCallback (PyObject *self, PyObject *args) |
| PyObject* | errorString (PyObject *self, PyObject *args) |
| PyObject* | versionCompare (PyObject *self, PyObject *args) |
| PyObject* | checkSig (PyObject *self, PyObject *args) |
| PyObject* | getTsHeader (PyObject *self, PyObject *args) |
| int | closeCallback (FILE *f) |
| void | initrpm (void) |
| PyObject* | rpmMergeHeadersFromFD (PyObject *self, PyObject *args) |
| PyObject* | labelCompare (PyObject *self, PyObject *args) |
| PyObject* | errorCB = NULL |
| PyObject * | errorData = NULL |
| FDlist* | fdhead = NULL |
| FDlist* | fdtail = NULL |
| PyMethodDef | rpmModuleMethods [] |
Class: header | |
| PyObject* | hdrKeyList (hdrObject *s, PyObject *args) |
| PyObject* | hdrUnload (hdrObject *s, PyObject *args) |
| 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* | hdrGetAttr (hdrObject *s, char *name) |
| void | hdrDealloc (hdrObject *s) |
| long | tagNumFromPyObject (PyObject *item) |
| PyObject* | hdrSubscript (hdrObject *s, PyObject *item) |
| 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 |
Typedefs | |
| typedef struct rpmdbObject_s | rpmdbObject |
| typedef struct rpmdbMIObject_s | rpmdbMIObject |
| typedef struct rpmtransObject_s | rpmtransObject |
| typedef struct hdrObject_s | hdrObject |
|
|
Definition at line 2165 of file rpmmodule.c. |
|
|
Definition at line 45 of file rpmmodule.c. |
|
|
Definition at line 37 of file rpmmodule.c. |
|
|
Definition at line 33 of file rpmmodule.c. |
|
|
Definition at line 41 of file rpmmodule.c. |
|
|
Definition at line 1572 of file rpmmodule.c. |
|
|
Definition at line 2130 of file rpmmodule.c. |
|
|
Definition at line 2186 of file rpmmodule.c. |
|
|
Definition at line 1544 of file rpmmodule.c. |
|
|
Definition at line 1558 of file rpmmodule.c. |
|
|
Definition at line 2041 of file rpmmodule.c. |
|
|
Definition at line 2083 of file rpmmodule.c. |
|
|
Definition at line 2022 of file rpmmodule.c. |
|
|
Definition at line 1651 of file rpmmodule.c. |
|
|
Definition at line 2147 of file rpmmodule.c. |
|
|
Definition at line 879 of file rpmmodule.c. Referenced by rpmdbByFile(), rpmdbByName(), and rpmdbByProvides(). |
|
|
Definition at line 377 of file rpmmodule.c. |
|
|
Definition at line 437 of file rpmmodule.c. |
|
|
Definition at line 368 of file rpmmodule.c. |
|
|
Definition at line 410 of file rpmmodule.c. |
|
|
Definition at line 431 of file rpmmodule.c. |
|
|
Definition at line 119 of file rpmmodule.c. |
|
|
Definition at line 1744 of file rpmmodule.c. |
|
|
Definition at line 466 of file rpmmodule.c. |
|
|
Definition at line 152 of file rpmmodule.c. |
|
|
Definition at line 174 of file rpmmodule.c. |
|
|
Definition at line 2295 of file rpmmodule.c. |
|
|
Definition at line 2099 of file rpmmodule.c. |
|
|
Definition at line 387 of file rpmmodule.c. Referenced by hdrFullFilelist(). |
|
|
Definition at line 1599 of file rpmmodule.c. |
|
|
Definition at line 1621 of file rpmmodule.c. Referenced by findUpgradeSet(). |
|
|
Definition at line 1586 of file rpmmodule.c. Referenced by pkgCompareVer(). |
|
|
Definition at line 929 of file rpmmodule.c. |
|
|
Definition at line 1306 of file rpmmodule.c. |
|
|
Definition at line 1836 of file rpmmodule.c. |
|
|
Definition at line 1888 of file rpmmodule.c. |
|
|
Definition at line 1904 of file rpmmodule.c. |
|
|
Definition at line 1702 of file rpmmodule.c. |
|
|
Definition at line 1780 of file rpmmodule.c. |
|
|
Definition at line 1928 of file rpmmodule.c. Referenced by rpmMergeHeadersFromFD(). |
|
|
Definition at line 1989 of file rpmmodule.c. |
|
|
Definition at line 1804 of file rpmmodule.c. |
|
|
Definition at line 1846 of file rpmmodule.c. Referenced by rpmHeaderFromFD(), and rpmHeaderFromFile(). |
|
|
Definition at line 898 of file rpmmodule.c. |
|
|
Definition at line 908 of file rpmmodule.c. |
|
|
Definition at line 918 of file rpmmodule.c. |
|
|
Definition at line 978 of file rpmmodule.c. |
|
|
Definition at line 818 of file rpmmodule.c. |
|
|
Definition at line 972 of file rpmmodule.c. |
|
|
Definition at line 992 of file rpmmodule.c. |
|
|
Definition at line 720 of file rpmmodule.c. |
|
|
Definition at line 714 of file rpmmodule.c. |
|
|
Definition at line 683 of file rpmmodule.c. |
|
|
Definition at line 857 of file rpmmodule.c. |
|
|
Definition at line 1011 of file rpmmodule.c. |
|
|
Definition at line 1192 of file rpmmodule.c. |
|
|
Definition at line 1520 of file rpmmodule.c. |
|
|
Definition at line 1455 of file rpmmodule.c. |
|
|
Definition at line 1257 of file rpmmodule.c. |
|
|
Definition at line 1449 of file rpmmodule.c. |
|
|
Definition at line 1295 of file rpmmodule.c. |
|
|
Definition at line 1226 of file rpmmodule.c. |
|
|
Definition at line 1389 of file rpmmodule.c. |
|
|
Definition at line 1471 of file rpmmodule.c. |
|
|
Definition at line 448 of file rpmmodule.c. Referenced by hdrSubscript(), and py_rpmdbInitIterator(). |
|
|
Definition at line 1344 of file rpmmodule.c. |
|
|
Definition at line 2089 of file rpmmodule.c. |
|
|
Definition at line 2018 of file rpmmodule.c. |
|
|
Definition at line 2018 of file rpmmodule.c. |
|
|
Definition at line 2178 of file rpmmodule.c. |
|
|
Definition at line 2182 of file rpmmodule.c. |
|
|
Initial value: {
(inquiry) 0,
(binaryfunc) hdrSubscript,
(objobjargproc)0,
}Definition at line 624 of file rpmmodule.c. |
|
|
Initial value: {
{"keys", (PyCFunction) hdrKeyList, 1 },
{"unload", (PyCFunction) hdrUnload, 1 },
{"verifyFile", (PyCFunction) hdrVerifyFile, 1 },
{"expandFilelist", (PyCFunction) hdrExpandFilelist, 1 },
{"compressFilelist", (PyCFunction) hdrCompressFilelist, 1 },
{"fullFilelist", (PyCFunction) hdrFullFilelist, 1 },
{NULL, NULL}
}Definition at line 419 of file rpmmodule.c. |
|
|
Initial value: {
PyObject_HEAD_INIT(&PyType_Type)
0,
"header",
sizeof(hdrObject),
0,
(destructor) hdrDealloc,
0,
(getattrfunc) hdrGetAttr,
0,
0,
0,
0,
0,
&hdrAsMapping,
}Definition at line 632 of file rpmmodule.c. |
|
|
Initial value: {
{ "TransactionSet", (PyCFunction) rpmtransCreate, METH_VARARGS, NULL },
{ "addMacro", (PyCFunction) doAddMacro, METH_VARARGS, NULL },
{ "delMacro", (PyCFunction) doDelMacro, METH_VARARGS, NULL },
{ "archscore", (PyCFunction) archScore, METH_VARARGS, NULL },
{ "findUpgradeSet", (PyCFunction) findUpgradeSet, METH_VARARGS, NULL },
{ "headerFromPackage", (PyCFunction) rpmHeaderFromPackage, METH_VARARGS, NULL },
{ "headerLoad", (PyCFunction) hdrLoad, METH_VARARGS, NULL },
{ "initdb", (PyCFunction) rpmInitDB, METH_VARARGS, NULL },
{ "opendb", (PyCFunction) rpmOpenDB, METH_VARARGS, NULL },
{ "rebuilddb", (PyCFunction) rebuildDB, METH_VARARGS, NULL },
{ "readHeaderListFromFD", (PyCFunction) rpmHeaderFromFD, METH_VARARGS, NULL },
{ "mergeHeaderListFromFD", (PyCFunction) rpmMergeHeadersFromFD, METH_VARARGS, NULL },
{ "readHeaderListFromFile", (PyCFunction) rpmHeaderFromFile, METH_VARARGS, NULL },
{ "errorSetCallback", (PyCFunction) errorSetCallback, METH_VARARGS, NULL },
{ "errorString", (PyCFunction) errorString, METH_VARARGS, NULL },
{ "versionCompare", (PyCFunction) versionCompare, METH_VARARGS, NULL },
{ "labelCompare", (PyCFunction) labelCompare, METH_VARARGS, NULL },
{ "checksig", (PyCFunction) checkSig, METH_VARARGS, NULL },
{ "getTransactionCallbackHeader", (PyCFunction) getTsHeader, METH_VARARGS, NULL },
{ NULL }
} Definition at line 2269 of file rpmmodule.c. |
|
|
Initial value: {
(inquiry) rpmdbLength,
(binaryfunc) rpmdbSubscript,
(objobjargproc)0,
}Definition at line 1045 of file rpmmodule.c. |
|
|
Initial value: {
{"next", (PyCFunction) rpmdbMINext, 1 },
{NULL, NULL}
}Definition at line 707 of file rpmmodule.c. |
|
|
Initial value: {
PyObject_HEAD_INIT(&PyType_Type)
0,
"rpmdbMatchIterator",
sizeof(rpmdbMIObject),
0,
(destructor) rpmdbMIDealloc,
0,
(getattrfunc) rpmdbMIGetAttr,
0,
0,
0,
0,
0,
0,
}Definition at line 730 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 960 of file rpmmodule.c. |
|
|
Initial value: {
PyObject_HEAD_INIT(&PyType_Type)
0,
"rpmdb",
sizeof(rpmdbObject),
0,
(destructor) rpmdbDealloc,
0,
(getattrfunc) rpmdbGetAttr,
0,
0,
0,
0,
0,
&rpmdbAsMapping,
}Definition at line 1054 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 1437 of file rpmmodule.c. |
|
|
Initial value: {
PyObject_HEAD_INIT(&PyType_Type)
0,
"rpmtrans",
sizeof(rpmtransObject),
0,
(destructor) rpmtransDealloc,
0,
(getattrfunc) rpmtransGetAttr,
(setattrfunc) rpmtransSetAttr,
0,
0,
0,
0,
0,
}Definition at line 1494 of file rpmmodule.c. |
|
|
Definition at line 1340 of file rpmmodule.c. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001