#include "system.h"
#include <rpmlib.h>
#include "header-py.h"
#include "rpmfi-py.h"
#include "debug.h"
Go to the source code of this file.
Functions | |
static PyObject * | rpmfi_Debug (rpmfiObject *s, PyObject *args, PyObject *kwds) |
static PyObject * | rpmfi_FC (rpmfiObject *s) |
static PyObject * | rpmfi_FX (rpmfiObject *s) |
static PyObject * | rpmfi_DC (rpmfiObject *s) |
static PyObject * | rpmfi_DX (rpmfiObject *s) |
static PyObject * | rpmfi_BN (rpmfiObject *s) |
static PyObject * | rpmfi_DN (rpmfiObject *s) |
static PyObject * | rpmfi_FN (rpmfiObject *s) |
static PyObject * | rpmfi_FFlags (rpmfiObject *s) |
static PyObject * | rpmfi_VFlags (rpmfiObject *s) |
static PyObject * | rpmfi_FMode (rpmfiObject *s) |
static PyObject * | rpmfi_FState (rpmfiObject *s) |
static PyObject * | rpmfi_MD5 (rpmfiObject *s) |
static PyObject * | rpmfi_FLink (rpmfiObject *s) |
static PyObject * | rpmfi_FSize (rpmfiObject *s) |
static PyObject * | rpmfi_FRdev (rpmfiObject *s) |
static PyObject * | rpmfi_FMtime (rpmfiObject *s) |
static PyObject * | rpmfi_FUser (rpmfiObject *s) |
static PyObject * | rpmfi_FGroup (rpmfiObject *s) |
static PyObject * | rpmfi_FColor (rpmfiObject *s) |
static PyObject * | rpmfi_FClass (rpmfiObject *s) |
static PyObject * | rpmfi_iternext (rpmfiObject *s) |
static PyObject * | rpmfi_Next (rpmfiObject *s) |
static void | rpmfi_dealloc (rpmfiObject *s) |
static int | rpmfi_print (rpmfiObject *s, FILE *fp, int flags) |
static PyObject * | rpmfi_getattro (PyObject *o, PyObject *n) |
static int | rpmfi_setattro (PyObject *o, PyObject *n, PyObject *v) |
static int | rpmfi_length (rpmfiObject *s) |
static PyObject * | rpmfi_subscript (rpmfiObject *s, PyObject *key) |
static int | rpmfi_init (rpmfiObject *s, PyObject *args, PyObject *kwds) |
static void | rpmfi_free (rpmfiObject *s) |
static PyObject * | rpmfi_alloc (PyTypeObject *subtype, int nitems) |
static PyObject * | rpmfi_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds) |
rpmfi | fiFromFi (rpmfiObject *s) |
rpmfiObject * | rpmfi_Wrap (rpmfi fi) |
rpmfiObject * | hdr_fiFromHeader (PyObject *s, PyObject *args, PyObject *kwds) |
Variables | |
static struct PyMethodDef | rpmfi_methods [] |
static PyMappingMethods | rpmfi_as_mapping |
static char | rpmfi_doc [] |
PyTypeObject | rpmfi_Type |
Definition in file rpmfi-py.c.
rpmfi fiFromFi | ( | rpmfiObject * | s | ) |
rpmfiObject* hdr_fiFromHeader | ( | PyObject * | s, | |
PyObject * | args, | |||
PyObject * | kwds | |||
) |
Definition at line 615 of file rpmfi-py.c.
References hdrGetHeader(), rpmfi_Wrap(), rpmfiNew(), RPMTAG_BASENAMES, and tagNumFromPyObject().
static PyObject* rpmfi_BN | ( | rpmfiObject * | s | ) | [static] |
static PyObject* rpmfi_DC | ( | rpmfiObject * | s | ) | [static] |
static void rpmfi_dealloc | ( | rpmfiObject * | s | ) | [static] |
static PyObject* rpmfi_Debug | ( | rpmfiObject * | s, | |
PyObject * | args, | |||
PyObject * | kwds | |||
) | [static] |
static PyObject* rpmfi_DN | ( | rpmfiObject * | s | ) | [static] |
static PyObject* rpmfi_DX | ( | rpmfiObject * | s | ) | [static] |
static PyObject* rpmfi_FC | ( | rpmfiObject * | s | ) | [static] |
static PyObject* rpmfi_FClass | ( | rpmfiObject * | s | ) | [static] |
Definition at line 197 of file rpmfi-py.c.
References rpmfiObject_s::fi, rpmfiFClass(), and xstrdup().
static PyObject* rpmfi_FColor | ( | rpmfiObject * | s | ) | [static] |
static PyObject* rpmfi_FFlags | ( | rpmfiObject * | s | ) | [static] |
static PyObject* rpmfi_FGroup | ( | rpmfiObject * | s | ) | [static] |
Definition at line 181 of file rpmfi-py.c.
References rpmfiObject_s::fi, rpmfiFGroup(), and xstrdup().
static PyObject* rpmfi_FLink | ( | rpmfiObject * | s | ) | [static] |
Definition at line 141 of file rpmfi-py.c.
References rpmfiObject_s::fi, rpmfiFLink(), and xstrdup().
static PyObject* rpmfi_FMode | ( | rpmfiObject * | s | ) | [static] |
static PyObject* rpmfi_FMtime | ( | rpmfiObject * | s | ) | [static] |
static PyObject* rpmfi_FN | ( | rpmfiObject * | s | ) | [static] |
static PyObject* rpmfi_FRdev | ( | rpmfiObject * | s | ) | [static] |
static PyObject* rpmfi_FSize | ( | rpmfiObject * | s | ) | [static] |
static PyObject* rpmfi_FState | ( | rpmfiObject * | s | ) | [static] |
static PyObject* rpmfi_FUser | ( | rpmfiObject * | s | ) | [static] |
Definition at line 173 of file rpmfi-py.c.
References rpmfiObject_s::fi, rpmfiFUser(), and xstrdup().
static PyObject* rpmfi_FX | ( | rpmfiObject * | s | ) | [static] |
static PyObject* rpmfi_getattro | ( | PyObject * | o, | |
PyObject * | n | |||
) | [static] |
Definition at line 419 of file rpmfi-py.c.
static PyObject* rpmfi_iternext | ( | rpmfiObject * | s | ) | [static] |
Definition at line 219 of file rpmfi-py.c.
References rpmfiObject_s::active, rpmfiObject_s::fi, rpmfiFFlags(), rpmfiFGroup(), rpmfiFInode(), rpmfiFMode(), rpmfiFMtime(), rpmfiFN(), rpmfiFNlink(), rpmfiFRdev(), rpmfiFSize(), rpmfiFState(), rpmfiFUser(), rpmfiInit(), rpmfiMD5(), rpmfiNext(), and rpmfiVFlags().
Referenced by rpmfi_Next().
static int rpmfi_length | ( | rpmfiObject * | s | ) | [static] |
static PyObject* rpmfi_MD5 | ( | rpmfiObject * | s | ) | [static] |
static PyObject* rpmfi_Next | ( | rpmfiObject * | s | ) | [static] |
static int rpmfi_print | ( | rpmfiObject * | s, | |
FILE * | fp, | |||
int | flags | |||
) | [static] |
Definition at line 406 of file rpmfi-py.c.
References rpmfiObject_s::fi, rpmfiFN(), rpmfiInit(), and rpmfiNext().
static int rpmfi_setattro | ( | PyObject * | o, | |
PyObject * | n, | |||
PyObject * | v | |||
) | [static] |
Definition at line 425 of file rpmfi-py.c.
static PyObject* rpmfi_subscript | ( | rpmfiObject * | s, | |
PyObject * | key | |||
) | [static] |
Definition at line 440 of file rpmfi-py.c.
References rpmfiObject_s::fi, rpmfiFN(), rpmfiSetFX(), and xstrdup().
static PyObject* rpmfi_VFlags | ( | rpmfiObject * | s | ) | [static] |
rpmfiObject* rpmfi_Wrap | ( | rpmfi | fi | ) |
Definition at line 603 of file rpmfi-py.c.
References rpmfiObject_s::active, and rpmfiObject_s::fi.
Referenced by hdr_fiFromHeader(), and rpmte_FI().
PyMappingMethods rpmfi_as_mapping [static] |
Initial value:
{ (inquiry) rpmfi_length, (binaryfunc) rpmfi_subscript, (objobjargproc)0, }
Definition at line 456 of file rpmfi-py.c.
char rpmfi_doc[] [static] |
struct PyMethodDef rpmfi_methods[] [static] |
Definition at line 337 of file rpmfi-py.c.
PyTypeObject rpmfi_Type |