X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftdb2%2Fprivate.h;h=f6ed65a90969596e2661995f974a4b8f4fd6bd67;hb=2b50be90a23893a06e0f1436a31d18b97ad0e11d;hp=8d961e82c365c6b0f6956fbf1019451c285597f5;hpb=0fd5be2955f8e6487c0f4ab711e2a6958bb8f412;p=ccan diff --git a/ccan/tdb2/private.h b/ccan/tdb2/private.h index 8d961e82..f6ed65a9 100644 --- a/ccan/tdb2/private.h +++ b/ccan/tdb2/private.h @@ -336,6 +336,9 @@ struct tdb_context { void *data); void *log_data; + /* Last error we returned. */ + enum TDB_ERROR last_error; + /* Open flags passed to tdb_open. */ int open_flags; @@ -375,9 +378,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; };