From 65f90758d4df5581bc94746d47a1548ed8ff738b Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 6 Apr 2009 15:54:00 -0400 Subject: Unify name parsing and reposnder headers Use common sss_parse_name function in all responders Simplify responder headers by combining common,cmd,dp in one header and add name parse structure as part of the common responder context. --- server/responder/nss/nsssrv.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'server/responder/nss/nsssrv.h') diff --git a/server/responder/nss/nsssrv.h b/server/responder/nss/nsssrv.h index 093f795b..37d3735d 100644 --- a/server/responder/nss/nsssrv.h +++ b/server/responder/nss/nsssrv.h @@ -32,20 +32,14 @@ #include "dbus/dbus.h" #include "sbus/sssd_dbus.h" #include "responder/common/responder_packet.h" -#include "responder/common/responder_cmd.h" +#include "responder/common/responder.h" #include "responder/nss/nsssrv_nc.h" -#include #define NSS_SBUS_SERVICE_VERSION 0x0001 #define NSS_SBUS_SERVICE_NAME "nss" #define NSS_PACKET_MAX_RECV_SIZE 1024 -/* NSS_DOMAIN_DELIM can be specified in config.h */ -#ifndef NSS_DOMAIN_DELIM -#define NSS_DOMAIN_DELIM '@' -#endif - #define NSS_ENUM_USERS 0x01 #define NSS_ENUM_GROUPS 0x02 #define NSS_ENUM_ALL 0x03 @@ -67,8 +61,6 @@ struct nss_ctx { struct getent_ctx *pctx; struct getent_ctx *gctx; - - pcre *parse_name_re; }; struct nss_packet; -- cgit