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>
Sat, 14 Aug 2010 00:10:47 +0000 (02:10 +0200)
source3/winbindd/idmap_tdb.c

index 0b48247c3b4998d5174c0ca236386e4b0ad0fbae..cb9e38ed90de95c21be588788cf89fb399338792 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"
@@ -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.