summaryrefslogtreecommitdiff
path: root/server/nss/nsssrv.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-11-03 17:18:49 -0500
committerSimo Sorce <idra@samba.org>2008-11-03 17:18:49 -0500
commita2c6e0e0beb75e0a8fa7e3e07e9443d97ea2b731 (patch)
treec59aa17b7b63327d1a63561586ab7ba4ea70edf0 /server/nss/nsssrv.h
parentddbc682f58bcee78ac1dbd24b3c44da67512d888 (diff)
downloadsssd-a2c6e0e0beb75e0a8fa7e3e07e9443d97ea2b731.tar.gz
sssd-a2c6e0e0beb75e0a8fa7e3e07e9443d97ea2b731.tar.bz2
sssd-a2c6e0e0beb75e0a8fa7e3e07e9443d97ea2b731.zip
Add support for dbus comunication in the nss service
Add utility function in confdb Make all component fetch the dbus socket from the confdb
Diffstat (limited to 'server/nss/nsssrv.h')
-rw-r--r--server/nss/nsssrv.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/server/nss/nsssrv.h b/server/nss/nsssrv.h
index e00ccced..300b8af3 100644
--- a/server/nss/nsssrv.h
+++ b/server/nss/nsssrv.h
@@ -29,14 +29,27 @@
#include "ldb.h"
#include "../nss_client/sss_nss.h"
+#define NSS_SBUS_SERVICE_VERSION 0x0001
+#define NSS_SBUS_SERVICE_NAME "NSS"
+
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 task_server *task;
struct fd_event *lfde;
int lfd;
struct nss_ldb_ctx *lctx;
+ struct confdb_ctx *cdb;
+ char *sock_name;
+ struct nss_sbus_ctx *ns_ctx;
};
struct cli_ctx {