summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormorganamilo <morganamilo@archlinux.org>2020-12-07 23:19:50 +0100
committerAllan McRae <allan@archlinux.org>2020-12-21 03:01:58 +0100
commit1e8816f13d651997034252d87fba51cd38118f51 (patch)
tree64c4cece0d839452e3c78d0851cd3f9736815e11 /lib
parent2a16434bfd20cc55e554018f5a34870dbca09673 (diff)
downloadpacman-1e8816f13d651997034252d87fba51cd38118f51.tar.gz
pacman-1e8816f13d651997034252d87fba51cd38118f51.tar.xz
doc: move top level items into groups
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/alpm.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 9a93e4b3..e07fecef 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -61,6 +61,7 @@ extern "C" {
/** The libalpm context handle.
*
* This struct represents an instance of libalpm.
+ * @ingroup alpm_handle
*/
typedef struct __alpm_handle_t alpm_handle_t;
@@ -80,6 +81,7 @@ typedef struct __alpm_handle_t alpm_handle_t;
* the user. They will be freed when the database is unregistered.
*
* Databases are automatically unregistered when the \link alpm_handle_t \endlink is released.
+ * @ingroup alpm_databases
*/
typedef struct __alpm_db_t alpm_db_t;
@@ -92,12 +94,20 @@ typedef struct __alpm_db_t alpm_db_t;
*
* Packages can then be queried for metadata or added to a \link alpm_trans_t transaction \endlink
* to be added or removed from the system.
+ * @ingroup alpm_packages
*/
typedef struct __alpm_pkg_t alpm_pkg_t;
-/** Transaction structure used internally by libalpm */
+/** Transaction structure used internally by libalpm
+ * @ingroup alpm_trans
+ * */
typedef struct __alpm_trans_t alpm_trans_t;
+
+/** The time type used by libalpm. Represents a unix time stamp
+ * @ingroup alpm_misc */
+typedef int64_t alpm_time_t;
+
/** @addtogroup alpm_files Files
* @brief Functions for package files
* @{
@@ -342,7 +352,6 @@ int alpm_release(alpm_handle_t *handle);
/* End of alpm_handle */
/** @} */
-typedef int64_t alpm_time_t;
/** @addtogroup alpm_sig Signature checking
* @brief Functions to check signatures