File: base64.h

package info (click to toggle)
memcached 1.6.41-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,232 kB
  • sloc: ansic: 61,198; perl: 12,716; sh: 5,049; makefile: 471; python: 402; xml: 59
file content (17 lines) | stat: -rw-r--r-- 487 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * 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 base64.c for more details
 */

#ifndef BASE64_H
#define BASE64_H

size_t base64_encode(const unsigned char *src, size_t len,
                  unsigned char *out, size_t out_len);
size_t base64_decode(const unsigned char *src, size_t len,
                  unsigned char *out, size_t out_len);

#endif /* BASE64_H */