mirror of
https://gitlab.com/fabinfra/fabaccess/fabaccess-api.git
synced 2025-03-12 23:01:47 +01:00
SEMICOLONS!
This commit is contained in:
parent
dbf6dda328
commit
10d231af28
10
api.capnp
10
api.capnp
@ -86,7 +86,7 @@ struct Machine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct PropertyMap {
|
struct PropertyMap {
|
||||||
properties @0 :List(Property)
|
properties @0 :List(Property);
|
||||||
struct Property {
|
struct Property {
|
||||||
key @0 :Text;
|
key @0 :Text;
|
||||||
value @1 :Text;
|
value @1 :Text;
|
||||||
@ -98,7 +98,7 @@ struct Machine {
|
|||||||
info @0 () -> ( minfo :MInfo, dummy :UInt8 = 0 );
|
info @0 () -> ( minfo :MInfo, dummy :UInt8 = 0 );
|
||||||
# Check the state of a machine.
|
# Check the state of a machine.
|
||||||
|
|
||||||
getProperties @1 () -> (properties :PropertyMap, dummy :UInt8 = 0 )
|
getProperties @1 () -> (properties :PropertyMap, dummy :UInt8 = 0 );
|
||||||
# Read Machine Properties
|
# Read Machine Properties
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -118,13 +118,13 @@ struct Machine {
|
|||||||
# Try to reserve a machine. returns a NULL-ptr if the user does not have the required
|
# Try to reserve a machine. returns a NULL-ptr if the user does not have the required
|
||||||
# permissions to reserve this machine
|
# permissions to reserve this machine
|
||||||
|
|
||||||
setProperties @2 (properties :PropertyMap) -> ()
|
setProperties @2 (properties :PropertyMap) -> ();
|
||||||
# Write all Machine Properties
|
# Write all Machine Properties
|
||||||
|
|
||||||
setProperty @3 (property :Property) -> ()
|
setProperty @3 (property :PropertyMap.Property) -> ();
|
||||||
# Write ONE Machine Property identified by it's key
|
# Write ONE Machine Property identified by it's key
|
||||||
|
|
||||||
sendRawData @4 (data :Data) -> ()
|
sendRawData @4 (data :Data) -> ();
|
||||||
# send a blob of arbitrary data to the machine
|
# send a blob of arbitrary data to the machine
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user