creates a new rr from a file containing a string.
|[out] ||rr ||the new rr |
|[in] ||fp ||the file pointer to use |
|[in] ||default_ttl ||pointer to a default ttl for the rr. If NULL DEF_TTL will be used the pointer will be updated if the file contains a $TTL directive |
|[in] ||origin ||when the owner is relative add this the pointer will be updated if the file contains a $ORIGIN directive The caller must ldns_rdf_deep_free it. |
|[in] ||prev ||when the owner is whitespaces use this as the * ownername the pointer will be updated after the call The caller must ldns_rdf_deep_free it. |
- a ldns_status with an error or LDNS_STATUS_OK
Definition at line 472 of file rr.c.
References ldns_rr_new_frm_fp(), and ldns_rr_new_frm_fp_l().
Referenced by ldns_rr_new_frm_fp().