xref: /titanic_44/usr/src/cmd/ssh/include/base64.h (revision c7158ae983f5a04c4a998f468ecefba6d23ba721)
1 #ifndef	_BASE64_H
2 #define	_BASE64_H
3 
4 /* $Id: base64.h,v 1.3 2002/02/26 16:59:59 stevesk Exp $ */
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(u_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