Hash :
e15c7eab
Author :
Date :
2023-10-25T14:14:15
base32: new function isubase32; also, tune. * lib/base32.c (BASE32_INLINE): Define. (base32_to_int): Rename from b32 and make it extern. All uses changed. (uchar_in_range): Remove. All uses removed. (isbase32, base32_decode_ctx_init): Move to lib/base32.h and make inline. * lib/base32.h: Ignore -Wtype-limits, so that we needn’t worry about uchar_in_range. (BASE32_INLINE): Define, and use _GL_INLINE_HEADER_BEGIN. (isubase32): New function, useful as it as a different signature. (isbase32): Define in terms of isubase32. * modules/base32 (Depends-on): Add extern-inline.
Description:
Encode binary data using printable characters (base32).
Files:
lib/base32.h
lib/base32.c
m4/base32.m4
Depends-on:
extern-inline
ialloc
stdbool
memchr
configure.ac:
gl_FUNC_BASE32
Makefile.am:
lib_SOURCES += base32.h base32.c
Include:
"base32.h"
License:
LGPLv2+
Maintainer:
TODO