summaryrefslogtreecommitdiff
path: root/server/dbus/sssd_dbus_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/dbus/sssd_dbus_common.h')
-rw-r--r--server/dbus/sssd_dbus_common.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/server/dbus/sssd_dbus_common.h b/server/dbus/sssd_dbus_common.h
new file mode 100644
index 00000000..e0683be8
--- /dev/null
+++ b/server/dbus/sssd_dbus_common.h
@@ -0,0 +1,14 @@
+#ifndef SSSD_DBUS_COMMON_H_
+#define SSSD_DBUS_COMMON_H_
+
+#include "dbus/dbus.h"
+
+/* TODO: get this value from LDB */
+#define DBUS_ADDRESS "unix:path=/tmp/dbus-sgallagh.sock"
+
+/* Functions */
+struct timeval _dbus_timeout_get_interval_tv(int interval);
+void remove_watch(DBusWatch *watch, void *data);
+void remove_timeout(DBusTimeout *timeout, void *data);
+
+#endif /*SSSD_DBUS_COMMON_H_*/