base64.h 448 B

1234567891011121314151617
  1. /*
  2. * Base64 encoding/decoding (RFC1341)
  3. * Copyright (c) 2005, Jouni Malinen <j@w1.fi>
  4. *
  5. * This software may be distributed under the terms of the BSD license.
  6. * See README for more details.
  7. */
  8. #ifndef BASE64_H
  9. #define BASE64_H
  10. unsigned char * base64_encode(const unsigned char *src, size_t len,
  11. size_t *out_len);
  12. unsigned char * base64_decode(const unsigned char *src, size_t len,
  13. size_t *out_len);
  14. #endif /* BASE64_H */