summaryrefslogtreecommitdiff
path: root/server/nss/nsssrv.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2008-11-20 15:11:27 -0500
committerSimo Sorce <idra@samba.org>2008-11-20 16:22:21 -0500
commit2671d14d8068f8f0ee43cab529f10163a4b7dee1 (patch)
tree9eb2ba6a6199095d321455b245fd2fdf2cbf7643 /server/nss/nsssrv.h
parented52202447ff9e80daa64864df271988bc5332ae (diff)
downloadsssd-2671d14d8068f8f0ee43cab529f10163a4b7dee1.tar.gz
sssd-2671d14d8068f8f0ee43cab529f10163a4b7dee1.tar.bz2
sssd-2671d14d8068f8f0ee43cab529f10163a4b7dee1.zip
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.
Diffstat (limited to 'server/nss/nsssrv.h')
-rw-r--r--server/nss/nsssrv.h8
1 files changed, 1 insertions, 7 deletions
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;
};