Main Page Modules Data Structures File List Data Fields Globals Related Pages

# python/rpmdb-py.h

Go to the documentation of this file.

    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 /*@unchecked@*/
    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         /*@globals rpmGlobalMacroContext @*/
    00035         /*@modifies rpmGlobalMacroContext @*/;
    00036 #endif
    00037
    00038 #endif