From eae21d66fbca2628593d6b3f18e5326f91ba6fe8 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Sat, 15 Dec 2012 16:24:25 +0100 Subject: 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/ --- src/responder/autofs/autofs_private.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/responder/autofs') diff --git a/src/responder/autofs/autofs_private.h b/src/responder/autofs/autofs_private.h index 58445f35b..efe1d623f 100644 --- a/src/responder/autofs/autofs_private.h +++ b/src/responder/autofs/autofs_private.h @@ -21,8 +21,7 @@ #ifndef _AUTOFSSRV_PRIVATE_H_ #define _AUTOFSSRV_PRIVATE_H_ -#define SSS_AUTOFS_SBUS_SERVICE_VERSION 0x0001 -#define SSS_AUTOFS_SBUS_SERVICE_NAME "autofs" +#include "responder/common/responder_sbus.h" #define SSS_AUTOFS_PROTO_VERSION 0x001 -- cgit