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 
Including this file will include all ldns files, and define some lookup tables.
int main(void)
Definition: linktest.c:6
void ldns_rr_free(ldns_rr *rr)
frees an RR structure
Definition: rr.c:81
ldns_rr * ldns_rr_new(void)
creates a new rr structure.
Definition: rr.c:30
Resource Record.
Definition: rr.h:310