Fix compilation error

This commit is contained in:
Gregor Reitzenstein 2020-04-23 15:35:34 +02:00
parent ef66302e8f
commit 16a4aba76a
3 changed files with 5 additions and 5 deletions

View File

@ -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.
} }

View File

@ -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.

View File

@ -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;
} }
} }