Bury rpmdb flags inside rpmdb.c, not used by anything outside it

This commit is contained in:
Panu Matilainen 2010-04-06 12:59:06 +03:00
parent 46de075bfa
commit cd12be9dbb
2 changed files with 6 additions and 10 deletions

View File

@ -37,6 +37,12 @@
static int _rebuildinprogress = 0; static int _rebuildinprogress = 0;
enum rpmdbFlags {
RPMDB_FLAG_JUSTCHECK = (1 << 0),
RPMDB_FLAG_MINIMAL = (1 << 1),
RPMDB_FLAG_CHROOT = (1 << 2)
};
#define _DBI_FLAGS 0 #define _DBI_FLAGS 0
#define _DBI_PERMS 0644 #define _DBI_PERMS 0644
#define _DBI_MAJOR -1 #define _DBI_MAJOR -1

View File

@ -38,16 +38,6 @@ struct rpmdb_s {
int nrefs; /*!< Reference count. */ int nrefs; /*!< Reference count. */
}; };
/* for RPM's internal use only */
/** \ingroup rpmdb
*/
enum rpmdbFlags {
RPMDB_FLAG_JUSTCHECK = (1 << 0),
RPMDB_FLAG_MINIMAL = (1 << 1),
RPMDB_FLAG_CHROOT = (1 << 2)
};
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif