chiark / gitweb /
cgroup: don't recheck all the time whether the systemd hierarchy is mounted, to make...
[elogind.git] / src / dbus-common.h
index b28755fc79769c298148b5228a3eba88ff903ea5..76333cd4f68dbb751f7cc787766e22c6284a67e2 100644 (file)
@@ -1,4 +1,4 @@
-/*-*- Mode: C; c-basic-offset: 8 -*-*/
+/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
 #ifndef foodbuscommonhfoo
 #define foodbuscommonhfoo
@@ -28,4 +28,9 @@ int bus_check_peercred(DBusConnection *c);
 
 int bus_connect(DBusBusType t, DBusConnection **_bus, bool *private_bus, DBusError *error);
 
+int bus_connect_system_ssh(const char *user, const char *host, DBusConnection **_bus, DBusError *error);
+int bus_connect_system_polkit(DBusConnection **_bus, DBusError *error);
+
+const char *bus_error_message(const DBusError *error);
+
 #endif