dbwrap: dbwrap_fetch_locked_timeout().
[ddiss/samba.git] / lib / dbwrap / dbwrap_private.h
index af8374dbc93ab3a5b5b8b54f9bbd3abb1600bad3..dfd365dab2d10e20ac00ee1eb4d1ed83779a313e 100644 (file)
@@ -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),