xref: /titanic_41/usr/src/cmd/ssh/include/base64.h (revision 6dfee4834394825da35b977ca71cdc965bc7b6a4)
1 /* $Id: base64.h,v 1.3 2002/02/26 16:59:59 stevesk Exp $ */
2 
3 #ifndef	_BASE64_H
4 #define	_BASE64_H
5 
6 #pragma ident	"%Z%%M%	%I%	%E% SMI"
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 
13 #include "config.h"
14 
15 #ifndef HAVE___B64_NTOP
16 # ifndef HAVE_B64_NTOP
17 int b64_ntop(u_char const *src, size_t srclength, char *target,
18     size_t targsize);
19 int b64_pton(char const *src, u_char *target, size_t targsize);
20 # endif /* !HAVE_B64_NTOP */
21 # define __b64_ntop b64_ntop
22 # define __b64_pton b64_pton
23 #endif /* HAVE___B64_NTOP */
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif /* _BASE64_H */
30