From 8b8210c79b297b87e56d068e8839f7fe6755ab15 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 3 Nov 2008 09:45:45 -0500 Subject: Refactoring dbus code. Also corrected one talloc allocation mistake for sbus_dispatch. --- server/dbus/sssd_dbus_common.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/dbus/sssd_dbus_common.c') diff --git a/server/dbus/sssd_dbus_common.c b/server/dbus/sssd_dbus_common.c index c7af4b0b..0ea66ccb 100644 --- a/server/dbus/sssd_dbus_common.c +++ b/server/dbus/sssd_dbus_common.c @@ -15,11 +15,11 @@ struct timeval _dbus_timeout_get_interval_tv(int interval) { } /* - * remove_watch + * sbus_remove_watch * Hook for D-BUS to remove file descriptor-based events * from the libevents mainloop */ -void remove_watch(DBusWatch *watch, void *data) { +void sbus_remove_watch(DBusWatch *watch, void *data) { struct fd_event *fde; DEBUG(2, ("%lX\n", watch)); @@ -32,10 +32,10 @@ void remove_watch(DBusWatch *watch, void *data) { /* - * remove_timeout + * sbus_remove_timeout * Hook for D-BUS to remove time-based events from the mainloop */ -void remove_timeout(DBusTimeout *timeout, void *data) { +void sbus_remove_timeout(DBusTimeout *timeout, void *data) { struct timed_event *te; te = talloc_get_type(dbus_timeout_get_data(timeout), struct timed_event); -- cgit