python

PYTHON.(3)                 Library Functions Manual                 PYTHON.(3)



NAME
       PYTHON. -

   Files
       file hash.c
       file hash.h
       file rpmmodule.c
       file upgrade.c
       file upgrade.h

   Data Structures
       class header
           A python header object represents an RPM package header.
       class rpmtrans
           A python rpmtrans object represents an RPM transaction set.
       class rpmtrans
           A python rpmtrans object represents an RPM transaction set.
       struct rpmtransObject_s
       struct rpmtransObject_s
       struct tsCallbackType

   Class: rpmtrans
       PyObject* rpmtransAdd (rpmtransObject *s, PyObject *args)
       PyObject* rpmtransRemove (rpmtransObject *s, PyObject *args)
       PyObject* rpmtransDepCheck (rpmtransObject *s, PyObject *args)
       PyObject* rpmtransOrder (rpmtransObject *s, PyObject *args)
       PyObject* py_rpmtransGetKeys (rpmtransObject *s, PyObject *args)
       void* tsCallback (const void *hd, const rpmCallbackType what, const
           unsigned long amount, const unsigned long total, const void
           *pkgKey, rpmCallbackData data)
       PyObject* rpmtransRun (rpmtransObject *s, PyObject *args)
       PyObject* rpmtransGetAttr (rpmtransObject *o, char *name)
       void rpmtransDealloc (PyObject *o)
       int rpmtransSetAttr (rpmtransObject *o, char *name, PyObject *val)
       Header transactionSetHeader = NULL
       struct PyMethodDef rpmtransMethods []
       PyTypeObject rpmtransType

   Module: rpm
       PyObject* rpmtransCreate (PyObject *self, PyObject *args)

   Typedefs
       typedef struct rpmtransObject_s rpmtransObject

TYPEDEF DOCUMENTATION
   typedef struct rpmtransObject_s rpmtransObject
       Definition at line 43 of file rpmmodule.c.

FUNCTION DOCUMENTATION
   PyObject * py_rpmtransGetKeys (rpmtransObject * s, PyObject * args)
       [static]
       Definition at line 342 of file rpmmodule.c.

   PyObject * rpmtransAdd (rpmtransObject * s, PyObject * args) [static]
       Definition at line 212 of file rpmmodule.c.

   PyObject * rpmtransCreate (PyObject * self, PyObject * args) [static]
       Definition at line 558 of file rpmmodule.c.

   void rpmtransDealloc (PyObject * o) [static]
       Definition at line 493 of file rpmmodule.c.

   PyObject * rpmtransDepCheck (rpmtransObject * s, PyObject * args) [static]
       Definition at line 280 of file rpmmodule.c.

   PyObject * rpmtransGetAttr (rpmtransObject * o, char * name) [static]
       Definition at line 487 of file rpmmodule.c.

   PyObject * rpmtransOrder (rpmtransObject * s, PyObject * args) [static]
       Definition at line 331 of file rpmmodule.c.

   PyObject * rpmtransRemove (rpmtransObject * s, PyObject * args) [static]
       Definition at line 249 of file rpmmodule.c.

   PyObject * rpmtransRun (rpmtransObject * s, PyObject * args) [static]
       Definition at line 427 of file rpmmodule.c.

   int rpmtransSetAttr (rpmtransObject * o, char * name, PyObject * val)
       [static]
       Definition at line 509 of file rpmmodule.c.

   void * tsCallback (const void * hd, const rpmCallbackType what, const
       unsigned long amount, const unsigned long total, const void * pkgKey,
       rpmCallbackData data) [static]
       Definition at line 381 of file rpmmodule.c.

VARIABLE DOCUMENTATION
   struct PyMethodDef rpmtransMethods [static]
       Initial value:

        {
               {'add',         (PyCFunction) rpmtransAdd,      1 },
               {'remove',      (PyCFunction) rpmtransRemove,   1 },
               {'depcheck',    (PyCFunction) rpmtransDepCheck, 1 },
               {'order',       (PyCFunction) rpmtransOrder,    1 },
               {'getKeys',     (PyCFunction) py_rpmtransGetKeys, 1 },
               {'run',         (PyCFunction) rpmtransRun, 1 },
               {NULL,          NULL}
       }

       Definition at line 475 of file rpmmodule.c.

   PyTypeObject rpmtransType [static]
       Initial value:

        {
               PyObject_HEAD_INIT(NULL)
               0,
               'rpmtrans',
               sizeof(rpmtransObject),
               0,
               (destructor) rpmtransDealloc,
               0,
               (getattrfunc) rpmtransGetAttr,
               (setattrfunc) rpmtransSetAttr,
               0,
               0,
               0,
               0,
               0,
       }

       Definition at line 532 of file rpmmodule.c.

   Header transactionSetHeader = NULL [static]
       Todo:
            Remove, there's no headerLink refcount on the pointer.

       Definition at line 377 of file rpmmodule.c.



rpm                               23 Dec 2003                       PYTHON.(3)