summaryrefslogtreecommitdiff
path: root/source4/dns_server/dns_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/dns_server/dns_server.h')
-rw-r--r--source4/dns_server/dns_server.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/source4/dns_server/dns_server.h b/source4/dns_server/dns_server.h
index c2fe6cf9e8..42ae0ba660 100644
--- a/source4/dns_server/dns_server.h
+++ b/source4/dns_server/dns_server.h
@@ -34,7 +34,6 @@ struct dns_server_zone {
};
struct dns_server_tkey {
- struct dns_server_tkey *prev, *next;
const char *name;
enum dns_tkey_mode mode;
struct auth_session_info *session_info;
@@ -42,11 +41,19 @@ struct dns_server_tkey {
bool complete;
};
+#define TKEY_BUFFER_SIZE 128
+
+struct dns_server_tkey_store {
+ struct dns_server_tkey **tkeys;
+ uint16_t next_idx;
+ uint16_t size;
+};
+
struct dns_server {
struct task_server *task;
struct ldb_context *samdb;
struct dns_server_zone *zones;
- struct dns_server_tkey *tkeys;
+ struct dns_server_tkey_store *tkeys;
struct cli_credentials *server_credentials;
};