chiark / gitweb /
Provide maxlen functions
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Nov 2019 11:41:04 +0000 (11:41 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Nov 2019 11:41:04 +0000 (11:41 +0000)
commit383f9426f440ef0b8b6e0e712453b738a06722f6
treec9fe91b994c6d824d07cea3c7b629241889a836b
parent5009883594a8774c68ac5413aa4bb33d20199104
Provide maxlen functions

These make it much easier to write callers!

I have chosen not to try to deal with "large" input values and instead
write a calculation that would overflow and document the limitation.

Handling those large values is fiddle and left for a future
enhancement.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
base91.c
base91.h