python/rpmmodule.c File Reference

#include "system.h"
#include <rpmio_internal.h>
#include <rpmcli.h>
#include <rpmdb.h>
#include "legacy.h"
#include "misc.h"
#include "header_internal.h"
#include "header-py.h"
#include "rpmal-py.h"
#include "rpmds-py.h"
#include "rpmfd-py.h"
#include "rpmfts-py.h"
#include "rpmfi-py.h"
#include "rpmmi-py.h"
#include "rpmps-py.h"
#include "rpmrc-py.h"
#include "rpmte-py.h"
#include "rpmts-py.h"
#include "spec-py.h"
#include "debug.h"

Go to the source code of this file.

Module: rpm

static PyObject * archScore (PyObject *self, PyObject *args, PyObject *kwds)
static PyObject * setLogFile (PyObject *self, PyObject *args, PyObject *kwds)
static PyObject * setVerbosity (PyObject *self, PyObject *args, PyObject *kwds)
static PyObject * setEpochPromote (PyObject *self, PyObject *args, PyObject *kwds)
static PyObject * setStats (PyObject *self, PyObject *args, PyObject *kwds)
void init_rpm (void)
PyObject * pyrpmError
static PyMethodDef rpmModuleMethods []
static char rpm__doc__ []

Defines

#define REGISTER_ENUM(val)


Detailed Description

Definition in file rpmmodule.c.


Define Documentation

#define REGISTER_ENUM ( val   ) 

Value:

PyDict_SetItemString(d, #val, o=PyInt_FromLong( val )); \
    Py_DECREF(o);

Referenced by init_rpm().


Function Documentation

static PyObject* archScore ( PyObject *  self,
PyObject *  args,
PyObject *  kwds 
) [static]

Definition at line 46 of file rpmmodule.c.

References RPM_MACHTABLE_INSTARCH, and rpmMachineScore().

Referenced by archFilter().

void init_rpm ( void   ) 

Definition at line 190 of file rpmmodule.c.

References _RPMVSF_NODIGESTS, _RPMVSF_NOHEADER, _RPMVSF_NOPAYLOAD, _RPMVSF_NOSIGNATURES, ext, hdr_Type, HEADER_EXT_TAG, headerSprintfExtension_s::name, pyrpmError, REGISTER_ENUM, RPMAL_NOMATCH, rpmal_Type, RPMCALLBACK_CPIO_ERROR, RPMCALLBACK_INST_CLOSE_FILE, RPMCALLBACK_INST_OPEN_FILE, RPMCALLBACK_INST_PROGRESS, RPMCALLBACK_INST_START, RPMCALLBACK_REPACKAGE_PROGRESS, RPMCALLBACK_REPACKAGE_START, RPMCALLBACK_REPACKAGE_STOP, RPMCALLBACK_TRANS_PROGRESS, RPMCALLBACK_TRANS_START, RPMCALLBACK_TRANS_STOP, RPMCALLBACK_UNINST_PROGRESS, RPMCALLBACK_UNINST_START, RPMCALLBACK_UNINST_STOP, RPMCALLBACK_UNKNOWN, RPMCALLBACK_UNPACK_ERROR, RPMDBI_PACKAGES, RPMDEP_SENSE_CONFLICTS, RPMDEP_SENSE_REQUIRES, rpmds_Type, rpmfd_Type, rpmfi_Type, RPMFILE_CONFIG, RPMFILE_DOC, RPMFILE_EXCLUDE, RPMFILE_GHOST, RPMFILE_ICON, RPMFILE_LICENSE, RPMFILE_MISSINGOK, RPMFILE_NOREPLACE, RPMFILE_PUBKEY, RPMFILE_README, RPMFILE_STATE_NETSHARED, RPMFILE_STATE_NORMAL, RPMFILE_STATE_NOTINSTALLED, RPMFILE_STATE_REPLACED, RPMFILE_STATE_WRONGCOLOR, RPMFILE_UNPATCHED, rpmfts_Type, rpmHeaderFormats, RPMLOG_ALERT, RPMLOG_CRIT, RPMLOG_DEBUG, RPMLOG_EMERG, RPMLOG_ERR, RPMLOG_INFO, RPMLOG_NOTICE, RPMLOG_WARNING, rpmmi_Type, RPMMIRE_DEFAULT, RPMMIRE_GLOB, RPMMIRE_REGEX, RPMMIRE_STRCMP, rpmModuleMethods, RPMPROB_BADARCH, RPMPROB_BADOS, RPMPROB_BADPRETRANS, RPMPROB_BADRELOCATE, RPMPROB_CONFLICT, RPMPROB_DISKNODES, RPMPROB_DISKSPACE, RPMPROB_FILE_CONFLICT, RPMPROB_FILTER_DISKNODES, RPMPROB_FILTER_DISKSPACE, RPMPROB_FILTER_FORCERELOCATE, RPMPROB_FILTER_IGNOREARCH, RPMPROB_FILTER_IGNOREOS, RPMPROB_FILTER_OLDPACKAGE, RPMPROB_FILTER_REPLACENEWFILES, RPMPROB_FILTER_REPLACEOLDFILES, RPMPROB_FILTER_REPLACEPKG, RPMPROB_NEW_FILE_CONFLICT, RPMPROB_OLDPACKAGE, RPMPROB_PKG_INSTALLED, RPMPROB_REQUIRES, rpmrc_Type, rpmReadConfigFiles(), RPMSENSE_CONFIG, RPMSENSE_EQUAL, RPMSENSE_FIND_PROVIDES, RPMSENSE_FIND_REQUIRES, RPMSENSE_GREATER, RPMSENSE_INTERP, RPMSENSE_KEYRING, RPMSENSE_LESS, RPMSENSE_PATCHES, RPMSENSE_PREREQ, RPMSENSE_RPMLIB, RPMSENSE_SCRIPT_BUILD, RPMSENSE_SCRIPT_CLEAN, RPMSENSE_SCRIPT_INSTALL, RPMSENSE_SCRIPT_POST, RPMSENSE_SCRIPT_POSTUN, RPMSENSE_SCRIPT_PRE, RPMSENSE_SCRIPT_PREP, RPMSENSE_SCRIPT_PREUN, RPMSENSE_SCRIPT_VERIFY, RPMSENSE_SERIAL, RPMSENSE_TRIGGERIN, RPMSENSE_TRIGGERPOSTUN, RPMSENSE_TRIGGERPREIN, RPMSENSE_TRIGGERUN, rpmTagTable, rpmTagTableSize, rpmte_Type, RPMTRANS_FLAG_ADDINDEPS, RPMTRANS_FLAG_ALLFILES, RPMTRANS_FLAG_ANACONDA, RPMTRANS_FLAG_BUILD_PROBS, RPMTRANS_FLAG_JUSTDB, RPMTRANS_FLAG_KEEPOBSOLETE, RPMTRANS_FLAG_NOCONFIGS, RPMTRANS_FLAG_NODOCS, RPMTRANS_FLAG_NOMD5, RPMTRANS_FLAG_NOPOST, RPMTRANS_FLAG_NOPOSTUN, RPMTRANS_FLAG_NOPRE, RPMTRANS_FLAG_NOPREUN, RPMTRANS_FLAG_NOSCRIPTS, RPMTRANS_FLAG_NOSUGGEST, RPMTRANS_FLAG_NOTRIGGERIN, RPMTRANS_FLAG_NOTRIGGERPOSTUN, RPMTRANS_FLAG_NOTRIGGERPREIN, RPMTRANS_FLAG_NOTRIGGERS, RPMTRANS_FLAG_NOTRIGGERUN, RPMTRANS_FLAG_REPACKAGE, RPMTRANS_FLAG_REVERSE, RPMTRANS_FLAG_TEST, rpmts_Type, RPMVSF_DEFAULT, RPMVSF_NEEDPAYLOAD, RPMVSF_NODSA, RPMVSF_NODSAHEADER, RPMVSF_NOHDRCHK, RPMVSF_NOMD5, RPMVSF_NOMD5HEADER, RPMVSF_NORSA, RPMVSF_NORSAHEADER, RPMVSF_NOSHA1, RPMVSF_NOSHA1HEADER, TR_ADDED, TR_REMOVED, headerSprintfExtension_s::type, VERIFY_DIGEST, and VERIFY_SIGNATURE.

static PyObject* setEpochPromote ( PyObject *  self,
PyObject *  args,
PyObject *  kwds 
) [static]

Definition at line 105 of file rpmmodule.c.

References _rpmds_nopromote.

static PyObject* setLogFile ( PyObject *  self,
PyObject *  args,
PyObject *  kwds 
) [static]

Definition at line 62 of file rpmmodule.c.

References pyrpmError, and rpmlogSetFile().

static PyObject* setStats ( PyObject *  self,
PyObject *  args,
PyObject *  kwds 
) [static]

Definition at line 119 of file rpmmodule.c.

References _rpmts_stats.

static PyObject* setVerbosity ( PyObject *  self,
PyObject *  args,
PyObject *  kwds 
) [static]

Definition at line 88 of file rpmmodule.c.

References rpmSetVerbosity.


Variable Documentation

char rpm__doc__[] [static]

Initial value:

""

Definition at line 184 of file rpmmodule.c.

PyMethodDef rpmModuleMethods[] [static]

Definition at line 132 of file rpmmodule.c.

Referenced by init_rpm().


Generated on Wed Jan 28 12:45:27 2009 for rpm by  doxygen 1.4.7