updated spec according to syncthing/syncthing/pull/2668
This commit is contained in:
+11
-4
@@ -209,6 +209,10 @@ Graphical Representation
|
|||||||
\ ID (variable length) \
|
\ ID (variable length) \
|
||||||
/ /
|
/ /
|
||||||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||||
|
/ /
|
||||||
|
\ Label (length + padded data) \
|
||||||
|
/ /
|
||||||
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||||
| Number of Devices |
|
| Number of Devices |
|
||||||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||||
/ /
|
/ /
|
||||||
@@ -327,6 +331,8 @@ Fields (Folder Structure)
|
|||||||
|
|
||||||
The **ID** field contains the folder ID, as a human readable string.
|
The **ID** field contains the folder ID, as a human readable string.
|
||||||
|
|
||||||
|
The **Label** field contains the folder label, as human readable name for the **ID**.
|
||||||
|
|
||||||
The **Devices** field is list of devices participating in sharing this folder.
|
The **Devices** field is list of devices participating in sharing this folder.
|
||||||
|
|
||||||
The **Flags** field contains flags that affect the behavior of the folder. The
|
The **Flags** field contains flags that affect the behavior of the folder. The
|
||||||
@@ -441,10 +447,11 @@ XDR
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct Folder {
|
struct Folder {
|
||||||
string ID<256>;
|
string ID<256>;
|
||||||
Device Devices<1000000>;
|
string Label<256>;
|
||||||
unsigned int Flags;
|
Device Devices<1000000>;
|
||||||
Option Options<64>;
|
unsigned int Flags;
|
||||||
|
Option Options<64>;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Device {
|
struct Device {
|
||||||
|
|||||||
Reference in New Issue
Block a user