From 2671d14d8068f8f0ee43cab529f10163a4b7dee1 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 20 Nov 2008 15:11:27 -0500 Subject: Created a helper function sssd_service_sbus_init() to simplify creating the initial connection to the monitor service within the child services. It will create the D-BUS connection to the monitor and configure the service to handle the mandatory getIdentity and ping methods. --- server/nss/nsssrv.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'server/nss/nsssrv.h') diff --git a/server/nss/nsssrv.h b/server/nss/nsssrv.h index cf07ad49..28949879 100644 --- a/server/nss/nsssrv.h +++ b/server/nss/nsssrv.h @@ -35,12 +35,6 @@ struct nss_ldb_ctx; struct getent_ctx; -struct nss_sbus_ctx { - struct event_context *ev; - struct sbus_method_ctx *sm_ctx; - struct sbus_conn_ctx *scon_ctx; -}; - struct nss_ctx { struct event_context *ev; struct fd_event *lfde; @@ -48,7 +42,7 @@ struct nss_ctx { struct nss_ldb_ctx *lctx; struct confdb_ctx *cdb; char *sock_name; - struct nss_sbus_ctx *ns_ctx; + struct service_sbus_ctx *ss_ctx; struct btreemap *domain_map; }; -- cgit