From 8ea4c3659a63fa4c5a1b85e2e6650ea2c3a4b91b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 16 May 2026 12:11:02 +0200 Subject: Add "reserved" parameter to a few more functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- librecrypt_get_encoding.3 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'librecrypt_get_encoding.3') diff --git a/librecrypt_get_encoding.3 b/librecrypt_get_encoding.3 index e9f7e83..2c0b827 100644 --- a/librecrypt_get_encoding.3 +++ b/librecrypt_get_encoding.3 @@ -6,8 +6,8 @@ librecrypt_get_encoding - Get encoding alphabet for the last algorithm in a chai .nf #include -const void *\fBlibrecrypt_get_encoding\fP(const char *\fIsettings\fP, size_t \fIlen\fP, - char *\fIpad_out\fP, int *\fIstrict_pad_out\fP, int \fIdecoding\fP); +const void *\fBlibrecrypt_get_encoding\fP(const char *\fIsettings\fP, size_t \fIlen\fP, char *\fIpad_out\fP, + int *\fIstrict_pad_out\fP, int \fIdecoding\fP, void *\fIreserved\fP); .fi .PP Link with @@ -44,6 +44,11 @@ character) to its value in the encoding alphabet and any other character to .BR 0xFFu . .PP +The +.I reserved +parameter is reserved for future use and should be +.IR NULL . +.PP On success, .IR *pad_out is set to the padding character, or to the @@ -77,6 +82,11 @@ The .BR librecrypt_get_encoding () function will fail if: .TP +.B EINVAL +.I reserved +is not +.IR NULL . +.TP .B ENOSYS The last algorithm in .I settings -- cgit v1.2.3-70-g09d2