X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Flogind.h;h=9e6296cb7efcaa7e290de4d7e3f891174a95523a;hb=e9e506ed436859048f6efc3b5962c6809f1a592a;hp=1a97351fffe0de5ea28b4b366a39bdf465b1e2c7;hpb=718d006a63f773c42106494e823250c48942cf08;p=elogind.git diff --git a/src/login/logind.h b/src/login/logind.h index 1a97351ff..9e6296cb7 100644 --- a/src/login/logind.h +++ b/src/login/logind.h @@ -51,6 +51,7 @@ struct Manager { Hashmap *users; Hashmap *inhibitors; Hashmap *buttons; + Hashmap *busnames; LIST_HEAD(Seat, seat_gc_queue); LIST_HEAD(Session, session_gc_queue); @@ -73,7 +74,7 @@ struct Manager { unsigned reserve_vt; int reserve_vt_fd; - Seat *vtconsole; + Seat *seat0; char **kill_only_users, **kill_exclude_users; bool kill_user_processes; @@ -190,3 +191,6 @@ int manager_unit_is_active(Manager *manager, const char *unit); /* gperf lookup function */ const struct ConfigPerfItem* logind_gperf_lookup(const char *key, unsigned length); + +int manager_watch_busname(Manager *manager, const char *name); +void manager_drop_busname(Manager *manager, const char *name);