summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-06-17 07:51:15 +0200
committerMichael Adam <obnox@samba.org>2010-08-14 02:10:47 +0200
commit384e35f8a754feb601fdd9d032c3aad121e0fbc3 (patch)
treeb9111e8d524f4da95687b97bcf258cfab67ffd82
parentdb3897258392eca17835a72d022364aa5b668c32 (diff)
downloadsamba-384e35f8a754feb601fdd9d032c3aad121e0fbc3.tar.gz
samba-384e35f8a754feb601fdd9d032c3aad121e0fbc3.tar.bz2
samba-384e35f8a754feb601fdd9d032c3aad121e0fbc3.zip
s3:idmap_tdb: move definition of struct idmap_tdb_context up.
-rw-r--r--source3/winbindd/idmap_tdb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/winbindd/idmap_tdb.c b/source3/winbindd/idmap_tdb.c
index 0b48247c3b..cb9e38ed90 100644
--- a/source3/winbindd/idmap_tdb.c
+++ b/source3/winbindd/idmap_tdb.c
@@ -33,6 +33,10 @@
#define IDMAP_VERSION 2
+struct idmap_tdb_context {
+ struct db_context *db;
+};
+
/* High water mark keys */
#define HWM_GROUP "GROUP HWM"
#define HWM_USER "USER HWM"
@@ -535,10 +539,6 @@ static NTSTATUS idmap_tdb_alloc_close(void)
/**********************************************************************
IDMAP MAPPING TDB BACKEND
**********************************************************************/
-
-struct idmap_tdb_context {
- struct db_context *db;
-};
/*****************************
Initialise idmap database.