diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-02-05 14:25:16 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-02-05 14:25:16 +0200 |
commit | 4391fce5e16459ce7bf52eb601c2518f3d456d41 (patch) | |
tree | cca155b463667443848d6836217f859de5f4eaad | |
parent | 5d38313e7c26bf628389382b78ef8f0db138e787 (diff) | |
download | rpm-4391fce5e16459ce7bf52eb601c2518f3d456d41.tar.gz rpm-4391fce5e16459ce7bf52eb601c2518f3d456d41.tar.bz2 rpm-4391fce5e16459ce7bf52eb601c2518f3d456d41.zip |
Doxygen bits for rpmtypes, much to do still
-rw-r--r-- | lib/rpmtypes.h | 37 |
1 files changed, 28 insertions, 9 deletions
diff --git a/lib/rpmtypes.h b/lib/rpmtypes.h index 79142f95a..059dbca5d 100644 --- a/lib/rpmtypes.h +++ b/lib/rpmtypes.h @@ -5,7 +5,7 @@ * \file lib/rpmtypes.h * * Typedefs for RPM abstract data types. - * @todo Add documentation... + * @todo The grouping needs love to look sane... */ #include <rpm/rpmints.h> @@ -17,6 +17,14 @@ extern "C" { typedef const char * errmsg_t; +/** \ingroup rpmtypes + * + * RPM header and data retrieval types. + * @{ + */ +typedef struct headerToken_s * Header; +typedef struct headerIterator_s * HeaderIterator; + typedef int32_t rpm_tag_t; typedef uint32_t rpm_tagtype_t; typedef uint32_t rpm_count_t; @@ -25,39 +33,50 @@ typedef void * rpm_data_t; typedef const void * rpm_constdata_t; typedef uint32_t rpm_color_t; +/** @} */ +/** \ingroup rpmtypes + * + * In-header hardcoded sizes for various POSIXy types + * @{ + */ typedef uint32_t rpm_off_t; typedef uint32_t rpm_time_t; typedef uint16_t rpm_mode_t; typedef uint16_t rpm_rdev_t; typedef uint32_t rpm_dev_t; typedef uint32_t rpm_ino_t; +/** @} */ -typedef struct headerToken_s * Header; -typedef struct headerIterator_s * HeaderIterator; - +/** \ingroup rpmtypes + * The main types involved in transaction manipulation + * @{ + */ typedef struct rpmts_s * rpmts; typedef struct rpmte_s * rpmte; typedef struct rpmds_s * rpmds; typedef struct rpmfi_s * rpmfi; typedef struct rpmdb_s * rpmdb; typedef struct rpmdbMatchIterator_s * rpmdbMatchIterator; - typedef struct rpmal_s * rpmal; typedef void * rpmalKey; +typedef const void * fnpyKey; +typedef void * rpmCallbackData; +/** @} */ typedef struct rpmgi_s * rpmgi; typedef struct rpmSpec_s * rpmSpec; -typedef const void * fnpyKey; -typedef void * rpmCallbackData; - typedef struct rpmRelocation_s rpmRelocation; + +/** \ingroup rpmtypes + * RPM IO file descriptor type + */ typedef struct _FD_s * FD_t; -/** +/** \ingroup rpmtypes * Package read return codes. */ typedef enum rpmRC_e { |