xref: /onnv-gate/usr/src/cmd/ssh/include/base64.h (revision 5243:903f035961d7)
10Sstevel@tonic-gate #ifndef	_BASE64_H
20Sstevel@tonic-gate #define	_BASE64_H
30Sstevel@tonic-gate 
4*5243Sjp161948 /* $Id: base64.h,v 1.3 2002/02/26 16:59:59 stevesk Exp $ */
5*5243Sjp161948 
60Sstevel@tonic-gate #pragma ident	"%Z%%M%	%I%	%E% SMI"
70Sstevel@tonic-gate 
80Sstevel@tonic-gate #ifdef __cplusplus
90Sstevel@tonic-gate extern "C" {
100Sstevel@tonic-gate #endif
110Sstevel@tonic-gate 
120Sstevel@tonic-gate 
130Sstevel@tonic-gate #include "config.h"
140Sstevel@tonic-gate 
150Sstevel@tonic-gate #ifndef HAVE___B64_NTOP
160Sstevel@tonic-gate # ifndef HAVE_B64_NTOP
170Sstevel@tonic-gate int b64_ntop(u_char const *src, size_t srclength, char *target,
180Sstevel@tonic-gate     size_t targsize);
19*5243Sjp161948 int b64_pton(u_char const *src, u_char *target, size_t targsize);
200Sstevel@tonic-gate # endif /* !HAVE_B64_NTOP */
210Sstevel@tonic-gate # define __b64_ntop b64_ntop
220Sstevel@tonic-gate # define __b64_pton b64_pton
230Sstevel@tonic-gate #endif /* HAVE___B64_NTOP */
240Sstevel@tonic-gate 
250Sstevel@tonic-gate #ifdef __cplusplus
260Sstevel@tonic-gate }
270Sstevel@tonic-gate #endif
280Sstevel@tonic-gate 
290Sstevel@tonic-gate #endif /* _BASE64_H */
30