Change PoW timestamp format.
[brdnet.git] / opcode.pas
blobf67aaf01aac491b95058cbd479435e1967756555
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 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 crAuthReq=3;
19 const {FS opcodes}
20 {c}upOPEN=7;
21 {s}upINFO=8;
22 {s}upFAIL=9;
23 {c}upLSEG=10;
24 {s}upUNAVL=11;
25 {c}upSTOP=13;
26 {c}upCLOSE=14;
27 {c}upWEIGHT=15;
28 {s}upEPROTO=16;
29 {s}upDONE=17;
30 {s}upSEGOK=18;
31 upErrMalformed=1;
32 upErrHiChan=2;
33 upErrChanInUse=3;
34 upErrNotFound=4;
35 upErrIO=5;
36 upErrSegNoGet=6;
37 upErrNotOpen=7;
38 upErrTroll=99;
40 IMPLEMENTATION
41 END.