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

python/rpmal-py.c File Reference

More...

#include "system.h"
#include "Python.h"
#include <rpmlib.h>
#include "rpmal-py.h"
#include "rpmds-py.h"
#include "rpmfi-py.h"
#include "debug.h"

Go to the source code of this file.

Functions

PyObject * rpmal_Debug (rpmalObject *s, PyObject *args)
PyObject * rpmal_Add (rpmalObject *s, PyObject *args)
PyObject * rpmal_Del (rpmalObject *s, PyObject *args)
PyObject * rpmal_AddProvides (rpmalObject *s, PyObject *args)
PyObject * rpmal_MakeIndex (rpmalObject *s, PyObject *args)
void rpmal_dealloc (rpmalObject *s)
PyObject * rpmal_getattr (rpmalObject *s, char *name)
rpmalObjectrpmal_Wrap (rpmal al)

Variables

PyMethodDef rpmal_methods []
char rpmal_doc []
PyTypeObject rpmal_Type


Detailed Description

Definition in file rpmal-py.c.


Function Documentation

PyObject* rpmal_Add rpmalObject s,
PyObject *  args
[static]
 

Definition at line 32 of file rpmal-py.c.

References rpmalObject_s::al, alKey, rpmdsObject_s::ds, rpmfiObject_s::fi, rpmalAdd(), rpmalObject, rpmds_Type, rpmdsObject, rpmfi_Type, and rpmfiObject.

PyObject* rpmal_AddProvides rpmalObject s,
PyObject *  args
[static]
 

Definition at line 67 of file rpmal-py.c.

References rpmalObject_s::al, alKey, rpmdsObject_s::ds, rpmalAddProvides(), rpmalObject, rpmds_Type, and rpmdsObject.

void rpmal_dealloc rpmalObject s  )  [static]
 

Definition at line 118 of file rpmal-py.c.

References rpmalObject_s::al, rpmalFree(), and rpmalObject.

PyObject* rpmal_Debug rpmalObject s,
PyObject *  args
[static]
 

Definition at line 22 of file rpmal-py.c.

References _rpmal_debug, and rpmalObject.

PyObject* rpmal_Del rpmalObject s,
PyObject *  args
[static]
 

Definition at line 51 of file rpmal-py.c.

References rpmalObject_s::al, alKey, rpmalDel(), and rpmalObject.

PyObject* rpmal_getattr rpmalObject s,
char *  name
[static]
 

Definition at line 128 of file rpmal-py.c.

References rpmal_methods, and rpmalObject.

PyObject* rpmal_MakeIndex rpmalObject s,
PyObject *  args
[static]
 

Definition at line 85 of file rpmal-py.c.

References rpmalObject_s::al, rpmalMakeIndex(), and rpmalObject.

rpmalObject* rpmal_Wrap rpmal  al  ) 
 

Definition at line 193 of file rpmal-py.c.

References rpmalObject_s::al, rpmal, rpmal_Type, and rpmalObject.


Variable Documentation

char rpmal_doc[] [static]
 

Initial value:

""

Definition at line 137 of file rpmal-py.c.

struct PyMethodDef rpmal_methods[] [static]
 

Initial value:

 {
 {"Debug",      (PyCFunction)rpmal_Debug,       METH_VARARGS,
        NULL},
 {"add",        (PyCFunction)rpmal_Add,         METH_VARARGS,
        NULL},
 {"delete",     (PyCFunction)rpmal_Del,         METH_VARARGS,
        NULL},
 {"addProvides",(PyCFunction)rpmal_AddProvides, METH_VARARGS,
        NULL},
 {"makeIndex",(PyCFunction)rpmal_MakeIndex,     METH_VARARGS,
        NULL},
 {NULL,         NULL }          
}

Definition at line 100 of file rpmal-py.c.

Referenced by rpmal_getattr().

PyTypeObject rpmal_Type
 

Definition at line 142 of file rpmal-py.c.

Referenced by initrpm(), and rpmal_Wrap().


Generated on Tue Apr 19 03:31:23 2005 for rpm by doxygen 1.3.5