repo.or.cz
/
rlserver.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
moved telnet-related comde to telnet.c
[rlserver.git]
/
telnet.h
blob
307ced095b649a3a97b9818f0b8cdcc052161e07
1
#ifndef __RLS_TELNET__
2
#define __RLS_TELNET__
3
4
5
enum
6
{
7
// RFC 854
8
TN_IAC
=
0xFF
,
9
TN_WILL
=
0xFB
,
10
TN_WONT
=
0xFC
,
11
TN_DO
=
0xFD
,
12
TN_DONT
=
0xFE
,
13
TN_SB
=
0xFA
,
14
TN_SE
=
0xF0
,
15
// RFC 857
16
TN_ECHO
=
0x01
,
17
// RFC 858
18
TN_SUPPRESS_GA
=
0x03
,
19
// RFC 1073
20
TN_NAWS
=
0x1F
21
};
22
23
24
void
run_game
(
int
sck
);
25
26
27
#endif
/*__RLS_TELNET__*/
28