chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make test-login and test-sleep output debugging
[elogind.git]
/
src
/
login
/
logind.h
diff --git
a/src/login/logind.h
b/src/login/logind.h
index 1a97351fffe0de5ea28b4b366a39bdf465b1e2c7..9e6296cb7efcaa7e290de4d7e3f891174a95523a 100644
(file)
--- a/
src/login/logind.h
+++ b/
src/login/logind.h
@@
-51,6
+51,7
@@
struct Manager {
Hashmap *users;
Hashmap *inhibitors;
Hashmap *buttons;
Hashmap *users;
Hashmap *inhibitors;
Hashmap *buttons;
+ Hashmap *busnames;
LIST_HEAD(Seat, seat_gc_queue);
LIST_HEAD(Session, session_gc_queue);
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;
unsigned reserve_vt;
int reserve_vt_fd;
- Seat *
vtconsole
;
+ Seat *
seat0
;
char **kill_only_users, **kill_exclude_users;
bool kill_user_processes;
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);
/* 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);