Main Page Modules Data Structures File List Data Fields Globals Related Pages

# python/rpmfi-py.c File Reference

More...

`#include "system.h"`
`#include "Python.h"`
`#include <rpmlib.h>`
`#include "header-py.h"`
`#include "rpmfi-py.h"`
`#include "debug.h"`

Go to the source code of this file.

## Functions
PyObject * | rpmfi_Debug (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_FC (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_FX (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_DC (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_DX (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_BN (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_DN (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_FN (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_FFlags (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_VFlags (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_FMode (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_FState (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_MD5 (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_FLink (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_FSize (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_FRdev (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_FMtime (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_FUser (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_FGroup (rpmfiObject *s, PyObject *args)
PyObject * | rpmfi_iternext (rpmfiObject *s)
PyObject * | rpmfi_Next (rpmfiObject *s, PyObject *args)
void | rpmfi_dealloc (rpmfiObject *s)
int | rpmfi_print (rpmfiObject *s, FILE *fp, int flags)
PyObject * | rpmfi_getattr (rpmfiObject *s, char *name)
int | rpmfi_length (rpmfiObject *s)
PyObject * | rpmfi_subscript (rpmfiObject *s, PyObject *key)
rpmfi | fiFromFi (rpmfiObject *s)
rpmfiObject * | rpmfi_Wrap (rpmfi fi)
rpmfiObject * | hdr_fiFromHeader (PyObject *s, PyObject *args)
## Variables
PyMethodDef | rpmfi_methods []
PyMappingMethods | rpmfi_as_mapping
char | rpmfi_doc []
PyTypeObject | rpmfi_Type

## Detailed Description

Definition in file rpmfi-py.c.

## Function Documentation

rpmfi fiFromFi | ( | rpmfiObject * | s | ) |

| Definition at line 485 of file rpmfi-py.c. References rpmfiObject_s::fi, and rpmfi.

rpmfiObject* hdr_fiFromHeader | ( | PyObject * | s,
|  | PyObject * | args
| ) |

| Definition at line 503 of file rpmfi-py.c. References hdrGetHeader, rpmfi_Wrap, rpmTag, RPMTAG_BASENAMES, rpmts, and tagNumFromPyObject.

PyObject* rpmfi_BN | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

| Definition at line 65 of file rpmfi-py.c. References xstrdup.

PyObject* rpmfi_DC | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

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

void rpmfi_dealloc | ( | rpmfiObject * | s | ) | `[static]`

| Definition at line 368 of file rpmfi-py.c.

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

| Definition at line 23 of file rpmfi-py.c. References _rpmfi_debug.

PyObject* rpmfi_DN | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

| Definition at line 73 of file rpmfi-py.c. References xstrdup.

PyObject* rpmfi_DX | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

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

PyObject* rpmfi_FC | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

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

PyObject* rpmfi_FFlags | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

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

PyObject* rpmfi_FGroup | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

| Definition at line 179 of file rpmfi-py.c. References xstrdup.

PyObject* rpmfi_FLink | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

| Definition at line 139 of file rpmfi-py.c. References xstrdup.

PyObject* rpmfi_FMode | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

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

PyObject* rpmfi_FMtime | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

| Definition at line 163 of file rpmfi-py.c.

PyObject* rpmfi_FN | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

| Definition at line 81 of file rpmfi-py.c. References xstrdup.

PyObject* rpmfi_FRdev | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

| Definition at line 155 of file rpmfi-py.c.

PyObject* rpmfi_FSize | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

| Definition at line 147 of file rpmfi-py.c.

PyObject* rpmfi_FState | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

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

PyObject* rpmfi_FUser | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

| Definition at line 171 of file rpmfi-py.c. References xstrdup.

PyObject* rpmfi_FX | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

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

PyObject* rpmfi_getattr | ( | rpmfiObject * | s,
|  | char * | name
| ) | `[static]`

| Definition at line 392 of file rpmfi-py.c. References rpmfi_methods.

PyObject* rpmfi_iternext | ( | rpmfiObject * | s | ) | `[static]`

| Definition at line 197 of file rpmfi-py.c. Referenced by rpmfi_Next.

int rpmfi_length | ( | rpmfiObject * | s | ) | `[static]`

| Definition at line 399 of file rpmfi-py.c.

PyObject* rpmfi_MD5 | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

| Definition at line 122 of file rpmfi-py.c. References xstrdup.

PyObject* rpmfi_Next | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

| Definition at line 274 of file rpmfi-py.c. References rpmfi_iternext.

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

| Definition at line 378 of file rpmfi-py.c.

PyObject* rpmfi_subscript | ( | rpmfiObject * | s,
|  | PyObject * | key
| ) | `[static]`

| Definition at line 406 of file rpmfi-py.c. References xstrdup.

PyObject* rpmfi_VFlags | ( | rpmfiObject * | s,
|  | PyObject * | args
| ) | `[static]`

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

rpmfiObject* rpmfi_Wrap | ( | rpmfi | fi | ) |

| Definition at line 491 of file rpmfi-py.c. References rpmfiObject_s::active, rpmfiObject_s::fi, rpmfi, and rpmfi_Type.

## Variable Documentation

PyMappingMethods rpmfi_as_mapping`[static]`

| Initial value:
     {
            (inquiry) rpmfi_length,
            (binaryfunc) rpmfi_subscript,
            (objobjargproc)0,
    }
Definition at line 422 of file rpmfi-py.c.

char rpmfi_doc[]`[static]`

| Initial value:
    ""
Definition at line 431 of file rpmfi-py.c.

struct PyMethodDef rpmfi_methods[]`[static]`

| Definition at line 313 of file rpmfi-py.c. Referenced by rpmfi_getattr.

PyTypeObject rpmfi_Type

| Definition at line 435 of file rpmfi-py.c. Referenced by rpmfi_Wrap.