[getdns-api] Capability and version checking

Paul Hoffman paul.hoffman at vpnc.org
Mon Jan 28 20:05:44 MST 2013


On Jan 28, 2013, at 6:36 PM, Phil Pennock <getdns-api-phil at spodhuis.org> wrote:

> On 2013-01-28 at 17:36 -0800, Paul Hoffman wrote:
>> On Jan 28, 2013, at 5:08 PM, Phil Pennock <getdns-api-phil at spodhuis.org> wrote:
>>> I'm not seeing guaranteed compile-time constants for detecting
>>> compile-vs-runtime differences?
>> 
>> Please say more about these differences.
> 
> % exim -d --version
> Library version: SQLite: Compile: 3.7.14
>                         Runtime: 3.7.14.1
> 
> More generally, you're currently documenting an API, not an ABI.  A
> release change could move something to be a macro around a function with
> a different name and the API would be preserved.

Exactly right. See "implementation_string" in Section 3.5. Do you need something more than that? If so, please specify.

>> Would a PTR lookup on 127.0.0.1 be sufficient for you? If so, I can
>> add that in as the suggested way to get the information at startup.
> 
> Sure.

Done.

--Paul Hoffman


More information about the getdns-api mailing list