/*----- Header files ------------------------------------------------------*/
+#ifndef MLIB_CODEC_H
+# include "codec.h"
+#endif
+
#ifndef MLIB_DSTR_H
# include "dstr.h"
#endif
unsigned long acc; /* Accumulator for output data */
unsigned qsz; /* Length of data queued */
unsigned lnlen; /* Length of the current line */
- const char *indent; /* Newline-and-indent string */
+ char *indent; /* Newline-and-indent string */
unsigned maxline; /* Maximum permitted line length */
} base64_ctx;
extern void base64_init(base64_ctx */*ctx*/);
+/*----- Codec object interface --------------------------------------------*/
+
+extern const codec_class base64_class, file64_class, base64url_class;
+
/*----- That's all, folks -------------------------------------------------*/
#ifdef __cplusplus