--- /dev/null
+/*
+ * dns.h -- defines for the Domain Name System
+ *
+ * Copyright (c) 2001-2005, NLnet Labs. All rights reserved.
+ *
+ * See LICENSE for the license.
+ *
+ * A bunch of defines that are used in the DNS
+ */
+
+#ifndef _DNS_H_
+#define _DNS_H_
+
+#include <ldns/config.h>
+#include <ldns/util.h>
+#include <ldns/buffer.h>
+#include <ldns/common.h>
+#include <ldns/dname.h>
+#include <ldns/dnssec.h>
+#include <ldns/error.h>
+#include <ldns/higher.h>
+#include <ldns/host2str.h>
+#include <ldns/host2wire.h>
+#include <ldns/net.h>
+#include <ldns/packet.h>
+#include <ldns/rdata.h>
+#include <ldns/resolver.h>
+#include <ldns/rr.h>
+#include <ldns/str2host.h>
+#include <ldns/wire2host.h>
+#include <ldns/rr_functions.h>
+#include <ldns/keys.h>
+#include <ldns/parse.h>
+
+#define LDNS_IP4ADDRLEN (32/8)
+#define LDNS_IP6ADDRLEN (128/8)
+#define LDNS_PORT 53
+#define LDNS_ROOT_LABEL '\0'
+#define LDNS_DEFTTL 3600
+
+/* lookup tables for standard DNS stuff */
+
+/* Taken from RFC 2538, section 2.1. */
+extern ldns_lookup_table ldns_certificate_types[];
+/* Taken from RFC 2535, section 7. */
+extern ldns_lookup_table ldns_algorithms[];
+/* rr types */
+extern ldns_lookup_table ldns_rr_classes[];
+/* if these are used elsewhere */
+extern ldns_lookup_table ldns_rcodes[];
+extern ldns_lookup_table ldns_opcodes[];
+
+#endif /* _DNS_H_ */
#define dprintf(X,Y) fprintf(stderr, (X), (Y))
/* #define dprintf(X, Y) */
+#define LDNS_VERSION "0.50"
+
/**
* splint static inline workaround
*/
*/
char int_to_hexdigit(int ch);
+/**
+ *
+ */
+char * ldns_version(void);
+
#endif /* !_UTIL_H */