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

PYTHON-C Language Bindings.


Files

file  header-py.c
file  header-py.h
file  rpmal-py.c
file  rpmal-py.h
file  rpmdb-py.c
file  rpmdb-py.h
file  rpmds-py.c
file  rpmds-py.h
file  rpmfd-py.c
file  rpmfd-py.h
file  rpmfi-py.c
file  rpmfi-py.h
file  rpmfts-py.c
file  rpmfts-py.h
file  rpmmi-py.c
file  rpmmi-py.h
file  rpmmodule.c
file  rpmps-py.c
file  rpmps-py.h
file  rpmrc-py.c
file  rpmrc-py.h
file  rpmte-py.c
file  rpmte-py.h
file  rpmts-py.c
file  rpmts-py.h

Data Structures

struct  hdrObject_s
struct  rpmalObject_s
struct  rpmdbObject_s
struct  rpmdsObject_s
struct  rpmfdObject_s
struct  rpmfiObject_s
struct  rpmftsObject_s
struct  rpmmiObject_s
struct  rpmpsObject_s
struct  rpmrcObject_s
struct  rpmteObject_s
struct  rpmtsCallbackType_s
struct  rpmtsObject_s

Type: _rpm.hdr

typedef hdrObject_s hdrObject
long tagNumFromPyObject (PyObject *item)
hdrObjecthdr_Wrap (Header h)
Header hdrGetHeader (hdrObject *h)
PyObject * labelCompare (PyObject *self, PyObject *args)
PyObject * versionCompare (PyObject *self, PyObject *args, PyObject *kwds)
PyObject * rpmMergeHeadersFromFD (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 * rpmHeaderFromFile (PyObject *self, PyObject *args, PyObject *kwds)
PyObject * rpmHeaderFromFD (PyObject *self, PyObject *args, PyObject *kwds)
PyObject * rpmSingleHeaderFromFD (PyObject *self, PyObject *args, PyObject *kwds)
PyObject * rpmReadHeaders (FD_t fd)
PyObject * rhnLoad (PyObject *self, PyObject *args, PyObject *kwds)
PyObject * hdrLoad (PyObject *self, PyObject *args, PyObject *kwds)
PyTypeObject hdr_Type
PyObject * pyrpmError

Type: _rpm.al

typedef rpmalObject_s rpmalObject
rpmalObjectrpmal_Wrap (rpmal al)
PyTypeObject rpmal_Type

Type: _rpm.db

typedef rpmdbObject_s rpmdbObject
PyTypeObject rpmdb_Type

Type: _rpm.ds

typedef rpmdsObject_s rpmdsObject
rpmds dsFromDs (rpmdsObject *ds)
rpmdsObjectrpmds_Wrap (rpmds ds)
rpmdsObjectrpmds_Single (PyObject *s, PyObject *args, PyObject *kwds)
rpmdsObjecthdr_dsFromHeader (PyObject *s, PyObject *args, PyObject *kwds)
rpmdsObjecthdr_dsOfHeader (PyObject *s)
PyTypeObject rpmds_Type

Type: _rpm.fd

typedef rpmfdObject_s rpmfdObject
rpmfdObjectrpmfd_Wrap (FD_t fd)
PyTypeObject rpmfd_Type

Type: _rpm.fi

typedef rpmfiObject_s rpmfiObject
rpmfi fiFromFi (rpmfiObject *fi)
rpmfiObjectrpmfi_Wrap (rpmfi fi)
rpmfiObjecthdr_fiFromHeader (PyObject *s, PyObject *args, PyObject *kwds)
PyTypeObject rpmfi_Type

Type: _rpm.fts

typedef rpmftsObject_s rpmftsObject
PyTypeObject rpmfts_Type

Type: _rpm.mi

typedef rpmmiObject_s rpmmiObject
rpmmiObjectrpmmi_Wrap (rpmdbMatchIterator mi)
PyTypeObject rpmmi_Type

Type: _rpm.ps

typedef rpmpsObject_s rpmpsObject
rpmps psFromPs (rpmpsObject *ps)
rpmpsObjectrpmps_Wrap (rpmps ps)
PyTypeObject rpmps_Type

Type: _rpm.rc

typedef rpmrcObject_s rpmrcObject
PyObject * rpmrc_AddMacro (PyObject *self, PyObject *args, PyObject *kwds)
PyObject * rpmrc_DelMacro (PyObject *self, PyObject *args, PyObject *kwds)
PyObject * rpmrc_Create (PyObject *self, PyObject *args, PyObject *kwds)
PyTypeObject rpmrc_Type

Type: _rpm.te

typedef rpmteObject_s rpmteObject
rpmteObjectrpmte_Wrap (rpmte te)
PyTypeObject rpmte_Type

Type: _rpm.ts

typedef rpmtsObject_s rpmtsObject
enum  { RPMDEP_SENSE_REQUIRES, RPMDEP_SENSE_CONFLICTS }
rpmtsObjectrpmts_Create (PyObject *s, PyObject *args, PyObject *kwds)
PyTypeObject rpmts_Type

Class: Rpmts

static PyObject * rpmts_SetProbFilter (rpmtsObject *s, PyObject *args, PyObject *kwds)

Functions

static void hdr_dealloc (hdrObject *s)
static int rpmHeaderGetEntry (Header h, int_32 tag, int_32 *type, void **p, int_32 *c)
 Retrieve tag info from header.
static PyObject * hdr_subscript (hdrObject *s, PyObject *item)
static void rpmfd_dealloc (rpmfdObject *s)
static int rpmfd_init (rpmfdObject *s, PyObject *args, PyObject *kwds)
static void rpmfd_free (rpmfdObject *s)
static PyObject * rpmfd_alloc (PyTypeObject *subtype, int nitems)
static rpmfdObjectrpmfd_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds)
static int rpmfi_init (rpmfiObject *s, PyObject *args, PyObject *kwds)
static void rpmfi_free (rpmfiObject *s)
static PyObject * rpmfi_alloc (PyTypeObject *subtype, int nitems)
static PyObject * rpmfi_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds)
static void rpmmi_dealloc (rpmmiObject *s)
static int rpmps_init (rpmpsObject *s, PyObject *args, PyObject *kwds)
static void rpmps_free (rpmpsObject *s)
static PyObject * rpmps_alloc (PyTypeObject *subtype, int nitems)
static PyObject * rpmps_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds)
static int rpmrc_init (PyObject *s, PyObject *args, PyObject *kwds)
static void rpmrc_free (PyObject *s)
static PyObject * rpmrc_alloc (PyTypeObject *subtype, int nitems)
static PyObject * rpmrc_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds)
static void rpmts_dealloc (rpmtsObject *s)
static int rpmts_setattro (PyObject *o, PyObject *n, PyObject *v)
static int rpmts_init (rpmtsObject *s, PyObject *args, PyObject *kwds)
static void rpmts_free (rpmtsObject *s)
static PyObject * rpmts_alloc (PyTypeObject *subtype, int nitems)
static PyObject * rpmts_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds)

Variables

static struct PyMethodDef hdr_methods []
static PyMappingMethods hdr_as_mapping
PyTypeObject hdr_Type
static struct PyMethodDef rpmfd_methods []
PyTypeObject rpmfd_Type
static struct PyMethodDef rpmfts_methods []
PyTypeObject rpmfts_Type
static struct PyMethodDef rpmmi_methods []
PyTypeObject rpmmi_Type
PyTypeObject rpmrc_Type
static struct PyMethodDef rpmte_methods []
PyTypeObject rpmte_Type
static struct PyMethodDef rpmts_methods []
PyTypeObject rpmts_Type

Typedef Documentation

typedef struct hdrObject_s hdrObject
 

Definition at line 13 of file header-py.h.

typedef struct rpmalObject_s rpmalObject
 

typedef struct rpmdbObject_s rpmdbObject
 

Definition at line 15 of file rpmdb-py.h.

typedef struct rpmdsObject_s rpmdsObject
 

typedef struct rpmfdObject_s rpmfdObject
 

typedef struct rpmfiObject_s rpmfiObject
 

typedef struct rpmftsObject_s rpmftsObject
 

typedef struct rpmmiObject_s rpmmiObject
 

Definition at line 13 of file rpmmi-py.h.

typedef struct rpmpsObject_s rpmpsObject
 

typedef struct rpmrcObject_s rpmrcObject
 

Definition at line 13 of file rpmrc-py.h.

typedef struct rpmteObject_s rpmteObject
 

typedef struct rpmtsObject_s rpmtsObject
 


Enumeration Type Documentation

anonymous enum
 

Enumerator:
RPMDEP_SENSE_REQUIRES  requirement not satisfied.
RPMDEP_SENSE_CONFLICTS  conflict was found.

Definition at line 33 of file rpmts-py.h.


Function Documentation

rpmds dsFromDs rpmdsObject ds  ) 
 

Definition at line 774 of file rpmds-py.c.

References rpmdsObject_s::ds.

rpmfi fiFromFi rpmfiObject fi  ) 
 

Definition at line 612 of file rpmfi-py.c.

References rpmfiObject_s::fi.

static void hdr_dealloc hdrObject s  )  [static]
 

Definition at line 633 of file header-py.c.

References _free(), hdrObject_s::fileList, hdrObject_s::h, headerFree(), hdrObject_s::linkList, and hdrObject_s::md5list.

rpmdsObject* hdr_dsFromHeader PyObject *  s,
PyObject *  args,
PyObject *  kwds
 

Definition at line 819 of file rpmds-py.c.

References hdrGetHeader(), rpmds_Wrap(), rpmdsNew(), RPMTAG_REQUIRENAME, and tagNumFromPyObject().

rpmdsObject* hdr_dsOfHeader PyObject *  s  ) 
 

Definition at line 842 of file rpmds-py.c.

References hdrGetHeader(), rpmds_Wrap(), rpmdsThis(), RPMSENSE_EQUAL, and RPMTAG_PROVIDENAME.

rpmfiObject* hdr_fiFromHeader PyObject *  s,
PyObject *  args,
PyObject *  kwds
 

Definition at line 630 of file rpmfi-py.c.

References hdrGetHeader(), rpmfi_Wrap(), rpmfiNew(), RPMTAG_BASENAMES, and tagNumFromPyObject().

static PyObject* hdr_subscript hdrObject s,
PyObject *  item
[static]
 

Definition at line 725 of file header-py.c.

References hdrObject_s::h, HEADER_EXT_TAG, headerSprintfExtension_s::name, RPM_ASN1_TYPE, RPM_BIN_TYPE, RPM_CHAR_TYPE, RPM_INT16_TYPE, RPM_INT32_TYPE, RPM_INT64_TYPE, RPM_INT8_TYPE, RPM_OPENPGP_TYPE, RPM_STRING_ARRAY_TYPE, RPM_STRING_TYPE, rpmHeaderFormats, rpmHeaderGetEntry(), RPMTAG_ARCH, RPMTAG_CHANGELOGTIME, RPMTAG_CONFLICTFLAGS, RPMTAG_CONFLICTNAME, RPMTAG_CONFLICTVERSION, RPMTAG_DESCRIPTION, RPMTAG_EPOCH, RPMTAG_FILEFLAGS, RPMTAG_FILEGIDS, RPMTAG_FILEGROUPNAME, RPMTAG_FILELINKTOS, RPMTAG_FILEMD5S, RPMTAG_FILEMODES, RPMTAG_FILEMTIMES, RPMTAG_FILERDEVS, RPMTAG_FILESIZES, RPMTAG_FILESTATES, RPMTAG_FILEUIDS, RPMTAG_FILEUSERNAME, RPMTAG_GROUP, RPMTAG_NAME, RPMTAG_OBSOLETEFLAGS, RPMTAG_OBSOLETENAME, RPMTAG_OBSOLETEVERSION, RPMTAG_OLDFILENAMES, RPMTAG_OS, RPMTAG_PROVIDEFLAGS, RPMTAG_PROVIDENAME, RPMTAG_PROVIDEVERSION, RPMTAG_RELEASE, RPMTAG_REQUIREFLAGS, RPMTAG_REQUIRENAME, RPMTAG_REQUIREVERSION, RPMTAG_ROOT, RPMTAG_SUMMARY, RPMTAG_VERSION, tagNumFromPyObject(), headerSprintfExtension_s::type, headerSprintfExtension_s::u, and xstrcasecmp().

hdrObject* hdr_Wrap Header  h  ) 
 

Definition at line 986 of file header-py.c.

References hdrObject_s::fileList, hdrObject_s::fileSizes, hdrObject_s::gids, hdrObject_s::h, hdr_Type, headerLink(), hdrObject_s::linkList, hdrObject_s::md5list, hdrObject_s::modes, hdrObject_s::mtimes, hdrObject_s::rdevs, and hdrObject_s::uids.

Referenced by hdrLoad(), rpmdb_subscript(), rpmmi_iternext(), rpmReadHeaders(), rpmSingleHeaderFromFD(), rpmts_HdrFromFdno(), rpmts_IDTXglob(), and rpmts_IDTXload().

Header hdrGetHeader hdrObject h  ) 
 

Definition at line 996 of file header-py.c.

References hdrObject_s::h.

Referenced by hdr_dsFromHeader(), hdr_dsOfHeader(), hdr_fiFromHeader(), rpmds_init(), rpmfi_init(), and rpmts_AddInstall().

PyObject* hdrLoad PyObject *  self,
PyObject *  args,
PyObject *  kwds
 

Definition at line 1003 of file header-py.c.

References compressFilelist(), hdr_Wrap(), headerAllocated(), headerFree(), headerLoad(), providePackageNVR(), and pyrpmError.

PyObject* labelCompare PyObject *  self,
PyObject *  args
 

Definition at line 1276 of file header-py.c.

References alloca(), and rpmEVRcompare().

rpmps psFromPs rpmpsObject ps  ) 
 

Definition at line 371 of file rpmps-py.c.

References rpmpsObject_s::ps.

PyObject* rhnLoad PyObject *  self,
PyObject *  args,
PyObject *  kwds
 

rpmalObject* rpmal_Wrap rpmal  al  ) 
 

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

References rpmalObject_s::al, and rpmal_Type.

rpmdsObject* rpmds_Single PyObject *  s,
PyObject *  args,
PyObject *  kwds
 

Definition at line 793 of file rpmds-py.c.

References rpmds_Wrap(), rpmdsSingle(), RPMTAG_PROVIDENAME, tagNumFromPyObject(), and xstrdup().

rpmdsObject* rpmds_Wrap rpmds  ds  ) 
 

Definition at line 780 of file rpmds-py.c.

References rpmdsObject_s::active, and rpmdsObject_s::ds.

Referenced by hdr_dsFromHeader(), hdr_dsOfHeader(), rpmds_Cpuinfo(), rpmds_Getconf(), rpmds_iternext(), rpmds_Ldconfig(), rpmds_Rpmlib(), rpmds_Single(), rpmds_Sysinfo(), rpmte_DS(), and rpmts_SolveCallback().

static PyObject* rpmfd_alloc PyTypeObject *  subtype,
int  nitems
[static]
 

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

References _rpmfd_debug.

static void rpmfd_dealloc rpmfdObject s  )  [static]
 

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

References Fclose(), and rpmfdObject_s::fd.

static void rpmfd_free rpmfdObject s  )  [static]
 

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

References _rpmfd_debug, Fclose(), and rpmfdObject_s::fd.

Referenced by rpmfd_new().

static int rpmfd_init rpmfdObject s,
PyObject *  args,
PyObject *  kwds
[static]
 

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

References _rpmfd_debug, Fclose(), rpmfdObject_s::fd, Ferror(), Fopen(), Fstrerror(), and pyrpmError.

Referenced by rpmfd_new().

static rpmfdObject* rpmfd_new PyTypeObject *  subtype,
PyObject *  args,
PyObject *  kwds
[static]
 

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

References _rpmfd_debug, rpmfdObject_s::fd, rpmfd_free(), and rpmfd_init().

rpmfdObject* rpmfd_Wrap FD_t  fd  ) 
 

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

References rpmfdObject_s::fd, and rpmfd_Type.

static PyObject* rpmfi_alloc PyTypeObject *  subtype,
int  nitems
[static]
 

Definition at line 524 of file rpmfi-py.c.

References _rpmfi_debug.

static void rpmfi_free rpmfiObject s  )  [static]
 

Definition at line 512 of file rpmfi-py.c.

References _rpmfi_debug, rpmfiObject_s::fi, and rpmfiFree().

Referenced by rpmfi_new().

static int rpmfi_init rpmfiObject s,
PyObject *  args,
PyObject *  kwds
[static]
 

Definition at line 479 of file rpmfi-py.c.

References _rpmfi_debug, rpmfiObject_s::active, rpmfiObject_s::fi, hdr_Type, hdrGetHeader(), rpmfiNew(), RPMTAG_BASENAMES, and tagNumFromPyObject().

Referenced by rpmfi_new().

static PyObject* rpmfi_new PyTypeObject *  subtype,
PyObject *  args,
PyObject *  kwds
[static]
 

Definition at line 537 of file rpmfi-py.c.

References _rpmfi_debug, rpmfiObject_s::fi, rpmfi_free(), and rpmfi_init().

rpmfiObject* rpmfi_Wrap rpmfi  fi  ) 
 

Definition at line 618 of file rpmfi-py.c.

References rpmfiObject_s::active, rpmfiObject_s::fi, and rpmfi_Type.

Referenced by hdr_fiFromHeader(), and rpmte_FI().

PyObject* rpmHeaderFromFD PyObject *  self,
PyObject *  args,
PyObject *  kwds
 

Definition at line 1079 of file header-py.c.

References Fclose(), fdDup(), and rpmReadHeaders().

PyObject* rpmHeaderFromFile PyObject *  self,
PyObject *  args,
PyObject *  kwds
 

Definition at line 1099 of file header-py.c.

References Fclose(), Fopen(), pyrpmError, and rpmReadHeaders().

static int rpmHeaderGetEntry Header  h,
int_32  tag,
int_32 type,
void **  p,
int_32 c
[static]
 

Retrieve tag info from header.

This is a "dressed" entry to headerGetEntry to do: 1) DIRNAME/BASENAME/DIRINDICES -> FILENAMES tag conversions. 2) i18n lookaside (if enabled).

Parameters:
h header
tag tag
Return values:
type address of tag value data type
p address of pointer to tag value(s)
c address of number of values
Returns:
0 on success, 1 on bad magic, 2 on error

Definition at line 674 of file header-py.c.

References headerGetEntry(), headerSprintf(), RPM_STRING_ARRAY_TYPE, RPM_STRING_TYPE, rpmfiBuildFNames(), rpmHeaderFormats, RPMTAG_BASENAMES, RPMTAG_DESCRIPTION, RPMTAG_GROUP, RPMTAG_OLDFILENAMES, RPMTAG_SUMMARY, rpmTagTable, stpcpy(), and tagName().

Referenced by hdr_subscript().

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.

Definition at line 1126 of file header-py.c.

References _free(), hdrObject_s::fileList, hdrObject_s::h, HEADER_MAGIC_YES, headerAddEntry(), headerFree(), headerFreeData(), headerFreeIterator(), headerGetEntry(), headerInitIterator(), headerNextIterator(), headerRead(), headerRemoveEntry(), hdrObject_s::linkList, hdrObject_s::md5list, pyrpmError, and headerSprintfExtension_s::type.

Referenced by rpmMergeHeadersFromFD().

PyObject* rpmMergeHeadersFromFD PyObject *  self,
PyObject *  args,
PyObject *  kwds
 

Definition at line 1185 of file header-py.c.

References Fclose(), fdDup(), and rpmMergeHeaders().

static void rpmmi_dealloc rpmmiObject s  )  [static]
 

Definition at line 198 of file rpmmi-py.c.

References rpmmiObject_s::mi, and rpmdbFreeIterator().

rpmmiObject* rpmmi_Wrap rpmdbMatchIterator  mi  ) 
 

Definition at line 276 of file rpmmi-py.c.

References rpmmiObject_s::mi, pyrpmError, and rpmmi_Type.

Referenced by rpmdb_Match(), and rpmts_Match().

static PyObject* rpmps_alloc PyTypeObject *  subtype,
int  nitems
[static]
 

Definition at line 284 of file rpmps-py.c.

References _rpmps_debug.

static void rpmps_free rpmpsObject s  )  [static]
 

Definition at line 272 of file rpmps-py.c.

References _rpmps_debug, rpmpsObject_s::ps, and rpmpsFree().

Referenced by rpmps_new().

static int rpmps_init rpmpsObject s,
PyObject *  args,
PyObject *  kwds
[static]
 

Definition at line 252 of file rpmps-py.c.

References _rpmps_debug, rpmpsObject_s::active, rpmpsObject_s::ix, rpmpsObject_s::ps, and rpmpsCreate().

Referenced by rpmps_new().

static PyObject* rpmps_new PyTypeObject *  subtype,
PyObject *  args,
PyObject *  kwds
[static]
 

Definition at line 297 of file rpmps-py.c.

References _rpmps_debug, rpmpsObject_s::ps, rpmps_free(), and rpmps_init().

rpmpsObject* rpmps_Wrap rpmps  ps  ) 
 

Definition at line 377 of file rpmps-py.c.

References rpmpsObject_s::active, rpmpsObject_s::ix, rpmpsObject_s::ps, and rpmps_Type.

Referenced by rpmts_Problems().

PyObject* rpmrc_AddMacro PyObject *  self,
PyObject *  args,
PyObject *  kwds
 

Definition at line 33 of file rpmrc-py.c.

References addMacro(), and name.

static PyObject* rpmrc_alloc PyTypeObject *  subtype,
int  nitems
[static]
 

Definition at line 285 of file rpmrc-py.c.

References _rc_debug.

PyObject* rpmrc_Create PyObject *  self,
PyObject *  args,
PyObject *  kwds
 

Definition at line 411 of file rpmrc-py.c.

References rpmrc_new().

PyObject* rpmrc_DelMacro PyObject *  self,
PyObject *  args,
PyObject *  kwds
 

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

References delMacro(), and name.

static void rpmrc_free PyObject *  s  )  [static]
 

Definition at line 275 of file rpmrc-py.c.

References _rc_debug.

Referenced by rpmrc_new().

static int rpmrc_init PyObject *  s,
PyObject *  args,
PyObject *  kwds
[static]
 

Definition at line 263 of file rpmrc-py.c.

References _rc_debug.

Referenced by rpmrc_new().

static PyObject* rpmrc_new PyTypeObject *  subtype,
PyObject *  args,
PyObject *  kwds
[static]
 

Definition at line 298 of file rpmrc-py.c.

References _rc_debug, rpmrc_free(), rpmrc_init(), and rpmrc_Type.

Referenced by rpmrc_Create().

PyObject* rpmReadHeaders FD_t  fd  ) 
 

Definition at line 1040 of file header-py.c.

References compressFilelist(), hdr_Wrap(), HEADER_MAGIC_YES, headerFree(), headerRead(), providePackageNVR(), and pyrpmError.

Referenced by rpmHeaderFromFD(), and rpmHeaderFromFile().

PyObject* rpmSingleHeaderFromFD PyObject *  self,
PyObject *  args,
PyObject *  kwds
 

Definition at line 1219 of file header-py.c.

References Fclose(), fdDup(), hdr_Wrap(), HEADER_MAGIC_YES, headerFree(), headerRead(), pyrpmError, and SEEK_CUR.

rpmteObject* rpmte_Wrap rpmte  te  ) 
 

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

References rpmte_Type, and rpmteObject_s::te.

Referenced by rpmts_iternext().

static PyObject* rpmts_alloc PyTypeObject *  subtype,
int  nitems
[static]
 

Definition at line 1624 of file rpmts-py.c.

References _rpmts_debug.

rpmtsObject* rpmts_Create PyObject *  s,
PyObject *  args,
PyObject *  kwds
 

Definition at line 1714 of file rpmts-py.c.

References _rpmts_debug, rpmtsObject_s::keyList, rpmExpandNumeric(), rpmts_Type, rpmtsCreate(), rpmtsSetRootDir(), rpmtsSetVSFlags(), rpmtsObject_s::scriptFd, rpmtsObject_s::ts, rpmtsObject_s::tsi, and rpmtsObject_s::tsiFilter.

static void rpmts_dealloc rpmtsObject s  )  [static]
 

Definition at line 1525 of file rpmts-py.c.

References _rpmts_debug, Fclose(), rpmtsObject_s::keyList, rpmtsFree(), rpmtsObject_s::scriptFd, and rpmtsObject_s::ts.

static void rpmts_free rpmtsObject s  )  [static]
 

Definition at line 1605 of file rpmts-py.c.

References _rpmts_debug, Fclose(), rpmtsObject_s::keyList, rpmtsFree(), rpmtsObject_s::scriptFd, and rpmtsObject_s::ts.

Referenced by rpmts_new().

static int rpmts_init rpmtsObject s,
PyObject *  args,
PyObject *  kwds
[static]
 

Definition at line 1574 of file rpmts-py.c.

References _rpmts_debug, rpmtsObject_s::keyList, rpmExpandNumeric(), rpmtsCreate(), rpmtsSetRootDir(), rpmtsSetVSFlags(), rpmtsObject_s::scriptFd, rpmtsObject_s::ts, rpmtsObject_s::tsi, and rpmtsObject_s::tsiFilter.

Referenced by rpmts_new().

static PyObject* rpmts_new PyTypeObject *  subtype,
PyObject *  args,
PyObject *  kwds
[static]
 

Definition at line 1636 of file rpmts-py.c.

References _rpmts_debug, rpmts_free(), rpmts_init(), and rpmtsObject_s::ts.

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

Definition at line 1548 of file rpmts-py.c.

References fdDup(), name, rpmtsSetScriptFd(), rpmtsObject_s::scriptFd, and rpmtsObject_s::ts.

static PyObject* rpmts_SetProbFilter rpmtsObject s,
PyObject *  args,
PyObject *  kwds
[static]
 

Definition at line 1191 of file rpmts-py.c.

References _rpmts_debug, rpmtsObject_s::ignoreSet, and rpmtsObject_s::ts.

long tagNumFromPyObject PyObject *  item  ) 
 

Definition at line 645 of file header-py.c.

References name, rpmTagTable, rpmTagTableSize, headerTagTableEntry_s::val, and xstrcasecmp().

Referenced by hdr_dsFromHeader(), hdr_fiFromHeader(), hdr_subscript(), rpmdb_Match(), rpmds_init(), rpmds_Single(), rpmfi_init(), rpmmi_Pattern(), rpmte_DS(), rpmte_FI(), and rpmts_Match().

PyObject* versionCompare PyObject *  self,
PyObject *  args,
PyObject *  kwds
 

Definition at line 1264 of file header-py.c.

References hdr_compare(), and hdr_Type.


Variable Documentation

PyMappingMethods hdr_as_mapping [static]
 

Initial value:

 {
        (inquiry) 0,                    
        (binaryfunc) hdr_subscript,     
        (objobjargproc)0,               
}

Definition at line 926 of file header-py.c.

struct PyMethodDef hdr_methods[] [static]
 

Initial value:

 {
    {"keys",            (PyCFunction) hdrKeyList,       METH_NOARGS,
        NULL },
    {"unload",          (PyCFunction) hdrUnload,        METH_VARARGS|METH_KEYWORDS,
        NULL },
    {"expandFilelist",  (PyCFunction) hdrExpandFilelist,METH_NOARGS,
        NULL },
    {"compressFilelist",(PyCFunction) hdrCompressFilelist,METH_NOARGS,
        NULL },
    {"fullFilelist",    (PyCFunction) hdrFullFilelist,  METH_NOARGS,
        NULL },
    {"getorigin",       (PyCFunction) hdrGetOrigin,     METH_NOARGS,
        NULL },
    {"setorigin",       (PyCFunction) hdrSetOrigin,     METH_NOARGS,
        NULL },
    {"sprintf",         (PyCFunction) hdrSprintf,       METH_VARARGS|METH_KEYWORDS,
        NULL },

    {"dsOfHeader",      (PyCFunction)hdr_dsOfHeader,    METH_NOARGS,
        NULL},
    {"dsFromHeader",    (PyCFunction)hdr_dsFromHeader,  METH_VARARGS|METH_KEYWORDS,
        NULL},
    {"fiFromHeader",    (PyCFunction)hdr_fiFromHeader,  METH_VARARGS|METH_KEYWORDS,
        NULL},

    {NULL,              NULL}           
}

Definition at line 577 of file header-py.c.

PyTypeObject hdr_Type
 

Definition at line 940 of file header-py.c.

Referenced by hdr_Wrap(), init_rpm(), rpmds_init(), rpmfi_init(), rpmts_AddInstall(), and versionCompare().

PyTypeObject hdr_Type
 

Definition at line 940 of file header-py.c.

Referenced by hdr_Wrap(), init_rpm(), rpmds_init(), rpmfi_init(), rpmts_AddInstall(), and versionCompare().

PyObject* pyrpmError
 

Definition at line 42 of file rpmmodule.c.

Referenced by hdrLoad(), hdrSprintf(), hdrUnload(), init_rpm(), rpmdb_subscript(), rpmfd_Fopen(), rpmfd_init(), rpmHeaderFromFile(), rpmMergeHeaders(), rpmmi_Wrap(), rpmReadHeaders(), rpmSingleHeaderFromFD(), rpmts_AddErase(), rpmts_HdrCheck(), rpmts_HdrFromFdno(), rpmts_PgpImportPubkey(), rpmts_PgpPrtPkts(), setLogFile(), and spec_Parse().

PyTypeObject rpmal_Type
 

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

Referenced by init_rpm(), and rpmal_Wrap().

PyTypeObject rpmdb_Type
 

Definition at line 237 of file rpmdb-py.c.

PyTypeObject rpmds_Type
 

Definition at line 723 of file rpmds-py.c.

Referenced by init_rpm(), rpmal_Add(), and rpmal_AddProvides().

struct PyMethodDef rpmfd_methods[] [static]
 

Initial value:

 {
    {"Debug",   (PyCFunction)rpmfd_Debug,       METH_VARARGS|METH_KEYWORDS,
        NULL},
    {"Fopen",   (PyCFunction)rpmfd_Fopen,       METH_VARARGS|METH_KEYWORDS,
        NULL},
    {NULL,              NULL}           
}

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

PyTypeObject rpmfd_Type
 

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

Referenced by init_rpm(), and rpmfd_Wrap().

PyTypeObject rpmfd_Type
 

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

Referenced by init_rpm(), and rpmfd_Wrap().

PyTypeObject rpmfi_Type
 

Definition at line 562 of file rpmfi-py.c.

Referenced by init_rpm(), rpmal_Add(), and rpmfi_Wrap().

struct PyMethodDef rpmfts_methods[] [static]
 

Initial value:

 {
    {"Debug",   (PyCFunction)rpmfts_Debug,      METH_VARARGS|METH_KEYWORDS,
        NULL},
    {"open",    (PyCFunction)rpmfts_Open,       METH_VARARGS|METH_KEYWORDS,
        NULL},
    {"read",    (PyCFunction)rpmfts_Read,       METH_NOARGS,
        NULL},
    {"children",(PyCFunction)rpmfts_Children,   METH_VARARGS|METH_KEYWORDS,
        NULL},
    {"close",   (PyCFunction)rpmfts_Close,      METH_NOARGS,
        NULL},
    {"set",     (PyCFunction)rpmfts_Set,        METH_VARARGS|METH_KEYWORDS,
        NULL},
    {NULL,              NULL}           
}

Definition at line 296 of file rpmfts-py.c.

PyTypeObject rpmfts_Type
 

Definition at line 541 of file rpmfts-py.c.

Referenced by init_rpm().

PyTypeObject rpmfts_Type
 

Definition at line 541 of file rpmfts-py.c.

Referenced by init_rpm().

struct PyMethodDef rpmmi_methods[] [static]
 

Initial value:

 {
    {"next",        (PyCFunction) rpmmi_Next,           METH_NOARGS,
"mi.next() -> hdr\n\
- Retrieve next header that matches. Iterate directly in python if possible.\n" },
    {"instance",    (PyCFunction) rpmmi_Instance,       METH_NOARGS,
        NULL },
    {"count",       (PyCFunction) rpmmi_Count,          METH_NOARGS,
        NULL },
    {"pattern",     (PyCFunction) rpmmi_Pattern,        METH_VARARGS|METH_KEYWORDS,
"mi.pattern(TagN, mire_type, pattern)\n\
- Set a secondary match pattern on tags from retrieved header.\n" },
    {NULL,              NULL}           
}

Definition at line 181 of file rpmmi-py.c.

PyTypeObject rpmmi_Type
 

Definition at line 229 of file rpmmi-py.c.

Referenced by init_rpm(), and rpmmi_Wrap().

PyTypeObject rpmmi_Type
 

Definition at line 229 of file rpmmi-py.c.

Referenced by init_rpm(), and rpmmi_Wrap().

PyTypeObject rpmps_Type
 

Definition at line 321 of file rpmps-py.c.

Referenced by init_rpm(), and rpmps_Wrap().

PyTypeObject rpmrc_Type
 

Definition at line 339 of file rpmrc-py.c.

Referenced by init_rpm(), and rpmrc_new().

PyTypeObject rpmrc_Type
 

Definition at line 339 of file rpmrc-py.c.

Referenced by init_rpm(), and rpmrc_new().

struct PyMethodDef rpmte_methods[] [static]
 

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

PyTypeObject rpmte_Type
 

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

Referenced by init_rpm(), and rpmte_Wrap().

PyTypeObject rpmte_Type
 

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

Referenced by init_rpm(), and rpmte_Wrap().

struct PyMethodDef rpmts_methods[] [static]
 

Definition at line 1428 of file rpmts-py.c.

PyTypeObject rpmts_Type
 

Definition at line 1663 of file rpmts-py.c.

Referenced by init_rpm(), and rpmts_Create().

PyTypeObject rpmts_Type
 

Definition at line 1663 of file rpmts-py.c.

Referenced by init_rpm(), and rpmts_Create().


Generated on Sat Oct 1 16:25:09 2011 for rpm by  doxygen 1.4.4