-
Notifications
You must be signed in to change notification settings - Fork 1
/
header-py.h
43 lines (30 loc) · 1 KB
/
header-py.h
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
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef RPMPYTHON_HEADER
#define RPMPYTHON_HEADER
/** \ingroup py_c
* \file python/header-py.h
*/
/** \name Type: _rpm.hdr */
/*@{*/
typedef struct hdrObject_s hdrObject;
extern PyTypeObject hdr_Type;
#define hdrObject_Check(v) ((v)->ob_type == &hdr_Type)
extern PyObject * pyrpmError;
#ifdef __cplusplus
extern "C" {
#endif
Header hdrGetHeader(hdrObject * h)
RPM_GNUC_PURE;
PyObject * hdr_Wrap(PyTypeObject *subtype, Header h);
int hdrFromPyObject(PyObject *item, Header *h);
int utf8FromPyObject(PyObject *item, PyObject **str);
int tagNumFromPyObject (PyObject *item, rpmTag *tagp);
PyObject * labelCompare (PyObject * self, PyObject * args);
PyObject * versionCompare (PyObject * self, PyObject * args, PyObject * kwds);
PyObject * rpmMergeHeadersFromFD(PyObject * self, PyObject * args, PyObject * kwds);
PyObject * evrSplit (PyObject * self, PyObject * args, PyObject * kwds);
PyObject * evrCompare (PyObject * self, PyObject * args, PyObject * kwds);
#ifdef __cplusplus
}
#endif
/*@}*/
#endif