summaryrefslogtreecommitdiff
path: root/other/ssharp/openbsd-compat/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'other/ssharp/openbsd-compat/base64.h')
-rw-r--r--other/ssharp/openbsd-compat/base64.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/other/ssharp/openbsd-compat/base64.h b/other/ssharp/openbsd-compat/base64.h
new file mode 100644
index 0000000..b4d1238
--- /dev/null
+++ b/other/ssharp/openbsd-compat/base64.h
@@ -0,0 +1,18 @@
1/* $Id: base64.h,v 1.1.1.1 2001/09/19 14:44:59 stealth 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
10int b64_ntop(u_char const *src, size_t srclength, char *target,
11 size_t targsize);
12int b64_pton(char const *src, u_char *target, size_t targsize);
13# endif /* !HAVE_B64_NTOP */
14# define __b64_ntop b64_ntop
15# define __b64_pton b64_pton
16#endif /* HAVE___B64_NTOP */
17
18#endif /* _BSD_BINRESVPORT_H */