diff options
Diffstat (limited to 'src/resolve/resolved-dns-rr.h')
-rw-r--r-- | src/resolve/resolved-dns-rr.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/resolve/resolved-dns-rr.h b/src/resolve/resolved-dns-rr.h index 156fa01873..23bf2f66d4 100644 --- a/src/resolve/resolved-dns-rr.h +++ b/src/resolve/resolved-dns-rr.h @@ -3,12 +3,13 @@ #include <netinet/in.h> +#include "sd-json.h" + #include "bitmap.h" #include "dns-def.h" #include "dns-type.h" #include "hashmap.h" #include "in-addr-util.h" -#include "json.h" #include "list.h" #include "string-util.h" #include "time-util.h" @@ -404,9 +405,9 @@ DnsSvcParam *dns_svc_params_copy(DnsSvcParam *first); int dns_resource_record_new_from_raw(DnsResourceRecord **ret, const void *data, size_t size); -int dns_resource_key_to_json(DnsResourceKey *key, JsonVariant **ret); -int dns_resource_key_from_json(JsonVariant *v, DnsResourceKey **ret); -int dns_resource_record_to_json(DnsResourceRecord *rr, JsonVariant **ret); +int dns_resource_key_to_json(DnsResourceKey *key, sd_json_variant **ret); +int dns_resource_key_from_json(sd_json_variant *v, DnsResourceKey **ret); +int dns_resource_record_to_json(DnsResourceRecord *rr, sd_json_variant **ret); void dns_resource_record_hash_func(const DnsResourceRecord *i, struct siphash *state); int dns_resource_record_compare_func(const DnsResourceRecord *x, const DnsResourceRecord *y); |