#include "system.h"
#include <glob.h>
#include <dirent.h>
#include <rpmio_internal.h>
#include <rpmlib.h>
#include "header-py.h"
#include "rpmfd-py.h"
#include "debug.h"
Go to the source code of this file.
Data Structures | |
struct | FDlist_t |
Class: Rpmfd | |
static FDlist * | fdhead = NULL |
static FDlist * | fdtail = NULL |
static struct PyMethodDef | rpmfd_methods [] |
static char | rpmfd_doc [] |
PyTypeObject | rpmfd_Type |
typedef FDlist_t | FDlist |
static PyObject * | rpmfd_Debug (rpmfdObject *s, PyObject *args, PyObject *kwds) |
static int | closeCallback (FILE *f) |
static PyObject * | rpmfd_Fopen (PyObject *s, PyObject *args, PyObject *kwds) |
static void | rpmfd_dealloc (rpmfdObject *s) |
static PyObject * | rpmfd_getattro (PyObject *o, PyObject *n) |
static int | rpmfd_setattro (PyObject *o, PyObject *n, PyObject *v) |
static int | rpmfd_init (rpmfdObject *s, PyObject *args, PyObject *kwds) |
static void | rpmfd_free (rpmfdObject *s) |
static PyObject * | rpmfd_alloc (PyTypeObject *subtype, int nitems) |
static rpmfdObject * | rpmfd_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds) |
rpmfdObject * | rpmfd_Wrap (FD_t fd) |
Variables | |
static int | _rpmfd_debug = 1 |
Definition in file rpmfd-py.c.
Definition at line 46 of file rpmfd-py.c.
static int closeCallback | ( | FILE * | f | ) | [static] |
Definition at line 67 of file rpmfd-py.c.
References _free(), FDlist_t::f, Fclose(), FDlist_t::fd, fdFree, fdhead, fdLink, FDlist_t::next, and FDlist_t::note.
Referenced by rpmfd_Fopen().
static PyObject* rpmfd_Debug | ( | rpmfdObject * | s, | |
PyObject * | args, | |||
PyObject * | kwds | |||
) | [static] |
static PyObject* rpmfd_Fopen | ( | PyObject * | s, | |
PyObject * | args, | |||
PyObject * | kwds | |||
) | [static] |
Definition at line 102 of file rpmfd-py.c.
References _free(), closeCallback(), FDlist_t::f, FDlist_t::fd, fdGetFp(), fdhead, fdLink, fdtail, Ferror(), Fopen(), Fstrerror(), FDlist_t::next, FDlist_t::note, pyrpmError, xmalloc(), and xstrdup().
static PyObject* rpmfd_getattro | ( | PyObject * | o, | |
PyObject * | n | |||
) | [static] |
Definition at line 184 of file rpmfd-py.c.
static int rpmfd_setattro | ( | PyObject * | o, | |
PyObject * | n, | |||
PyObject * | v | |||
) | [static] |
Definition at line 190 of file rpmfd-py.c.
rpmfdObject* rpmfd_Wrap | ( | FD_t | fd | ) |
int _rpmfd_debug = 1 [static] |
Definition at line 21 of file rpmfd-py.c.
Referenced by rpmfd_alloc(), rpmfd_Debug(), rpmfd_free(), rpmfd_init(), and rpmfd_new().
char rpmfd_doc[] [static] |