tdb2: add write flag to tdb_direct
[ccan] / ccan / tdb2 / transaction.c
index 92658026ac9c006c5e6f9bf31b99f77bb116abc6..ab287bf195ece587611a05e67f6d7de712ad5961 100644 (file)
@@ -363,7 +363,7 @@ static int transaction_expand_file(struct tdb_context *tdb, tdb_off_t addition)
 }
 
 static void *transaction_direct(struct tdb_context *tdb, tdb_off_t off,
-                               size_t len)
+                               size_t len, bool write)
 {
        /* FIXME */
        return NULL;