From 7b823234d1e58c5e3f2cb932a761a7241a2ca99f Mon Sep 17 00:00:00 2001 From: Kai Jan Kriegel Date: Thu, 26 Nov 2020 16:38:27 +0100 Subject: [PATCH] added reserve method --- api.capnp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api.capnp b/api.capnp index e5a75a3..54ce797 100644 --- a/api.capnp +++ b/api.capnp @@ -102,6 +102,10 @@ struct Machine { ret @0 () -> (); # Calling this function will return the machine and set its state as appropiate } + + reserve @1 () -> ( ret :GiveBack ); + # Try to reserve a machine. returns a NULL-ptr if the user does not have the required + # permissions to reserve this machine }