chiark / gitweb /
networkd: refactor socket activation a bit
[elogind.git] / src / resolve / resolved-dns-domain.h
index e674c5d9c5810b1f1fcf161cfb3a2078a4a290d6..36f27ea031ed9557eb5a37f6386d6c399b4278b7 100644 (file)
@@ -19,6 +19,8 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
  ***/
 
+#pragma once
+
 #include <sys/types.h>
 
 #include "hashmap.h"
@@ -37,6 +39,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);