python/rpmfi-py.c File Reference

#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)
rpmfiObjectrpmfi_Wrap (rpmfi fi)
rpmfiObjecthdr_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


Detailed Description

Definition in file rpmfi-py.c.


Function Documentation

rpmfi fiFromFi ( rpmfiObject s  ) 

Definition at line 597 of file rpmfi-py.c.

References rpmfiObject_s::fi.

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]

Definition at line 65 of file rpmfi-py.c.

References rpmfiObject_s::fi, rpmfiBN(), and xstrdup().

static PyObject* rpmfi_DC ( rpmfiObject s  )  [static]

Definition at line 49 of file rpmfi-py.c.

References rpmfiObject_s::fi, and rpmfiDC().

static void rpmfi_dealloc ( rpmfiObject s  )  [static]

Definition at line 396 of file rpmfi-py.c.

References rpmfiObject_s::fi, and rpmfiFree().

static PyObject* rpmfi_Debug ( rpmfiObject s,
PyObject *  args,
PyObject *  kwds 
) [static]

Definition at line 18 of file rpmfi-py.c.

References _rpmfi_debug.

static PyObject* rpmfi_DN ( rpmfiObject s  )  [static]

Definition at line 73 of file rpmfi-py.c.

References rpmfiObject_s::fi, rpmfiDN(), and xstrdup().

static PyObject* rpmfi_DX ( rpmfiObject s  )  [static]

Definition at line 57 of file rpmfi-py.c.

References rpmfiObject_s::fi, and rpmfiDX().

static PyObject* rpmfi_FC ( rpmfiObject s  )  [static]

Definition at line 33 of file rpmfi-py.c.

References rpmfiObject_s::fi, and rpmfiFC().

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]

Definition at line 189 of file rpmfi-py.c.

References rpmfiObject_s::fi, and rpmfiFColor().

static PyObject* rpmfi_FFlags ( rpmfiObject s  )  [static]

Definition at line 89 of file rpmfi-py.c.

References rpmfiObject_s::fi, and rpmfiFFlags().

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]

Definition at line 105 of file rpmfi-py.c.

References rpmfiObject_s::fi, and rpmfiFMode().

static PyObject* rpmfi_FMtime ( rpmfiObject s  )  [static]

Definition at line 165 of file rpmfi-py.c.

References rpmfiObject_s::fi, and rpmfiFMtime().

static PyObject* rpmfi_FN ( rpmfiObject s  )  [static]

Definition at line 81 of file rpmfi-py.c.

References rpmfiObject_s::fi, rpmfiFN(), and xstrdup().

static PyObject* rpmfi_FRdev ( rpmfiObject s  )  [static]

Definition at line 157 of file rpmfi-py.c.

References rpmfiObject_s::fi, and rpmfiFRdev().

static PyObject* rpmfi_FSize ( rpmfiObject s  )  [static]

Definition at line 149 of file rpmfi-py.c.

References rpmfiObject_s::fi, and rpmfiFSize().

static PyObject* rpmfi_FState ( rpmfiObject s  )  [static]

Definition at line 113 of file rpmfi-py.c.

References rpmfiObject_s::fi, and rpmfiFState().

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]

Definition at line 41 of file rpmfi-py.c.

References rpmfiObject_s::fi, and rpmfiFX().

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]

Definition at line 432 of file rpmfi-py.c.

References rpmfiObject_s::fi, and rpmfiFC().

static PyObject* rpmfi_MD5 ( rpmfiObject s  )  [static]

Definition at line 122 of file rpmfi-py.c.

References rpmfiObject_s::fi, rpmfiMD5(), and xstrdup().

static PyObject* rpmfi_Next ( rpmfiObject s  )  [static]

Definition at line 299 of file rpmfi-py.c.

References rpmfi_iternext().

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]

Definition at line 97 of file rpmfi-py.c.

References rpmfiObject_s::fi, and rpmfiVFlags().

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().


Variable Documentation

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]

Initial value:

""

Definition at line 543 of file rpmfi-py.c.

struct PyMethodDef rpmfi_methods[] [static]

Definition at line 337 of file rpmfi-py.c.

PyTypeObject rpmfi_Type

Definition at line 547 of file rpmfi-py.c.

Referenced by init_rpm(), and rpmal_Add().


Generated on Fri Oct 12 08:44:56 2007 for rpm by  doxygen 1.5.2