rpm
5.4.15
|
#include "system-py.h"
#include <glob.h>
#include <dirent.h>
#include <rpmio_internal.h>
#include <rpmcb.h>
#include <rpmtypes.h>
#include <rpmtag.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 |
Functions | |
static void | rpmfd_dealloc (rpmfdObject *s) |
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 |
static struct PyMethodDef | rpmfd_methods [] |
static char | rpmfd_doc [] |
PyTypeObject | rpmfd_Type |
Class: Rpmfd | |
typedef struct FDlist_t | FDlist |
static FDlist * | fdhead = NULL |
static FDlist * | fdtail = NULL |
static int | closeCallback (FILE *f) |
static PyObject * | rpmfd_Debug (rpmfdObject *s, PyObject *args, PyObject *kwds) |
static PyObject * | rpmfd_Fopen (PyObject *s, PyObject *args, PyObject *kwds) |
Definition at line 32 of file rpmfd-py.c.
|
static |
Definition at line 53 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 |
Definition at line 242 of file rpmfd-py.c.
References _rpmfd_debug.
|
static |
Definition at line 183 of file rpmfd-py.c.
References Fclose(), and rpmfdObject_s::fd.
|
static |
Definition at line 92 of file rpmfd-py.c.
References _rpmfd_debug.
|
static |
Definition at line 109 of file rpmfd-py.c.
References _free(), closeCallback(), err, FDlist_t::f, FDlist_t::fd, fdGetFp(), fdLink(), Ferror(), Fopen(), Fstrerror(), mode, FDlist_t::next, FDlist_t::note, pyrpmError, xmalloc, and xstrdup().
|
static |
Definition at line 229 of file rpmfd-py.c.
References _rpmfd_debug, Fclose(), and rpmfdObject_s::fd.
Referenced by rpmfd_new().
|
static |
Definition at line 195 of file rpmfd-py.c.
References _rpmfd_debug, err, Fclose(), rpmfdObject_s::fd, Ferror(), Fopen(), Fstrerror(), mode, and pyrpmError.
Referenced by rpmfd_new().
|
static |
Definition at line 255 of file rpmfd-py.c.
References _rpmfd_debug, rpmfdObject_s::fd, rpmfd_free(), and rpmfd_init().
rpmfdObject* rpmfd_Wrap | ( | FD_t | fd | ) |
Definition at line 328 of file rpmfd-py.c.
References rpmfdObject_s::fd.
|
static |
Definition at line 22 of file rpmfd-py.c.
Referenced by rpmfd_alloc(), rpmfd_Debug(), rpmfd_free(), rpmfd_init(), and rpmfd_new().
|
static |
Definition at line 45 of file rpmfd-py.c.
Referenced by closeCallback().
|
static |
Definition at line 49 of file rpmfd-py.c.
|
static |
Definition at line 275 of file rpmfd-py.c.
|
static |
Definition at line 169 of file rpmfd-py.c.
PyTypeObject rpmfd_Type |
Definition at line 281 of file rpmfd-py.c.
Referenced by init_rpm().