rpmfi-py.c File Reference
PYTHON-C Language Bindings.
`#include "system.h"`
`#include <rpmio.h>`
`#include <rpmcb.h>`
`#include <rpmtypes.h>`
`#include <rpmtag.h>`
`#include "header-py.h"`
`#include "rpmfi-py.h"`
`#include "debug.h"`
Include dependency graph for rpmfi-py.c:

Go to the source code of this file.

## Functions

static PyObject * | rpmfi_iter (rpmfiObject *s)
static PyObject * | rpmfi_iternext (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)
Class: Rpmfi
static PyObject * | rpmfi_Digest (rpmfiObject *s)
static PyObject * | rpmfi_Next (rpmfiObject *s)
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_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)

## Variables

static struct PyMethodDef | rpmfi_methods []
static PyMappingMethods | rpmfi_as_mapping
static char | rpmfi_doc []
PyTypeObject | rpmfi_Type

## Function Documentation

static PyObject* rpmfi_BN | ( | rpmfiObject * | s | ) |

static

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

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

static PyObject* rpmfi_DC | ( | rpmfiObject * | s | ) |

static

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

References rpmfiObject_s::fi, and rpmfiDC().

static void rpmfi_dealloc | ( | rpmfiObject * | s | ) |

static

Definition at line 397 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 138 of file rpmfi-py.c.

References _rpmfi_debug.

static PyObject * rpmfi_Digest | ( | rpmfiObject * | s | ) |

static

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

References alloca(), rpmfiObject_s::fi, rpmfiDigest(), and xstrdup().

Referenced by rpmfi_iternext().

static PyObject* rpmfi_DN | ( | rpmfiObject * | s | ) |

static

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

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

static PyObject* rpmfi_DX | ( | rpmfiObject * | s | ) |

static

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

References rpmfiObject_s::fi, and rpmfiDX().

static PyObject* rpmfi_FC | ( | rpmfiObject * | s | ) |

static

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

References rpmfiObject_s::fi, and rpmfiFC().

static PyObject* rpmfi_FClass | ( | rpmfiObject * | s | ) |

static

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

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

static PyObject* rpmfi_FColor | ( | rpmfiObject * | s | ) |

static

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

References rpmfiObject_s::fi, and rpmfiFColor().

static PyObject* rpmfi_FFlags | ( | rpmfiObject * | s | ) |

static

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

References rpmfiObject_s::fi, and rpmfiFFlags().

static PyObject* rpmfi_FGroup | ( | rpmfiObject * | s | ) |

static

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

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

static PyObject* rpmfi_FLink | ( | rpmfiObject * | s | ) |

static

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

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

static PyObject* rpmfi_FMode | ( | rpmfiObject * | s | ) |

static

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

References rpmfiObject_s::fi, and rpmfiFMode().

static PyObject* rpmfi_FMtime | ( | rpmfiObject * | s | ) |

static

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

References rpmfiObject_s::fi, and rpmfiFMtime().

static PyObject* rpmfi_FN | ( | rpmfiObject * | s | ) |

static

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

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

static PyObject* rpmfi_FRdev | ( | rpmfiObject * | s | ) |

static

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

References rpmfiObject_s::fi, and rpmfiFRdev().

static PyObject* rpmfi_FSize | ( | rpmfiObject * | s | ) |

static

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

References rpmfiObject_s::fi, and rpmfiFSize().

static PyObject* rpmfi_FState | ( | rpmfiObject * | s | ) |

static

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

References rpmfiObject_s::fi, and rpmfiFState().

static PyObject* rpmfi_FUser | ( | rpmfiObject * | s | ) |

static

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

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

static PyObject* rpmfi_FX | ( | rpmfiObject * | s | ) |

static

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

References rpmfiObject_s::fi, and rpmfiFX().

static PyObject* rpmfi_getattro | ( | PyObject * | o,
|  | PyObject * | n
| ) |  |

static

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

static PyObject* rpmfi_iter | ( | rpmfiObject * | s | ) |

static

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

static PyObject* rpmfi_iternext | ( | rpmfiObject * | s | ) |

static

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

References rpmfiObject_s::active, rpmfiObject_s::fi, rpmfi_Digest(), rpmfiFFlags(), rpmfiFGroup(), rpmfiFInode(), rpmfiFMode(), rpmfiFMtime(), rpmfiFN(), rpmfiFNlink(), rpmfiFRdev(), rpmfiFSize(), rpmfiFState(), rpmfiFUser(), rpmfiInit(), rpmfiNext(), and rpmfiVFlags().

Referenced by rpmfi_Next().

static int rpmfi_length | ( | rpmfiObject * | s | ) |

static

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

References rpmfiObject_s::fi, and rpmfiFC().

static PyObject* rpmfi_Next | ( | rpmfiObject * | s | ) |

static

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

References rpmfi_iternext().

static int rpmfi_print | ( | rpmfiObject * | s,
|  | FILE * | fp,
|  | int | flags
| ) |  |

static

Definition at line 407 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 426 of file rpmfi-py.c.

static PyObject* rpmfi_subscript | ( | rpmfiObject * | s,
|  | PyObject * | key
| ) |  |

static

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

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

static PyObject* rpmfi_VFlags | ( | rpmfiObject * | s | ) |

static

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

References rpmfiObject_s::fi, and rpmfiVFlags().

## Variable Documentation

PyMappingMethods rpmfi_as_mapping

static

Initial value:
= {
(lenfunc) rpmfi_length,
(binaryfunc) rpmfi_subscript,
(objobjargproc)0,
}

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

char rpmfi_doc[]

static

Initial value:
=
""

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

struct PyMethodDef rpmfi_methods[]

static

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