xref: /freebsd/crypto/openssh/openbsd-compat/base64.h (revision 7660b554bc59a07be0431c17e0e33815818baa69)
1 /* $Id: base64.h,v 1.4 2003/02/24 04:45:43 djm Exp $ */
2 
3 #ifndef _BSD_BASE64_H
4 #define _BSD_BASE64_H
5 
6 #include "config.h"
7 
8 #ifndef HAVE___B64_NTOP
9 # ifndef HAVE_B64_NTOP
10 int b64_ntop(u_char const *src, size_t srclength, char *target,
11     size_t targsize);
12 # endif /* !HAVE_B64_NTOP */
13 # define __b64_ntop b64_ntop
14 #endif /* HAVE___B64_NTOP */
15 
16 #ifndef HAVE___B64_PTON
17 # ifndef HAVE_B64_PTON
18 int b64_pton(char const *src, u_char *target, size_t targsize);
19 # endif /* !HAVE_B64_PTON */
20 # define __b64_pton b64_pton
21 #endif /* HAVE___B64_PTON */
22 
23 #endif /* _BSD_BASE64_H */
24