summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_check_version
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:33:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:33:12 +0000
commit36082a2fe36ecd800d784ae44c14f1f18c66a7e9 (patch)
tree6c68e0c0097987aff85a01dabddd34b862309a7c /doc/functions/gnutls_check_version
parentInitial commit. (diff)
downloadgnutls28-36082a2fe36ecd800d784ae44c14f1f18c66a7e9.tar.xz
gnutls28-36082a2fe36ecd800d784ae44c14f1f18c66a7e9.zip
Adding upstream version 3.7.9.upstream/3.7.9upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/functions/gnutls_check_version')
-rw-r--r--doc/functions/gnutls_check_version19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/functions/gnutls_check_version b/doc/functions/gnutls_check_version
new file mode 100644
index 0000000..ef221e4
--- /dev/null
+++ b/doc/functions/gnutls_check_version
@@ -0,0 +1,19 @@
+
+
+
+
+@deftypefun {const char *} {gnutls_check_version} (const char * @var{req_version})
+@var{req_version}: version string to compare with, or @code{NULL} .
+
+Check the GnuTLS Library version against the provided string.
+See @code{GNUTLS_VERSION} for a suitable @code{req_version} string.
+
+See also @code{gnutls_check_version_numeric()} , which provides this
+functionality as a macro.
+
+@strong{Returns:} Check that the version of the library is at
+minimum the one given as a string in @code{req_version} and return the
+actual version string of the library; return @code{NULL} if the
+condition is not met. If @code{NULL} is passed to this function no
+check is done and only the version string is returned.
+@end deftypefun