aboutsummaryrefslogtreecommitdiffstats
path: root/ldns/zone.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldns/zone.h')
-rw-r--r--ldns/zone.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldns/zone.h b/ldns/zone.h
index 0d129a0c38af..f51b6bc0ebc1 100644
--- a/ldns/zone.h
+++ b/ldns/zone.h
@@ -99,7 +99,7 @@ void ldns_zone_set_rrs(ldns_zone *z, ldns_rr_list *rrlist);
* \param[in] list the list to add
* \return a true on succes otherwise falsed
*/
-bool ldns_zone_push_rr_list(ldns_zone *z, ldns_rr_list *list);
+bool ldns_zone_push_rr_list(ldns_zone *z, const ldns_rr_list *list);
/**
* push an single rr to a zone structure. This function use pointer
@@ -135,7 +135,7 @@ ldns_rr_list *ldns_zone_glue_rr_list(const ldns_zone *z);
*
* \return ldns_status mesg with an error or LDNS_STATUS_OK
*/
-ldns_status ldns_zone_new_frm_fp(ldns_zone **z, FILE *fp, ldns_rdf *origin, uint32_t ttl, ldns_rr_class c);
+ldns_status ldns_zone_new_frm_fp(ldns_zone **z, FILE *fp, const ldns_rdf *origin, uint32_t ttl, ldns_rr_class c);
/**
* Create a new zone from a file, keep track of the line numbering
@@ -148,7 +148,7 @@ ldns_status ldns_zone_new_frm_fp(ldns_zone **z, FILE *fp, ldns_rdf *origin, uint
*
* \return ldns_status mesg with an error or LDNS_STATUS_OK
*/
-ldns_status ldns_zone_new_frm_fp_l(ldns_zone **z, FILE *fp, ldns_rdf *origin, uint32_t ttl, ldns_rr_class c, int *line_nr);
+ldns_status ldns_zone_new_frm_fp_l(ldns_zone **z, FILE *fp, const ldns_rdf *origin, uint32_t ttl, ldns_rr_class c, int *line_nr);
/**
* Frees the allocated memory for the zone, and the rr_list structure in it