Hi Felipe,

On 2/13/20 5:17 PM, Felipe Gasper via Unbound-users wrote:
> Hello,
> 
> I’ve noticed that UNBOUND_VERSION_MAJOR and friends aren’t defined in some 
> older libunbound installs.
> 
> Is there any reliable way to get the libunbound version in those older 
> versions from C?

For 1.4.15 and later there is ub_version().  Before that, no version
information, don't know if you can create a request for version.server
CH TXT and then the library tells you, if that works.  Or test for
features, or unbound -h output. (unbound -V nowadays).

Best regards, Wouter

> 
> Thank you!
> 
> -FG
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to