libctf: add ctf_archive_count
authorNick Alcock <nick.alcock@oracle.com>
Tue, 2 Jun 2020 20:14:22 +0000 (21:14 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Wed, 22 Jul 2020 16:57:39 +0000 (17:57 +0100)
commit9c23dfa5aa48c3ec94f643ce25a2b900ad0549c5
treef6cdbe6d88b5300cf4026d5ea667fb8af9f44e2a
parente0325e2cede6f9da2560ede6d4a17d9e21fbea9c
libctf: add ctf_archive_count

Another count that was otherwise unavailable without doing expensive
operations.

include/
* ctf-api.h (ctf_archive_count): New.

libctf/
* ctf-archive.c (ctf_archive_count): New.
* libctf.ver: New public function.
include/ChangeLog
include/ctf-api.h
libctf/ChangeLog
libctf/ctf-archive.c
libctf/libctf.ver