]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/dns-domain.h
resolved: rework parsing of /etc/hosts
[thirdparty/systemd.git] / src / shared / dns-domain.h
index e680288344b2c20d91c66a46062ee765988956bf..42492ad7c0c1d2e7f4a25b447e1f51bd8d622496 100644 (file)
@@ -1,12 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
 #pragma once
 
-/***
-  This file is part of systemd.
-
-  Copyright 2014 Lennart Poettering
- ***/
-
 #include <errno.h>
 #include <stdbool.h>
 #include <stddef.h>
@@ -63,8 +57,8 @@ static inline int dns_name_is_valid(const char *s) {
         return 1;
 }
 
-void dns_name_hash_func(const void *s, struct siphash *state);
-int dns_name_compare_func(const void *a, const void *b);
+void dns_name_hash_func(const char *s, struct siphash *state);
+int dns_name_compare_func(const char *a, const char *b);
 extern const struct hash_ops dns_name_hash_ops;
 
 int dns_name_between(const char *a, const char *b, const char *c);