fix dlsym of thread-local symbols on archs with DTP_OFFSET!=0
[musl.git] / include / arpa / ftp.h
blobfb0a46f2b879423290365cda85892a587f89929b
1 #ifndef _ARPA_FTP_H
2 #define _ARPA_FTP_H
3 #define PRELIM 1
4 #define COMPLETE 2
5 #define CONTINUE 3
6 #define TRANSIENT 4
7 #define ERROR 5
8 #define TYPE_A 1
9 #define TYPE_E 2
10 #define TYPE_I 3
11 #define TYPE_L 4
12 #define FORM_N 1
13 #define FORM_T 2
14 #define FORM_C 3
15 #define STRU_F 1
16 #define STRU_R 2
17 #define STRU_P 3
18 #define MODE_S 1
19 #define MODE_B 2
20 #define MODE_C 3
21 #define REC_ESC '\377'
22 #define REC_EOR '\001'
23 #define REC_EOF '\002'
24 #define BLK_EOR 0x80
25 #define BLK_EOF 0x40
26 #define BLK_ERRORS 0x20
27 #define BLK_RESTART 0x10
28 #define BLK_BYTECOUNT 2
29 #ifdef FTP_NAMES
30 char *modenames[] = {"0", "Stream", "Block", "Compressed" };
31 char *strunames[] = {"0", "File", "Record", "Page" };
32 char *typenames[] = {"0", "ASCII", "EBCDIC", "Image", "Local" };
33 char *formnames[] = {"0", "Nonprint", "Telnet", "Carriage-control" };
34 #endif
35 #endif