dbwrap: dbwrap_fetch_locked_timeout().
[kai/samba-autobuild/.git] / lib / dbwrap / dbwrap.h
index 23a43da019cde74eea8ca7e6ee1e0139b60235d4..0b19396b984d13bf6dc44d53f66e516a8aed0d84 100644 (file)
@@ -43,6 +43,11 @@ struct db_record *dbwrap_fetch_locked(struct db_context *db,
 struct db_record *dbwrap_try_fetch_locked(struct db_context *db,
                                          TALLOC_CTX *mem_ctx,
                                          TDB_DATA key);
+struct db_record *dbwrap_fetch_locked_timeout(struct db_context *db,
+                                             TALLOC_CTX *mem_ctx,
+                                             TDB_DATA key,
+                                             unsigned int timeout);
+
 struct db_context *dbwrap_record_get_db(struct db_record *rec);
 void dbwrap_set_stored_callback(
        struct db_context *db,