#include "system.h"
#include <rpmlib.h>
#include "rpmdb-py.h"
#include "rpmmi-py.h"
#include "header-py.h"
#include "debug.h"
Include dependency graph for rpmdb-py.c:
Go to the source code of this file.
Class: Rpmdb | |
static rpmmiObject * | rpmdb_Match (rpmdbObject *s, PyObject *args, PyObject *kwds) |
Functions | |
static int | rpmdb_length (rpmdbObject *s) |
static hdrObject * | rpmdb_subscript (rpmdbObject *s, PyObject *key) |
static void | rpmdb_dealloc (rpmdbObject *s) |
static PyObject * | rpmdb_getattro (PyObject *o, PyObject *n) |
static int | rpmdb_setattro (PyObject *o, PyObject *n, PyObject *v) |
Variables | |
static struct PyMethodDef | rpmdb_methods [] |
static PyMappingMethods | rpmdb_as_mapping |
static char | rpmdb_doc [] |
PyTypeObject | rpmdb_Type |
Definition in file rpmdb-py.c.
|
Definition at line 208 of file rpmdb-py.c. References rpmdbObject_s::db, and rpmdbClose(). |
|
Definition at line 216 of file rpmdb-py.c. |
|
Definition at line 149 of file rpmdb-py.c. References rpmdbObject_s::db, rpmdbFreeIterator(), RPMDBI_PACKAGES, rpmdbInitIterator(), and rpmdbNextIterator(). |
|
Definition at line 110 of file rpmdb-py.c. References rpmdbObject_s::db, RPMDBI_PACKAGES, rpmdbInitIterator(), rpmmi_Wrap(), and tagNumFromPyObject(). |
|
Definition at line 222 of file rpmdb-py.c. |
|
Definition at line 168 of file rpmdb-py.c. References rpmdbObject_s::db, hdr_Wrap(), headerFree(), pyrpmError, rpmdbFreeIterator(), RPMDBI_PACKAGES, rpmdbInitIterator(), and rpmdbNextIterator(). |
|
Initial value: { (inquiry) rpmdb_length, (binaryfunc) rpmdb_subscript, (objobjargproc)0, } Definition at line 200 of file rpmdb-py.c. |
|
Initial value:
""
Definition at line 231 of file rpmdb-py.c. |
|
Initial value: { {"match", (PyCFunction) rpmdb_Match, METH_VARARGS|METH_KEYWORDS, "db.match([TagN, [key, [len]]]) -> mi\n\ - Create an rpm db match iterator.\n" }, {NULL, NULL} } Definition at line 138 of file rpmdb-py.c. |