Data Structures | |
| struct | hdrObject_s |
| class | Rpm |
| START HERE / RPM base module for the Python API. More... | |
| class | Rpmdb |
| A python rpmdb object represents an RPM database. More... | |
| class | Rpmfd |
| An python rpm.fd object represents an rpm I/O handle. More... | |
| class | Rpmfts |
| A python rpm.fts object represents an rpm fts(3) handle. More... | |
| class | Rpmhdr |
| A python header object represents an RPM package header. More... | |
| class | Rpmmi |
| A python rpm.mi match iterator object represents the result of a database query. More... | |
| class | Rpmrc |
| A python rpm.rc object encapsulates rpmlib configuration. More... | |
| class | Rpmte |
| An python rpm.te object represents an element of a transaction set. More... | |
| class | Rpmts |
| A python rpm.ts object represents an RPM transaction set. More... | |
Class: rpm.db | |
| rpmmiObject * | rpmdb_Match (rpmdbObject *s, PyObject *args) |
| int | rpmdb_length (rpmdbObject *s) |
| hdrObject * | rpmdb_subscript (rpmdbObject *s, PyObject *key) |
| void | rpmdb_dealloc (rpmdbObject *s) |
| PyObject * | rpmdb_getattro (PyObject *o, PyObject *n) |
| int | rpmdb_setattro (PyObject *o, PyObject *n, PyObject *v) |
| PyMethodDef | rpmdb_methods [] |
| PyMappingMethods | rpmdb_as_mapping |
| char | rpmdb_doc [] |
| PyTypeObject | rpmdb_Type |
Class: Rpmmi | |
| PyObject * | rpmmi_iter (rpmmiObject *s) |
| PyObject * | rpmmi_iternext (rpmmiObject *s) |
| PyObject * | rpmmi_Next (rpmmiObject *s, PyObject *args) |
| PyObject * | rpmmi_Instance (rpmmiObject *s, PyObject *args) |
| PyObject * | rpmmi_Count (rpmmiObject *s, PyObject *args) |
| PyObject * | rpmmi_Pattern (rpmmiObject *s, PyObject *args) |
| void | rpmmi_dealloc (rpmmiObject *s) |
| PyObject * | rpmmi_getattro (PyObject *o, PyObject *n) |
| int | rpmmi_setattro (PyObject *o, PyObject *n, PyObject *v) |
| rpmmiObject * | rpmmi_Wrap (rpmdbMatchIterator mi) |
| PyMethodDef | rpmmi_methods [] |
| char | rpmmi_doc [] |
| PyTypeObject | rpmmi_Type |
Module: rpm | |
| PyObject * | archScore (PyObject *self, PyObject *args) |
| PyObject * | setLogFile (PyObject *self, PyObject *args) |
| PyObject * | setVerbosity (PyObject *self, PyObject *args) |
| PyObject * | setEpochPromote (PyObject *self, PyObject *args) |
| PyObject * | setStats (PyObject *self, PyObject *args) |
| void | initrpm (void) |
| PyMethodDef | rpmModuleMethods [] |
| char | rpm__doc__ [] |
Class: rpm.rc | |
| PyObject * | rpmrc_AddMacro (PyObject *self, PyObject *args) |
| PyObject * | rpmrc_DelMacro (PyObject *self, PyObject *args) |
| PyMethodDef | rpmrc_methods [] |
| PyTypeObject | rpmrc_Type |
|
||||||||||||
|
Definition at line 40 of file rpmmodule.c. References RPM_MACHTABLE_INSTARCH, and rpmMachineScore(). |
|
|
|
Definition at line 204 of file rpmdb-py.c. References rpmdbObject_s::db, rpmdbClose(), and rpmdbObject. |
|
||||||||||||
|
Definition at line 212 of file rpmdb-py.c. |
|
|
Definition at line 145 of file rpmdb-py.c. References rpmdbObject_s::db, rpmdbFreeIterator(), RPMDBI_PACKAGES, rpmdbInitIterator(), rpmdbMatchIterator, rpmdbNextIterator(), and rpmdbObject. |
|
||||||||||||
|
Definition at line 110 of file rpmdb-py.c. References rpmdbObject_s::db, RPMDBI_PACKAGES, rpmdbInitIterator(), rpmdbObject, rpmmi_Wrap(), and tagNumFromPyObject(). |
|
||||||||||||||||
|
Definition at line 218 of file rpmdb-py.c. |
|
||||||||||||
|
Definition at line 164 of file rpmdb-py.c. References rpmdbObject_s::db, hdr_Wrap(), hdrObject, Header, headerFree(), pyrpmError, rpmdbFreeIterator(), RPMDBI_PACKAGES, rpmdbInitIterator(), rpmdbMatchIterator, rpmdbNextIterator(), and rpmdbObject. |
|
||||||||||||
|
Definition at line 140 of file rpmmi-py.c. References rpmmiObject_s::mi, rpmdbGetIteratorCount(), and rpmmiObject. |
|
|
Definition at line 203 of file rpmmi-py.c. References rpmmiObject_s::mi, rpmdbFreeIterator(), and rpmmiObject. |
|
||||||||||||
|
Definition at line 213 of file rpmmi-py.c. |
|
||||||||||||
|
Definition at line 122 of file rpmmi-py.c. References rpmmiObject_s::mi, rpmdbGetIteratorOffset(), and rpmmiObject. |
|
|
Definition at line 72 of file rpmmi-py.c. References rpmmiObject. |
|
|
Definition at line 83 of file rpmmi-py.c. References hdr_Wrap(), Header, rpmmiObject_s::mi, rpmdbFreeIterator(), rpmdbNextIterator(), and rpmmiObject. Referenced by rpmmi_Next(). |
|
||||||||||||
|
Definition at line 100 of file rpmmi-py.c. References rpmmi_iternext(), and rpmmiObject. |
|
||||||||||||
|
Definition at line 158 of file rpmmi-py.c. References rpmmiObject_s::mi, rpmdbSetIteratorRE(), rpmmiObject, rpmTag, and tagNumFromPyObject(). |
|
||||||||||||||||
|
Definition at line 219 of file rpmmi-py.c. |
|
|
Definition at line 281 of file rpmmi-py.c. References rpmmiObject_s::mi, pyrpmError, rpmdbMatchIterator, rpmmi_Type, and rpmmiObject. Referenced by rpmdb_Match(), and rpmts_Match(). |
|
||||||||||||
|
Definition at line 32 of file rpmrc-py.c. References addMacro(). |
|
||||||||||||
|
Definition at line 47 of file rpmrc-py.c. References delMacro(). |
|
||||||||||||
|
Definition at line 94 of file rpmmodule.c. References _rpmds_nopromote. |
|
||||||||||||
|
Definition at line 55 of file rpmmodule.c. References pyrpmError, and rpmlogSetFile(). |
|
||||||||||||
|
Definition at line 104 of file rpmmodule.c. References _rpmts_stats. |
|
||||||||||||
|
Definition at line 79 of file rpmmodule.c. References rpmSetVerbosity. |
|
|
Initial value:
""
Definition at line 164 of file rpmmodule.c. Referenced by initrpm(). |
|
|
Initial value: {
(inquiry) rpmdb_length,
(binaryfunc) rpmdb_subscript,
(objobjargproc)0,
}
Definition at line 196 of file rpmdb-py.c. |
|
|
Initial value:
""
Definition at line 227 of file rpmdb-py.c. |
|
|
Initial value: {
{"match", (PyCFunction) rpmdb_Match, METH_VARARGS,
"db.match([TagN, [key, [len]]]) -> mi\n\
- Create an rpm db match iterator.\n" },
{NULL, NULL}
}
Definition at line 134 of file rpmdb-py.c. |
|
|
Definition at line 233 of file rpmdb-py.c. |
|
|
Initial value:
""
Definition at line 228 of file rpmmi-py.c. |
|
|
Initial value: {
{"next", (PyCFunction) rpmmi_Next, METH_VARARGS,
"mi.next() -> hdr\n\
- Retrieve next header that matches. Iterate directly in python if possible.\n" },
{"instance", (PyCFunction) rpmmi_Instance, METH_VARARGS,
NULL },
{"count", (PyCFunction) rpmmi_Count, METH_VARARGS,
NULL },
{"pattern", (PyCFunction) rpmmi_Pattern, METH_VARARGS,
"mi.pattern(TagN, mire_type, pattern)\n\
- Set a secondary match pattern on tags from retrieved header.\n" },
{NULL, NULL}
}
Definition at line 186 of file rpmmi-py.c. |
|
|
Definition at line 234 of file rpmmi-py.c. Referenced by initrpm(), and rpmmi_Wrap(). |
|
|
Definition at line 114 of file rpmmodule.c. Referenced by initrpm(). |
|
|
Initial value: {
{ "addMacro", (PyCFunction) rpmrc_AddMacro, METH_VARARGS,
NULL },
{ "delMacro", (PyCFunction) rpmrc_DelMacro, METH_VARARGS,
NULL },
{NULL, NULL}
}
Definition at line 309 of file rpmrc-py.c. |
|
|
Initial value: {
PyObject_HEAD_INIT(&PyType_Type)
0,
"rpm.rc",
sizeof(rpmrcObject),
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
}
Definition at line 370 of file rpmrc-py.c. Referenced by initrpm(). |
1.3.5