00001 #ifndef H_RPMDB_PY
00002 #define H_RPMDB_PY
00003
00004 #include "rpmdb.h"
00005
00012 typedef struct rpmdbObject_s rpmdbObject;
00013
00016 struct rpmdbObject_s {
00017 PyObject_HEAD
00018 rpmdb db;
00019 int offx;
00020 int noffs;
00021 int *offsets;
00022 } ;
00023
00024
00025 extern PyTypeObject rpmdb_Type;
00026
00027 #ifdef _LEGACY_BINDINGS_TOO
00028 rpmdb dbFromDb(rpmdbObject * db)
00029 ;
00030
00031 rpmdbObject * rpmOpenDB(PyObject * self, PyObject * args)
00032 ;
00033 PyObject * rebuildDB (PyObject * self, PyObject * args)
00034
00035 ;
00036 #endif
00037
00038 #endif