rpm
5.4.10
|
Go to the source code of this file.
Type: _rpm.hdr | |
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) |
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 1021 of file header-py.c.
References rpmEVRcompare(), rpmEVRfree(), rpmEVRnew(), rpmEVRparse(), and RPMSENSE_EQUAL.
PyObject* evrSplit | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) |
Definition at line 1042 of file header-py.c.
References rpmEVRfree(), rpmEVRnew(), rpmEVRparse(), and RPMSENSE_EQUAL.
Definition at line 682 of file header-py.c.
References hdrObject_s::h, hdr_Type, and headerLink().
Referenced by hdrLoad(), rpmdb_subscript(), rpmmi_iternext(), rpmReadHeaders(), rpmSingleHeaderFromFD(), rpmts_HdrFromFdno(), rpmts_IDTXglob(), and rpmts_IDTXload().
Definition at line 689 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 696 of file header-py.c.
References hdrObject_s::h, hdr_Wrap(), headerAllocated(), headerFree(), headerLoad(), and pyrpmError.
PyObject* labelCompare | ( | PyObject * | self, |
PyObject * | args | ||
) |
Definition at line 985 of file header-py.c.
References 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 793 of file header-py.c.
References Fclose(), fdDup(), and rpmReadHeaders().
PyObject* rpmHeaderFromFile | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) |
Definition at line 814 of file header-py.c.
References Fclose(), Fopen(), pyrpmError, and rpmReadHeaders().
PyObject* rpmHeaderToFD | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) |
Definition at line 924 of file header-py.c.
References Fclose(), fdDup(), and rpmWriteHeaders().
PyObject* rpmHeaderToFile | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) |
Definition at line 946 of file header-py.c.
References Fclose(), Fopen(), pyrpmError, and rpmWriteHeaders().
PyObject* rpmReadHeaders | ( | FD_t | fd | ) |
Definition at line 732 of file header-py.c.
References _free(), hdrObject_s::h, 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 841 of file header-py.c.
References _free(), Fclose(), fdDup(), hdrObject_s::h, 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 898 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 364 of file header-py.c.
References 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 972 of file header-py.c.
References hdr_compare(), and hdr_Type.
PyTypeObject hdr_Type |
Definition at line 636 of file header-py.c.
Referenced by hdr_Wrap(), init_rpm(), rpmds_init(), rpmfi_init(), rpmts_AddInstall(), and versionCompare().
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().