#include "system.h"
#include <rpmio.h>
#include <rpmcb.h>
#include <rpmtypes.h>
#include <rpmtag.h>
#include <rpmdb.h>
#include "rpmmi-py.h"
#include "header-py.h"
#include "debug.h"
Go to the source code of this file.
|
static PyObject * | rc = rpmmiCount(s->mi) |
|
static PyObject *int | type |
|
char * | pattern |
|
rpmTag | tag |
|
char * | kwlist [] = {"tag", "type", "pattern", NULL} |
|
return | Py_None |
|
static PyObject *return | Py_BuildValue ("i", hdrNum) |
|
return | Py_BuildValue ("i", rc) |
|
| if (!PyArg_ParseTupleAndKeywords(args, kwds,"Ois:Pattern", kwlist,&TagN,&type,&pattern)) return NULL |
|
| if ((tag=tagNumFromPyObject(TagN))==(rpmTag)-1) |
|
| rpmmiAddPattern (s->mi, tag, type, pattern) |
|
| Py_INCREF (Py_None) |
|
if |
( |
! |
PyArg_ParseTupleAndKeywordsargs, kwds,"Ois:Pattern", kwlist,&TagN,&type,&pattern | ) |
|
static PyObject* return |
( |
PyObject * |
| ) |
|
static PyObject* rpmmi_getattro |
( |
PyObject * |
o, |
|
|
PyObject * |
n |
|
) |
| |
|
static |
static int rpmmi_setattro |
( |
PyObject * |
o, |
|
|
PyObject * |
n, |
|
|
PyObject * |
v |
|
) |
| |
|
static |
Initial value:
Definition at line 151 of file rpmmi-py.c.
Referenced by for(), getMachineInfo(), headerSizeof(), headerUnload(), headerVerifyInfo(), if(), rebuildCompatTables(), regionSwab(), rpmdsProblem(), rpmps_Append(), rpmps_push(), rpmpsAppend(), rpmteNew(), and rpmtsSetType().