-#ifndef SD_DNS_RESOLVER_H
-#define SD_DNS_RESOLVER_H
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#ifndef foosddnsresolverhfoo
+#define foosddnsresolverhfoo
-#include "_sd-common.h"
+/***
+ systemd is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ systemd is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
-#include "sd-forward.h"
+ You should have received a copy of the GNU Lesser General Public License
+ along with systemd; If not, see <https://www.gnu.org/licenses/>.
+***/
+
+#include "_sd-common.h"
_SD_BEGIN_DECLARATIONS;
+struct in_addr;
+struct in6_addr;
+
typedef struct sd_dns_resolver sd_dns_resolver;
/* https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids */
-typedef enum sd_dns_alpn_flags {
+__extension__ typedef enum sd_dns_alpn_flags {
/* There isn't really an alpn reserved for Do53 service, but designated resolvers may or may not offer
* Do53 service, so we should probably have a flag to represent this capability. Unfortunately DNR
* does not indicate the status to us. */
_SD_END_DECLARATIONS;
-#endif /* SD_DNS_RESOLVER_H */
+#endif