Remove obsolete SLAP_FILTER_DN definitions

This commit is contained in:
Howard Chu 2006-09-14 09:29:29 +00:00
parent 028a8af7df
commit 242274d038

View File

@ -979,17 +979,11 @@ typedef struct slap_mr_assertion {
typedef struct slap_filter { typedef struct slap_filter {
ber_tag_t f_choice; /* values taken from ldap.h, plus: */ ber_tag_t f_choice; /* values taken from ldap.h, plus: */
#define SLAPD_FILTER_COMPUTED ((ber_tag_t) -1) #define SLAPD_FILTER_COMPUTED ((ber_tag_t) -1)
#define SLAPD_FILTER_DN_ONE ((ber_tag_t) -2)
#define SLAPD_FILTER_DN_SUBTREE ((ber_tag_t) -3)
#define SLAPD_FILTER_DN_CHILDREN ((ber_tag_t) -4)
union f_un_u { union f_un_u {
/* precomputed result */ /* precomputed result */
ber_int_t f_un_result; ber_int_t f_un_result;
/* DN */
struct berval *f_un_dn;
/* present */ /* present */
AttributeDescription *f_un_desc; AttributeDescription *f_un_desc;
@ -1002,7 +996,6 @@ typedef struct slap_filter {
/* matching rule assertion */ /* matching rule assertion */
MatchingRuleAssertion *f_un_mra; MatchingRuleAssertion *f_un_mra;
#define f_dn f_un.f_un_dn
#define f_desc f_un.f_un_desc #define f_desc f_un.f_un_desc
#define f_ava f_un.f_un_ava #define f_ava f_un.f_un_ava
#define f_av_desc f_un.f_un_ava->aa_desc #define f_av_desc f_un.f_un_ava->aa_desc