ldns documentation

- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

linktest.c
Go to the documentation of this file.
1
2 #include "ldns/config.h"
3 #include <ldns/ldns.h>
4
5 int
6 main(void)
7 {
8 ldns_rr *rr = ldns_rr_new();
9
10 ldns_rr_free(rr);
11 return 0;
12 }
13
main
int main(void)
Definition: linktest.c:6
ldns_rr_free
void ldns_rr_free(ldns_rr *rr)
frees an RR structure
Definition: rr.c:75
ldns_struct_rr
Resource Record.
Definition: rr.h:299
ldns.h
Including this file will include all ldns files, and define some lookup tables.
ldns_rr_new
ldns_rr * ldns_rr_new(void)
creates a new rr structure.
Definition: rr.c:24
config.h