summaryrefslogtreecommitdiffstats
path: root/server/providers/data_provider.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/providers/data_provider.h
parented52202447ff9e80daa64864df271988bc5332ae (diff)
downloadsssd-2671d14d8068f8f0ee43cab529f10163a4b7dee1.tar.gz
sssd-2671d14d8068f8f0ee43cab529f10163a4b7dee1.tar.xz
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/providers/data_provider.h')
-rw-r--r--server/providers/data_provider.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/server/providers/data_provider.h b/server/providers/data_provider.h
index 366cd6f63..7ed796ac7 100644
--- a/server/providers/data_provider.h
+++ b/server/providers/data_provider.h
@@ -50,17 +50,11 @@ struct dp_module {
void *pvt_data;
};
-struct dp_sbus_ctx {
- struct event_context *ev;
- struct sbus_method_ctx *sm_ctx;
- struct sbus_conn_ctx *scon_ctx;
-};
-
struct dp_ctx {
struct event_context *ev;
struct confdb_ctx *cdb;
struct ldb_context *ldb;
- struct dp_sbus_ctx *sbus_ctx;
+ struct service_sbus_ctx *ss_ctx;
struct dp_module **modules;
};