/[dynamips]/trunk/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 /trunk/base64.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12 - (show annotations)
Sat Oct 6 16:45:40 2007 UTC (16 years, 5 months ago) by dpavlin
File MIME type: text/plain
File size: 526 byte(s)
make working copy

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(unsigned char *out,const unsigned char *in,int maxlen);
19
20 #endif

  ViewVC Help
Powered by ViewVC 1.1.26