rpm  5.4.15
Deprecated List
Global addMacro (MacroContext mc, const char *n, const char *o, const char *b, int level)
Use rpmDefineMacro().
Parameters
mcmacro context (NULL uses global context).
nmacro name
omacro paramaters
bmacro body
levelmacro recursion level (0 is entry API)
File buildio.h
this information will move elsewhere eventually.
Global doputenv (const char *str)
Use setenv(3) instead.
Parameters
str"name=value" string
Returns
0 on success
Global dosetenv (const char *name, const char *value, int overwrite)
Use setenv(3) instead.
Parameters
namevariable name
valuevariable value
overwriteshould an existing variable be changed?
Returns
0 on success
Global expandMacros (void *spec, MacroContext mc, char *sbuf, size_t slen)
Use rpmExpand().
Global rpm_machtable_e
Eliminate from API.
Class Rpmdb

Use mi = ts.dbMatch() (or db.match()) instead.

Use hdr = mi.next() instead.

Use mi = ts.dbMatch('basename') instead.

Use mi = ts.dbMatch('name') instead.

Use mi = ts.dbMmatch('providename') instead.

Global rpmInstallSourcePackage (rpmts ts, void *_fd, const char **specFilePtr, const char **cookie)
This routine needs to DIE! DIE! DIE!.
Class rpmlead
The lead (except for signature_type) is legacy.
Global rpmlogCode (void)
Perl-RPM needs, what's really needed is predictable, non-i18n encumbered, error text that can be retrieved through rpmlogMessage() and parsed IMHO.
Returns
code from last message
Global rpmSetTables (int archTable, int osTable)
Use addMacro to set target* macros.
Global rpmShowProgress (const void *arg, const rpmCallbackType what, const rpmuint64_t amount, const rpmuint64_t total, fnpyKey key, void *data)
Transaction callback arguments need to change, so don't rely on this routine in the rpmcli API.
Global RPMSIGTAG_LEMD5_1
legacy.
Global RPMSIGTAG_LEMD5_2
legacy.
Global RPMSIGTAG_PGP5
legacy.
Global rpmtsAvailable (rpmts ts, const rpmds ds)
This function will move from rpmlib to the python bindings.
Parameters
tstransaction set
dsdependency set
Returns
0 if resolved (and added to ts), 1 not found
Global rpmtsInitDB (rpmts ts, int dbmode)
An explicit rpmdbInit() is never needed.
Parameters
tstransaction set
dbmodeO_RDONLY or O_RDWR
Returns
0 on success
Global rpmtsVerifyDB (rpmts ts)
Use included standalone db_verify(1) utility instead.
Parameters
tstransaction set
Returns
0 on success