diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-11-08 10:24:58 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-11-08 10:24:58 +0200 |
commit | f7604b1a0eb6ec1bc436a2c137ae4fbc4cb1e165 (patch) | |
tree | daed4c608e6ddc20bf54017e1422c9c10edcb1c6 /lib/rpmlib.h | |
parent | 2967cb5ffa616566e7daf0487b80c335e03b2250 (diff) | |
download | rpm-f7604b1a0eb6ec1bc436a2c137ae4fbc4cb1e165.tar.gz rpm-f7604b1a0eb6ec1bc436a2c137ae4fbc4cb1e165.tar.bz2 rpm-f7604b1a0eb6ec1bc436a2c137ae4fbc4cb1e165.zip |
Remove rpmGetVar, rpmSetVar from API
Diffstat (limited to 'lib/rpmlib.h')
-rw-r--r-- | lib/rpmlib.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/rpmlib.h b/lib/rpmlib.h index 1a88cec3b..2dba82503 100644 --- a/lib/rpmlib.h +++ b/lib/rpmlib.h @@ -508,27 +508,6 @@ typedef enum rpmsenseFlags_e { /* ==================================================================== */ /** \name RPMRC */ -/* Stuff for maintaining "variables" like SOURCEDIR, BUILDDIR, etc */ -#define RPMVAR_OPTFLAGS 3 -#define RPMVAR_INCLUDE 43 -#define RPMVAR_MACROFILES 49 - -#define RPMVAR_NUM 55 /* number of RPMVAR entries */ - -/** \ingroup rpmrc - * Return value of an rpmrc variable. - * @deprecated Use rpmExpand() with appropriate macro expression. - * @todo Eliminate from API. - */ -extern const char * rpmGetVar(int var); - -/** \ingroup rpmrc - * Set value of an rpmrc variable. - * @deprecated Use rpmDefineMacro() to change appropriate macro instead. - * @todo Eliminate from API. - */ -void rpmSetVar(int var, const char * val); - /** \ingroup rpmrc * Build and install arch/os table identifiers. * @todo Eliminate from API. |