rpm 5.2.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

rpmdb-py.h
Go to the documentation of this file.
1 #ifndef H_RPMDB_PY
2 #define H_RPMDB_PY
3
4 #include "rpmdb.h"
5
12
15 typedef struct rpmdbObject_s rpmdbObject;
16
19 struct rpmdbObject_s {
20 PyObject_HEAD
21 PyObject *md_dict;
22 rpmdb db;
23 int offx;
24 int noffs;
25 int *offsets;
26 } ;
27
30 /*@unchecked@*/
31 extern PyTypeObject rpmdb_Type;
32
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36
37 #ifdef _LEGACY_BINDINGS_TOO
38
40 rpmdb dbFromDb(rpmdbObject * db)
41 /*@*/;
42
45 rpmdbObject * rpmOpenDB(PyObject * self, PyObject * args, PyObject * kwds)
46 /*@*/;
49 PyObject * rebuildDB (PyObject * self, PyObject * args, PyObject * kwds)
50 /*@globals rpmGlobalMacroContext @*/
51 /*@modifies rpmGlobalMacroContext @*/;
52 #endif
53
54 #ifdef __cplusplus
55 }
56 #endif
57
60 #endif