base64.h 667 B

1234567891011121314151617181920212223
  1. /*
  2. * Base64 encoding/decoding (RFC1341)
  3. * Copyright (c) 2005, Jouni Malinen <j@w1.fi>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. *
  9. * Alternatively, this software may be distributed under the terms of BSD
  10. * license.
  11. *
  12. * See README and COPYING for more details.
  13. */
  14. #ifndef BASE64_H
  15. #define BASE64_h
  16. unsigned char * base64_encode(const unsigned char *src, size_t len,
  17. size_t *out_len);
  18. unsigned char * base64_decode(const unsigned char *src, size_t len,
  19. size_t *out_len);
  20. #endif /* BASE64_H */