added reserve method

This commit is contained in:
Kai Jan Kriegel 2020-11-26 16:38:27 +01:00
parent 1753ef037e
commit 7b823234d1

View File

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