git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/util: Make "struct bitmap" abstract
[metze/samba/wip.git]
/
lib
/
util
/
bitmap.c
diff --git
a/lib/util/bitmap.c
b/lib/util/bitmap.c
index 7defd778409f4c1eb4886961122a644c3dc134ba..1ae2aaaf710a0c07aeeae8a625b62416fc82bc15 100644
(file)
--- 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 */