|
Data Structures |
| struct | ldns_struct_zone |
| | Zone type. More...
|
Typedefs |
| typedef ldns_struct_zone | ldns_zone |
Functions |
| ldns_zone * | ldns_zone_new (void) |
| | create a new ldns_zone structure
|
| ldns_rr * | ldns_zone_soa (ldns_zone *z) |
| uint16_t | ldns_zone_rr_count (ldns_zone *z) |
| | Returns the number of resource records in the zone, NOT counting the SOA record.
|
| void | ldns_zone_set_soa (ldns_zone *z, ldns_rr *soa) |
| ldns_rr_list * | ldns_zone_rrs (ldns_zone *z) |
| void | ldns_zone_set_rrs (ldns_zone *z, ldns_rr_list *rrlist) |
| bool | ldns_zone_push_rr_list (ldns_zone *z, ldns_rr_list *list) |
| | push an rrlist to a zone structure.
|
| bool | ldns_zone_push_rr (ldns_zone *z, ldns_rr *rr) |
| | push an singkle rr to a zone structure.
|
| ldns_rr_list * | ldns_zone_glue_rr_list (ldns_zone *z) |
| | Retrieve all resource records from the zone that are glue records.
|
| ldns_zone * | ldns_zone_new_frm_fp (FILE *fp, ldns_rdf *origin, uint16_t ttl, ldns_rr_class c) |
| ldns_zone * | ldns_zone_new_frm_fp_l (FILE *fp, ldns_rdf *origin, uint16_t ttl, ldns_rr_class c, int *line_nr) |
| void | ldns_zone_free (ldns_zone *zone) |
| | Frees the allocated memory for the zone, and the rr_list structure in it.
|
| void | ldns_zone_deep_free (ldns_zone *zone) |
| | Frees the allocated memory for the zone, the soa rr in it, and the rr_list structure in it, including the rr's in that.
|