52
SHARES_INFO = 27; // answer to LIST_SHARES, one message per share
53
SHARES_END = 28; // no more SHARES_INFO
51
CREATE_SHARE = 25; // enable the sharing for a given node
52
LIST_SHARES = 26; // list all the shares
53
SHARES_INFO = 27; // answer to LIST_SHARES, one message per share
54
SHARES_END = 28; // no more SHARES_INFO
55
NOTIFY_SHARE = 29; // notifies the presence of a new share
56
SHARE_ACCEPTED = 30; // notifies whether a share was accepted or not
57
SHARE_DELETED = 31; // answer to DELETE_SHARE (the share was disabled)
58
SHARE_CREATED = 34; // answer to CREATE_SHARE, returns share id
59
DELETE_SHARE = 36; // disable the sharing for a given node
61
CREATE_UDF = 44; // register a new UDF against the server
62
LIST_VOLUMES = 45; // list all volumes (UDFs plus accepted shares)
63
VOLUME_DELETED = 46; // answer to DELETE_VOLUME (the volume was deleted)
64
VOLUME_CREATED = 47; // answer to CREATE_UDF or a share was accepted
65
DELETE_VOLUME = 48; // removes the UDF and its files from the server
57
67
CANCEL_REQUEST = 32;
62
QUERY_CAPS = 37; // client2server, no commitment
63
SET_CAPS = 38; // client2server, commitment from the server
64
ACCEPT_CAPS = 39; // server2client, the answer for previous two
65
FREE_SPACE_INFO = 40; // answer to FREE_SPACE_INQUIRY
70
QUERY_CAPS = 37; // client2server, no commitment
71
SET_CAPS = 38; // client2server, commitment from the server
72
ACCEPT_CAPS = 39; // server2client, the answer for previous two
73
FREE_SPACE_INFO = 40; // answer to FREE_SPACE_INQUIRY
66
74
FREE_SPACE_INQUIRY = 41;
67
ACCOUNT_INFO = 42; // answer to ACCOUNT_INQUIRY
75
ACCOUNT_INFO = 42; // answer to ACCOUNT_INQUIRY
68
76
ACCOUNT_INQUIRY = 43;
91
99
optional CancelRequest cancel_request = 17;
92
100
optional NodeAttr node_attr = 18;
102
// share, UDf and volume management
95
103
optional CreateShare create_share = 19;
96
104
optional Shares shares = 20;
97
105
optional NotifyShare notify_share = 21;
100
108
optional ShareCreated share_created = 24;
101
109
optional DeleteShare delete_share = 25;
111
optional CreateUDF create_udf = 33;
112
optional Volumes volumes = 34;
113
optional VolumeDeleted volume_deleted = 35;
114
optional VolumeCreated volume_created = 36;
115
optional DeleteVolume delete_volume = 37;
104
118
repeated QueryCaps query_caps = 26;
105
119
repeated SetCaps set_caps = 27;
303
317
optional string share_id = 1;
321
optional bytes path = 1;
322
optional string name = 2;
326
optional bytes volume = 1;
327
optional bytes node = 2;
330
message VolumeDeleted {
331
optional string volume = 1;
334
message VolumeCreated {
335
optional string volume = 1;
338
message DeleteVolume {
339
optional string volume = 1;
306
342
message QueryCaps {
307
343
optional string capability = 1;