about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2013-02-21 15:35:34 +0100
committerrofl0r <retnyg@gmx.net>2013-02-21 21:35:26 +0100
commitcaec662217fc13cda95dc88b20d5c7a75e483ca6 (patch)
tree6b606d1dfc69fa0a725ec6a729f376446e845eb9 /include
parent8872e4e481d8702e68641605bba279796646773d (diff)
downloadmusl-caec662217fc13cda95dc88b20d5c7a75e483ca6.tar.gz
musl-caec662217fc13cda95dc88b20d5c7a75e483ca6.tar.xz
musl-caec662217fc13cda95dc88b20d5c7a75e483ca6.zip
add arpa/ftp.h
Diffstat (limited to 'include')
-rw-r--r--include/arpa/ftp.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/arpa/ftp.h b/include/arpa/ftp.h
new file mode 100644
index 00000000..4041aeba
--- /dev/null
+++ b/include/arpa/ftp.h
@@ -0,0 +1,35 @@
+#ifndef _ARPA_FTP_H_
+#define _ARPA_FTP_H_
+#define PRELIM 1
+#define COMPLETE 2
+#define CONTINUE 3
+#define TRANSIENT 4
+#define ERROR 5
+#define TYPE_A 1
+#define TYPE_E 2
+#define TYPE_I 3
+#define TYPE_L 4
+#define FORM_N 1
+#define FORM_T 2
+#define FORM_C 3
+#define STRU_F 1
+#define STRU_R 2
+#define STRU_P 3
+#define MODE_S 1
+#define MODE_B 2
+#define MODE_C 3
+#define REC_ESC '\377'
+#define REC_EOR '\001'
+#define REC_EOF '\002'
+#define BLK_EOR 0x80
+#define BLK_EOF 0x40
+#define BLK_ERRORS 0x20
+#define BLK_RESTART 0x10
+#define BLK_BYTECOUNT 2
+#ifdef FTP_NAMES
+char *modenames[] =  {"0", "Stream", "Block", "Compressed" };
+char *strunames[] =  {"0", "File", "Record", "Page" };
+char *typenames[] =  {"0", "ASCII", "EBCDIC", "Image", "Local" };
+char *formnames[] =  {"0", "Nonprint", "Telnet", "Carriage-control" };
+#endif
+#endif