From 49134b3e6202bd5e98a5da4cb99668eccb952750 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 23 Jan 2010 06:29:34 +0100 Subject: [PATCH] xbps_find_orphan_packages: improve doxygen documentation. --HG-- extra : convert_revision : xtraeme%40gmail.com-20100123052934-bq05edsd09x3pgds --- lib/orphans.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/lib/orphans.c b/lib/orphans.c index ce717da8..4fb5cda8 100644 --- a/lib/orphans.c +++ b/lib/orphans.c @@ -35,6 +35,28 @@ * @file lib/orphans.c * @brief Package orphans handling routines * @defgroup pkg_orphans Package orphans handling functions + * + * Functions to find installed package orphans. + * + * Package orphans were installed automatically by another package, + * but currently no other packages are depending on. + * + * The following image shown below shows the registered packages database + * dictionary (the array returned by xbps_find_orphan_packages() will + * contain a package dictionary per orphan found): + * + * @image html images/xbps_regpkgdb_dictionary.png + * + * Legend: + * - Salmon filled box: \a XBPS_REGPKGDB_PLIST file internalized. + * - White filled box: mandatory objects. + * - Grey filled box: optional objects. + * - Green filled box: possible value set in the object, only one + * of them is set. + * + * Text inside of white boxes are the key associated with the object, its + * data type is specified on its edge, i.e array, bool, integer, string, + * dictionary. */ struct orphan_pkg {