From: Jelte Jansen Date: Tue, 3 May 2005 13:09:32 +0000 (+0000) Subject: moved util.h to ldns/ dir so includes are still correct after having copied the heade... X-Git-Tag: release-0.50~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b38ee3ca4377f1d2a2cd3710d8c64a64ba21dcc;p=thirdparty%2Fldns.git moved util.h to ldns/ dir so includes are still correct after having copied the header files --- diff --git a/Makefile.in b/Makefile.in index ccd8b9fb..d10975ac 100644 --- a/Makefile.in +++ b/Makefile.in @@ -46,8 +46,9 @@ LIBDNS_HEADERS = ldns/error.h \ ldns/higher.h \ ldns/parse.h \ ldns/rr_functions.h \ + ldns/ldns.h \ ldns/dns.h \ - util.h + ldns/util.h PROG_SOURCES = mx.c chaos.c PROG_TARGETS = $(PROG_SOURCES:.c=) diff --git a/dname.c b/dname.c index d8958778..dceb1464 100644 --- a/dname.c +++ b/dname.c @@ -18,7 +18,7 @@ #include #include -#include "util.h" +#include "ldns/util.h" #include #include #include diff --git a/error.c b/error.c index 05d44e18..40ab72e3 100644 --- a/error.c +++ b/error.c @@ -13,7 +13,7 @@ #include -#include "util.h" +#include "ldns/util.h" ldns_lookup_table ldns_error_str[] = { diff --git a/higher.c b/higher.c index 78ba2722..4984c902 100644 --- a/higher.c +++ b/higher.c @@ -19,7 +19,7 @@ #include #include -#include "util.h" +#include "ldns/util.h" ldns_rr_list * ldns_get_rr_list_addr_by_name(ldns_resolver *res, ldns_rdf *name, ldns_rr_class c, diff --git a/host2str.c b/host2str.c index 82b94ff3..2f4c811f 100644 --- a/host2str.c +++ b/host2str.c @@ -24,7 +24,7 @@ #include #include -#include +#include /* lookup tables for standard DNS stuff */ diff --git a/keys.c b/keys.c index 476eb535..c4b19e70 100644 --- a/keys.c +++ b/keys.c @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include diff --git a/ldns/buffer.h b/ldns/buffer.h index c422c422..137af3c8 100644 --- a/ldns/buffer.h +++ b/ldns/buffer.h @@ -20,7 +20,7 @@ #include #include -#include "util.h" +#include "ldns/util.h" /** * number of initial bytes in buffer of diff --git a/ldns/dns.h b/ldns/dns.h index e5aeba5a..5b5ae2e2 100644 --- a/ldns/dns.h +++ b/ldns/dns.h @@ -11,7 +11,7 @@ #ifndef _DNS_H_ #define _DNS_H_ -#include +#include #include #include #include diff --git a/ldns/error.h b/ldns/error.h index 2ead22c1..8564b473 100644 --- a/ldns/error.h +++ b/ldns/error.h @@ -13,7 +13,7 @@ #ifndef _ERROR_H #define _ERROR_H -#include "util.h" +#include "ldns/util.h" enum ldns_enum_status { diff --git a/ldns/host2str.h b/ldns/host2str.h index 188d3c18..5380eb72 100644 --- a/ldns/host2str.h +++ b/ldns/host2str.h @@ -11,7 +11,7 @@ #include #include -#include "util.h" +#include "ldns/util.h" /** * Converts an LDNS_RDF_TYPE_A rdata element to string format and adds it to the output buffer diff --git a/ldns/host2wire.h b/ldns/host2wire.h index 298ddd09..323ebdba 100644 --- a/ldns/host2wire.h +++ b/ldns/host2wire.h @@ -10,7 +10,7 @@ #include #include -#include "util.h" +#include "ldns/util.h" /** * Copies the rdata data to the buffer in wire format diff --git a/ldns/keys.h b/ldns/keys.h index dd391c8b..3369e79f 100644 --- a/ldns/keys.h +++ b/ldns/keys.h @@ -16,7 +16,7 @@ #include #include -#include +#include extern ldns_lookup_table ldns_signing_algorithms[]; diff --git a/util.h b/ldns/util.h similarity index 100% rename from util.h rename to ldns/util.h diff --git a/net.c b/net.c index a469789b..8a9d4b3f 100644 --- a/net.c +++ b/net.c @@ -22,7 +22,7 @@ #include #include -#include "util.h" +#include "ldns/util.h" ldns_status ldns_send(ldns_pkt **result, ldns_resolver *r, ldns_pkt *query_pkt) diff --git a/packet.c b/packet.c index 928ffca0..aaa49448 100644 --- a/packet.c +++ b/packet.c @@ -16,7 +16,7 @@ #include #include -#include "util.h" +#include "ldns/util.h" /* Access functions * do this as functions to get type checking diff --git a/parse.c b/parse.c index d58e05bd..e6115ac7 100644 --- a/parse.c +++ b/parse.c @@ -18,7 +18,7 @@ #include #include -#include "util.h" +#include "ldns/util.h" ssize_t ldns_fget_keyword_data(FILE *f, const char *keyword, const char *k_del, char *data, diff --git a/rdata.c b/rdata.c index 77cca59b..421bd0ee 100644 --- a/rdata.c +++ b/rdata.c @@ -17,7 +17,7 @@ #include #include -#include "util.h" +#include "ldns/util.h" #include #include #include diff --git a/resolver.c b/resolver.c index 24156b8d..58ffa681 100644 --- a/resolver.c +++ b/resolver.c @@ -17,7 +17,7 @@ #include -#include "util.h" +#include "ldns/util.h" /* Access function for reading * and setting the different Resolver diff --git a/rr.c b/rr.c index a10d82e5..a92f2ece 100644 --- a/rr.c +++ b/rr.c @@ -20,7 +20,7 @@ #include #include -#include "util.h" +#include "ldns/util.h" ldns_rr * ldns_rr_new(void) diff --git a/rr_functions.c b/rr_functions.c index f43a56cb..f198837f 100644 --- a/rr_functions.c +++ b/rr_functions.c @@ -21,7 +21,7 @@ #include #include -#include "util.h" +#include "ldns/util.h" /** * return a specific rdf diff --git a/run-test0.c b/run-test0.c index ec7f0aca..21cb9cfb 100644 --- a/run-test0.c +++ b/run-test0.c @@ -8,7 +8,7 @@ #include -#include "util.h" +#include "ldns/util.h" /* 0xc2, 0xb4, 0x81, 0x80, 0x00, 0x01, 0x00, 0x01, diff --git a/str2host.c b/str2host.c index 7c1c2bac..212b6743 100644 --- a/str2host.c +++ b/str2host.c @@ -16,7 +16,7 @@ #include #include -#include "util.h" +#include "ldns/util.h" #include #include diff --git a/util.c b/util.c index 0d1d0b1a..6b10a653 100644 --- a/util.c +++ b/util.c @@ -14,7 +14,7 @@ #include #include -#include +#include #include #include diff --git a/wire2host.c b/wire2host.c index eb5466e4..3beb2840 100644 --- a/wire2host.c +++ b/wire2host.c @@ -18,7 +18,7 @@ #include -#include "util.h" +#include "ldns/util.h" /*