summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-06-16 15:31:05 +0200
committerMichael Adam <obnox@samba.org>2010-08-14 02:10:42 +0200
commit1dfb20d0292623f21f47e93afaba865d9ff3b05b (patch)
tree3e7d9c5b3b8165d8ee8555426a5ba93a28e200c4
parent5b264561e7959019974d6934af7568891a1d2c99 (diff)
downloadsamba-1dfb20d0292623f21f47e93afaba865d9ff3b05b.tar.gz
samba-1dfb20d0292623f21f47e93afaba865d9ff3b05b.tar.bz2
samba-1dfb20d0292623f21f47e93afaba865d9ff3b05b.zip
s3:idmap_tdb2: move definition of struct idmap_tdb2_context up.
-rw-r--r--source3/winbindd/idmap_tdb2.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/winbindd/idmap_tdb2.c b/source3/winbindd/idmap_tdb2.c
index f7935fb3b9..0ea84c697e 100644
--- a/source3/winbindd/idmap_tdb2.c
+++ b/source3/winbindd/idmap_tdb2.c
@@ -36,6 +36,11 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_IDMAP
+struct idmap_tdb2_context {
+ uint32_t filter_low_id;
+ uint32_t filter_high_id;
+};
+
/* High water mark keys */
#define HWM_GROUP "GROUP HWM"
#define HWM_USER "USER HWM"
@@ -314,10 +319,6 @@ static NTSTATUS idmap_tdb2_get_new_id(struct idmap_domain *dom,
/*
IDMAP MAPPING TDB BACKEND
*/
-struct idmap_tdb2_context {
- uint32_t filter_low_id;
- uint32_t filter_high_id;
-};
/*
Initialise idmap database.