[getdns-api] A couple of more changes
Willem Toorop
willem at nlnetlabs.nl
Wed Nov 20 16:54:34 CET 2013
op 20-11-13 16:30, Paul Hoffman schreef:
> On Nov 19, 2013, at 8:45 PM, Melinda Shore <melinda.shore at nomountain.net> wrote:
>> 2) From the sync functions we'd like to remove the the
>> response_length parameter and pass the response parameter
>> by reference (**response rather than *response)
>
> If you do #2, you need to add a new error that say "I couldn't allocate enough memory to give you a response", and you should document that you will not give partial responses in that case. (Please don't say "if **response is NULL, that tells you that it failed"; that's too 90's for this spec.)
+1
_______________________________________________
getdns-api mailing list
getdns-api at vpnc.org
More information about the spec
mailing list