repo.or.cz
/
brdnet.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Select message structure change.
[brdnet.git]
/
opcode.pas
blob
3210e1bbe766103dc60789f002746c673dd1c4d8
1
UNIT
opcode
;
2
INTERFACE
3
4
const
{dgram opcode}
5
tcdata
=
4
;
6
tcdataimm
=
6
;
7
tccont
=
5
;
8
tceack
=
7
;
9
tcdata_no_report
=
8
unimplemented
;
10
{10-16 reserved for dht}
11
dht
=
10
;
12
dhtRequest
=
10
;
13
dhtSelect
=
11
;
14
dhtReqAck
=
12
;
15
dhtWazzup
=
13
;
16
const
{chat init}
17
upFileServer
=
2
;
18
const
{FS opcodes}
19
{c}
upOPEN
=
7
;
20
{s}
upINFO
=
8
;
21
{s}
upFAIL
=
9
;
22
{c}
upLSEG
=
10
;
23
{s}
upUNAVL
=
11
;
24
{c}
upSTOP
=
13
;
25
{c}
upCLOSE
=
14
;
26
{c}
upWEIGHT
=
15
;
27
{s}
upEPROTO
=
16
;
28
{s}
upDONE
=
17
;
29
{s}
upSEGOK
=
18
;
30
upErrMalformed
=
1
;
31
upErrHiChan
=
2
;
32
upErrChanInUse
=
3
;
33
upErrNotFound
=
4
;
34
upErrIO
=
5
;
35
upErrSegNoGet
=
6
;
36
upErrNotOpen
=
7
;
37
upErrTroll
=
99
;
38
39
IMPLEMENTATION
40
END
.