diff options
Diffstat (limited to '')
| -rw-r--r-- | librecrypt_get_encoding.3 | 14 |
1 files changed, 12 insertions, 2 deletions
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 <librecrypt.h> -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 |
