rpm  5.4.14
Macros | Functions | Variables
rpmte-py.c File Reference
#include "system.h"
#include <rpmio.h>
#include <rpmiotypes.h>
#include <rpmtypes.h>
#include <rpmtag.h>
#include "header-py.h"
#include "rpmds-py.h"
#include "rpmfi-py.h"
#include "rpmte-py.h"
#include "debug.h"
Include dependency graph for rpmte-py.c:

Go to the source code of this file.

Macros

#define _RPMTE_INTERNAL   /* XXX rpmteAddedKey */
 

Functions

 switch (rpmteType(s->te))
 
 fprintf (fp,"%s %s %s", tstr, rpmteNEVR(s->te), rpmteA(s->te))
 
static PyObject * rpmte_getattro (PyObject *o, PyObject *n)
 
static int rpmte_setattro (PyObject *o, PyObject *n, PyObject *v)
 
rpmteObjectrpmte_Wrap (rpmte te)
 

Variables

static struct PyMethodDef rpmte_methods []
 
static int
 
 return
 
static char rpmte_doc []
 
PyTypeObject rpmte_Type
 

Class: Rpmte

static PyObject *static
PyObject *static PyObject
*static PyObject *static
PyObject *static PyObject
*static PyObject *static
PyObject *static PyObject
*static PyObject *static
PyObject *static PyObject
*static PyObject *static
PyObject *static PyObject
*static PyObject *static
PyObject *static PyObject
*static PyObject *static
PyObject *static PyObject
*static PyObject * 
Key = (PyObject *) rpmteKey(s->te)
 
static PyObject *rpmds ds
 
rpmTag tag = tagNumFromPyObject(TagN)
 
char * kwlist [] = {"tag", NULL}
 
return NULL
 
static PyObject * rpmte_Debug (rpmteObject *s, PyObject *args, PyObject *kwds)
 
 Py_INCREF (Key)
 
 if (tag==(rpmTag)-1)
 
 if (ds==NULL)
 
 return (PyObject *)
 

Macro Definition Documentation

#define _RPMTE_INTERNAL   /* XXX rpmteAddedKey */

Definition at line 16 of file rpmte-py.c.

Function Documentation

fprintf ( fp  ,
"%s %s %s ,
tstr  ,
rpmteNEVR(s->te ,
rpmteA(s->te  
)
if ( tag  = = (rpmTag)-1)

Definition at line 293 of file rpmte-py.c.

References NULL.

if ( ds  = NULL)

Definition at line 299 of file rpmte-py.c.

References Py_INCREF(), and Py_None.

Py_INCREF ( Key  )
return ( PyObject *  )

Definition at line 303 of file rpmte-py.c.

static PyObject* rpmte_Debug ( rpmteObject s,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 70 of file rpmte-py.c.

References _rpmte_debug, kwlist, NULL, Py_INCREF(), and Py_None.

static PyObject* rpmte_getattro ( PyObject *  o,
PyObject *  n 
)
static

Definition at line 433 of file rpmte-py.c.

static int rpmte_setattro ( PyObject *  o,
PyObject *  n,
PyObject *  v 
)
static

Definition at line 439 of file rpmte-py.c.

switch ( rpmteType(s->te )

Definition at line 424 of file rpmte-py.c.

References TR_ADDED, and TR_REMOVED.

Variable Documentation

ds
int
static
Initial value:
{
const char * tstr

Definition at line 420 of file rpmte-py.c.

return Key = (PyObject *) rpmteKey(s->te)

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

char* kwlist[] = {"tag", NULL}

Definition at line 287 of file rpmte-py.c.

return NULL

Definition at line 290 of file rpmte-py.c.

return

Definition at line 423 of file rpmte-py.c.

char rpmte_doc[]
static
Initial value:
=
""

Definition at line 448 of file rpmte-py.c.

tag = tagNumFromPyObject(TagN)

Definition at line 286 of file rpmte-py.c.