/*
- * $Id$
- *
* Low level DNS protocol routines
* AUTHOR: Amos Jeffries, Rafael Martinez Torres
*
*
*/
-#include "config.h"
+#include "squid.h"
#include "compat/inet_pton.h"
#include "util.h"
#include <strings.h>
#endif
-#include "rfc3596.h"
#include "rfc2671.h"
+#include "rfc3596.h"
#ifndef SQUID_RFC1035_H
#error RFC3596 Library depends on RFC1035
return rfc3596BuildHostQuery(hostname, buf, sz, qid, query, RFC1035_TYPE_AAAA, edns_sz);
}
-
/**
* Builds a message buffer with a QUESTION to lookup PTR records
* for an address. Caller must allocate 'buf' which should
return rfc3596BuildHostQuery(rev, buf, sz, qid, query, RFC1035_TYPE_PTR, edns_sz);
}
-
#if DRIVER
/* driver needs the rfc1035 code _without_ the main() */
return 1;
}
-
memset(&S, '\0', sizeof(S));
if (prefer == 6) {