chiark / gitweb /
resolve: reject empty TXT records
[elogind.git] / src / resolve / dns-type.h
index 66063153a0ce929605cc280b01197c6bf0291278..86951d233a3dac8fd0e7f4c87bb2736b1e30bfc8 100644 (file)
 
 #pragma once
 
-#include <inttypes.h>
-
 #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.