Add flags and options for future extensibility (fixes #1027)

This commit is contained in:
Jakob Borg
2015-03-25 21:21:12 +01:00
parent 0289c50ad9
commit 23bae932c7
4 changed files with 77 additions and 9 deletions

View File

@@ -101,12 +101,15 @@ func (o *ClusterConfigMessage) GetOption(key string) string {
type Folder struct {
ID string // max:64
Devices []Device
Flags uint32
Options []Option // max:64
}
type Device struct {
ID []byte // max:32
Flags uint32
MaxLocalVersion int64
Flags uint32
Options []Option // max:64
}
type Option struct {