diff options
Diffstat (limited to 'lib/dbwrap/dbwrap_private.h')
-rw-r--r-- | lib/dbwrap/dbwrap_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/dbwrap/dbwrap_private.h b/lib/dbwrap/dbwrap_private.h index af8374dbc9..dfd365dab2 100644 --- a/lib/dbwrap/dbwrap_private.h +++ b/lib/dbwrap/dbwrap_private.h @@ -38,6 +38,10 @@ struct db_context { struct db_record *(*try_fetch_locked)(struct db_context *db, TALLOC_CTX *mem_ctx, TDB_DATA key); + struct db_record *(*fetch_locked_timeout)(struct db_context *db, + TALLOC_CTX *mem_ctx, + TDB_DATA key, + unsigned int timeout); int (*traverse)(struct db_context *db, int (*f)(struct db_record *rec, void *private_data), |