diff options
author | chris <chris> | 2006-09-20 10:25:14 +0000 |
---|---|---|
committer | chris <chris> | 2006-09-20 10:25:14 +0000 |
commit | 81a9797322254f08d8974fbac563296658d139e9 (patch) | |
tree | 09ebe483a6fff78c50a86e07128bb7612423fb3c /tileserver/base64.h | |
parent | 982f6dd89c70dc48dffb8d98bf8b00f53ddd83c4 (diff) |
More tile server stuff.
Diffstat (limited to 'tileserver/base64.h')
-rw-r--r-- | tileserver/base64.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tileserver/base64.h b/tileserver/base64.h new file mode 100644 index 000000000..13acd356c --- /dev/null +++ b/tileserver/base64.h @@ -0,0 +1,21 @@ +/* + * base64.h: + * Base64 and "base64ish" encoding and decoding. + * + * Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. + * Email: chris@mysociety.org; WWW: http://www.mysociety.org/ + * + * $Id: base64.h,v 1.1 2006-09-20 10:25:14 chris Exp $ + * + */ + +#ifndef __BASE64_H_ /* include guard */ +#define __BASE64_H_ + +/* base64.c */ +char *base64_encode(const void *in, const size_t inlen, char *out, + const bool b64ish, const boolnopad); +size_t base64_decode(const char *in, void *out, size_t *outlen, + const bool b64ish); + +#endif /* __BASE64_H_ */ |