Changeset View
Changeset View
Standalone View
Standalone View
src/dht/rpcmsg.h
Show All 28 Lines | |||||
29 | 29 | | |||
30 | namespace bt | 30 | namespace bt | ||
31 | { | 31 | { | ||
32 | class BDictNode; | 32 | class BDictNode; | ||
33 | } | 33 | } | ||
34 | 34 | | |||
35 | namespace dht | 35 | namespace dht | ||
36 | { | 36 | { | ||
37 | | ||||
38 | #define MAX_TOKEN_SIZE 40 | ||||
39 | | ||||
37 | class DHT; | 40 | class DHT; | ||
38 | 41 | | |||
39 | enum Type | 42 | enum Type | ||
40 | { | 43 | { | ||
41 | REQ_MSG, | 44 | REQ_MSG, | ||
42 | RSP_MSG, | 45 | RSP_MSG, | ||
43 | ERR_MSG, | 46 | ERR_MSG, | ||
44 | INVALID | 47 | INVALID | ||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |