From ddbc682f58bcee78ac1dbd24b3c44da67512d888 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 3 Nov 2008 10:57:10 -0500 Subject: Use a common interface file for all users of the internal sbus service. --- server/sbus/tests/test_client.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'server/sbus') diff --git a/server/sbus/tests/test_client.c b/server/sbus/tests/test_client.c index bf1c207e..bd7f42d5 100644 --- a/server/sbus/tests/test_client.c +++ b/server/sbus/tests/test_client.c @@ -5,6 +5,7 @@ #include "util/util.h" #include "dbus/dbus.h" #include "sbus/sssd_dbus.h" +#include "sbus_interfaces.h" /* TODO: get this value from LDB */ #define DBUS_ADDRESS "unix:path=/var/lib/sss/pipes/private/dbus" @@ -13,16 +14,6 @@ #define TEST_CLIENT_NAME "testclient" #define TEST_CLIENT_VERSION 1 -/* Monitor Interface */ -#define MONITOR_DBUS_INTERFACE "org.freeipa.sssd.monitor" -#define MONITOR_DBUS_PATH "/org/freeipa/sssd/monitor" -#define MONITOR_METHOD_VERSION "getVersion" - -/* Service Interface */ -#define SERVICE_PATH "/org/freeipa/sssd/service" -#define SERVICE_INTERFACE "org.freeipa.sssd.service" -#define SERVICE_METHOD_IDENTITY "getIdentity" - struct test_cli_ctx { struct sbus_method_ctx *sd_ctx; /*DBusConnection *conn;*/ -- cgit