summaryrefslogtreecommitdiff
path: root/usr.bin/tcfs/uuencode.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tcfs/uuencode.h')
-rw-r--r--usr.bin/tcfs/uuencode.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.bin/tcfs/uuencode.h b/usr.bin/tcfs/uuencode.h
new file mode 100644
index 00000000000..74fcf64ff99
--- /dev/null
+++ b/usr.bin/tcfs/uuencode.h
@@ -0,0 +1,11 @@
+#ifndef UUENCODE_H
+#define UUENCODE_H
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <resolv.h>
+
+#define uuencode(src, srclength, target,targsize) \
+ __b64_ntop(src, srclength, target, targsize)
+#define uudecode(src, target, targsize) \
+ __b64_pton(src, target, targsize)
+#endif