summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/archive_util.c
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2007-07-06 15:36:38 +0000
committerkientzle <kientzle@FreeBSD.org>2007-07-06 15:36:38 +0000
commit8f8c5c97731ba5f5874c4278189ec2138711e819 (patch)
tree6f2d9bec516c8a7620bc902230da37c559bf1ab3 /lib/libarchive/archive_util.c
parent1651def96b01c3ce15b52e4cc084302ea73f4a27 (diff)
downloadFreeBSD-src-8f8c5c97731ba5f5874c4278189ec2138711e819.zip
FreeBSD-src-8f8c5c97731ba5f5874c4278189ec2138711e819.tar.gz
New "version stamp" simplifies determining the exact version
of libarchive being used. I've been taking advantage of this with a recent round of updates to libarchive_test so that it can test older and newer versions of the library. Approved by: re (Ken Smith)
Diffstat (limited to 'lib/libarchive/archive_util.c')
-rw-r--r--lib/libarchive/archive_util.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libarchive/archive_util.c b/lib/libarchive/archive_util.c
index 46e322a..fbb0a9f 100644
--- a/lib/libarchive/archive_util.c
+++ b/lib/libarchive/archive_util.c
@@ -51,6 +51,12 @@ archive_api_version(void)
return (ARCHIVE_API_VERSION);
}
+int
+archive_version_stamp(void)
+{
+ return (ARCHIVE_VERSION_STAMP);
+}
+
const char *
archive_version(void)
{
OpenPOWER on IntegriCloud