From b2aa91b22d12f45b57ce3a90faf011ac7b957569 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 28 Aug 2004 17:55:05 +0000 Subject: [PATCH] cleanup --- servers/slapd/slap.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index 1067960874..822de99a02 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -1723,14 +1723,16 @@ typedef struct rep_search_s { Entry *r_entry; slap_mask_t r_attr_flags; #define SLAP_ATTRS_UNDEFINED (0x00U) -#define SLAP_OPATTRS_NO (0x01U) -#define SLAP_OPATTRS_YES (0x02U) -#define SLAP_USERATTRS_NO (0x10U) -#define SLAP_USERATTRS_YES (0x20U) -#define SLAP_OPATTRS_MASK(f) ( (f) & (SLAP_OPATTRS_NO|SLAP_OPATTRS_YES) ) -#define SLAP_OPATTRS(f) ( ( (f) & SLAP_OPATTRS_YES ) == SLAP_OPATTRS_YES ) -#define SLAP_USERATTRS_MASK(f) ( (f) & (SLAP_USERATTRS_NO|SLAP_USERATTRS_YES) ) -#define SLAP_USERATTRS(f) ( ( (f) & SLAP_USERATTRS_YES ) == SLAP_USERATTRS_YES ) +#define SLAP_OPATTRS_NO (0x01U) +#define SLAP_OPATTRS_YES (0x02U) +#define SLAP_USERATTRS_NO (0x10U) +#define SLAP_USERATTRS_YES (0x20U) +#define SLAP_OPATTRS_MASK(f) ((f) & (SLAP_OPATTRS_NO|SLAP_OPATTRS_YES)) +#define SLAP_OPATTRS(f) (((f) & SLAP_OPATTRS_YES) == SLAP_OPATTRS_YES) +#define SLAP_USERATTRS_MASK(f) ((f) & (SLAP_USERATTRS_NO|SLAP_USERATTRS_YES)) +#define SLAP_USERATTRS(f) \ + (((f) & SLAP_USERATTRS_YES) == SLAP_USERATTRS_YES) + Attribute *r_operational_attrs; AttributeName *r_attrs; int r_nentries; -- 2.39.5