| 1 | /* |
| 2 | * base64.h |
| 3 | * Encoding and decoding routines for base64 without whitespace |
| 4 | * support. |
| 5 | * |
| 6 | * Portions Copyright (c) 2001-2019, PostgreSQL Global Development Group |
| 7 | * |
| 8 | * src/include/common/base64.h |
| 9 | */ |
| 10 | #ifndef BASE64_H |
| 11 | #define BASE64_H |
| 12 | |
| 13 | /* base 64 */ |
| 14 | extern int pg_b64_encode(const char *src, int len, char *dst); |
| 15 | extern int pg_b64_decode(const char *src, int len, char *dst); |
| 16 | extern int pg_b64_enc_len(int srclen); |
| 17 | extern int pg_b64_dec_len(int srclen); |
| 18 | |
| 19 | #endif /* BASE64_H */ |
| 20 | |