chiark / gitweb /
importd: create a loopback btrfs file system for /var/lib/machines, if necessary
[elogind.git] / src / resolve / resolved-dns-domain.h
index e674c5d9c5810b1f1fcf161cfb3a2078a4a290d6..516d244f7a3962a7c17352c2fc4e9f1d72612814 100644 (file)
@@ -19,7 +19,8 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
  ***/
 
-#include <sys/types.h>
+#pragma once
+
 
 #include "hashmap.h"
 #include "in-addr-util.h"
@@ -37,6 +38,7 @@ int dns_name_normalize(const char *s, char **_ret);
 
 unsigned long dns_name_hash_func(const void *s, const uint8_t hash_key[HASH_KEY_SIZE]);
 int dns_name_compare_func(const void *a, const void *b);
+extern const struct hash_ops dns_name_hash_ops;
 
 int dns_name_equal(const char *x, const char *y);
 int dns_name_endswith(const char *name, const char *suffix);