# Deprecated List

Global addMacro (rpmMacroContext mc, const char *n, const char *o, const char *b, int level)
  Use rpmDefineMacro().

Global expandMacros (void *spec, rpmMacroContext mc, char *sbuf, size_t slen)
  Use rpmExpand().

Global rpmfiMD5 (rpmfi fi)
  Use rpmfiFDigest() instead

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 rpmSetTables (int archTable, int osTable)
  Use addMacro to set _target_* macros.

Global rpmShowProgress (const void *arg, const rpmCallbackType what, const rpm_loff_t amount, const rpm_loff_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 rpmtsInitDB (rpmts ts, int dbmode)
  An explicit rpmdbInit() is almost never needed.