/* * src/zonefile.h * (c) 2021 Jonas Gunz * License: MIT */ #pragma once #include #include #include #include "database.h" #include "log.h" /** * NOT COMPATIBLE WITH STANDARD ZONEFILES! * use FIXED format * */ int zonefile_to_database (database_t *_database, char* _file); int zonefile_parse_line(database_t *_database, char *_line); /* Chnages the original string! */ int zonefile_string_split(char* _parts[], ssize_t _max, char* _str, char _delim);