#include "system.h"
#include <rpmlib.h>
#include "header-py.h"
#include "rpmds-py.h"
#include "debug.h"
Go to the source code of this file.
Functions | |
static void | rpmds_ParseEVR (char *evr, const char **ep, const char **vp, const char **rp) |
Split EVR into epoch, version, and release components. | |
static PyObject * | rpmds_Debug (rpmdsObject *s, PyObject *args, PyObject *kwds) |
static PyObject * | rpmds_Count (rpmdsObject *s) |
static PyObject * | rpmds_Ix (rpmdsObject *s) |
static PyObject * | rpmds_DNEVR (rpmdsObject *s) |
static PyObject * | rpmds_N (rpmdsObject *s) |
static PyObject * | rpmds_EVR (rpmdsObject *s) |
static PyObject * | rpmds_Flags (rpmdsObject *s) |
static PyObject * | rpmds_BT (rpmdsObject *s) |
static PyObject * | rpmds_TagN (rpmdsObject *s) |
static PyObject * | rpmds_Color (rpmdsObject *s) |
static PyObject * | rpmds_Refs (rpmdsObject *s) |
static int | compare_values (const char *str1, const char *str2) |
static int | rpmds_compare (rpmdsObject *a, rpmdsObject *b) |
static PyObject * | rpmds_richcompare (rpmdsObject *a, rpmdsObject *b, int op) |
static PyObject * | rpmds_iter (rpmdsObject *s) |
static PyObject * | rpmds_iternext (rpmdsObject *s) |
static PyObject * | rpmds_Next (rpmdsObject *s) |
static PyObject * | rpmds_SetNoPromote (rpmdsObject *s, PyObject *args, PyObject *kwds) |
static PyObject * | rpmds_Notify (rpmdsObject *s, PyObject *args, PyObject *kwds) |
static PyObject * | rpmds_Sort (rpmdsObject *s) |
static PyObject * | rpmds_Find (rpmdsObject *s, PyObject *args, PyObject *kwds) |
static PyObject * | rpmds_Merge (rpmdsObject *s, PyObject *args, PyObject *kwds) |
static void | rpmds_dealloc (rpmdsObject *s) |
static int | rpmds_print (rpmdsObject *s, FILE *fp, int flags) |
static PyObject * | rpmds_getattro (PyObject *o, PyObject *n) |
static int | rpmds_setattro (PyObject *o, PyObject *n, PyObject *v) |
static int | rpmds_length (rpmdsObject *s) |
static PyObject * | rpmds_subscript (rpmdsObject *s, PyObject *key) |
static int | rpmds_init (rpmdsObject *s, PyObject *args, PyObject *kwds) |
static void | rpmds_free (rpmdsObject *s) |
static PyObject * | rpmds_alloc (PyTypeObject *subtype, int nitems) |
static PyObject * | rpmds_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds) |
rpmds | dsFromDs (rpmdsObject *s) |
rpmdsObject * | rpmds_Wrap (rpmds ds) |
rpmdsObject * | rpmds_Single (PyObject *s, PyObject *args, PyObject *kwds) |
rpmdsObject * | hdr_dsFromHeader (PyObject *s, PyObject *args, PyObject *kwds) |
rpmdsObject * | hdr_dsOfHeader (PyObject *s) |
Variables | |
static struct PyMethodDef | rpmds_methods [] |
static PyMappingMethods | rpmds_as_mapping |
static char | rpmds_doc [] |
PyTypeObject | rpmds_Type |
Definition in file rpmds-py.c.
static int compare_values | ( | const char * | str1, | |
const char * | str2 | |||
) | [static] |
rpmds dsFromDs | ( | rpmdsObject * | s | ) |
rpmdsObject* hdr_dsFromHeader | ( | PyObject * | s, | |
PyObject * | args, | |||
PyObject * | kwds | |||
) |
Definition at line 693 of file rpmds-py.c.
References hdrGetHeader(), rpmds_Wrap(), rpmdsNew(), RPMTAG_REQUIRENAME, and tagNumFromPyObject().
rpmdsObject* hdr_dsOfHeader | ( | PyObject * | s | ) |
Definition at line 716 of file rpmds-py.c.
References hdrGetHeader(), rpmds_Wrap(), rpmdsThis(), RPMSENSE_EQUAL, and RPMTAG_PROVIDENAME.
static PyObject* rpmds_BT | ( | rpmdsObject * | s | ) | [static] |
static PyObject* rpmds_Color | ( | rpmdsObject * | s | ) | [static] |
static int rpmds_compare | ( | rpmdsObject * | a, | |
rpmdsObject * | b | |||
) | [static] |
Definition at line 174 of file rpmds-py.c.
References _free(), compare_values(), rpmdsObject_s::ds, rpmds_ParseEVR(), rpmdsEVR(), and xstrdup().
static PyObject* rpmds_Count | ( | rpmdsObject * | s | ) | [static] |
static void rpmds_dealloc | ( | rpmdsObject * | s | ) | [static] |
static PyObject* rpmds_Debug | ( | rpmdsObject * | s, | |
PyObject * | args, | |||
PyObject * | kwds | |||
) | [static] |
static PyObject* rpmds_DNEVR | ( | rpmdsObject * | s | ) | [static] |
static PyObject* rpmds_EVR | ( | rpmdsObject * | s | ) | [static] |
static PyObject* rpmds_Find | ( | rpmdsObject * | s, | |
PyObject * | args, | |||
PyObject * | kwds | |||
) | [static] |
Definition at line 329 of file rpmds-py.c.
References rpmdsObject_s::ds, rpmdsFind(), rpmdsIx(), and rpmdsSetIx().
static PyObject* rpmds_Flags | ( | rpmdsObject * | s | ) | [static] |
static PyObject* rpmds_getattro | ( | PyObject * | o, | |
PyObject * | n | |||
) | [static] |
Definition at line 470 of file rpmds-py.c.
static PyObject* rpmds_iter | ( | rpmdsObject * | s | ) | [static] |
Definition at line 226 of file rpmds-py.c.
static PyObject* rpmds_iternext | ( | rpmdsObject * | s | ) | [static] |
Definition at line 235 of file rpmds-py.c.
References rpmdsObject_s::active, rpmdsObject_s::ds, rpmds_Wrap(), rpmdsEVR(), rpmdsFlags(), rpmdsInit(), rpmdsN(), rpmdsNext(), rpmdsSingle(), rpmdsTagN(), and xstrdup().
Referenced by rpmds_Next().
static PyObject* rpmds_Ix | ( | rpmdsObject * | s | ) | [static] |
static int rpmds_length | ( | rpmdsObject * | s | ) | [static] |
static PyObject* rpmds_Merge | ( | rpmdsObject * | s, | |
PyObject * | args, | |||
PyObject * | kwds | |||
) | [static] |
static PyObject* rpmds_N | ( | rpmdsObject * | s | ) | [static] |
static PyObject* rpmds_Next | ( | rpmdsObject * | s | ) | [static] |
static PyObject* rpmds_Notify | ( | rpmdsObject * | s, | |
PyObject * | args, | |||
PyObject * | kwds | |||
) | [static] |
static void rpmds_ParseEVR | ( | char * | evr, | |
const char ** | ep, | |||
const char ** | vp, | |||
const char ** | rp | |||
) | [static] |
Split EVR into epoch, version, and release components.
evr | [epoch:]version[-release] string |
*ep | pointer to epoch | |
*vp | pointer to version | |
*rp | pointer to release |
Definition at line 24 of file rpmds-py.c.
References xisdigit().
Referenced by rpmds_compare().
static int rpmds_print | ( | rpmdsObject * | s, | |
FILE * | fp, | |||
int | flags | |||
) | [static] |
Definition at line 457 of file rpmds-py.c.
References rpmdsObject_s::ds, rpmdsDNEVR(), rpmdsInit(), and rpmdsNext().
static PyObject* rpmds_Refs | ( | rpmdsObject * | s | ) | [static] |
static PyObject* rpmds_richcompare | ( | rpmdsObject * | a, | |
rpmdsObject * | b, | |||
int | op | |||
) | [static] |
static int rpmds_setattro | ( | PyObject * | o, | |
PyObject * | n, | |||
PyObject * | v | |||
) | [static] |
Definition at line 476 of file rpmds-py.c.
static PyObject* rpmds_SetNoPromote | ( | rpmdsObject * | s, | |
PyObject * | args, | |||
PyObject * | kwds | |||
) | [static] |
rpmdsObject* rpmds_Single | ( | PyObject * | s, | |
PyObject * | args, | |||
PyObject * | kwds | |||
) |
Definition at line 667 of file rpmds-py.c.
References rpmds_Wrap(), rpmdsSingle(), RPMTAG_PROVIDENAME, tagNumFromPyObject(), and xstrdup().
static PyObject* rpmds_Sort | ( | rpmdsObject * | s | ) | [static] |
Definition at line 318 of file rpmds-py.c.
static PyObject* rpmds_subscript | ( | rpmdsObject * | s, | |
PyObject * | key | |||
) | [static] |
Definition at line 491 of file rpmds-py.c.
References rpmdsObject_s::ds, rpmdsDNEVR(), rpmdsNext(), and rpmdsSetIx().
static PyObject* rpmds_TagN | ( | rpmdsObject * | s | ) | [static] |
rpmdsObject* rpmds_Wrap | ( | rpmds | ds | ) |
Definition at line 655 of file rpmds-py.c.
References rpmdsObject_s::active, and rpmdsObject_s::ds.
Referenced by hdr_dsFromHeader(), hdr_dsOfHeader(), rpmds_iternext(), rpmds_Single(), and rpmte_DS().
PyMappingMethods rpmds_as_mapping [static] |
Initial value:
{ (inquiry) rpmds_length, (binaryfunc) rpmds_subscript, (objobjargproc)0, }
Definition at line 508 of file rpmds-py.c.
char rpmds_doc[] [static] |
struct PyMethodDef rpmds_methods[] [static] |
Definition at line 398 of file rpmds-py.c.
PyTypeObject rpmds_Type |
Definition at line 598 of file rpmds-py.c.
Referenced by init_rpm(), rpmal_Add(), and rpmal_AddProvides().