X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fresolve%2Fdns-type.h;h=86951d233a3dac8fd0e7f4c87bb2736b1e30bfc8;hp=66063153a0ce929605cc280b01197c6bf0291278;hb=0e3434aeb1eed951fdbeddacc6126e10d82a1c8b;hpb=7263f72499e962b3fd54cdb7c79d49ca72121ede diff --git a/src/resolve/dns-type.h b/src/resolve/dns-type.h index 66063153a..86951d233 100644 --- a/src/resolve/dns-type.h +++ b/src/resolve/dns-type.h @@ -21,12 +21,10 @@ #pragma once -#include - #include "macro.h" -const char *dns_type_to_string(uint16_t type); -int dns_type_from_string(const char *s, uint16_t *type); +const char *dns_type_to_string(int type); +int dns_type_from_string(const char *s); /* DNS record types, taken from * http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml.