Main Page
Related Pages
Data Structures
Files
File List
Globals
ldns
ldns.h
Go to the documentation of this file.
1
/*
2
* dns.h -- defines for the Domain Name System
3
*
4
* Copyright (c) 2005-2008, NLnet Labs. All rights reserved.
5
*
6
* See LICENSE for the license.
7
*
8
* This library was created by:
9
* Jelte Jansen, Erik Rozendaal and Miek Gieben
10
*
11
* A bunch of defines that are used in the DNS.
12
*/
13
14
89
#ifndef LDNS_DNS_H
90
#define LDNS_DNS_H
91
92
#include <stdio.h>
93
#include <stdlib.h>
94
95
#include <
ldns/util.h
>
96
#include <
ldns/buffer.h
>
97
#include <
ldns/common.h
>
98
#include <
ldns/dane.h
>
99
#include <
ldns/dname.h
>
100
#include <
ldns/dnssec.h
>
101
#include <
ldns/dnssec_verify.h
>
102
#include <
ldns/dnssec_sign.h
>
103
#include <
ldns/duration.h
>
104
#include <
ldns/error.h
>
105
#include <
ldns/higher.h
>
106
#include <
ldns/host2str.h
>
107
#include <
ldns/host2wire.h
>
108
#include <
ldns/net.h
>
109
#include <
ldns/packet.h
>
110
#include <
ldns/rdata.h
>
111
#include <
ldns/resolver.h
>
112
#include <
ldns/rr.h
>
113
#include <
ldns/str2host.h
>
114
#include <
ldns/tsig.h
>
115
#include <
ldns/update.h
>
116
#include <
ldns/wire2host.h
>
117
#include <
ldns/rr_functions.h
>
118
#include <
ldns/keys.h
>
119
#include <
ldns/parse.h
>
120
#include <
ldns/zone.h
>
121
#include <
ldns/dnssec_zone.h
>
122
#include <
ldns/rbtree.h
>
123
#include <
ldns/sha1.h
>
124
#include <
ldns/sha2.h
>
125
126
#ifdef __cplusplus
127
extern
"C"
{
128
#endif
129
130
#define LDNS_IP4ADDRLEN (32/8)
131
#define LDNS_IP6ADDRLEN (128/8)
132
#define LDNS_PORT 53
133
#define LDNS_ROOT_LABEL_STR "."
134
#define LDNS_DEFAULT_TTL 3600
135
136
/* lookup tables for standard DNS stuff */
137
139
extern
ldns_lookup_table
ldns_certificate_types
[];
141
extern
ldns_lookup_table
ldns_algorithms
[];
143
extern
ldns_lookup_table
ldns_cert_algorithms
[];
145
extern
ldns_lookup_table
ldns_rr_classes
[];
147
extern
ldns_lookup_table
ldns_rcodes
[];
149
extern
ldns_lookup_table
ldns_opcodes
[];
151
extern
ldns_lookup_table
ldns_edns_flags
[];
152
153
#ifdef __cplusplus
154
}
155
#endif
156
157
#endif
/* LDNS_DNS_H */
Generated on Tue Nov 20 2012 20:49:35 for ldns by
1.8.1.2