Files | |
| 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 | rpmfts-py.c |
| file | rpmfts-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 |
Data Structures | |
| struct | hdrObject_s |
| struct | rpmdbObject_s |
| struct | rpmmiObject_s |
| struct | rpmrcObject_s |
| struct | rpmtsCallbackType_s |
Class: rpm.hdr | |
| static PyObject * | hdrKeyList (hdrObject *s) |
| static PyObject * | hdrUnload (hdrObject *s, PyObject *args, PyObject *keywords) |
| static PyObject * | hdrExpandFilelist (hdrObject *s) |
| static PyObject * | hdrCompressFilelist (hdrObject *s) |
| static void | mungeFilelist (Header h) |
| static PyObject * | hdrFullFilelist (hdrObject *s) |
| static PyObject * | hdrSprintf (hdrObject *s, PyObject *args, PyObject *kwds) |
| static void | hdr_dealloc (hdrObject *s) |
| long | tagNumFromPyObject (PyObject *item) |
| static PyObject * | hdr_subscript (hdrObject *s, PyObject *item) |
| static struct PyMethodDef | hdr_methods [] |
| static PyMappingMethods | hdr_as_mapping |
| PyTypeObject | hdr_Type |
Class: Rpmfd | |
| static void | rpmfd_dealloc (rpmfdObject *s) |
| static int | rpmfd_init (rpmfdObject *s, PyObject *args, PyObject *kwds) |
| static void | rpmfd_free (rpmfdObject *s) |
| static PyObject * | rpmfd_alloc (PyTypeObject *subtype, int nitems) |
| static rpmfdObject * | rpmfd_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds) |
| static struct PyMethodDef | rpmfd_methods [] |
| PyTypeObject | rpmfd_Type |
Class: Rpmmi | |
| static void | rpmmi_dealloc (rpmmiObject *s) |
| static struct PyMethodDef | rpmmi_methods [] |
| PyTypeObject | rpmmi_Type |
Class: Rpmts | |
| static PyObject * | rpmts_Debug (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static void | rpmtsAddAvailableElement (rpmts ts, Header h, fnpyKey key) |
| Add package to universe of possible packages to install in transaction set. | |
| static PyObject * | rpmts_AddInstall (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static PyObject * | rpmts_AddErase (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static int | rpmts_SolveCallback (rpmts ts, rpmds ds, const void *data) |
| static PyObject * | rpmts_Check (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static PyObject * | rpmts_Order (rpmtsObject *s) |
| static PyObject * | rpmts_Clean (rpmtsObject *s) |
| static PyObject * | rpmts_IDTXload (rpmtsObject *s) |
| static PyObject * | rpmts_IDTXglob (rpmtsObject *s) |
| static PyObject * | rpmts_Rollback (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static PyObject * | rpmts_OpenDB (rpmtsObject *s) |
| static PyObject * | rpmts_CloseDB (rpmtsObject *s) |
| static PyObject * | rpmts_InitDB (rpmtsObject *s) |
| static PyObject * | rpmts_RebuildDB (rpmtsObject *s) |
| static PyObject * | rpmts_VerifyDB (rpmtsObject *s) |
| static PyObject * | rpmts_HdrFromFdno (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static PyObject * | rpmts_HdrCheck (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static PyObject * | rpmts_SetVSFlags (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static PyObject * | rpmts_GetVSFlags (rpmtsObject *s) |
| static PyObject * | rpmts_SetColor (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static PyObject * | rpmts_PgpPrtPkts (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static PyObject * | rpmts_PgpImportPubkey (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static PyObject * | rpmts_GetKeys (rpmtsObject *s) |
| static void * | rpmtsCallback (const void *hd, const rpmCallbackType what, const unsigned long amount, const unsigned long total, const void *pkgKey, rpmCallbackData data) |
| static PyObject * | rpmts_SetFlags (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static PyObject * | rpmts_SetProbFilter (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static rpmpsObject * | rpmts_Problems (rpmtsObject *s) |
| static PyObject * | rpmts_Run (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static void | rpmts_dealloc (rpmtsObject *s) |
| static int | rpmts_setattro (PyObject *o, PyObject *n, PyObject *v) |
| static int | rpmts_init (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static void | rpmts_free (rpmtsObject *s) |
| static PyObject * | rpmts_alloc (PyTypeObject *subtype, int nitems) |
| static PyObject * | rpmts_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds) |
| static void | die (PyObject *cb) |
| static PyObject * | rpmts_iternext (rpmtsObject *s) |
| static PyObject * | rpmts_Next (rpmtsObject *s) |
| static specObject * | spec_Parse (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static rpmmiObject * | rpmts_Match (rpmtsObject *s, PyObject *args, PyObject *kwds) |
| static PyObject * | rpmts_getattro (PyObject *o, PyObject *n) |
| rpmtsObject * | rpmts_Create (PyObject *self, PyObject *args, PyObject *kwds) |
| static struct PyMethodDef | rpmts_methods [] |
| PyTypeObject | rpmts_Type |
| static char | rpmts_doc [] |
Class: Rpmfts | |
| static struct PyMethodDef | rpmfts_methods [] |
| PyTypeObject | rpmfts_Type |
Class: rpm.rc | |
| PyTypeObject | rpmrc_Type |
Class: Rpmte | |
| static struct PyMethodDef | rpmte_methods [] |
| PyTypeObject | rpmte_Type |
Typedefs | |
| typedef hdrObject_s | hdrObject |
| typedef rpmdbObject_s | rpmdbObject |
| typedef rpmmiObject_s | rpmmiObject |
| typedef rpmrcObject_s | rpmrcObject |
Functions | |
| static int | rpmds_init (rpmdsObject *s, PyObject *args, PyObject *kwds) |
| static void | rpmds_free (rpmdsObject *s) |
| static PyObject * | rpmds_alloc (PyTypeObject *subtype, int nitems) |
| static PyObject * | rpmds_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds) |
| static int | rpmfi_init (rpmfiObject *s, PyObject *args, PyObject *kwds) |
| static void | rpmfi_free (rpmfiObject *s) |
| static PyObject * | rpmfi_alloc (PyTypeObject *subtype, int nitems) |
| static PyObject * | rpmfi_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds) |
Variables | |
| PyObject * | pyrpmError |
| typedef struct hdrObject_s hdrObject |
Definition at line 10 of file header-py.h.
| typedef struct rpmdbObject_s rpmdbObject |
Definition at line 12 of file rpmdb-py.h.
| typedef struct rpmmiObject_s rpmmiObject |
Definition at line 10 of file rpmmi-py.h.
| typedef struct rpmrcObject_s rpmrcObject |
Definition at line 10 of file rpmrc-py.h.
| static void die | ( | PyObject * | cb | ) | [static] |
Definition at line 187 of file rpmts-py.c.
References _, EXIT_FAILURE, and rpmdbCheckTerminate().
Referenced by check_range(), dumpRequires(), findClassName(), findJavaMagic(), formatClassName(), genSymbolTable(), main(), my_fread(), rpmalAdd(), rpmalAllFileSatisfiesDepend(), rpmalDel(), rpmalFree(), rpmts_SolveCallback(), and rpmtsCallback().
| static void hdr_dealloc | ( | hdrObject * | s | ) | [static] |
Definition at line 426 of file header-py.c.
References _free(), hdrObject_s::fileList, hdrObject_s::h, headerFree(), hdrObject_s::linkList, and hdrObject_s::md5list.
| static PyObject* hdr_subscript | ( | hdrObject * | s, | |
| PyObject * | item | |||
| ) | [static] |
Definition at line 456 of file header-py.c.
References ext, hdrObject_s::h, HEADER_EXT_TAG, headerSprintfExtension_s::name, RPM_BIN_TYPE, RPM_CHAR_TYPE, RPM_INT16_TYPE, RPM_INT32_TYPE, RPM_INT8_TYPE, RPM_STRING_ARRAY_TYPE, RPM_STRING_TYPE, rpmHeaderFormats, rpmHeaderGetEntry(), RPMTAG_ARCH, RPMTAG_CHANGELOGTIME, RPMTAG_CONFLICTFLAGS, RPMTAG_CONFLICTNAME, RPMTAG_CONFLICTVERSION, RPMTAG_DESCRIPTION, RPMTAG_EPOCH, RPMTAG_FILEFLAGS, RPMTAG_FILEGIDS, RPMTAG_FILEGROUPNAME, RPMTAG_FILELINKTOS, RPMTAG_FILEMD5S, RPMTAG_FILEMODES, RPMTAG_FILEMTIMES, RPMTAG_FILERDEVS, RPMTAG_FILESIZES, RPMTAG_FILESTATES, RPMTAG_FILEUIDS, RPMTAG_FILEUSERNAME, RPMTAG_FILEVERIFYFLAGS, RPMTAG_GROUP, RPMTAG_NAME, RPMTAG_OBSOLETEFLAGS, RPMTAG_OBSOLETENAME, RPMTAG_OBSOLETEVERSION, RPMTAG_OLDFILENAMES, RPMTAG_OS, RPMTAG_PROVIDEFLAGS, RPMTAG_PROVIDENAME, RPMTAG_PROVIDEVERSION, RPMTAG_RELEASE, RPMTAG_REQUIREFLAGS, RPMTAG_REQUIRENAME, RPMTAG_REQUIREVERSION, RPMTAG_ROOT, RPMTAG_SUMMARY, RPMTAG_VERSION, tagNumFromPyObject(), headerSprintfExtension_s::type, and xstrcasecmp().
| static PyObject* hdrCompressFilelist | ( | hdrObject * | s | ) | [static] |
| static PyObject* hdrExpandFilelist | ( | hdrObject * | s | ) | [static] |
| static PyObject* hdrFullFilelist | ( | hdrObject * | s | ) | [static] |
| static PyObject* hdrKeyList | ( | hdrObject * | s | ) | [static] |
Definition at line 160 of file header-py.c.
References hdrObject_s::h, 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.
| static PyObject* hdrSprintf | ( | hdrObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 345 of file header-py.c.
References _free(), hdrObject_s::h, headerSprintf(), pyrpmError, rpmHeaderFormats, and rpmTagTable.
| static PyObject* hdrUnload | ( | hdrObject * | s, | |
| PyObject * | args, | |||
| PyObject * | keywords | |||
| ) | [static] |
Definition at line 192 of file header-py.c.
References _free(), hdrObject_s::h, headerCopy(), headerFree(), headerLink(), headerSizeof(), headerUnload(), and pyrpmError.
| static void mungeFilelist | ( | Header | h | ) | [static] |
Definition at line 250 of file header-py.c.
References _free(), compressFilelist(), headerAddEntry(), headerIsEntry(), RPM_STRING_ARRAY_TYPE, rpmfiBuildFNames(), RPMTAG_BASENAMES, RPMTAG_DIRINDEXES, RPMTAG_DIRNAMES, and RPMTAG_OLDFILENAMES.
Referenced by hdrFullFilelist().
| static PyObject* rpmds_alloc | ( | PyTypeObject * | subtype, | |
| int | nitems | |||
| ) | [static] |
| static void rpmds_free | ( | rpmdsObject * | s | ) | [static] |
Definition at line 545 of file rpmds-py.c.
References _rpmds_debug, rpmdsObject_s::ds, and rpmdsFree().
Referenced by rpmds_new().
| static int rpmds_init | ( | rpmdsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 513 of file rpmds-py.c.
References _rpmds_debug, rpmdsObject_s::active, rpmdsObject_s::ds, hdr_Type, hdrGetHeader(), rpmdsNew(), RPMTAG_REQUIRENAME, and tagNumFromPyObject().
Referenced by rpmds_new().
| static PyObject* rpmds_new | ( | PyTypeObject * | subtype, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 570 of file rpmds-py.c.
References _rpmds_debug, rpmdsObject_s::ds, rpmds_free(), and rpmds_init().
| static PyObject* rpmfd_alloc | ( | PyTypeObject * | subtype, | |
| int | nitems | |||
| ) | [static] |
| static void rpmfd_dealloc | ( | rpmfdObject * | s | ) | [static] |
| static void rpmfd_free | ( | rpmfdObject * | s | ) | [static] |
Definition at line 232 of file rpmfd-py.c.
References _rpmfd_debug, Fclose(), and rpmfdObject_s::fd.
Referenced by rpmfd_new().
| static int rpmfd_init | ( | rpmfdObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 198 of file rpmfd-py.c.
References _rpmfd_debug, Fclose(), rpmfdObject_s::fd, Ferror(), Fopen(), Fstrerror(), and pyrpmError.
Referenced by rpmfd_new().
| static rpmfdObject* rpmfd_new | ( | PyTypeObject * | subtype, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 258 of file rpmfd-py.c.
References _rpmfd_debug, rpmfdObject_s::fd, rpmfd_free(), and rpmfd_init().
| static PyObject* rpmfi_alloc | ( | PyTypeObject * | subtype, | |
| int | nitems | |||
| ) | [static] |
| static void rpmfi_free | ( | rpmfiObject * | s | ) | [static] |
Definition at line 497 of file rpmfi-py.c.
References _rpmfi_debug, rpmfiObject_s::fi, and rpmfiFree().
Referenced by rpmfi_new().
| static int rpmfi_init | ( | rpmfiObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 464 of file rpmfi-py.c.
References _rpmfi_debug, rpmfiObject_s::active, rpmfiObject_s::fi, hdr_Type, hdrGetHeader(), rpmfiNew(), RPMTAG_BASENAMES, and tagNumFromPyObject().
Referenced by rpmfi_new().
| static PyObject* rpmfi_new | ( | PyTypeObject * | subtype, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 522 of file rpmfi-py.c.
References _rpmfi_debug, rpmfiObject_s::fi, rpmfi_free(), and rpmfi_init().
| static void rpmmi_dealloc | ( | rpmmiObject * | s | ) | [static] |
Definition at line 196 of file rpmmi-py.c.
References rpmmiObject_s::mi, rpmmiObject_s::ref, and rpmdbFreeIterator().
| static PyObject* rpmts_AddErase | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 288 of file rpmts-py.c.
References _rpmts_debug, pyrpmError, rpmdbFreeIterator(), rpmdbGetIteratorCount(), rpmdbGetIteratorOffset(), RPMDBI_LABEL, RPMDBI_PACKAGES, rpmdbNextIterator(), rpmtsAddEraseElement(), rpmtsInitIterator(), and rpmtsObject_s::ts.
| static PyObject* rpmts_AddInstall | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 234 of file rpmts-py.c.
References _rpmts_debug, hdr_Type, hdrGetHeader(), rpmtsObject_s::keyList, pyrpmError, rpmtsAddAvailableElement(), rpmtsAddInstallElement(), and rpmtsObject_s::ts.
| static PyObject* rpmts_alloc | ( | PyTypeObject * | subtype, | |
| int | nitems | |||
| ) | [static] |
| static PyObject* rpmts_Check | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 386 of file rpmts-py.c.
References _rpmts_debug, rpmProblem_s::altNEVR, rpmProblem_s::key, rpmps_s::numProblems, rpmProblem_s::pkgNEVR, rpmps_s::probs, rpmalMakeIndex(), RPMDEP_SENSE_CONFLICTS, RPMDEP_SENSE_REQUIRES, RPMPROB_BADRELOCATE, rpmpsFree(), RPMSENSE_EQUAL, RPMSENSE_GREATER, RPMSENSE_LESS, rpmts_SolveCallback(), rpmtsCheck(), rpmtsProblems(), rpmtsSetSolveCallback(), rpmtsSolve(), rpmtsObject_s::ts, and rpmProblem_s::type.
| static PyObject* rpmts_Clean | ( | rpmtsObject * | s | ) | [static] |
Definition at line 528 of file rpmts-py.c.
References _rpmts_debug, rpmtsClean(), and rpmtsObject_s::ts.
| static PyObject* rpmts_CloseDB | ( | rpmtsObject * | s | ) | [static] |
Definition at line 695 of file rpmts-py.c.
References _rpmts_debug, rpmtsCloseDB(), and rpmtsObject_s::ts.
| rpmtsObject* rpmts_Create | ( | PyObject * | self, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) |
Definition at line 1707 of file rpmts-py.c.
References _rpmts_debug, rpmtsObject_s::keyList, rpmExpandNumeric(), rpmtsCreate(), rpmtsSetRootDir(), rpmtsSetVSFlags(), rpmtsObject_s::scriptFd, rpmtsObject_s::ts, rpmtsObject_s::tsi, rpmtsObject_s::tsiFilter, and vsflags.
| static void rpmts_dealloc | ( | rpmtsObject * | s | ) | [static] |
Definition at line 1518 of file rpmts-py.c.
References _rpmts_debug, Fclose(), rpmtsObject_s::keyList, rpmtsFree(), rpmtsObject_s::scriptFd, and rpmtsObject_s::ts.
| static PyObject* rpmts_Debug | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
| static void rpmts_free | ( | rpmtsObject * | s | ) | [static] |
Definition at line 1598 of file rpmts-py.c.
References _rpmts_debug, Fclose(), rpmtsObject_s::keyList, rpmtsFree(), rpmtsObject_s::scriptFd, and rpmtsObject_s::ts.
Referenced by rpmts_new().
| static PyObject* rpmts_getattro | ( | PyObject * | o, | |
| PyObject * | n | |||
| ) | [static] |
Definition at line 1533 of file rpmts-py.c.
| static PyObject* rpmts_GetKeys | ( | rpmtsObject * | s | ) | [static] |
Definition at line 1011 of file rpmts-py.c.
References _free(), _rpmts_debug, rpmtsGetKeys(), and rpmtsObject_s::ts.
| static PyObject* rpmts_GetVSFlags | ( | rpmtsObject * | s | ) | [static] |
| static PyObject* rpmts_HdrCheck | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 826 of file rpmts-py.c.
References _free(), _rpmts_debug, headerCheck(), pyrpmError, RPMRC_FAIL, RPMRC_NOKEY, RPMRC_NOTTRUSTED, RPMRC_OK, and rpmtsObject_s::ts.
| static PyObject* rpmts_HdrFromFdno | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 773 of file rpmts-py.c.
References _rpmts_debug, Fclose(), fdDup(), hdr_Wrap(), headerFree(), pyrpmError, RPMRC_FAIL, RPMRC_NOKEY, RPMRC_NOTFOUND, RPMRC_NOTTRUSTED, RPMRC_OK, rpmReadPackageFile(), and rpmtsObject_s::ts.
| static PyObject* rpmts_IDTXglob | ( | rpmtsObject * | s | ) | [static] |
Definition at line 590 of file rpmts-py.c.
References _free(), _rpmts_debug, IDT_s::h, hdr_Wrap(), IDTindex_s::idt, IDTXfree(), IDTXglob(), IDT_s::key, IDTindex_s::nidt, rpmExpand(), RPMTAG_REMOVETID, rpmtsObject_s::ts, IDT_s::u32, and IDT_s::val.
| static PyObject* rpmts_IDTXload | ( | rpmtsObject * | s | ) | [static] |
Definition at line 545 of file rpmts-py.c.
References _rpmts_debug, IDT_s::h, hdr_Wrap(), IDTXfree(), IDTXload(), IDT_s::instance, RPMTAG_INSTALLTID, rpmtsObject_s::ts, IDT_s::u32, and IDT_s::val.
| static int rpmts_init | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 1567 of file rpmts-py.c.
References _rpmts_debug, rpmtsObject_s::keyList, rpmExpandNumeric(), rpmtsCreate(), rpmtsSetRootDir(), rpmtsSetVSFlags(), rpmtsObject_s::scriptFd, rpmtsObject_s::ts, rpmtsObject_s::tsi, rpmtsObject_s::tsiFilter, and vsflags.
Referenced by rpmts_new().
| static PyObject* rpmts_InitDB | ( | rpmtsObject * | s | ) | [static] |
Definition at line 713 of file rpmts-py.c.
References _rpmts_debug, rpmtsCloseDB(), rpmtsInitDB(), and rpmtsObject_s::ts.
| static PyObject* rpmts_iternext | ( | rpmtsObject * | s | ) | [static] |
Definition at line 1274 of file rpmts-py.c.
References _rpmts_debug, rpmte_Wrap(), rpmtsiFree, rpmtsiInit, rpmtsiNext(), rpmtsObject_s::ts, rpmtsObject_s::tsi, and rpmtsObject_s::tsiFilter.
Referenced by rpmts_Next().
| static rpmmiObject* rpmts_Match | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 1362 of file rpmts-py.c.
References _rpmts_debug, RPMDBI_PACKAGES, rpmmi_Wrap(), rpmtsInitIterator(), rpmtsOpenDB(), tagNumFromPyObject(), and rpmtsObject_s::ts.
| static PyObject* rpmts_new | ( | PyTypeObject * | subtype, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 1629 of file rpmts-py.c.
References _rpmts_debug, rpmts_free(), rpmts_init(), and rpmtsObject_s::ts.
| static PyObject* rpmts_Next | ( | rpmtsObject * | s | ) | [static] |
Definition at line 1308 of file rpmts-py.c.
References _rpmts_debug, rpmts_iternext(), and rpmtsObject_s::ts.
| static PyObject* rpmts_OpenDB | ( | rpmtsObject * | s | ) | [static] |
Definition at line 677 of file rpmts-py.c.
References _rpmts_debug, rpmtsOpenDB(), and rpmtsObject_s::ts.
| static PyObject* rpmts_Order | ( | rpmtsObject * | s | ) | [static] |
Definition at line 508 of file rpmts-py.c.
References _rpmts_debug, rpmtsOrder(), and rpmtsObject_s::ts.
| static PyObject* rpmts_PgpImportPubkey | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 974 of file rpmts-py.c.
References _rpmts_debug, pyrpmError, rpmcliImportPubkey(), and rpmtsObject_s::ts.
| static PyObject* rpmts_PgpPrtPkts | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 938 of file rpmts-py.c.
References _rpmts_debug, pgpPrtPkts(), pyrpmError, and rpmtsObject_s::ts.
| static rpmpsObject* rpmts_Problems | ( | rpmtsObject * | s | ) | [static] |
Definition at line 1168 of file rpmts-py.c.
References _rpmts_debug, rpmtsProblems(), and rpmtsObject_s::ts.
| static PyObject* rpmts_RebuildDB | ( | rpmtsObject * | s | ) | [static] |
Definition at line 733 of file rpmts-py.c.
References _rpmts_debug, rpmtsRebuildDB(), and rpmtsObject_s::ts.
| static PyObject* rpmts_Rollback | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 638 of file rpmts-py.c.
References _rpmts_debug, alloca(), INSTALL_FRESHEN, INSTALL_INSTALL, INSTALL_UPGRADE, rpmInstallArguments_s::rbtid, RPMPROB_FILTER_OLDPACKAGE, rpmRollback(), RPMTRANS_FLAG_NOMD5, rpmtsSetFlags(), rpmInstallArguments_s::transFlags, rpmtsObject_s::ts, VERIFY_DIGEST, VERIFY_HDRCHK, and VERIFY_SIGNATURE.
| static PyObject* rpmts_Run | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 1181 of file rpmts-py.c.
References _free(), _rpmts_debug, rpmtsCallbackType_s::_save, rpmtsCallbackType_s::cb, rpmtsCallbackType_s::data, rpmtsObject_s::ignoreSet, rpmps_s::numProblems, rpmps_s::probs, rpmGetPath(), rpmProblemString(), rpmpsFree(), RPMTRANS_FLAG_NOCONTEXTS, rpmtsCallback(), rpmtsProblems(), rpmtsRun(), rpmtsSELinuxEnabled(), rpmtsSetNotifyCallback(), rpmtsObject_s::ts, and rpmtsCallbackType_s::tso.
| static int rpmts_setattro | ( | PyObject * | o, | |
| PyObject * | n, | |||
| PyObject * | v | |||
| ) | [static] |
Definition at line 1541 of file rpmts-py.c.
References fdDup(), rpmtsSetScriptFd(), rpmtsObject_s::scriptFd, and rpmtsObject_s::ts.
| static PyObject* rpmts_SetColor | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 916 of file rpmts-py.c.
References _rpmts_debug, rpmtsSetColor(), and rpmtsObject_s::ts.
| static PyObject* rpmts_SetFlags | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 1122 of file rpmts-py.c.
References _rpmts_debug, rpmtsSetFlags(), and rpmtsObject_s::ts.
| static PyObject* rpmts_SetProbFilter | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 1144 of file rpmts-py.c.
References _rpmts_debug, rpmtsObject_s::ignoreSet, and rpmtsObject_s::ts.
| static PyObject* rpmts_SetVSFlags | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 885 of file rpmts-py.c.
References _rpmts_debug, rpmtsSetVSFlags(), rpmtsObject_s::ts, and vsflags.
Definition at line 349 of file rpmts-py.c.
References _rpmts_debug, rpmtsCallbackType_s::_save, rpmtsCallbackType_s::cb, die(), rpmdsDNEVR(), rpmdsEVR(), rpmdsFlags(), rpmdsN(), rpmdsTagN(), and rpmtsCallbackType_s::tso.
Referenced by rpmts_Check().
| static PyObject* rpmts_VerifyDB | ( | rpmtsObject * | s | ) | [static] |
Definition at line 753 of file rpmts-py.c.
References _rpmts_debug, rpmtsVerifyDB(), and rpmtsObject_s::ts.
Add package to universe of possible packages to install in transaction set.
| ts | transaction set | |
| h | header | |
| key | package private data |
Definition at line 210 of file rpmts-py.c.
References _rpmts_debug, RPMAL_NOMATCH, rpmalAdd(), rpmdsFree(), rpmdsNew(), rpmfiFree(), rpmfiNew(), RPMTAG_BASENAMES, RPMTAG_PROVIDENAME, and rpmtsColor().
Referenced by rpmts_AddInstall().
| static void* rpmtsCallback | ( | const void * | hd, | |
| const rpmCallbackType | what, | |||
| const unsigned long | amount, | |||
| const unsigned long | total, | |||
| const void * | pkgKey, | |||
| rpmCallbackData | data | |||
| ) | [static] |
Definition at line 1047 of file rpmts-py.c.
References _rpmts_debug, rpmtsCallbackType_s::_save, rpmtsCallbackType_s::cb, rpmtsCallbackType_s::data, die(), Fclose(), fdDup(), Fileno(), headerNVR(), RPMCALLBACK_INST_CLOSE_FILE, and RPMCALLBACK_INST_OPEN_FILE.
Referenced by rpmts_Run().
| static specObject* spec_Parse | ( | rpmtsObject * | s, | |
| PyObject * | args, | |||
| PyObject * | kwds | |||
| ) | [static] |
Definition at line 1331 of file rpmts-py.c.
References parseSpec(), pyrpmError, rpmtsSpec(), and rpmtsObject_s::ts.
| long tagNumFromPyObject | ( | PyObject * | item | ) |
Definition at line 438 of file header-py.c.
References rpmTagTable, rpmTagTableSize, and xstrcasecmp().
Referenced by hdr_dsFromHeader(), hdr_fiFromHeader(), hdr_subscript(), rpmdb_Match(), rpmds_init(), rpmds_Single(), rpmfi_init(), rpmmi_Pattern(), rpmte_DS(), rpmte_FI(), and rpmts_Match().
PyMappingMethods hdr_as_mapping [static] |
Initial value:
{
(inquiry) 0,
(binaryfunc) hdr_subscript,
(objobjargproc)0,
}
Definition at line 643 of file header-py.c.
struct PyMethodDef hdr_methods[] [static] |
Initial value:
{
{"keys", (PyCFunction) hdrKeyList, METH_NOARGS,
NULL },
{"unload", (PyCFunction) hdrUnload, METH_VARARGS|METH_KEYWORDS,
NULL },
{"expandFilelist", (PyCFunction) hdrExpandFilelist,METH_NOARGS,
NULL },
{"compressFilelist",(PyCFunction) hdrCompressFilelist,METH_NOARGS,
NULL },
{"fullFilelist", (PyCFunction) hdrFullFilelist, METH_NOARGS,
NULL },
{"rhnUnload", (PyCFunction) rhnUnload, METH_NOARGS,
NULL },
{"sprintf", (PyCFunction) hdrSprintf, METH_VARARGS|METH_KEYWORDS,
NULL },
{"dsOfHeader", (PyCFunction)hdr_dsOfHeader, METH_NOARGS,
NULL},
{"dsFromHeader", (PyCFunction)hdr_dsFromHeader, METH_VARARGS|METH_KEYWORDS,
NULL},
{"fiFromHeader", (PyCFunction)hdr_fiFromHeader, METH_VARARGS|METH_KEYWORDS,
NULL},
{NULL, NULL}
}
Definition at line 385 of file header-py.c.
| PyTypeObject hdr_Type |
Definition at line 657 of file header-py.c.
Referenced by init_rpm(), rpmds_init(), rpmfi_init(), and rpmts_AddInstall().
| PyObject* pyrpmError |
Definition at line 43 of file rpmmodule.c.
Referenced by hdrLoad(), hdrSprintf(), hdrUnload(), init_rpm(), rhnLoad(), rpmdb_subscript(), rpmfd_Fopen(), rpmfd_init(), rpmHeaderFromFile(), rpmMergeHeaders(), rpmmi_Wrap(), rpmReadHeaders(), rpmSingleHeaderFromFD(), rpmts_AddErase(), rpmts_AddInstall(), rpmts_HdrCheck(), rpmts_HdrFromFdno(), rpmts_PgpImportPubkey(), rpmts_PgpPrtPkts(), setLogFile(), and spec_Parse().
struct PyMethodDef rpmfd_methods[] [static] |
Initial value:
{
{"Debug", (PyCFunction)rpmfd_Debug, METH_VARARGS|METH_KEYWORDS,
NULL},
{"Fopen", (PyCFunction)rpmfd_Fopen, METH_VARARGS|METH_KEYWORDS,
NULL},
{NULL, NULL}
}
Definition at line 160 of file rpmfd-py.c.
| PyTypeObject rpmfd_Type |
struct PyMethodDef rpmfts_methods[] [static] |
Initial value:
{
{"Debug", (PyCFunction)rpmfts_Debug, METH_VARARGS|METH_KEYWORDS,
NULL},
{"open", (PyCFunction)rpmfts_Open, METH_VARARGS|METH_KEYWORDS,
NULL},
{"read", (PyCFunction)rpmfts_Read, METH_NOARGS,
NULL},
{"children",(PyCFunction)rpmfts_Children, METH_VARARGS|METH_KEYWORDS,
NULL},
{"close", (PyCFunction)rpmfts_Close, METH_NOARGS,
NULL},
{"set", (PyCFunction)rpmfts_Set, METH_VARARGS|METH_KEYWORDS,
NULL},
{NULL, NULL}
}
Definition at line 291 of file rpmfts-py.c.
| PyTypeObject rpmfts_Type |
struct PyMethodDef rpmmi_methods[] [static] |
Initial value:
{
{"next", (PyCFunction) rpmmi_Next, METH_NOARGS,
"mi.next() -> hdr\n\
- Retrieve next header that matches. Iterate directly in python if possible.\n" },
{"instance", (PyCFunction) rpmmi_Instance, METH_NOARGS,
NULL },
{"count", (PyCFunction) rpmmi_Count, METH_NOARGS,
NULL },
{"pattern", (PyCFunction) rpmmi_Pattern, METH_VARARGS|METH_KEYWORDS,
"mi.pattern(TagN, mire_type, pattern)\n\
- Set a secondary match pattern on tags from retrieved header.\n" },
{NULL, NULL}
}
Definition at line 179 of file rpmmi-py.c.
| PyTypeObject rpmmi_Type |
| PyTypeObject rpmrc_Type |
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 381 of file rpmrc-py.c.
Referenced by init_rpm().
struct PyMethodDef rpmte_methods[] [static] |
Definition at line 300 of file rpmte-py.c.
| PyTypeObject rpmte_Type |
char rpmts_doc[] [static] |
struct PyMethodDef rpmts_methods[] [static] |
Definition at line 1420 of file rpmts-py.c.
| PyTypeObject rpmts_Type |
1.4.7