#include "system.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.
§ FDlist
§ closeCallback()
static int closeCallback |
( |
FILE * |
f | ) |
|
|
static |
§ rpmfd_alloc()
static PyObject* rpmfd_alloc |
( |
PyTypeObject * |
subtype, |
|
|
int |
nitems |
|
) |
| |
|
static |
§ rpmfd_dealloc()
§ rpmfd_Debug()
static PyObject* rpmfd_Debug |
( |
rpmfdObject * |
s, |
|
|
PyObject * |
args, |
|
|
PyObject * |
kwds |
|
) |
| |
|
static |
§ rpmfd_Fopen()
static PyObject* rpmfd_Fopen |
( |
PyObject * |
s, |
|
|
PyObject * |
args, |
|
|
PyObject * |
kwds |
|
) |
| |
|
static |
Definition at line 110 of file rpmfd-py.c.
References _free(), closeCallback(), FDlist_t::f, FDlist_t::fd, fdGetFp(), fdLink(), Ferror(), Fopen(), Fstrerror(), FDlist_t::next, FDlist_t::note, pyrpmError, xmalloc, and xstrdup().
§ rpmfd_free()
§ rpmfd_getattro()
static PyObject* rpmfd_getattro |
( |
PyObject * |
o, |
|
|
PyObject * |
n |
|
) |
| |
|
static |
§ rpmfd_init()
static int rpmfd_init |
( |
rpmfdObject * |
s, |
|
|
PyObject * |
args, |
|
|
PyObject * |
kwds |
|
) |
| |
|
static |
§ rpmfd_new()
static rpmfdObject* rpmfd_new |
( |
PyTypeObject * |
subtype, |
|
|
PyObject * |
args, |
|
|
PyObject * |
kwds |
|
) |
| |
|
static |
§ rpmfd_setattro()
static int rpmfd_setattro |
( |
PyObject * |
o, |
|
|
PyObject * |
n, |
|
|
PyObject * |
v |
|
) |
| |
|
static |
§ rpmfd_Wrap()
§ _rpmfd_debug
§ fdhead
§ fdtail
§ rpmfd_doc
§ rpmfd_methods
struct PyMethodDef rpmfd_methods[] |
|
static |
Initial value:= {
{
"Debug", (PyCFunction)
rpmfd_Debug, METH_VARARGS|METH_KEYWORDS,
NULL},
{
"Fopen", (PyCFunction)
rpmfd_Fopen, METH_VARARGS|METH_KEYWORDS,
NULL},
{NULL, NULL}
}
static PyObject * rpmfd_Fopen(PyObject *s, PyObject *args, PyObject *kwds)
static PyObject * rpmfd_Debug(rpmfdObject *s, PyObject *args, PyObject *kwds)
Definition at line 170 of file rpmfd-py.c.
§ rpmfd_Type