* the java.nio.Buffer interface.
*/
-#ifndef _BUFFER_H_
-#define _BUFFER_H_
+#ifndef _LDNS_BUFFER_H_
+#define _LDNS_BUFFER_H_
#include <assert.h>
#include <stdarg.h>
*/
void *ldns_buffer_export(ldns_buffer *buffer);
-#endif /* _BUFFER_H_ */
+#endif /* _LDNS_BUFFER_H_ */
* A bunch of defines that are used in the DNS
*/
-#ifndef _DNS_H_
-#define _DNS_H_
+#ifndef _LDNS_DNS_H_
+#define _LDNS_DNS_H_
#include <ldns/util.h>
#include <ldns/buffer.h>
extern ldns_lookup_table ldns_rcodes[];
extern ldns_lookup_table ldns_opcodes[];
-#endif /* _DNS_H_ */
+#endif /* _LDNS_DNS_H_ */
* A bunch of defines that are used in the DNS
*/
-#ifndef _DNSSEC_H_
-#define _DNSSEC_H_
+#ifndef _LDNS_DNSSEC_H_
+#define _LDNS_DNSSEC_H_
#include <openssl/ssl.h>
#include <ldns/common.h>
ldns_rr_list *ldns_pkt_verify(ldns_pkt *p, ldns_rr_type t, ldns_rdf *o, ldns_rr_list *k, ldns_rr_list *s);
-#endif /* _DNSSEC_H_ */
+#endif /* _LDNS_DNSSEC_H_ */
* See the file LICENSE for the license
*/
-#ifndef _ERROR_H
-#define _ERROR_H
+#ifndef _LDNS_ERROR_H
+#define _LDNS_ERROR_H
#include <ldns/util.h>
*/
const char *ldns_get_errorstr_by_id(ldns_status err);
-#endif /* _ERROR_H */
+#endif /* _LDNS_ERROR_H */
* See the file LICENSE for the license
*/
-#ifndef _PARSE_H_
-#define _PARSE_H_
+#ifndef _LDNS_PARSE_H_
+#define _LDNS_PARSE_H_
#include <ldns/common.h>
#include <ldns/buffer.h>
*/
void ldns_fskipcs(FILE *fp, const char *s);
-#endif /* _PARSE_H */
+#endif /* _LDNS_PARSE_H */
*
* See the file LICENSE for the license
*/
-#ifndef _RR_FUNCTIONS_H
-#define _RR_FUNCTIONS_H
+#ifndef _LDNS_RR_FUNCTIONS_H
+#define _LDNS_RR_FUNCTIONS_H
/* set rdf's at a specific offset
*/
bool ldns_rr_dnskey_set_key(ldns_rr *r, ldns_rdf *f);
-#endif /* _RR_FUNCTIONS_H */
+#endif /* _LDNS_RR_FUNCTIONS_H */