rpm  4.5
Deprecated List
Global addMacro (MacroContext mc, const char *n, const char *o, const char *b, int level)
Use rpmDefineMacro().
File buildio.h
this information will move elsewhere eventually.
Global expandMacros (void *spec, MacroContext mc, char *sbuf, size_t slen)
Use rpmExpand().
Global headerFreeData (const void *data, rpmTagType type)
Use headerFreeTag() instead.
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 rpmErrorCode (void)
Perl-RPM needs, use rpmlogCode() instead.
Global rpmErrorSetCallback (rpmlogCallback cb)
gnorpm needs, use rpmlogSetCallback() instead.
Global rpmErrorString (void)
gnorpm needs, use rpmlogMessage() instead.
Global rpmGetArchInfo (const char **name, int *num)
Expand %{_host_cpu}/%{_target_cpu} for the canonical/current cpu.
Global rpmGetOsInfo (const char **name, int *num)
Expand %{_host_os}/%{_target_os} for the canonical/current os.
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.
Global rpmMachineScore (int type, const char *name)
Use rpmPlatformScore instead.
Global rpmRcfiles
The rpmrc files are no longer parsed by default.
Global rpmSetMachine (const char *arch, const char *os)
Use addMacro to set _target_* macros.
Global rpmSetTables (int archTable, int osTable)
Use addMacro to set _target_* macros.
Global rpmSetVar (int var, const char *val)
Use rpmDefineMacro() to change appropriate macro instead.
Global rpmShowProgress (const void *arg, const rpmCallbackType what, const unsigned long long amount, const unsigned long long 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.
Global rpmtsInitDB (rpmts ts, int dbmode)
An explicit rpmdbInit() is almost never needed.
Global rpmVersionCompare (Header first, Header second)
Use rpmdsCompare instead.