mirror of
https://gitlab.com/fabinfra/fabaccess/fabaccess-api.git
synced 2025-03-12 23:01:47 +01:00
Merge branch 'feature/add-reserve-interface' into 'master'
added reserve method Closes #6 See merge request fabinfra/fabaccess/fabaccess-api!3
This commit is contained in:
commit
0225e8fdee
@ -102,6 +102,10 @@ struct Machine {
|
|||||||
ret @0 () -> ();
|
ret @0 () -> ();
|
||||||
# Calling this function will return the machine and set its state as appropiate
|
# 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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user