command entry structs and a couple of functions to check/set the flags.
clients attached to a session respectively.