diff options
author | kientzle <kientzle@FreeBSD.org> | 2007-07-06 15:36:38 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2007-07-06 15:36:38 +0000 |
commit | 8f8c5c97731ba5f5874c4278189ec2138711e819 (patch) | |
tree | 6f2d9bec516c8a7620bc902230da37c559bf1ab3 /lib/libarchive/archive_util.c | |
parent | 1651def96b01c3ce15b52e4cc084302ea73f4a27 (diff) | |
download | FreeBSD-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.c | 6 |
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) { |