interface for dht
[brdnet.git] / opcode.pas
blobec2f3b14beb9e970596a74953201a78acdad53f0
1 UNIT opcode;
2 INTERFACE
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 reserver for dht}
11 const {chat init}
12 upFileServer=2;
13 const {FS opcodes}
14 {c}upOPEN=7;
15 {s}upINFO=8;
16 {s}upFAIL=9;
17 {c}upLSEG=10;
18 {s}upUNAVL=11;
19 {c}upSTOP=13;
20 {c}upCLOSE=14;
21 {c}upWEIGHT=15;
22 {s}upEPROTO=16;
23 {s}upDONE=17;
24 {s}upSEGOK=18;
25 upErrMalformed=1;
26 upErrHiChan=2;
27 upErrChanInUse=3;
28 upErrNotFound=4;
29 upErrIO=5;
30 upErrSegNoGet=6;
31 upErrNotOpen=7;
32 upErrTroll=99;
34 IMPLEMENTATION
35 END.