libctf: library version enforcement
authorNick Alcock <nick.alcock@oracle.com>
Wed, 24 Apr 2019 10:26:42 +0000 (11:26 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 28 May 2019 16:08:29 +0000 (17:08 +0100)
commit6c33b742ce19cc2fd226d84f2991572239199a62
treeb6ef5f9c4b2aa6d1c4a716a4e279c9d6a7222c1d
parentc499eb6896cd803d26da8c719bfac9c03e596c08
libctf: library version enforcement

This old Solaris standard allows callers to specify that they are
expecting one particular API and/or CTF file format from the library.

libctf/
* ctf-impl.h (_libctf_version): New declaration.
* ctf-subr.c (_libctf_version): Define it.
(ctf_version): New.

include/
* ctf-api.h (ctf_version): New.
include/ChangeLog
include/ctf-api.h
libctf/ChangeLog
libctf/ctf-impl.h
libctf/ctf-subr.c