diff options
| author | Raymaekers Luca <luca@spacehb.net> | 2025-10-02 12:42:29 +0200 |
|---|---|---|
| committer | Raymaekers Luca <luca@spacehb.net> | 2025-10-02 12:42:29 +0200 |
| commit | 02841e3c67c92006f9fe08efcda0d15f3d7283c5 (patch) | |
| tree | c3b79a2c7e14473e1e9244df1af318511ab86ca1 /ws/libs/wsServer/include/base64.h | |
| parent | aadff4d1cf17cc23f6f38ab0da51baabfeb9f9d1 (diff) | |
checkpoint
Diffstat (limited to 'ws/libs/wsServer/include/base64.h')
| -rw-r--r-- | ws/libs/wsServer/include/base64.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ws/libs/wsServer/include/base64.h b/ws/libs/wsServer/include/base64.h new file mode 100644 index 0000000..5ea7f13 --- /dev/null +++ b/ws/libs/wsServer/include/base64.h @@ -0,0 +1,19 @@ +/* + * Base64 encoding/decoding (RFC1341) + * Copyright (c) 2005, Jouni Malinen <j@w1.fi> + * + * This software may be distributed under the terms of the BSD license. + * See README for more details. + */ + +#ifndef BASE64_H +#define BASE64_H + +#include <sys/types.h> + +unsigned char * base64_encode(const unsigned char *src, size_t len, + size_t *out_len); +unsigned char * base64_decode(const unsigned char *src, size_t len, + size_t *out_len); + +#endif /* BASE64_H */ |
