'\" t .\" Title: tlsrpt_version_check .\" Author: Boris Lohner .\" Generator: Asciidoctor 2.0.26 .\" Date: 2026-09-01 .\" Manual: tlsrpt_version_check .\" Source: tlsrpt_version_check .\" Language: English .\" .TH "TLSRPT_VERSION_CHECK" "3" "2026-09-01" "tlsrpt_version_check" "tlsrpt_version_check" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "NAME" tlsrpt_version_check \- check whether the version of libtlsrpt is compatible with the calling program .SH "SYNOPSIS" .sp #include .sp int tlsrpt_version_check(int major, int minor, int patch) .SH "DESCRIPTION" .sp The \f(CRtlsrpt_version_check\fP function checks whether the version of libtlsrpt is compatible with the calling program. .sp A program compiled with libtlsrpt version a.b.c can call \f(CRtlsrpt_version_check(a, b, c)\fP to determine if the loaded library is compatible with the program. .SH "RETURN VALUE" .sp The tlsrpt_version function returns 1 when the library is compatible with the calling program and 0 otherwise. .SH "SEE ALSO" .sp man:tlsrpt_version_check[3] .SH "AUTHOR" .sp Boris Lohner