diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-01-30 10:16:14 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-01-30 10:16:14 +0200 |
commit | 66345bfc5a141f30625746d087ce9d721746c8b8 (patch) | |
tree | dad930dd72a06a49d078323298e8a2d7c044ab69 | |
parent | 0760e7389fc6c574cbaabb5788e29a69d3fa9dfb (diff) | |
download | rpm-66345bfc5a141f30625746d087ce9d721746c8b8.tar.gz rpm-66345bfc5a141f30625746d087ce9d721746c8b8.tar.bz2 rpm-66345bfc5a141f30625746d087ce9d721746c8b8.zip |
Move header tagdata types from header.h to rpmtypes.h
-rw-r--r-- | lib/rpmtypes.h | 9 | ||||
-rw-r--r-- | rpmdb/header.h | 14 |
2 files changed, 9 insertions, 14 deletions
diff --git a/lib/rpmtypes.h b/lib/rpmtypes.h index 96a17a0f7..5582b5e9e 100644 --- a/lib/rpmtypes.h +++ b/lib/rpmtypes.h @@ -7,4 +7,13 @@ #include <rpm/rpmints.h> +typedef const char * errmsg_t; + +typedef int32_t rpm_tag_t; +typedef uint32_t rpm_tagtype_t; +typedef uint32_t rpm_count_t; + +typedef void * rpm_data_t; +typedef const void * rpm_constdata_t; + #endif /* _RPMTYPES_H */ diff --git a/rpmdb/header.h b/rpmdb/header.h index 3f6a8e549..971488588 100644 --- a/rpmdb/header.h +++ b/rpmdb/header.h @@ -88,20 +88,6 @@ extern "C" { /** \ingroup header */ -typedef const char * errmsg_t; - -/** \ingroup header - */ - -typedef int32_t rpm_tag_t; -typedef uint32_t rpm_tagtype_t; -typedef uint32_t rpm_count_t; - -typedef void * rpm_data_t; -typedef const void * rpm_constdata_t; - -/** \ingroup header - */ typedef struct headerToken_s * Header; /** \ingroup header |