summaryrefslogtreecommitdiff
path: root/server/dbus/sssd_dbus_common.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2008-11-03 09:45:45 -0500
committerSimo Sorce <idra@samba.org>2008-11-03 10:12:29 -0500
commit8b8210c79b297b87e56d068e8839f7fe6755ab15 (patch)
tree5f3799bfe0369a5885d8f6d14bdafaa17730a7ab /server/dbus/sssd_dbus_common.c
parent0396ffe802dc32dc48c9d0ac3b22efc8217a98b3 (diff)
downloadsssd-8b8210c79b297b87e56d068e8839f7fe6755ab15.tar.gz
sssd-8b8210c79b297b87e56d068e8839f7fe6755ab15.tar.bz2
sssd-8b8210c79b297b87e56d068e8839f7fe6755ab15.zip
Refactoring dbus code. Also corrected one talloc allocation mistake for sbus_dispatch.
Diffstat (limited to 'server/dbus/sssd_dbus_common.c')
-rw-r--r--server/dbus/sssd_dbus_common.c8
1 files changed, 4 insertions, 4 deletions
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);