mirror of
https://gitlab.com/fabinfra/fabaccess/fabaccess-api.git
synced 2025-03-12 14:51:42 +01:00
Fix compilation error
This commit is contained in:
parent
ef66302e8f
commit
16a4aba76a
@ -93,7 +93,7 @@ interface Machine {
|
|||||||
|
|
||||||
interface Check {
|
interface Check {
|
||||||
ok @0 () -> (); # The machine was clean & ok. -> free
|
ok @0 () -> (); # The machine was clean & ok. -> free
|
||||||
not_ok @1 () -> ();
|
notOk @1 () -> ();
|
||||||
# The machine was left in an unacceptable state.
|
# The machine was left in an unacceptable state.
|
||||||
# Most likely marks the machine as `blocked` and somehow informs the previous user.
|
# Most likely marks the machine as `blocked` and somehow informs the previous user.
|
||||||
}
|
}
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
# - Multiple authentication is currently NOT supported.
|
# - Multiple authentication is currently NOT supported.
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
struct Message {
|
struct AuthMessage {
|
||||||
union {
|
union {
|
||||||
discover @0 :Void;
|
discover @0 :Void;
|
||||||
# Message sent by a client to discover the list of available mechanisms.
|
# Message sent by a client to discover the list of available mechanisms.
|
||||||
|
@ -23,15 +23,15 @@
|
|||||||
@0x9e1c146a27dcc635;
|
@0x9e1c146a27dcc635;
|
||||||
|
|
||||||
using Auth = import "auth.capnp";
|
using Auth = import "auth.capnp";
|
||||||
using Api = import "api.capnp"
|
using Api = import "api.capnp";
|
||||||
|
|
||||||
struct Message {
|
struct Message {
|
||||||
union {
|
union {
|
||||||
hello @0 :Hello;
|
hello @0 :Hello;
|
||||||
bye @1 :Bye;
|
bye @1 :Bye;
|
||||||
starttls @2 :Void;
|
starttls @2 :Void;
|
||||||
auth @3 :Auth.Message;
|
auth @3 :Auth.AuthMessage;
|
||||||
bootstrap @4 :Api.Diflouroborane
|
bootstrap @4 :Api.Diflouroborane;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user