-
Notifications
You must be signed in to change notification settings - Fork 22
/
wireprotocol.txt
63 lines (60 loc) · 1.27 KB
/
wireprotocol.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Open session
- cmd: 0
- name: data
Response:
- handle: int
Close handle
- cmd: 1
- handle: int
Response:
none
IPC message
- cmd: 2
- request_type: int
- data_count: int
- data: int[data_count]
- copy_count: int
- copied_handles: int[copy_count]
- move_count: int
- moved_handles: int[move_count]
- a_count: int
- a_buffers:
- blob: data
- perms: int
- b_count: int
- b_buffers:
- blob: data
- perms: int
- c_count: int
- c_buffers:
- blob: data
- x_count: int
- x_buffers:
- blob: data
- counter: int
- handle: int
Response:
- error_code: int
- data_count: int
- data: int[data_count]
- copy_count: int
- copied_handles: int[copy_count]
- move_count: int
- moved_handles: int[move_count]
- a_count: int
- a_buffers:
- blob: data
- perms: int
- b_count: int
- b_buffers:
- blob: data
- perms: int
- c_count: int
- c_buffers:
- blob: data
- x_count: int
- x_buffers:
- blob: data
- counter: int
- response_type: int
NOTE: If error_code is nonzero, no fields will follow!