blob: 062ad831036a59b7edf640c1c08216841b36a246 (
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
32
33
34
35
36
37
38
39
|
#ifndef H_RPMDB_PY
#define H_RPMDB_PY
#include "rpmdb.h"
/** \ingroup py_c
* \file python/rpmdb-py.h
*/
/** \ingroup py_c
*/
typedef struct rpmdbObject_s rpmdbObject;
/** \ingroup py_c
*/
struct rpmdbObject_s {
PyObject_HEAD
PyObject *md_dict; /*!< to look like PyModuleObject */
rpmdb db;
int offx;
int noffs;
int *offsets;
} ;
/*@unchecked@*/
extern PyTypeObject rpmdb_Type;
#ifdef _LEGACY_BINDINGS_TOO
rpmdb dbFromDb(rpmdbObject * db)
/*@*/;
rpmdbObject * rpmOpenDB(PyObject * self, PyObject * args, PyObject * kwds)
/*@*/;
PyObject * rebuildDB (PyObject * self, PyObject * args, PyObject * kwds)
/*@globals rpmGlobalMacroContext @*/
/*@modifies rpmGlobalMacroContext @*/;
#endif
#endif
|