Subject: Re: undocumented but used functions

Re: undocumented but used functions

From: Dima Tisnek <dimaqq_at_gmail.com>
Date: Thu, 14 Feb 2013 09:02:10 +0200

how about we keep these inline in headers only? link/runtime
dependency is removed, if someone uses these it's as if they copied
the code. header might need broader license clause though.

d.

On 14 February 2013 01:41, Bert Belder <bertbelder_at_gmail.com> wrote:
>> I noticed that acountry.c and ahost.c, two of our demo examples, use
>> ares_inet_ntop() and ares_inet_pton().
>>
>> None of these functions are part of our documented public API and I would
>> like to clean this up.
>>
>> Anyone who feels strongly enough about this subject to speak up for either
>> making them part of the API or for properly removing the use of them from
>> the examples?
>
> For a long time we used these functions in node.js. It's quite useful to
> have an implementation of inet_pton/inet_ntop available that works the same
> everywhere, especially if you care about windows support.
>
> - Bert
>
Received on 2013-02-14