rpm 5.2.1

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

- File List
- Globals

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
    00015 typedef struct rpmdbObject_s rpmdbObject;
    00016
    00019 struct rpmdbObject_s {
    00020     PyObject_HEAD
    00021     PyObject *md_dict;
    00022     rpmdb db;
    00023     int offx;
    00024     int noffs;
    00025     int *offsets;
    00026 } ;
    00027
    00030 /*@unchecked@*/
    00031 extern PyTypeObject rpmdb_Type;
    00032
    00033 #ifdef __cplusplus
    00034 extern "C" {
    00035 #endif
    00036
    00037 #ifdef  _LEGACY_BINDINGS_TOO
    00038
    00040 rpmdb dbFromDb(rpmdbObject * db)
    00041         /*@*/;
    00042
    00045 rpmdbObject * rpmOpenDB(PyObject * self, PyObject * args, PyObject * kwds)
    00046         /*@*/;
    00049 PyObject * rebuildDB (PyObject * self, PyObject * args, PyObject * kwds)
    00050         /*@globals rpmGlobalMacroContext @*/
    00051         /*@modifies rpmGlobalMacroContext @*/;
    00052 #endif
    00053
    00054 #ifdef __cplusplus
    00055 }
    00056 #endif
    00057
    00060 #endif