From: Kurt Zeilenga Date: Sat, 28 Aug 2004 17:55:05 +0000 (+0000) Subject: cleanup X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~605 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b2aa91b22d12f45b57ce3a90faf011ac7b957569;p=openldap cleanup --- 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;