chiark / gitweb /
dbus: add dbus introspection extraction
[elogind.git] / src / logind.h
index a8b387b05fe43767ad9dbab9fe33f1c32465017d..fdc780feb66cbcd9b3445b171b0ca79be564615e 100644 (file)
 /* TODO:
  *
  * recreate VTs when disallocated
- * udev rules
  * PAM rewrite
  * spawn user systemd
  * dbus API
- * don't allow everybody to take logind name
+ * direct client API
  *
  * non-local X11 server
  * reboot/shutdown halt management
@@ -72,14 +71,14 @@ struct Manager {
         int bus_fd;
         int epoll_fd;
 
-        int n_autovts;
+        unsigned n_autovts;
 
         Seat *vtconsole;
 
         char *cgroup_path;
         char **controllers, **reset_controllers;
 
-        char **kill_only_users, **kill_exlude_users;
+        char **kill_only_users, **kill_exclude_users;
 
         bool kill_user_processes;
 };
@@ -111,4 +110,6 @@ void manager_gc(Manager *m);
 
 bool x11_display_is_local(const char *display);
 
+extern const DBusObjectPathVTable bus_manager_vtable;
+
 #endif