diff options
Diffstat (limited to 'lib/tdb_compat')
-rw-r--r-- | lib/tdb_compat/tdb_compat.c | 1 | ||||
-rw-r--r-- | lib/tdb_compat/tdb_compat.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/tdb_compat/tdb_compat.c b/lib/tdb_compat/tdb_compat.c index a9173fc33d..d736db1742 100644 --- a/lib/tdb_compat/tdb_compat.c +++ b/lib/tdb_compat/tdb_compat.c @@ -69,6 +69,7 @@ tdb_open_compat_(const char *name, int hash_size_unused, int tdb_flags, int open_flags, mode_t mode, void (*log_fn)(struct tdb_context *, enum tdb_log_level, + enum TDB_ERROR, const char *message, void *data), void *log_data) diff --git a/lib/tdb_compat/tdb_compat.h b/lib/tdb_compat/tdb_compat.h index ea401cba49..80fc3cef80 100644 --- a/lib/tdb_compat/tdb_compat.h +++ b/lib/tdb_compat/tdb_compat.h @@ -90,6 +90,7 @@ enum TDB_ERROR tdb_transaction_start_nonblock(struct tdb_context *tdb); (log_fn), (log_data), \ struct tdb_context *, \ enum tdb_log_level, \ + enum TDB_ERROR, \ const char *), \ (log_data)) @@ -98,6 +99,7 @@ tdb_open_compat_(const char *name, int hash_size_unused, int tdb_flags, int open_flags, mode_t mode, void (*log_fn)(struct tdb_context *, enum tdb_log_level, + enum TDB_ERROR ecode, const char *message, void *data), void *log_data); |