1234567891011121314151617181920212223242526272829303132333435 |
- #include <stdint.h>
- #include <stddef.h>
- #include <stdlib.h>
- #include <string.h>
- #include "libbase64.h"
- #include "codecs.h"
- void
- plain64_base64_stream_encode
- ( struct plain64_base64_state *state
- , const char *src
- , size_t srclen
- , char *out
- , size_t *outlen
- )
- {
- #include "enc_head.c"
- #include "enc_uint64.c"
- #include "enc_tail.c"
- }
- int
- plain64_base64_stream_decode
- ( struct plain64_base64_state *state
- , const char *src
- , size_t srclen
- , char *out
- , size_t *outlen
- )
- {
- #include "dec_head.c"
- #include "dec_uint64.c"
- #include "dec_tail.c"
- }
|