aboutsummaryrefslogtreecommitdiff
path: root/src/zonefile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zonefile.h')
-rw-r--r--src/zonefile.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/zonefile.h b/src/zonefile.h
index 8c2dac3..98f1fa3 100644
--- a/src/zonefile.h
+++ b/src/zonefile.h
@@ -7,5 +7,18 @@
#pragma once
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "database.h"
+#include "log.h"
+
+/**
+ * NOT COMPATIBLE WITH STANDARD ZONEFILES!
+ * use FIXED format
+ * <name> <ttl> <class> <type> <value>
+ */
+int zonefile_to_database (database_t *_database, char* _file);
+
+int zonefile_parse_line(database_t *_database, char *_line);
-int zonefile_parse_to_list (void** _list, char* _file);