1 /* @(#)base64.h	1.3 06/04/30 Copyright 1998,1999 Heiko Eissfeldt */
2 /*
3  * A hacked version of rfc822_binary() for the Internet CD Index
4  *
5  * This is not a true RFC822 rfc822_binary() anymore. The characters
6  * '/', '+', and '=' do not work well as part of an URL.
7  * '_', '.', and '-' are used as an replacement.
8  * A final CRLF is not added.
9  */
10 /*
11  * Program:	RFC-822 routines (originally from SMTP)
12  *
13  * Author:	Mark Crispin
14  *		Networks and Distributed Computing
15  *		Computing & Communications
16  *		University of Washington
17  *		Administration Building, AG-44
18  *		Seattle, WA  98195
19  *		Internet: MRC@CAC.Washington.EDU
20  *
21  * Date:	27 July 1988
22  * Last Edited:	10 September 1998
23  *
24  * Sponsorship:	The original version of this work was developed in the
25  *		Symbolic Systems Resources Group of the Knowledge Systems
26  *		Laboratory at Stanford University in 1987-88, and was funded
27  *		by the Biomedical Research Technology Program of the National
28  *		Institutes of Health under grant number RR-00785.
29  *
30  * Original version Copyright 1988 by The Leland Stanford Junior University
31  * Copyright 1998 by the University of Washington
32  *
33  *  Permission to use, copy, modify, and distribute this software and its
34  * documentation for any purpose and without fee is hereby granted, provided
35  * that the above copyright notices appear in all copies and that both the
36  * above copyright notices and this permission notice appear in supporting
37  * documentation, and that the name of the University of Washington or The
38  * Leland Stanford Junior University not be used in advertising or publicity
39  * pertaining to distribution of the software without specific, written prior
40  * permission.  This software is made available "as is", and
41  * THE UNIVERSITY OF WASHINGTON AND THE LELAND STANFORD JUNIOR UNIVERSITY
42  * DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD TO THIS SOFTWARE,
43  * INCLUDING WITHOUT LIMITATION ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
44  * FITNESS FOR A PARTICULAR PURPOSE, AND IN NO EVENT SHALL THE UNIVERSITY OF
45  * WASHINGTON OR THE LELAND STANFORD JUNIOR UNIVERSITY BE LIABLE FOR ANY
46  * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
47  * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
48  * CONTRACT, TORT (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF
49  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
50  *
51  */
52 
53 #ifndef	_BASE64_H
54 #define	_BASE64_H
55 
56 unsigned char	*rfc822_binary	__PR((void *src, unsigned long srcl,
57 							unsigned long *len));
58 #endif	/* _BASE64_H */
59