[getdns-api] getdns_return_t for destroy methods

Goyal, Neel ngoyal at verisign.com
Thu Mar 6 17:26:17 CET 2014


Hello,

I would like to propose that we change the signatures of the destroy routines such that they return getdns_return_t.

  *   getdns_return_t getdns_context_destroy
  *   getdns_return_t getdns_dict_destroy
  *   getdns_return_t getdns_list_destroy

This would especially be useful in getdns_context_destroy since implementations may decide that destroying a context within a callback is allowed or not.  There are some fun edge cases we’ve been dealing with regarding this.  Also, it keeps the API consistent with the other methods.

Thoughts?

Neel
“This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed, and may contain information that is non-public, proprietary, privileged, confidential and exempt from disclosure under applicable law or may be constituted as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this message in error, notify sender immediately and delete this message immediately.”
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://getdnsapi.net/pipermail/spec/attachments/20140306/a0f54d23/attachment.html>
-------------- next part --------------
_______________________________________________
getdns-api mailing list
getdns-api at vpnc.org


More information about the spec mailing list