blob: c5d3d4ab7e7b198a505d87494ca2a8fc82f078d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef RPMPYTHON_HEADER
#define RPMPYTHON_HEADER
/** \ingroup python
* \file python/header-py.h
*/
/** \ingroup python
*/
typedef struct hdrObject_s hdrObject;
extern PyTypeObject hdrType;
/** \ingroup python
*/
PyObject * pyrpmError;
hdrObject * createHeaderObject(Header h);
Header hdrGetHeader(hdrObject * h);
PyObject * labelCompare (PyObject * self, PyObject * args);
PyObject * versionCompare (PyObject * self, PyObject * args);
PyObject * rpmMergeHeadersFromFD(PyObject * self, PyObject * args);
int rpmMergeHeaders(PyObject * list, FD_t fd, int matchTag);
PyObject * rpmHeaderFromFile(PyObject * self, PyObject * args);
PyObject * rpmHeaderFromFD(PyObject * self, PyObject * args);
PyObject * rpmReadHeaders (FD_t fd);
PyObject * rhnLoad(PyObject * self, PyObject * args);
PyObject * hdrLoad(PyObject * self, PyObject * args);
PyObject * rpmHeaderFromPackage(PyObject * self, PyObject * args);
long tagNumFromPyObject (PyObject *item);
#endif
|