rpm
5.4.14
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
python
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
rpmdb
struct rpmdb_s * rpmdb
Database of headers and tag value indices.
Definition:
rpmtypes.h:43
args
PyObject * args
Definition:
rpmts-py.c:200
rpmdbObject_s
Definition:
rpmdb-py.h:19
rpmdbObject_s::offx
int offx
Definition:
rpmdb-py.h:23
rpmdbObject_s::db
rpmdb db
Definition:
rpmdb-py.h:22
rpmdbObject_s::offsets
int * offsets
Definition:
rpmdb-py.h:25
rpmdb.h
Access RPM indices using Berkeley DB interface(s).
rpmdb_Type
PyTypeObject rpmdb_Type
Definition:
rpmdb-py.c:241
rpmdbObject_s::noffs
int noffs
Definition:
rpmdb-py.h:24
rpmdbObject_s::md_dict
PyObject_HEAD PyObject * md_dict
Definition:
rpmdb-py.h:21
Generated on Sat Nov 16 2013 08:59:04 for rpm by
1.8.5