Files | |
file | _rpmdb.c |
file | hash.c |
file | hash.h |
file | header-py.c |
file | header-py.h |
file | rpmal-py.c |
file | rpmal-py.h |
file | rpmdb-py.c |
file | rpmdb-py.h |
file | rpmds-py.c |
file | rpmds-py.h |
file | rpmfd-py.c |
file | rpmfd-py.h |
file | rpmfi-py.c |
file | rpmfi-py.h |
file | rpmmi-py.c |
file | rpmmi-py.h |
file | rpmmodule.c |
file | rpmrc-py.c |
file | rpmrc-py.h |
file | rpmte-py.c |
file | rpmte-py.h |
file | rpmts-py.c |
file | rpmts-py.h |
file | upgrade.c |
file | upgrade.h |
Data Structures | |
struct | hdrObject_s |
struct | hdrObject_s |
class | Rpmdb |
A python rpmdb object represents an RPM database. More... | |
struct | rpmdbObject_s |
class | Rpmfd |
An python rpm.fd object represents an rpm I/O 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... | |
struct | rpmmiObject_s |
class | Rpmrc |
A python rpm.rc object encapsulates rpmlib configuration. More... | |
struct | rpmrcObject_s |
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... | |
struct | rpmtsCallbackType_s |
Class: rpm.hdr | |
PyObject * | hdrKeyList (hdrObject *s, PyObject *args) |
PyObject * | hdrUnload (hdrObject *s, PyObject *args, PyObject *keywords) |
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 * | hdr_getattr (hdrObject *s, char *name) |
void | hdr_dealloc (hdrObject *s) |
long | tagNumFromPyObject (PyObject *item) |
PyObject * | hdr_subscript (hdrObject *s, PyObject *item) |
PyMethodDef | hdr_methods [] |
PyMappingMethods | hdr_as_mapping |
PyTypeObject | hdr_Type |
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_getattr (rpmdbObject *s, char *name) |
PyMethodDef | rpmdb_methods [] |
PyMappingMethods | rpmdb_as_mapping |
char | rpmdb_doc [] |
PyTypeObject | rpmdb_Type |
Class: Rpmmi | |
PyObject * | rpmmi_iter (rpmmiObject *s) |
void | rpmmi_dealloc (rpmmiObject *s) |
PyObject * | rpmmi_getattr (rpmmiObject *s, char *name) |
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) |
rpmmiObject * | rpmmi_Wrap (rpmdbMatchIterator mi) |
PyMethodDef | rpmmi_methods [] |
PyTypeObject | rpmmi_Type |
char | rpmmi_doc [] |
Module: rpm | |
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) |
void | errorcb (void) |
PyObject * | errorSetCallback (PyObject *self, PyObject *args) |
PyObject * | errorString (PyObject *self, PyObject *args) |
PyObject * | setVerbosity (PyObject *self, PyObject *args) |
PyObject * | setEpochPromote (PyObject *self, PyObject *args) |
void | initrpm (void) |
PyObject * | errorCB = NULL |
PyObject * | errorData = NULL |
PyMethodDef | rpmModuleMethods [] |
char | rpm__doc__ [] |
Class: rpm.rc | |
PyObject * | rpmrc_AddMacro (PyObject *self, PyObject *args) |
PyObject * | rpmrc_DelMacro (PyObject *self, PyObject *args) |
PyTypeObject | rpmrc_Type |
PyMethodDef | rpmrc_methods [] |
Typedefs | |
typedef hdrObject_s | hdrObject |
typedef rpmdbObject_s | rpmdbObject |
typedef rpmmiObject_s | rpmmiObject |
typedef rpmrcObject_s | rpmrcObject |
Functions | |
PyObject * | rpmfd_getattr (rpmfdObject *o, char *name) |
PyObject * | rpmte_getattr (rpmteObject *o, char *name) |
PyObject * | rpmts_Debug (rpmtsObject *s, PyObject *args) |
void | rpmtsAddAvailableElement (rpmts ts, Header h, fnpyKey key) |
PyObject * | rpmts_AddInstall (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_AddErase (rpmtsObject *s, PyObject *args) |
int | rpmts_SolveCallback (rpmts ts, rpmds ds, void *data) |
PyObject * | rpmts_Check (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_Order (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_Clean (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_IDTXload (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_IDTXglob (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_Rollback (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_OpenDB (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_CloseDB (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_InitDB (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_RebuildDB (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_VerifyDB (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_HdrFromFdno (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_HdrCheck (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_SetVSFlags (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_PgpPrtPkts (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_PgpImportPubkey (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_GetKeys (rpmtsObject *s, PyObject *args) |
void * | rpmtsCallback (const void *hd, const rpmCallbackType what, const unsigned long amount, const unsigned long total, const void *pkgKey, rpmCallbackData data) |
PyObject * | rpmts_SetFlags (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_SetProbFilter (rpmtsObject *s, PyObject *args) |
PyObject * | rpmts_Run (rpmtsObject *s, PyObject *args) |
void | rpmts_dealloc (PyObject *o) |
PyObject * | rpmts_getattr (rpmtsObject *o, char *name) |
int | rpmts_setattr (rpmtsObject *o, char *name, PyObject *val) |
Variables | |
PyObject * | pyrpmError |
PyMethodDef | rpmfd_methods [] |
PyTypeObject | rpmfd_Type |
PyMethodDef | rpmte_methods [] |
PyTypeObject | rpmte_Type |
PyMethodDef | rpmts_methods [] |
PyTypeObject | rpmts_Type |
|
Definition at line 10 of file header-py.h. |
|
Definition at line 12 of file rpmdb-py.h. |
|
Definition at line 10 of file rpmmi-py.h. |
|
Definition at line 10 of file rpmrc-py.h. |
|
Definition at line 45 of file rpmmodule.c. References RPM_MACHTABLE_INSTARCH, and rpmMachineScore. |
|
Definition at line 188 of file rpmmodule.c. References errorCB, and errorData. Referenced by errorSetCallback. |
|
Definition at line 207 of file rpmmodule.c. |
|
Definition at line 248 of file rpmmodule.c. |
|
Definition at line 131 of file rpmmodule.c. References alloca, packageInfo::data, packageInfo::h, hdrGetHeader, headerGetEntry, packageInfo::name, pkgSet::numPackages, pkgSet::packages, pkgSort, pyrpmError, RPMTAG_NAME, packageInfo::selected, and ugFindUpgradePackages. |
|
Definition at line 378 of file header-py.c. References _free, and headerFree. |
|
Definition at line 370 of file header-py.c. References hdr_methods. |
|
|
Definition at line 195 of file header-py.c. References compressFilelist. |
|
Definition at line 184 of file header-py.c. References expandFilelist. |
|
Definition at line 294 of file header-py.c. References mungeFilelist. |
|
Definition at line 115 of file header-py.c. References HEADER_I18NTABLE, headerFreeIterator, headerInitIterator, headerNextIterator, RPM_BIN_TYPE, RPM_CHAR_TYPE, RPM_INT16_TYPE, RPM_INT32_TYPE, RPM_INT8_TYPE, RPM_STRING_ARRAY_TYPE, and RPM_STRING_TYPE. |
|
Definition at line 308 of file header-py.c. References _free, errmsg_t, headerSprintf, and pyrpmError. |
|
Definition at line 149 of file header-py.c. References _free, headerCopy, headerFree, headerLink, headerSizeof, headerUnload, and pyrpmError. |
|
|
Definition at line 207 of file header-py.c. References _free, compressFilelist, headerAddEntry, headerIsEntry, RPM_STRING_ARRAY_TYPE, rpmBuildFileList, RPMTAG_BASENAMES, RPMTAG_DIRINDEXES, RPMTAG_DIRNAMES, and RPMTAG_OLDFILENAMES. Referenced by hdrFullFilelist. |
|
Definition at line 74 of file rpmmodule.c. References psGetArchScore, rpmVersionCompare, and xstrcasecmp. Referenced by pkgSort. |
|
Definition at line 97 of file rpmmodule.c. References packageInfo::name, pkgSet::numPackages, pkgSet::packages, and pkgCompareVer. Referenced by findUpgradeSet. |
|
Definition at line 60 of file rpmmodule.c. References headerGetEntry, RPM_INT8_TYPE, RPM_MACHTABLE_INSTARCH, rpmMachineScore, and RPMTAG_ARCH. Referenced by pkgCompareVer. |
|
Definition at line 206 of file rpmdb-py.c. References rpmdbClose. |
|
Definition at line 216 of file rpmdb-py.c. References rpmdb_methods. |
|
Definition at line 150 of file rpmdb-py.c. References rpmdbFreeIterator, RPMDBI_PACKAGES, rpmdbInitIterator, and rpmdbNextIterator. |
|
Definition at line 115 of file rpmdb-py.c. References RPMDBI_PACKAGES, rpmdbInitIterator, rpmmi_Wrap, and tagNumFromPyObject. |
|
Definition at line 167 of file rpmdb-py.c. References hdr_Wrap, headerFree, pyrpmError, rpmdbFreeIterator, RPMDBI_PACKAGES, rpmdbInitIterator, and rpmdbNextIterator. |
|
Definition at line 166 of file rpmfd-py.c. References rpmfd_methods. |
|
Definition at line 143 of file rpmmi-py.c. References rpmdbGetIteratorCount. |
|
Definition at line 206 of file rpmmi-py.c. References rpmdbFreeIterator. |
|
Definition at line 217 of file rpmmi-py.c. References rpmmi_methods. |
|
Definition at line 125 of file rpmmi-py.c. References rpmdbGetIteratorOffset. |
|
Definition at line 78 of file rpmmi-py.c. |
|
Definition at line 88 of file rpmmi-py.c. References hdr_Wrap, rpmdbFreeIterator, and rpmdbNextIterator. Referenced by rpmmi_Next. |
|
Definition at line 104 of file rpmmi-py.c. References rpmmi_iternext. |
|
Definition at line 161 of file rpmmi-py.c. References rpmdbSetIteratorRE, rpmTag, and tagNumFromPyObject. |
|
Definition at line 279 of file rpmmi-py.c. References rpmmiObject_s::mi, pyrpmError, and rpmmi_Type. |
|
Definition at line 52 of file rpmrc-py.c. References addMacro. |
|
Definition at line 67 of file rpmrc-py.c. References delMacro. |
|
Definition at line 268 of file rpmte-py.c. References rpmte_methods. |
|
Definition at line 250 of file rpmts-py.c. References pyrpmError, rpmdbFreeIterator, rpmdbGetIteratorCount, rpmdbGetIteratorOffset, RPMDBI_LABEL, RPMDBI_PACKAGES, rpmdbNextIterator, rpmtsAddEraseElement, rpmtsInitIterator, and uint_32. |
|
Definition at line 204 of file rpmts-py.c. References rpmtsAddAvailableElement, and rpmtsAddInstallElement. |
|
|
Definition at line 479 of file rpmts-py.c. References rpmtsClean. |
|
Definition at line 637 of file rpmts-py.c. References rpmtsCloseDB. |
|
Definition at line 1315 of file rpmts-py.c. References Fclose, rpmtsObject_s::keyList, rpmtsFree, rpmtsObject_s::scriptFd, and rpmtsObject_s::ts. |
|
Definition at line 163 of file rpmts-py.c. References _rpmts_debug. |
|
Definition at line 1333 of file rpmts-py.c. References rpmts_methods. |
|
Definition at line 909 of file rpmts-py.c. References _free, and rpmtsGetKeys. |
|
Definition at line 771 of file rpmts-py.c. References _free, headerCheck, pyrpmError, rpmRC, RPMRC_FAIL, RPMRC_NOKEY, RPMRC_NOTTRUSTED, and RPMRC_OK. |
|
Definition at line 720 of file rpmts-py.c. References Fclose, fdDup, hdr_Wrap, headerFree, pyrpmError, rpmRC, RPMRC_FAIL, RPMRC_NOKEY, RPMRC_NOTFOUND, RPMRC_NOTTRUSTED, RPMRC_OK, and rpmReadPackageFile. |
|
Definition at line 538 of file rpmts-py.c. References _free, IDTXfree, IDTXglob, rpmExpand, rpmTag, and RPMTAG_REMOVETID. |
|
Definition at line 497 of file rpmts-py.c. References IDTXfree, IDTXload, rpmTag, and RPMTAG_INSTALLTID. |
|
Definition at line 657 of file rpmts-py.c. References rpmtsCloseDB, and rpmtsInitDB. |
|
Definition at line 618 of file rpmts-py.c. References rpmtsOpenDB. |
|
Definition at line 458 of file rpmts-py.c. References rpmtsOrder. |
|
Definition at line 877 of file rpmts-py.c. References pyrpmError, and rpmcliImportPubkey. |
|
Definition at line 845 of file rpmts-py.c. References pgpPrtPkts, and pyrpmError. |
|
Definition at line 678 of file rpmts-py.c. References rpmtsRebuildDB. |
|
Definition at line 582 of file rpmts-py.c. References alloca, RPMPROB_FILTER_OLDPACKAGE, rpmRollback, RPMTRANS_FLAG_NOMD5, rpmtransFlags, rpmtsSetFlags, and uint_32. |
|
|
Definition at line 1341 of file rpmts-py.c. References fdDup, and rpmtsSetScriptFd. |
|
Definition at line 1020 of file rpmts-py.c. References rpmtransFlags, and rpmtsSetFlags. |
|
Definition at line 1037 of file rpmts-py.c. References rpmprobFilterFlags. |
|
Definition at line 826 of file rpmts-py.c. References rpmtsSetVSFlags, and rpmVSFlags. |
|
Definition at line 310 of file rpmts-py.c. References rpmtsCallbackType_s::_save, rpmtsCallbackType_s::cb, rpmtsCallbackType_s::pythonError, rpmds, rpmdsDNEVR, rpmdsEVR, rpmdsFlags, rpmdsN, rpmts, and rpmtsCallbackType_s::tso. Referenced by rpmts_Check. |
|
Definition at line 699 of file rpmts-py.c. References rpmtsVerifyDB. |
|
Add package to universe of possible packages to install in transaction set.
Definition at line 182 of file rpmts-py.c. References _rpmts_debug, RPMAL_NOMATCH, rpmalAdd, rpmds, rpmdsFree, rpmdsNew, rpmfi, RPMTAG_BASENAMES, RPMTAG_PROVIDENAME, and rpmts. Referenced by rpmts_AddInstall. |
|
Definition at line 946 of file rpmts-py.c. References rpmtsCallbackType_s::_save, rpmtsCallbackType_s::cb, rpmtsCallbackType_s::data, Fclose, fdDup, headerNVR, and rpmtsCallbackType_s::pythonError. Referenced by rpmts_Run. |
|
Definition at line 270 of file rpmmodule.c. |
|
Definition at line 255 of file rpmmodule.c. |
|
Definition at line 390 of file header-py.c. References xstrcasecmp. |
|
Definition at line 183 of file rpmmodule.c. Referenced by errorcb, and errorSetCallback. |
|
Definition at line 184 of file rpmmodule.c. Referenced by errorcb, and errorSetCallback. |
|
Initial value: { (inquiry) 0, (binaryfunc) hdr_subscript, (objobjargproc)0, } Definition at line 568 of file header-py.c. |
|
Initial value: { {"keys", (PyCFunction) hdrKeyList, METH_VARARGS, NULL }, {"unload", (PyCFunction) hdrUnload, METH_VARARGS|METH_KEYWORDS, NULL }, {"expandFilelist", (PyCFunction) hdrExpandFilelist,METH_VARARGS, NULL }, {"compressFilelist",(PyCFunction) hdrCompressFilelist,METH_VARARGS, NULL }, {"fullFilelist", (PyCFunction) hdrFullFilelist, METH_VARARGS, NULL }, {"rhnUnload", (PyCFunction) rhnUnload, METH_VARARGS, NULL }, {"sprintf", (PyCFunction) hdrSprintf, METH_VARARGS, NULL }, {"dsOfHeader", (PyCFunction)hdr_dsOfHeader, METH_VARARGS, NULL}, {"dsFromHeader", (PyCFunction)hdr_dsFromHeader, METH_VARARGS, NULL}, {"fiFromHeader", (PyCFunction)hdr_fiFromHeader, METH_VARARGS, NULL}, {NULL, NULL} } Definition at line 342 of file header-py.c. Referenced by hdr_getattr. |
|
Definition at line 582 of file header-py.c. Referenced by hdr_Wrap, and versionCompare. |
|
Definition at line 17 of file header-py.h. Referenced by findUpgradeSet, hdrLoad, hdrSprintf, hdrUnload, initrpm, rhnLoad, rpmdb_subscript, rpmfd_Fopen, rpmHeaderFromFile, rpmMergeHeaders, rpmmi_Wrap, rpmReadHeaders, rpmts_AddErase, rpmts_HdrCheck, rpmts_HdrFromFdno, rpmts_PgpImportPubkey, and rpmts_PgpPrtPkts. |
|
Initial value: "" Definition at line 328 of file rpmmodule.c. Referenced by initrpm. |
|
Initial value: { (inquiry) rpmdb_length, (binaryfunc) rpmdb_subscript, (objobjargproc)0, } Definition at line 198 of file rpmdb-py.c. |
|
Initial value: "" Definition at line 225 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 139 of file rpmdb-py.c. Referenced by rpmdb_getattr. |
|
Definition at line 231 of file rpmdb-py.c. |
|
Initial value: { {"Debug", (PyCFunction)rpmfd_Debug, METH_VARARGS, NULL}, {"Fopen", (PyCFunction)rpmfd_Fopen, METH_VARARGS, NULL}, {NULL, NULL} } Definition at line 153 of file rpmfd-py.c. Referenced by rpmfd_getattr. |
|
Definition at line 181 of file rpmfd-py.c. Referenced by rpmfd_Wrap. |
|
Initial value: "" Definition at line 226 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 189 of file rpmmi-py.c. Referenced by rpmmi_getattr. |
|
Definition at line 232 of file rpmmi-py.c. Referenced by rpmmi_Wrap. |
|
Definition at line 280 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 405 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 470 of file rpmrc-py.c. |
|
Definition at line 219 of file rpmte-py.c. Referenced by rpmte_getattr. |
|
Definition at line 283 of file rpmte-py.c. Referenced by rpmte_Wrap. |
|
Definition at line 1232 of file rpmts-py.c. Referenced by rpmts_getattr. |
|
Definition at line 1372 of file rpmts-py.c. Referenced by rpmts_Create. |