Lines Matching defs:Manager
38 typedef struct Manager Manager;
77 struct Manager {
310 int manager_new(ManagerRunningAs running_as, bool test_run, Manager **m);
311 Manager* manager_free(Manager *m);
313 void manager_enumerate(Manager *m);
314 int manager_startup(Manager *m, FILE *serialization, FDSet *fds);
316 Job *manager_get_job(Manager *m, uint32_t id);
317 Unit *manager_get_unit(Manager *m, const char *name);
319 int manager_get_job_from_dbus_path(Manager *m, const char *s, Job **_j);
321 int manager_load_unit_prepare(Manager *m, const char *name, const char *path, sd_bus_error *e, Unit **_ret);
322 int manager_load_unit(Manager *m, const char *name, const char *path, sd_bus_error *e, Unit **_ret);
323 int manager_load_unit_from_dbus_path(Manager *m, const char *s, sd_bus_error *e, Unit **_u);
325 int manager_add_job(Manager *m, JobType type, Unit *unit, JobMode mode, sd_bus_error *e, Job **_ret);
326 int manager_add_job_by_name(Manager *m, JobType type, const char *name, JobMode mode, sd_bus_error *e, Job **_ret);
327 int manager_add_job_by_name_and_warn(Manager *m, JobType type, const char *name, JobMode mode, Job **ret);
329 void manager_dump_units(Manager *s, FILE *f, const char *prefix);
330 void manager_dump_jobs(Manager *s, FILE *f, const char *prefix);
332 void manager_clear_jobs(Manager *m);
334 unsigned manager_dispatch_load_queue(Manager *m);
336 int manager_environment_add(Manager *m, char **minus, char **plus);
337 int manager_set_default_rlimits(Manager *m, struct rlimit **default_rlimit);
339 int manager_loop(Manager *m);
341 int manager_open_serialization(Manager *m, FILE **_f);
343 int manager_serialize(Manager *m, FILE *f, FDSet *fds, bool switching_root);
344 int manager_deserialize(Manager *m, FILE *f, FDSet *fds);
346 int manager_reload(Manager *m);
348 bool manager_is_reloading_or_reexecuting(Manager *m) _pure_;
350 void manager_reset_failed(Manager *m);
352 void manager_send_unit_audit(Manager *m, Unit *u, int type, bool success);
353 void manager_send_unit_plymouth(Manager *m, Unit *u);
355 bool manager_unit_inactive_or_pending(Manager *m, const char *name);
357 void manager_check_finished(Manager *m);
359 void manager_recheck_journal(Manager *m);
361 void manager_set_show_status(Manager *m, ShowStatus mode);
362 void manager_set_first_boot(Manager *m, bool b);
364 void manager_status_printf(Manager *m, StatusType type, const char *status, const char *format, ...) _printf_(4,5);
365 void manager_flip_auto_status(Manager *m, bool enable);
367 Set *manager_get_units_requiring_mounts_for(Manager *m, const char *path);
369 const char *manager_get_runtime_prefix(Manager *m);
371 ManagerState manager_state(Manager *m);
373 int manager_update_failed_units(Manager *m, Unit *u, bool failed);