From 16a4aba76abc2667cce80d2937ca923bce225817 Mon Sep 17 00:00:00 2001 From: Gregor Reitzenstein Date: Thu, 23 Apr 2020 15:35:34 +0200 Subject: [PATCH] Fix compilation error --- api.capnp | 2 +- auth.capnp | 2 +- connection.capnp | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api.capnp b/api.capnp index 7b04351..3b2f00a 100644 --- a/api.capnp +++ b/api.capnp @@ -93,7 +93,7 @@ interface Machine { interface Check { ok @0 () -> (); # The machine was clean & ok. -> free - not_ok @1 () -> (); + notOk @1 () -> (); # The machine was left in an unacceptable state. # Most likely marks the machine as `blocked` and somehow informs the previous user. } diff --git a/auth.capnp b/auth.capnp index 73ed978..7e121f3 100644 --- a/auth.capnp +++ b/auth.capnp @@ -32,7 +32,7 @@ # - Multiple authentication is currently NOT supported. # ============================================================================== -struct Message { +struct AuthMessage { union { discover @0 :Void; # Message sent by a client to discover the list of available mechanisms. diff --git a/connection.capnp b/connection.capnp index 9f79a76..a97c145 100644 --- a/connection.capnp +++ b/connection.capnp @@ -23,15 +23,15 @@ @0x9e1c146a27dcc635; using Auth = import "auth.capnp"; -using Api = import "api.capnp" +using Api = import "api.capnp"; struct Message { union { hello @0 :Hello; bye @1 :Bye; starttls @2 :Void; - auth @3 :Auth.Message; - bootstrap @4 :Api.Diflouroborane + auth @3 :Auth.AuthMessage; + bootstrap @4 :Api.Diflouroborane; } }