X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftdb2%2Fprivate.h;h=d93fcfe8117f87453504efaf18854ae1a55c6920;hb=024a5647e6c81735a93d826b56db0db4bf86fab8;hp=cc791b0bb4e3da3226c22862b21d03e32304e931;hpb=8cca0397ef6f6017b13ce9ab4999bf3d92a2dee5;p=ccan diff --git a/ccan/tdb2/private.h b/ccan/tdb2/private.h index cc791b0b..d93fcfe8 100644 --- a/ccan/tdb2/private.h +++ b/ccan/tdb2/private.h @@ -19,6 +19,9 @@ */ #include "config.h" +#if HAVE_FILE_OFFSET_BITS +#define _FILE_OFFSET_BITS 64 +#endif #include #include #include @@ -462,7 +465,9 @@ tdb_off_t alloc(struct tdb_context *tdb, size_t keylen, size_t datalen, /* Put this record in a free list. */ enum TDB_ERROR add_free_record(struct tdb_context *tdb, - tdb_off_t off, tdb_len_t len_with_header); + tdb_off_t off, tdb_len_t len_with_header, + enum tdb_lock_flags waitflag, + bool coalesce_ok); /* Set up header for a used/ftable/htable/chain record. */ enum TDB_ERROR set_header(struct tdb_context *tdb,