From fe6c36e18042603bb096d3685fe3988e32331ebf Mon Sep 17 00:00:00 2001 From: haturatu Date: Tue, 10 Dec 2024 21:28:04 +0900 Subject: first commit --- base91.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 base91.h (limited to 'base91.h') diff --git a/base91.h b/base91.h new file mode 100644 index 0000000..7a44a60 --- /dev/null +++ b/base91.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2000-2006 Joachim Henke + * + * For conditions of distribution and use, see copyright notice in base91.c + */ + +#ifndef BASE91_H +#define BASE91_H 1 + +#include + +struct basE91 { + unsigned long queue; + unsigned int nbits; + int val; +}; + +void basE91_init(struct basE91 *); + +size_t basE91_encode(struct basE91 *, const void *, size_t, void *); + +size_t basE91_encode_end(struct basE91 *, void *); + +size_t basE91_decode(struct basE91 *, const void *, size_t, void *); + +size_t basE91_decode_end(struct basE91 *, void *); + +#endif /* base91.h */ -- cgit v1.2.3