#define MANAGER_MAX_NAMES 131072 /* 128K */
typedef struct Manager Manager;
-typedef struct Transaction Transaction;
typedef enum WatchType WatchType;
typedef struct Watch Watch;
#include "dbus.h"
#include "path-lookup.h"
-struct Transaction {
- /* Jobs to be added */
- Hashmap *jobs; /* Unit object => Job object list 1:1 */
- JobDependency *anchor;
-};
-
struct Manager {
/* Note that the set of units we know of is allowed to be
* inconsistent. However the subset of it that is loaded may
#ifdef HAVE_SYSV_COMPAT
bool sysv_console;
#endif
- bool mount_auto;
- bool swap_auto;
ExecOutput default_std_output, default_std_error;
unsigned n_installed_jobs;
unsigned n_failed_jobs;
+
+ /* Type=idle pipes */
+ int idle_pipe[2];
};
int manager_new(ManagerRunningAs running_as, Manager **m);