X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb2%2Fprivate.h;h=89e69610d428fe82edf0fc71d160f69e89489225;hp=8d961e82c365c6b0f6956fbf1019451c285597f5;hb=60210a73ec08a7b34ba637ad19e6749cf6dc1952;hpb=0fd5be2955f8e6487c0f4ab711e2a6958bb8f412 diff --git a/ccan/tdb2/private.h b/ccan/tdb2/private.h index 8d961e82..89e69610 100644 --- a/ccan/tdb2/private.h +++ b/ccan/tdb2/private.h @@ -336,6 +336,12 @@ struct tdb_context { void *data); void *log_data; + /* Last error we returned. */ + enum TDB_ERROR last_error; + + /* The actual file information */ + struct tdb_file *file; + /* Open flags passed to tdb_open. */ int open_flags; @@ -375,11 +381,6 @@ struct tdb_context { /* Direct access information */ struct tdb_access_hdr *access; - /* Last error we returned. */ - enum TDB_ERROR last_error; - - /* The actual file information */ - struct tdb_file *file; }; struct tdb_methods {