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/rpmtypes.h | |
parent | 73ebfe9ad49e56230393ff2ffa818436b40fdedd (diff) | |
download | librpm-tizen-e97aefc89bdd10616a8bd0fce642a93148ab357a.tar.gz librpm-tizen-e97aefc89bdd10616a8bd0fce642a93148ab357a.tar.bz2 librpm-tizen-e97aefc89bdd10616a8bd0fce642a93148ab357a.zip |
Move rpmRC definition to rpmtypes
- lot of places drag in rpmlib.h just for that...
Diffstat (limited to 'lib/rpmtypes.h')
-rw-r--r-- | lib/rpmtypes.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 |