diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-01-30 11:55:06 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-01-30 11:55:06 +0200 |
commit | e97aefc89bdd10616a8bd0fce642a93148ab357a (patch) | |
tree | cb54d8e5170f986741cc3c13671d5a721d01fe95 /lib | |
parent | 73ebfe9ad49e56230393ff2ffa818436b40fdedd (diff) | |
download | rpm-e97aefc89bdd10616a8bd0fce642a93148ab357a.tar.gz rpm-e97aefc89bdd10616a8bd0fce642a93148ab357a.tar.bz2 rpm-e97aefc89bdd10616a8bd0fce642a93148ab357a.zip |
Move rpmRC definition to rpmtypes
- lot of places drag in rpmlib.h just for that...
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rpmlib.h | 11 | ||||
-rw-r--r-- | lib/rpmtypes.h | 11 |
2 files changed, 11 insertions, 11 deletions
diff --git a/lib/rpmlib.h b/lib/rpmlib.h index 11a4575a3..c5690e3e2 100644 --- a/lib/rpmlib.h +++ b/lib/rpmlib.h @@ -17,17 +17,6 @@ extern "C" { #endif -/** - * Package read return codes. - */ -typedef enum rpmRC_e { - RPMRC_OK = 0, /*!< Generic success code */ - RPMRC_NOTFOUND = 1, /*!< Generic not found code. */ - RPMRC_FAIL = 2, /*!< Generic failure code. */ - RPMRC_NOTTRUSTED = 3, /*!< Signature is OK, but key is not trusted. */ - RPMRC_NOKEY = 4 /*!< Public key is unavailable. */ -} rpmRC; - extern struct rpmMacroContext_s * rpmGlobalMacroContext; extern struct rpmMacroContext_s * rpmCLIMacroContext; diff --git a/lib/rpmtypes.h b/lib/rpmtypes.h index 53e74d020..1bb087eef 100644 --- a/lib/rpmtypes.h +++ b/lib/rpmtypes.h @@ -39,6 +39,17 @@ typedef struct rpmSpec_s * rpmSpec; typedef const void * fnpyKey; +/** + * Package read return codes. + */ +typedef enum rpmRC_e { + RPMRC_OK = 0, /*!< Generic success code */ + RPMRC_NOTFOUND = 1, /*!< Generic not found code. */ + RPMRC_FAIL = 2, /*!< Generic failure code. */ + RPMRC_NOTTRUSTED = 3, /*!< Signature is OK, but key is not trusted. */ + RPMRC_NOKEY = 4 /*!< Public key is unavailable. */ +} rpmRC; + #ifdef __cplusplus } #endif |