diff options
Diffstat (limited to 'lib/tdb2/private.h')
-rw-r--r-- | lib/tdb2/private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tdb2/private.h b/lib/tdb2/private.h index 163649953b..d7db41bf74 100644 --- a/lib/tdb2/private.h +++ b/lib/tdb2/private.h @@ -374,6 +374,10 @@ struct tdb_context { tdb_off_t ftable_off; unsigned int ftable; + /* Our open hook, if any. */ + enum TDB_ERROR (*openhook)(int fd, void *data); + void *openhook_data; + /* IO methods: changes for transactions. */ const struct tdb_methods *methods; |