summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/dns_server/dlz_bind9.c2
-rw-r--r--source4/dns_server/dlz_bind9.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/source4/dns_server/dlz_bind9.c b/source4/dns_server/dlz_bind9.c
index 0260a79eea..0eb90b78c5 100644
--- a/source4/dns_server/dlz_bind9.c
+++ b/source4/dns_server/dlz_bind9.c
@@ -44,7 +44,7 @@ struct dlz_bind9_data {
/*
return the version of the API
*/
-_PUBLIC_ int dlz_version(void)
+_PUBLIC_ int dlz_version(unsigned int *flags)
{
return DLZ_DLOPEN_VERSION;
}
diff --git a/source4/dns_server/dlz_bind9.h b/source4/dns_server/dlz_bind9.h
index 8cf06807c1..34f9605b12 100644
--- a/source4/dns_server/dlz_bind9.h
+++ b/source4/dns_server/dlz_bind9.h
@@ -29,6 +29,9 @@ typedef uint32_t dns_ttl_t;
#define DLZ_DLOPEN_VERSION 1
+/* return this in flags to dlz_version() if thread safe */
+#define DNS_SDLZFLAG_THREADSAFE 0x00000001U
+
/* result codes */
#define ISC_R_SUCCESS 0
#define ISC_R_NOMEMORY 1