rpm
5.4.15
|
Go to the source code of this file.
Type: _rpm.hdr | |
#define | hdrObject_Check(v) ((v)->ob_type == &hdr_Type) |
typedef struct hdrObject_s | hdrObject |
PyTypeObject | hdr_Type |
PyObject * | pyrpmError |
hdrObject * | hdr_Wrap (Header h) |
Header | hdrGetHeader (hdrObject *h) |
rpmTag | tagNumFromPyObject (PyObject *item) |
PyObject * | evrSplit (PyObject *self, PyObject *args, PyObject *kwds) |
PyObject * | evrCompare (PyObject *self, PyObject *args, PyObject *kwds) |
PyObject * | labelCompare (PyObject *self, PyObject *args) |
PyObject * | versionCompare (PyObject *self, PyObject *args, PyObject *kwds) |
PyObject * | rpmHeaderFromFile (PyObject *self, PyObject *args, PyObject *kwds) |
PyObject * | rpmHeaderFromFD (PyObject *self, PyObject *args, PyObject *kwds) |
PyObject * | rpmSingleHeaderFromFD (PyObject *self, PyObject *args, PyObject *kwds) |
PyObject * | rpmHeaderToFile (PyObject *self, PyObject *args, PyObject *kwds) |
PyObject * | rpmHeaderToFD (PyObject *self, PyObject *args, PyObject *kwds) |
PyObject * | rpmReadHeaders (FD_t fd) |
PyObject * | rpmWriteHeaders (PyObject *list, FD_t fd) |
PyObject * | rhnLoad (PyObject *self, PyObject *args, PyObject *kwds) |
PyObject * | hdrLoad (PyObject *self, PyObject *args, PyObject *kwds) |
Definition at line 19 of file header-py.h.
typedef struct hdrObject_s hdrObject |
Definition at line 13 of file header-py.h.
PyObject* evrCompare | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) |
Definition at line 1017 of file header-py.c.
References rpmEVRcompare(), rpmEVRfree(), rpmEVRnew(), rpmEVRparse(), and RPMSENSE_EQUAL.
PyObject* evrSplit | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) |
Definition at line 1040 of file header-py.c.
References rpmEVRfree(), rpmEVRnew(), rpmEVRparse(), and RPMSENSE_EQUAL.
Definition at line 678 of file header-py.c.
References hdrObject_s::h, and headerLink().
Referenced by hdrLoad(), rpmdb_subscript(), rpmmi_iternext(), rpmReadHeaders(), rpmSingleHeaderFromFD(), rpmts_HdrFromFdno(), rpmts_IDTXglob(), and rpmts_IDTXload().
Definition at line 685 of file header-py.c.
References hdrObject_s::h.
Referenced by hdr_dsFromHeader(), hdr_dsOfHeader(), hdr_fiFromHeader(), rpmds_init(), rpmfi_init(), and rpmts_AddInstall().
PyObject* hdrLoad | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) |
Definition at line 692 of file header-py.c.
References hdr_Wrap(), headerAllocated(), headerFree(), headerLoad(), len, obj, and pyrpmError.
PyObject* labelCompare | ( | PyObject * | self, |
PyObject * | args | ||
) |
Definition at line 981 of file header-py.c.
References b, rpmEVRcompare(), rpmEVRfree(), rpmEVRnew(), and RPMSENSE_EQUAL.
PyObject* rhnLoad | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) |
PyObject* rpmHeaderFromFD | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) |
Definition at line 789 of file header-py.c.
References Fclose(), fdDup(), and rpmReadHeaders().
PyObject* rpmHeaderFromFile | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) |
Definition at line 810 of file header-py.c.
References Fclose(), Fopen(), pyrpmError, and rpmReadHeaders().
PyObject* rpmHeaderToFD | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) |
Definition at line 920 of file header-py.c.
References Fclose(), fdDup(), and rpmWriteHeaders().
PyObject* rpmHeaderToFile | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) |
Definition at line 942 of file header-py.c.
References Fclose(), Fopen(), pyrpmError, and rpmWriteHeaders().
PyObject* rpmReadHeaders | ( | FD_t | fd | ) |
Definition at line 728 of file header-py.c.
References _free(), hdr_Wrap(), headerFree(), pyrpmError, rpmlog(), RPMLOG_ERR, rpmpkgRead(), RPMRC_NOTFOUND, and RPMRC_OK.
Referenced by rpmHeaderFromFD(), and rpmHeaderFromFile().
PyObject* rpmSingleHeaderFromFD | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) |
Definition at line 837 of file header-py.c.
References _free(), Fclose(), fdDup(), hdr_Wrap(), headerFree(), pyrpmError, rpmlog(), RPMLOG_ERR, rpmpkgRead(), RPMRC_NOTFOUND, RPMRC_OK, and SEEK_CUR.
PyObject* rpmWriteHeaders | ( | PyObject * | list, |
FD_t | fd | ||
) |
Definition at line 894 of file header-py.c.
References _free(), hdrObject_s::h, pyrpmError, rpmlog(), RPMLOG_ERR, rpmpkgWrite(), and RPMRC_OK.
Referenced by rpmHeaderToFD(), and rpmHeaderToFile().
rpmTag tagNumFromPyObject | ( | PyObject * | item | ) |
Definition at line 362 of file header-py.c.
References str, and tagValue().
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().
PyObject* versionCompare | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) |
Definition at line 968 of file header-py.c.
References hdr_compare().
PyTypeObject hdr_Type |
Definition at line 633 of file header-py.c.
Referenced by init_rpm(), rpmds_init(), rpmfi_init(), and rpmts_AddInstall().
PyObject* pyrpmError |
Definition at line 51 of file rpmmodule.c.
Referenced by hdrLoad(), hdrSprintf(), hdrUnload(), init_rpm(), rpmdb_subscript(), rpmfd_Fopen(), rpmfd_init(), rpmHeaderFromFile(), rpmHeaderToFile(), rpmmi_Wrap(), rpmReadHeaders(), rpmSingleHeaderFromFD(), rpmts_AddErase(), rpmts_HdrCheck(), rpmts_HdrFromFdno(), rpmts_PgpImportPubkey(), rpmts_PgpPrtPkts(), rpmWriteHeaders(), setLogFile(), and spec_Parse().