s3:idmap_tdb: move definition of struct idmap_tdb_context up.
authorMichael Adam <obnox@samba.org>
Thu, 17 Jun 2010 05:51:15 +0000 (07:51 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 23 Jun 2010 10:22:12 +0000 (12:22 +0200)
source3/winbindd/idmap_tdb.c

index f9dd60997d57089ae7c2b37d3b345acaddca3e89..0bf6d38649d6c9add09cbfe6667590ac1dd6fc34 100644 (file)
 
 #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"
@@ -536,10 +540,6 @@ static NTSTATUS idmap_tdb_alloc_close(void)
 /**********************************************************************
  IDMAP MAPPING TDB BACKEND
 **********************************************************************/
-struct idmap_tdb_context {
-       struct db_context *db;
-};
 
 /*****************************
  Initialise idmap database.