/[dynamips]/upstream/dynamips-0.2.5/base64.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /upstream/dynamips-0.2.5/base64.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations)
Sat Oct 6 16:01:44 2007 UTC (12 years, 2 months ago) by dpavlin
File MIME type: text/plain
File size: 508 byte(s)
import 0.2.5 from upstream

1 /*
2 * base64.c -- base-64 conversion routines.
3 *
4 * For license terms, see the file COPYING in this directory.
5 *
6 * This base 64 encoding is defined in RFC2045 section 6.8,
7 * "Base64 Content-Transfer-Encoding", but lines must not be broken in the
8 * scheme used here.
9 */
10
11 #ifndef __BASE64_H__
12 #define __BASE64_H__
13
14 /* Encode into base64 */
15 void base64_encode(unsigned char *out,const unsigned char *in,int inlen);
16
17 /* Decode from base64 */
18 int base64_decode(char *out,const char *in,int maxlen);
19
20 #endif

  ViewVC Help
Powered by ViewVC 1.1.26