***/
typedef struct Machine Machine;
+typedef enum KillWho KillWho;
#include "list.h"
#include "util.h"
-#include "logind.h"
-#include "logind-session.h"
+#include "machined.h"
typedef enum MachineState {
MACHINE_OPENING, /* Machine is being registered */
_MACHINE_CLASS_INVALID = -1
} MachineClass;
+enum KillWho {
+ KILL_LEADER,
+ KILL_ALL,
+ _KILL_WHO_MAX,
+ _KILL_WHO_INVALID = -1
+};
+
struct Machine {
Manager *manager;
const char* machine_state_to_string(MachineState t) _const_;
MachineState machine_state_from_string(const char *s) _pure_;
+
+const char *kill_who_to_string(KillWho k) _const_;
+KillWho kill_who_from_string(const char *s) _pure_;