X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb2%2Fprivate.h;h=89e69610d428fe82edf0fc71d160f69e89489225;hp=f6ed65a90969596e2661995f974a4b8f4fd6bd67;hb=60210a73ec08a7b34ba637ad19e6749cf6dc1952;hpb=919937354a331bb964564a11b5a5b80403ff8db9 diff --git a/ccan/tdb2/private.h b/ccan/tdb2/private.h index f6ed65a9..89e69610 100644 --- a/ccan/tdb2/private.h +++ b/ccan/tdb2/private.h @@ -339,6 +339,9 @@ struct tdb_context { /* 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; @@ -378,8 +381,6 @@ struct tdb_context { /* Direct access information */ struct tdb_access_hdr *access; - /* The actual file information */ - struct tdb_file *file; }; struct tdb_methods {