summaryrefslogtreecommitdiff
path: root/lib/falloc.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-08-27 19:27:03 +0000
committerjbj <devnull@localhost>2000-08-27 19:27:03 +0000
commitf8b364d7a88e346412bd2f458b25d1728abaaf5c (patch)
tree920100f041eeb487d4b25ac4364ee8422008d0d6 /lib/falloc.c
parentbb6d8f7278f902223a1b5bd7a4b89bd604d642c8 (diff)
downloadrpm-f8b364d7a88e346412bd2f458b25d1728abaaf5c.tar.gz
rpm-f8b364d7a88e346412bd2f458b25d1728abaaf5c.tar.bz2
rpm-f8b364d7a88e346412bd2f458b25d1728abaaf5c.zip
Doxygen annotations.
CVS patchset: 4132 CVS date: 2000/08/27 19:27:03
Diffstat (limited to 'lib/falloc.c')
-rw-r--r--lib/falloc.c27
1 files changed, 16 insertions, 11 deletions
diff --git a/lib/falloc.c b/lib/falloc.c
index ea28a528f..c532d8602 100644
--- a/lib/falloc.c
+++ b/lib/falloc.c
@@ -1,21 +1,26 @@
#include "system.h"
+/** \ingroup rpmio db1
+ * \file lib/falloc.c
+ *
+ * The entire file space is thus divided into blocks with a "struct fablock"
+ * at the header of each. The size fields doubly link this block list.
+ *
+ * There is an additional free list weaved through the block list, which
+ * keeps new allocations fast.
+ *
+ * Much of this was inspired by Knuth vol 1.
+ *
+ */
+
#include <rpmio_internal.h>
#include "falloc.h"
-#define FA_MAGIC 0x02050920
-
-/*
- The entire file space is thus divided into blocks with a "struct fablock"
- at the header of each. The size fields doubly link this block list.
-
- There is an additional free list weaved through the block list, which
- keeps new allocations fast.
-
- Much of this was inspired by Knuth vol 1.
+/** \ingroup db1
*/
+#define FA_MAGIC 0x02050920
-struct faFileHeader{
+struct faFileHeader {
unsigned int magic;
unsigned int firstFree;
};