ldns_axfr_abort is apparently an undocumented API function. Unstaticize
and add a prototype + documentation to the relevant header.
This commit is contained in:
parent
d107305190
commit
daf4c72f7e
@ -739,6 +739,12 @@ void ldns_resolver_deep_free(ldns_resolver *res);
|
||||
*/
|
||||
ldns_rr* ldns_axfr_next(ldns_resolver *resolver);
|
||||
|
||||
/**
|
||||
* Abort a transfer that is in progress
|
||||
* \param[in] resolver the resolver that is used
|
||||
*/
|
||||
void ldns_axfr_abort(ldns_resolver *resolver);
|
||||
|
||||
/**
|
||||
* Returns true if the axfr transfer has completed (i.e. 2 SOA RRs and no errors were encountered
|
||||
* \param[in] resolver the resolver that is used
|
||||
|
@ -1372,7 +1372,7 @@ ldns_axfr_next(ldns_resolver *resolver)
|
||||
* library staying in an indetermined state because the socket for the
|
||||
* AXFR is never closed
|
||||
*/
|
||||
static void
|
||||
void
|
||||
ldns_axfr_abort(ldns_resolver *resolver)
|
||||
{
|
||||
/* Only abort if an actual AXFR is in progress */
|
||||
|
Loading…
x
Reference in New Issue
Block a user