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

rpmfd-py.c File Reference

#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

typedef FDlist_t FDlist
PyObject * rpmfd_Debug (rpmfdObject *s, PyObject *args)
int closeCallback (FILE *f)
PyObject * rpmfd_Fopen (PyObject *s, PyObject *args)
void rpmfd_dealloc (rpmfdObject *s)
PyObject * rpmfd_getattro (PyObject *o, PyObject *n)
int rpmfd_setattro (PyObject *o, PyObject *n, PyObject *v)
int rpmfd_init (rpmfdObject *s, PyObject *args, PyObject *kwds)
void rpmfd_free (rpmfdObject *s)
PyObject * rpmfd_alloc (PyTypeObject *subtype, int nitems)
rpmfdObjectrpmfd_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds)
rpmfdObjectrpmfd_Wrap (FD_t fd)
FDlistfdhead = NULL
FDlistfdtail = NULL
PyMethodDef rpmfd_methods []
char rpmfd_doc []
PyTypeObject rpmfd_Type

Variables

int _rpmfd_debug = 1


Detailed Description

Definition in file rpmfd-py.c.


Typedef Documentation

typedef struct FDlist_t FDlist
 

Definition at line 42 of file rpmfd-py.c.

Referenced by closeCallback(), and rpmfd_Fopen().


Function Documentation

int closeCallback FILE *  f  )  [static]
 

Definition at line 63 of file rpmfd-py.c.

References _free(), FDlist_t::f, Fclose(), FDlist_t::fd, fdFree, fdhead, fdLink, FDlist, FDlist_t::next, and FDlist_t::note.

Referenced by rpmfd_Fopen().

PyObject* rpmfd_Debug rpmfdObject s,
PyObject *  args
[static]
 

Definition at line 31 of file rpmfd-py.c.

References _rpmfd_debug, and rpmfdObject.

PyObject* rpmfd_Fopen PyObject *  s,
PyObject *  args
[static]
 

Definition at line 98 of file rpmfd-py.c.

References _free(), closeCallback(), FDlist_t::f, FDlist_t::fd, fdGetFp(), fdhead, fdLink, FDlist, fdtail, Ferror(), Fopen(), Fstrerror(), FDlist_t::next, FDlist_t::note, pyrpmError, xmalloc(), and xstrdup().

PyObject* rpmfd_getattro PyObject *  o,
PyObject *  n
[static]
 

Definition at line 179 of file rpmfd-py.c.

int rpmfd_setattro PyObject *  o,
PyObject *  n,
PyObject *  v
[static]
 

Definition at line 185 of file rpmfd-py.c.

rpmfdObject* rpmfd_Wrap FD_t  fd  ) 
 

Definition at line 325 of file rpmfd-py.c.

References rpmfdObject_s::fd, FD_t, rpmfd_Type, and rpmfdObject.


Variable Documentation

int _rpmfd_debug = 1 [static]
 

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

Referenced by rpmfd_Debug().

FDlist* fdhead = NULL [static]
 

Definition at line 55 of file rpmfd-py.c.

Referenced by closeCallback(), and rpmfd_Fopen().

FDlist* fdtail = NULL [static]
 

Definition at line 59 of file rpmfd-py.c.

Referenced by rpmfd_Fopen().

char rpmfd_doc[] [static]
 

Initial value:

""

Definition at line 271 of file rpmfd-py.c.


Generated on Tue May 30 14:44:32 2006 for rpm by  doxygen 1.3.9.1