[getdns-api] getdns_return_t for destroy methods

Paul Hoffman paul.hoffman at vpnc.org
Mon Mar 10 00:51:09 MST 2014


On Mar 9, 2014, at 8:45 PM, Goyal, Neel <ngoyal at verisign.com> wrote:

> Here's an attempt:
> 
> getdns_return_t getdns_context_destroy(struct getdns_context* context);
> 
> Returns GETDNS_RETURN_GOOD if the context was successfully destroyed.  In the event that the context cannot be destroyed, GETDNS_RETURN_GENERIC_ERROR is returned.  Some implementations may return this if getdns_context_destroy is called within a getdns_callback_t.

"Some implementations"? Can any implementation destroy the context within the callback?

--Paul Hoffman


More information about the getdns-api mailing list