Hash :
48d0d5e9
Author :
Date :
2023-10-25T14:00:40
base64: new function isubase64; also, tune. * lib/base64.c (BASE64_INLINE): Define. (base64_to_int): Rename from b64 and make it extern. All uses changed. (uchar_in_range): Remove. All uses removed. (isbase64, base64_decode_ctx_init): Move to lib/base64.h and make inline. * lib/base64.h: Ignore -Wtype-limits, so that we needn’t worry about uchar_in_range. (BASE64_INLINE): Define, and use _GL_INLINE_HEADER_BEGIN. (isubase64): New function, useful as it as a different signature. (isbase64): Define in terms of isubase64. * modules/base64 (Depends-on): Add extern-inline.
Description:
Encode binary data using printable characters (base64).
Files:
lib/base64.h
lib/base64.c
m4/base64.m4
Depends-on:
extern-inline
ialloc
stdbool
memchr
configure.ac:
gl_FUNC_BASE64
Makefile.am:
lib_SOURCES += base64.h base64.c
Include:
"base64.h"
License:
LGPLv2+
Maintainer:
Simon Josefsson