rpm  5.4.14
Files | Data Structures | Typedefs | Functions | Variables
PYTHON-C Language Bindings.

Files

file  header-py.c
 
file  header-py.h
 
file  spec-py.c
 
file  spec-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  rpmte-py.c
 
file  rpmte-py.h
 
file  rpmts-py.c
 
file  rpmts-py.h
 

Data Structures

struct  hdrObject_s
 
struct  specObject_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  rpmteObject_s
 
struct  rpmtsCallbackType_s
 
struct  rpmtsObject_s
 

Typedefs

typedef struct specObject_s specObject
 

Functions

static void hdr_dealloc (hdrObject *s)
 
static PyObject * hdr_subscript (hdrObject *s, PyObject *item)
 
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 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
 
PyTypeObject spec_Type
 
static struct PyMethodDef rpmfd_methods []
 
static void
 
PyTypeObject rpmfd_Type
 
static struct PyMethodDef rpmfts_methods []
 
PyTypeObject rpmfts_Type
 
static struct PyMethodDef rpmmi_methods []
 
PyTypeObject rpmmi_Type
 
static struct PyMethodDef rpmte_methods []
 
PyTypeObject rpmte_Type
 
static struct PyMethodDef rpmts_methods []
 
PyTypeObject rpmts_Type
 

Type: _rpm.hdr

typedef struct hdrObject_s hdrObject
 
PyTypeObject hdr_Type
 
PyObject * pyrpmError
 
rpmTag tagNumFromPyObject (PyObject *item)
 
hdrObjecthdr_Wrap (Header h)
 
Header hdrGetHeader (hdrObject *h)
 
PyObject * evrSplit (PyObject *self, PyObject *args, PyObject *kwds)
 
PyObject * evrCompare (PyObject *self, PyObject *args, PyObject *kwds)
 
PyObject * labelCompare (PyObject *self, PyObject *args)
 
PyObject * versionCompare (PyObject *self, PyObject *args, PyObject *kwds)
 
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 * rpmHeaderToFile (PyObject *self, PyObject *args, PyObject *kwds)
 
PyObject * rpmHeaderToFD (PyObject *self, PyObject *args, PyObject *kwds)
 
PyObject * rpmReadHeaders (FD_t fd)
 
PyObject * rpmWriteHeaders (PyObject *list, FD_t fd)
 
PyObject * rhnLoad (PyObject *self, PyObject *args, PyObject *kwds)
 
PyObject * hdrLoad (PyObject *self, PyObject *args, PyObject *kwds)
 

Type: _rpm.al

typedef struct rpmalObject_s rpmalObject
 
PyTypeObject rpmal_Type
 
rpmalObjectrpmal_Wrap (rpmal al)
 

Type: _rpm.db

typedef struct rpmdbObject_s rpmdbObject
 
PyTypeObject rpmdb_Type
 

Type: _rpm.ds

typedef struct rpmdsObject_s rpmdsObject
 
PyTypeObject rpmds_Type
 
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)
 

Type: _rpm.fd

typedef struct rpmfdObject_s rpmfdObject
 
PyTypeObject rpmfd_Type
 
rpmfdObjectrpmfd_Wrap (FD_t fd)
 

Class: Rpmfi

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)
 

Type: _rpm.fi

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

Type: _rpm.fts

typedef struct rpmftsObject_s rpmftsObject
 
PyTypeObject rpmfts_Type
 

Type: _rpm.mi

typedef struct rpmmiObject_s rpmmiObject
 
PyTypeObject rpmmi_Type
 
rpmmiObjectrpmmi_Wrap (rpmmi mi)
 

Module: rpm

sigset_t rpmsqCaught
 
static PyObject * archScore (PyObject *s, PyObject *args, PyObject *kwds)
 
static PyObject * platformScore (PyObject *s, PyObject *args, PyObject *kwds)
 
static PyObject * signalsCaught (PyObject *s, PyObject *check)
 
static PyObject * checkSignals (PyObject *s, PyObject *args)
 
static PyObject * setLogFile (PyObject *s, PyObject *args, PyObject *kwds)
 
static PyObject * setVerbosity (PyObject *s, PyObject *args, PyObject *kwds)
 
static PyObject * setEpochPromote (PyObject *s, PyObject *args, PyObject *kwds)
 
static PyObject * setStats (PyObject *s, PyObject *args, PyObject *kwds)
 

Type: _rpm.ps

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

Type: _rpm.te

typedef struct rpmteObject_s rpmteObject
 
PyTypeObject rpmte_Type
 
rpmteObjectrpmte_Wrap (rpmte te)
 

Type: _rpm.ts

typedef struct rpmtsObject_s rpmtsObject
 
PyTypeObject rpmts_Type
 
PyObject * rpmts_Create (PyObject *s, PyObject *args, PyObject *kwds)
 

Detailed Description

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 rpmteObject_s rpmteObject
typedef struct rpmtsObject_s rpmtsObject
typedef struct specObject_s specObject

Function Documentation

static PyObject* archScore ( PyObject *  s,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 57 of file rpmmodule.c.

References _free(), kwlist, NULL, platform, Py_BuildValue(), rpmExpand(), and rpmPlatformScore().

static PyObject* checkSignals ( PyObject *  s,
PyObject *  args 
)
static

Definition at line 133 of file rpmmodule.c.

References NULL, Py_INCREF(), Py_None, and rpmdbCheckSignals().

rpmds dsFromDs ( rpmdsObject ds)

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

References rpmdsObject_s::ds.

PyObject* evrCompare ( PyObject *  self,
PyObject *  args,
PyObject *  kwds 
)

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

References kwlist, NULL, rc, rpmEVRcompare(), rpmEVRfree(), rpmEVRnew(), rpmEVRparse(), and RPMSENSE_EQUAL.

PyObject* evrSplit ( PyObject *  self,
PyObject *  args,
PyObject *  kwds 
)
rpmfi fiFromFi ( rpmfiObject fi)

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

References rpmfiObject_s::fi.

static void hdr_dealloc ( hdrObject s)
static

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

References hdrObject_s::h, headerFree, NULL, PyObject_Del(), and void.

rpmdsObject* hdr_dsFromHeader ( PyObject *  s,
PyObject *  args,
PyObject *  kwds 
)
rpmdsObject* hdr_dsOfHeader ( PyObject *  s)

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

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

rpmfiObject* hdr_fiFromHeader ( PyObject *  s,
PyObject *  args,
PyObject *  kwds 
)
static PyObject* hdr_subscript ( hdrObject s,
PyObject *  item 
)
static
hdrObject* hdr_Wrap ( Header  h)

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

References hdrObject_s::h, and headerLink().

Referenced by for(), hdrLoad(), rpmReadHeaders(), rpmSingleHeaderFromFD(), and switch().

Header hdrGetHeader ( hdrObject h)

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

References hdrObject_s::h.

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

PyObject* hdrLoad ( PyObject *  self,
PyObject *  args,
PyObject *  kwds 
)

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

References h, hdr_Wrap(), headerAllocated(), headerFree, headerLoad(), kwlist, len, NULL, pyrpmError, and void.

PyObject* labelCompare ( PyObject *  self,
PyObject *  args 
)

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

References b, NULL, Py_BuildValue(), rc, rpmEVRcompare(), rpmEVRfree(), rpmEVRnew(), and RPMSENSE_EQUAL.

static PyObject* platformScore ( PyObject *  s,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 81 of file rpmmodule.c.

References kwlist, NULL, platform, Py_BuildValue(), and rpmPlatformScore().

rpmps psFromPs ( rpmpsObject ps)

Definition at line 403 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 191 of file rpmal-py.c.

References rpmalObject_s::al, NULL, and s.

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

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

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

rpmdsObject* rpmds_Wrap ( rpmds  ds)

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

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

Referenced by hdr_dsFromHeader(), hdr_dsOfHeader(), and rpmds_Single().

rpmfdObject* rpmfd_Wrap ( FD_t  fd)

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

References rpmfdObject_s::fd, fd, NULL, and s.

static PyObject* rpmfi_alloc ( PyTypeObject *  subtype,
int  nitems 
)
static

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

References _rpmfi_debug, fprintf(), and s.

static void rpmfi_free ( rpmfiObject s)
static

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

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

Referenced by rpmfi_new().

static int rpmfi_init ( rpmfiObject s,
PyObject *  args,
PyObject *  kwds 
)
static
static PyObject* rpmfi_new ( PyTypeObject *  subtype,
PyObject *  args,
PyObject *  kwds 
)
static

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

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

rpmfiObject* rpmfi_Wrap ( rpmfi  fi)

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

References rpmfiObject_s::active, rpmfiObject_s::fi, fi, NULL, and s.

Referenced by hdr_fiFromHeader().

PyObject* rpmHeaderFromFD ( PyObject *  self,
PyObject *  args,
PyObject *  kwds 
)

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

References Fclose(), fd, fdDup(), kwlist, list, NULL, and rpmReadHeaders().

PyObject* rpmHeaderFromFile ( PyObject *  self,
PyObject *  args,
PyObject *  kwds 
)

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

References Fclose(), fd, Fopen(), kwlist, list, NULL, pyrpmError, and rpmReadHeaders().

PyObject* rpmHeaderToFD ( PyObject *  self,
PyObject *  args,
PyObject *  kwds 
)

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

References Fclose(), fd, fdDup(), kwlist, list, NULL, ret, and rpmWriteHeaders().

PyObject* rpmHeaderToFile ( PyObject *  self,
PyObject *  args,
PyObject *  kwds 
)

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

References Fclose(), fd, Fopen(), kwlist, list, NULL, pyrpmError, ret, and rpmWriteHeaders().

static void rpmmi_dealloc ( rpmmiObject s)
static

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

References rpmmiObject_s::mi, PyObject_Del(), and rpmmiFree().

rpmmiObject* rpmmi_Wrap ( rpmmi  mi)

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

References rpmmiObject_s::mi, mi, NULL, and pyrpmError.

static PyObject* rpmps_alloc ( PyTypeObject *  subtype,
int  nitems 
)
static

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

References _rpmps_debug, fprintf(), and s.

static void rpmps_free ( rpmpsObject s)
static

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

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

Referenced by rpmps_new().

static int rpmps_init ( rpmpsObject s,
PyObject *  args,
PyObject *  kwds 
)
static

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

References _rpmps_debug, fprintf(), kwlist, NULL, rpmpsObject_s::ps, rpmpsObject_s::psi, and rpmpsCreate().

Referenced by rpmps_new().

static PyObject* rpmps_new ( PyTypeObject *  subtype,
PyObject *  args,
PyObject *  kwds 
)
static

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

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

rpmpsObject* rpmps_Wrap ( rpmps  ps)

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

References NULL, rpmpsObject_s::ps, ps, rpmpsObject_s::psi, and s.

PyObject* rpmReadHeaders ( FD_t  fd)
PyObject* rpmSingleHeaderFromFD ( PyObject *  self,
PyObject *  args,
PyObject *  kwds 
)
rpmteObject* rpmte_Wrap ( rpmte  te)

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

References NULL, s, rpmteObject_s::te, and te.

static PyObject* rpmts_alloc ( PyTypeObject *  subtype,
int  nitems 
)
static

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

References _rpmts_debug, fprintf(), and s.

PyObject* rpmts_Create ( PyObject *  s,
PyObject *  args,
PyObject *  kwds 
)

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

static void rpmts_dealloc ( rpmtsObject s)
static
static void rpmts_free ( rpmtsObject s)
static
static int rpmts_init ( rpmtsObject s,
PyObject *  args,
PyObject *  kwds 
)
static

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

static PyObject* rpmts_new ( PyTypeObject *  subtype,
PyObject *  args,
PyObject *  kwds 
)
static
static int rpmts_setattro ( PyObject *  o,
PyObject *  n,
PyObject *  v 
)
static
PyObject* rpmWriteHeaders ( PyObject *  list,
FD_t  fd 
)

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

References _free(), count, hdrObject_s::h, msg, NULL, pyrpmError, rc, rpmlog(), RPMLOG_ERR, rpmpkgWrite(), and RPMRC_OK.

Referenced by rpmHeaderToFD(), and rpmHeaderToFile().

static PyObject* setEpochPromote ( PyObject *  s,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 187 of file rpmmodule.c.

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

static PyObject* setLogFile ( PyObject *  s,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 143 of file rpmmodule.c.

References kwlist, NULL, Py_INCREF(), Py_None, pyrpmError, rpmlogSetFile(), and void.

static PyObject* setStats ( PyObject *  s,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 201 of file rpmmodule.c.

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

static PyObject* setVerbosity ( PyObject *  s,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 170 of file rpmmodule.c.

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

static PyObject* signalsCaught ( PyObject *  s,
PyObject *  check 
)
static

Definition at line 98 of file rpmmodule.c.

References i, newMask, NULL, o, oldMask, PyList_Append(), rpmsqCaught, and void.

rpmTag tagNumFromPyObject ( PyObject *  item)
PyObject* versionCompare ( PyObject *  self,
PyObject *  args,
PyObject *  kwds 
)

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

References hdr_compare(), kwlist, NULL, and Py_BuildValue().

Variable Documentation

PyMappingMethods hdr_as_mapping
static
Initial value:
= {
(lenfunc) 0,
(binaryfunc) hdr_subscript,
(objobjargproc) 0,
}
static PyObject * hdr_subscript(hdrObject *s, PyObject *item)
Definition: header-py.c:379

Definition at line 606 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 },
{"getorigin", (PyCFunction) hdrGetOrigin, METH_NOARGS,
NULL },
{"setorigin", (PyCFunction) hdrSetOrigin, METH_VARARGS|METH_KEYWORDS,
NULL },
{"sprintf", (PyCFunction) hdrSprintf, METH_VARARGS|METH_KEYWORDS,
NULL },
{"isSource", (PyCFunction)hdrIsSource, METH_NOARGS,
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}
}
static PyObject * hdrGetOrigin(hdrObject *s)
Definition: header-py.c:253
static PyObject * hdrSetOrigin(hdrObject *s, PyObject *args, PyObject *kwds)
Definition: header-py.c:268
static PyObject * hdrUnload(hdrObject *s, PyObject *args, PyObject *keywords)
Definition: header-py.c:212
rpmdsObject * hdr_dsFromHeader(PyObject *s, PyObject *args, PyObject *kwds)
Definition: rpmds-py.c:841
rpmfiObject * hdr_fiFromHeader(PyObject *s, PyObject *args, PyObject *kwds)
Definition: rpmfi-py.c:616
static PyObject * hdrSprintf(hdrObject *s, PyObject *args, PyObject *kwds)
Definition: header-py.c:286
return NULL
Definition: poptALL.c:613
static PyObject * hdrIsSource(hdrObject *s)
Definition: header-py.c:152
static PyObject * hdrKeyList(hdrObject *s)
Definition: header-py.c:165
rpmdsObject * hdr_dsOfHeader(PyObject *s)
Definition: rpmds-py.c:864

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

PyTypeObject hdr_Type

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

Referenced by init_rpm(), rpmds_init(), and rpmfi_init().

PyTypeObject hdr_Type

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

Referenced by init_rpm(), rpmds_init(), and rpmfi_init().

PyObject* pyrpmError
PyTypeObject rpmal_Type

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

Referenced by init_rpm().

PyTypeObject rpmdb_Type

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

PyTypeObject rpmds_Type

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

Referenced by init_rpm().

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}
}
static PyObject * rpmfd_Debug(rpmfdObject *s, PyObject *args, PyObject *kwds)
Definition: rpmfd-py.c:92
return NULL
Definition: poptALL.c:613

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

PyTypeObject rpmfd_Type

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

Referenced by init_rpm().

PyTypeObject rpmfd_Type

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

Referenced by init_rpm().

PyTypeObject rpmfi_Type

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

Referenced by init_rpm().

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}
}
static PyObject * rpmfts_Debug(rpmftsObject *s, PyObject *args, PyObject *kwds)
Definition: rpmfts-py.c:180
return NULL
Definition: poptALL.c:613

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

PyTypeObject rpmfts_Type

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

Referenced by init_rpm().

PyTypeObject rpmfts_Type

Definition at line 543 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}
}
return NULL
Definition: poptALL.c:613

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

PyTypeObject rpmmi_Type

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

Referenced by init_rpm().

PyTypeObject rpmmi_Type

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

Referenced by init_rpm().

PyTypeObject rpmps_Type

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

Referenced by init_rpm().

sigset_t rpmsqCaught

Definition at line 352 of file rpmsq.c.

Referenced by rpmdbCheckSignals(), rpmdbCheckTerminate(), and signalsCaught().

struct PyMethodDef rpmte_methods[]
static

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

PyTypeObject rpmte_Type

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

Referenced by init_rpm().

PyTypeObject rpmte_Type

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

Referenced by init_rpm().

struct PyMethodDef rpmts_methods[]
static

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

PyTypeObject rpmts_Type

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

Referenced by init_rpm().

PyTypeObject rpmts_Type

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

Referenced by init_rpm().

PyTypeObject spec_Type

Definition at line 216 of file spec-py.c.

Referenced by init_rpm().

void
static

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

Referenced by closeCallback(), and if().