summaryrefslogtreecommitdiff
path: root/lib/util/bitmap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-10-30 22:43:21 +0100
committerMichael Adam <obnox@samba.org>2012-11-07 15:32:24 +0100
commit7f4d55d1b8bda4f0d7a8bdbfe82c9a623dfe5843 (patch)
treebcd1b160250f8de83f9691dd2c1c9462a6e0462b /lib/util/bitmap.c
parentda284b3765e3c73d204fe2c8b45d6fbd2c08d451 (diff)
downloadsamba-7f4d55d1b8bda4f0d7a8bdbfe82c9a623dfe5843.tar.gz
samba-7f4d55d1b8bda4f0d7a8bdbfe82c9a623dfe5843.tar.bz2
samba-7f4d55d1b8bda4f0d7a8bdbfe82c9a623dfe5843.zip
lib/util: Make "struct bitmap" abstract
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/util/bitmap.c')
-rw-r--r--lib/util/bitmap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/util/bitmap.c b/lib/util/bitmap.c
index 7defd77840..1ae2aaaf71 100644
--- a/lib/util/bitmap.c
+++ b/lib/util/bitmap.c
@@ -20,6 +20,11 @@
#include "includes.h"
#include "lib/util/bitmap.h"
+struct bitmap {
+ uint32_t *b;
+ unsigned int n;
+};
+
/* these functions provide a simple way to allocate integers from a
pool without repetition */