diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-15 23:16:16 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-15 23:16:16 +0200 |
commit | 05e343b70453716cc6292b17e7ef175a8c106aad (patch) | |
tree | 69046ed39bba96164cf4e2a157b3dcc5a6d415f6 /manager.h | |
parent | 4f2d528d3bb25cebf8d3ebe83d8193ab4016cb90 (diff) |
service: optionally, trie dbus name cycle to service cycle
Diffstat (limited to 'manager.h')
-rw-r--r-- | manager.h | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -178,6 +178,9 @@ struct Manager { DBusConnection *api_bus, *system_bus; Set *subscribed; + Hashmap *watch_bus; /* D-Bus names => Unit object n:1 */ + int32_t name_data_slot; + /* Data specific to the cgroup subsystem */ Hashmap *cgroup_bondings; /* path string => CGroupBonding object 1:n */ char *cgroup_controller; @@ -215,11 +218,13 @@ unsigned manager_dispatch_dbus_queue(Manager *m); int manager_loop(Manager *m); -const char *manager_running_as_to_string(ManagerRunningAs i); -ManagerRunningAs manager_running_as_from_string(const char *s); - void manager_write_utmp_reboot(Manager *m); - void manager_write_utmp_runlevel(Manager *m, Unit *t); +void manager_dispatch_bus_name_owner_changed(Manager *m, const char *name, const char* old_owner, const char *new_owner); +void manager_dispatch_bus_query_pid_done(Manager *m, const char *name, pid_t pid); + +const char *manager_running_as_to_string(ManagerRunningAs i); +ManagerRunningAs manager_running_as_from_string(const char *s); + #endif |