summaryrefslogtreecommitdiff
path: root/src/responder/nss
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-12-15 16:24:25 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-12-18 17:25:34 +0100
commite880949305cee3aca79441fe6113a9d79e7c98f2 (patch)
tree47de3a0a4e62e025507e1ffe998923ecd3a9f8a1 /src/responder/nss
parent1bcb68cc3069a6bd539289e68a87a0815aa2a1be (diff)
downloadsssd-e880949305cee3aca79441fe6113a9d79e7c98f2.tar.gz
sssd-e880949305cee3aca79441fe6113a9d79e7c98f2.tar.bz2
sssd-e880949305cee3aca79441fe6113a9d79e7c98f2.zip
RESPONDERS: Create a common file with service names and versions
The monitor sends calls different sbus methods to different responders. Instead of including headers of the particular responders directly in monitor, which breaks layering a little, create a common header file that will be included from src/responder/common/
Diffstat (limited to 'src/responder/nss')
-rw-r--r--src/responder/nss/nsssrv.c1
-rw-r--r--src/responder/nss/nsssrv.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/src/responder/nss/nsssrv.c b/src/responder/nss/nsssrv.c
index f5cfc85b..083e91d7 100644
--- a/src/responder/nss/nsssrv.c
+++ b/src/responder/nss/nsssrv.c
@@ -42,6 +42,7 @@
#include "sbus/sssd_dbus.h"
#include "responder/common/responder_packet.h"
#include "responder/common/responder.h"
+#include "responder/common/responder_sbus.h"
#include "providers/data_provider.h"
#include "monitor/monitor_interfaces.h"
#include "sbus/sbus_client.h"
diff --git a/src/responder/nss/nsssrv.h b/src/responder/nss/nsssrv.h
index a8b2c3c9..de15f53e 100644
--- a/src/responder/nss/nsssrv.h
+++ b/src/responder/nss/nsssrv.h
@@ -33,9 +33,6 @@
#include "responder/common/responder_packet.h"
#include "responder/common/responder.h"
-#define NSS_SBUS_SERVICE_VERSION 0x0001
-#define NSS_SBUS_SERVICE_NAME "nss"
-
#define NSS_PACKET_MAX_RECV_SIZE 1024
struct getent_ctx;