From a25a320f52d354505970aad7baea5709cb5b8d15 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 26 Sep 2026 14:30:15 +0200 Subject: Add man pages for version interospection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- librecrypt.7 | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'librecrypt.7') diff --git a/librecrypt.7 b/librecrypt.7 index caf7eda..785ee1e 100644 --- a/librecrypt.7 +++ b/librecrypt.7 @@ -132,12 +132,36 @@ chain. .SS Library introspection (ADVANCED): .TP .BR librecrypt_is_enabled (3) -Check whenther the library is compiled with support +Check whether the library is compiled with support for a specific hash algorithm. .TP .BR librecrypt_hash_algorithm_end (3) Number of hash algorithms the linked library knows about. +.TP +.BR librecrypt_version_major (3) +.TQ +.BR librecrypt_version_minor (3) +.TQ +.BR librecrypt_version_patch (3) +Get the version of the library the application +is linked against. +.TP +.BR LIBRECRYPT_VERSION_MAJOR (3) +.TQ +.BR LIBRECRYPT_VERSION_MINOR (3) +.TQ +.BR LIBRECRYPT_VERSION_PATCH (3) +Get the version of the library the application +is compiled against. +.TP +.BR LIBRECRYPT_VERSION_CMP_LINK (3) +Compare a version number against the version of the +library the application is linked against +.TP +.BR LIBRECRYPT_VERSION_CMP_BUILD (3) +Compare a version number against the version of the +library the application is compiled against .sp .SS Library tweaking functions (ADVANCED): .TP -- cgit v1.3.1