pub(crate) fn plan_seats(
mstore: &Store,
defs: &[AgentDefinition],
changes: &[SeatChange],
refuse: &str,
remote: &[String],
) -> Result<Vec<PlannedSeat>, String>Expand description
Check every change as it will stand once all of them are written: a lead
may be an agent set in the same call, and a cycle through two changes of one
call is a cycle. Nothing is written. refuse starts the message of the
two “no such agent” refusals, so each caller names itself. remote are the leads on other
machines (Name@host) the caller checked against the LAN directory and accepts in this call.