#include "system.h"
#include <rpmlib.h>
#include "rpmdb-py.h"
#include "rpmmi-py.h"
#include "header-py.h"
#include "debug.h"
Go to the source code of this file.
Class: rpm.db | |
static rpmmiObject * | rpmdb_Match (rpmdbObject *s, PyObject *args) |
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) |
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 204 of file rpmdb-py.c. References rpmdbClose(). |
|
Definition at line 212 of file rpmdb-py.c. |
|
Definition at line 145 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 218 of file rpmdb-py.c. |
|
Definition at line 164 of file rpmdb-py.c. References rpmdbObject_s::db, hdr_Wrap(), headerFree(), rpmdbFreeIterator(), RPMDBI_PACKAGES, rpmdbInitIterator(), and rpmdbNextIterator(). |
|
Initial value: { (inquiry) rpmdb_length, (binaryfunc) rpmdb_subscript, (objobjargproc)0, } Definition at line 196 of file rpmdb-py.c. |
|
Initial value:
""
Definition at line 227 of file rpmdb-py.c. |
|
Initial value: { {"match", (PyCFunction) rpmdb_Match, METH_VARARGS, "db.match([TagN, [key, [len]]]) -> mi\n\ - Create an rpm db match iterator.\n" }, {NULL, NULL} } Definition at line 134 of file rpmdb-py.c. |
|
Definition at line 233 of file rpmdb-py.c. |