python/header-py.c File Reference

#include "system.h"
#include "rpmio_internal.h"
#include "rpmcli.h"
#include "legacy.h"
#include "misc.h"
#include "header_internal.h"
#include "rpmts.h"
#include "header-py.h"
#include "rpmds-py.h"
#include "rpmfi-py.h"
#include "debug.h"

Go to the source code of this file.

Data Structures

struct  hdrObject_s

Class: rpm.hdr

static struct PyMethodDef hdr_methods []
static PyMappingMethods hdr_as_mapping
static char hdr_doc []
PyTypeObject hdr_Type
static Header headerAllocated (Header h)
static PyObject * hdrKeyList (hdrObject *s)
static PyObject * hdrUnload (hdrObject *s, PyObject *args, PyObject *keywords)
static PyObject * hdrExpandFilelist (hdrObject *s)
static PyObject * hdrCompressFilelist (hdrObject *s)
static void mungeFilelist (Header h)
static PyObject * rhnUnload (hdrObject *s)
static PyObject * hdrFullFilelist (hdrObject *s)
static PyObject * hdrSprintf (hdrObject *s, PyObject *args, PyObject *kwds)
static int hdr_compare (hdrObject *a, hdrObject *b)
static long hdr_hash (PyObject *h)
static PyObject * hdr_getattro (PyObject *o, PyObject *n)
static int hdr_setattro (PyObject *o, PyObject *n, PyObject *v)
static void hdr_dealloc (hdrObject *s)
long tagNumFromPyObject (PyObject *item)
static PyObject * hdr_subscript (hdrObject *s, PyObject *item)
hdrObjecthdr_Wrap (Header h)
Header hdrGetHeader (hdrObject *s)
PyObject * hdrLoad (PyObject *self, PyObject *args, PyObject *kwds)
PyObject * rhnLoad (PyObject *self, PyObject *args, PyObject *kwds)
PyObject * rpmReadHeaders (FD_t fd)
PyObject * rpmHeaderFromFD (PyObject *self, PyObject *args, PyObject *kwds)
PyObject * rpmHeaderFromFile (PyObject *self, PyObject *args, PyObject *kwds)
int rpmMergeHeaders (PyObject *list, FD_t fd, int matchTag)
 This assumes the order of list matches the order of the new headers, and throws an exception if that isn't true.
PyObject * rpmMergeHeadersFromFD (PyObject *self, PyObject *args, PyObject *kwds)
PyObject * rpmSingleHeaderFromFD (PyObject *self, PyObject *args, PyObject *kwds)
PyObject * versionCompare (PyObject *self, PyObject *args, PyObject *kwds)
static int compare_values (const char *str1, const char *str2)
PyObject * labelCompare (PyObject *self, PyObject *args)


Detailed Description

Definition in file header-py.c.


Generated on Fri Oct 12 08:44:56 2007 for rpm by  doxygen 1.5.2