* Licensed under the GPL version 2
*/
-#include <ldns/ldns.h>
+#include <ldns/dns.h>
int
usage(FILE *fp, char *prog) {
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN
* IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-#include <config.h>
+#include <ldns/dns.h>
#include <sys/types.h>
#include <sys/param.h>
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN
* IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-#include <config.h>
+#include <ldns/dns.h>
#include <sys/types.h>
#include <sys/param.h>
* See the file LICENSE for the license
*/
-#include <config.h>
-#include <ldns/host2wire.h>
+#include <ldns/dns.h>
/* TODO
add a pointer to a 'possiblecompression' structure
#include <ldns/higher.h>
#include <ldns/host2str.h>
#include <ldns/host2wire.h>
-#include <ldns/ldns.h>
#include <ldns/net.h>
#include <ldns/packet.h>
#include <ldns/rdata.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)
#ifndef _ERROR_H
#define _ERROR_H
-#include "ldns/util.h"
+#include <ldns/util.h>
enum ldns_enum_status
{
+++ /dev/null
-/*
- * ldns.h
- *
- * Main include files for LDNS clients.
- *
- * a Net::DNS like library for C
- *
- * (c) NLnet Labs, 2004
- *
- * See the file LICENSE for the license
- */
-
-#ifndef _LDNS_H
-#define _LDNS_H
-
-#include <ldns/common.h>
-#include <ldns/error.h>
-#include <ldns/rdata.h>
-#include <ldns/rr.h>
-#include <ldns/packet.h>
-#include <ldns/wire2host.h>
-#include <ldns/host2str.h>
-#include <ldns/resolver.h>
-#include <ldns/dns.h>
-#include <ldns/net.h>
-#include <ldns/dnssec.h>
-#include <ldns/keys.h>
-#include <ldns/rr_functions.h>
-#include <ldns/parse.h>
-
-#endif /* _LDNS_H */
* Licensed under the GPL version 2
*/
-#include <stdio.h>
-#include <config.h>
-#include <ldns/ldns.h>
+#include <ldns/dns.h>
int
usage(FILE *fp, char *prog) {
#include <ldns/rdata.h>
#include <ldns/error.h>
#include <ldns/str2host.h>
+#include <ldns/util.h>
-#include "ldns/util.h"
#include <netinet/in.h>
#include <sys/socket.h>
#include <netdb.h>
#include <ldns/dns.h>
-#include <ldns/wire2host.h>
+/*#include <ldns/wire2host.h>*/
#include <strings.h>
#include <limits.h>