aboutsummaryrefslogtreecommitdiff
path: root/lib/hdb/hdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hdb/hdb.h')
-rw-r--r--lib/hdb/hdb.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/hdb/hdb.h b/lib/hdb/hdb.h
index 892b8e598581..7c6dfcf9d8d2 100644
--- a/lib/hdb/hdb.h
+++ b/lib/hdb/hdb.h
@@ -271,9 +271,17 @@ typedef struct HDB {
* Check if s4u2self is allowed from this client to this server
*/
krb5_error_code (*hdb_check_s4u2self)(krb5_context, struct HDB *, hdb_entry_ex *, krb5_const_principal);
+
+ /**
+ * Enable/disable synchronous updates
+ *
+ * Calling this with 0 disables sync. Calling it with non-zero enables
+ * sync and does an fsync().
+ */
+ krb5_error_code (*hdb_set_sync)(krb5_context, struct HDB *, int);
}HDB;
-#define HDB_INTERFACE_VERSION 9
+#define HDB_INTERFACE_VERSION 10
struct hdb_method {
int version;