Rev | Line | |
---|
[9] | 1 | /*
|
---|
| 2 | ttn.h
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | #ifndef TTN_H
|
---|
| 6 | #define TTN_H
|
---|
| 7 |
|
---|
| 8 | #define IAC 255
|
---|
| 9 | #define IAC_SE 240
|
---|
| 10 | #define IAC_NOP 241
|
---|
| 11 | #define IAC_DataMark 242
|
---|
| 12 | #define IAC_BRK 243
|
---|
| 13 | #define IAC_IP 244
|
---|
| 14 | #define IAC_AO 245
|
---|
| 15 | #define IAC_AYT 246
|
---|
| 16 | #define IAC_EC 247
|
---|
| 17 | #define IAC_EL 248
|
---|
| 18 | #define IAC_GA 249
|
---|
| 19 | #define IAC_SB 250
|
---|
| 20 | #define IAC_WILL 251
|
---|
| 21 | #define IAC_WONT 252
|
---|
| 22 | #define IAC_DO 253
|
---|
| 23 | #define IAC_DONT 254
|
---|
| 24 |
|
---|
| 25 | #define OPT_ECHO 1
|
---|
| 26 | #define OPT_SUPP_GA 3
|
---|
| 27 | #define OPT_TERMTYPE 24
|
---|
| 28 |
|
---|
| 29 | #define TERMTYPE_SEND 1
|
---|
| 30 | #define TERMTYPE_IS 0
|
---|
| 31 |
|
---|
| 32 | #define FALSE 0
|
---|
| 33 | #define TRUE (!(FALSE))
|
---|
| 34 |
|
---|
| 35 | extern int DO_echo;
|
---|
| 36 | extern int DO_echo_allowed;
|
---|
| 37 | extern int WILL_terminal_type;
|
---|
| 38 | extern int WILL_terminal_type_allowed;
|
---|
| 39 | extern int DO_suppress_go_ahead;
|
---|
| 40 | extern int DO_suppress_go_ahead_allowed;
|
---|
| 41 | extern int WILL_suppress_go_ahead;
|
---|
| 42 | extern int WILL_suppress_go_ahead_allowed;
|
---|
| 43 |
|
---|
| 44 | #endif /* TTN_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.