diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-09 15:53:11 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-09 17:37:44 +0200 |
commit | 0600cacfadf00e916340f2394f1d3bfc173a3d0b (patch) | |
tree | 4b1900b096de3d2b3ad49094e86adc310ec79dac /src/base64.h | |
parent | test: attempt to fix random port selection again (diff) | |
download | cimple-0600cacfadf00e916340f2394f1d3bfc173a3d0b.tar.gz cimple-0600cacfadf00e916340f2394f1d3bfc173a3d0b.zip |
store process output in SQLite
Diffstat (limited to 'src/base64.h')
-rw-r--r-- | src/base64.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/base64.h b/src/base64.h new file mode 100644 index 0000000..f86fa56 --- /dev/null +++ b/src/base64.h @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2023 Egor Tensin <Egor.Tensin@gmail.com> + * This file is part of the "cimple" project. + * For details, see https://github.com/egor-tensin/cimple. + * Distributed under the MIT License. + */ + +#ifndef __BASE64_H__ +#define __BASE64_H__ + +#include <stddef.h> + +int base64_encode(const unsigned char *src, size_t src_len, char **dst); +int base64_decode(const char *src, unsigned char **dst, size_t *dst_len); + +#endif |