rpmdb-py.h
Go to the documentation of this file.
#ifndef H_RPMDB_PY
#define H_RPMDB_PY
#include "rpmdb.h"
typedef struct rpmdbObject_s rpmdbObject;
struct rpmdbObject_s {
PyObject_HEAD
PyObject *md_dict;
rpmdb db;
int offx;
int noffs;
int *offsets;
} ;
/*@unchecked@*/
extern PyTypeObject rpmdb_Type;
#ifdef __cplusplus
extern "C" {
#endif
#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
#ifdef __cplusplus
}
#endif
#endif