mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 11:09:34 -05:00
Revert previous commit
This commit is contained in:
parent
bde71e45f9
commit
1180279104
2 changed files with 3 additions and 0 deletions
|
|
@ -56,6 +56,8 @@ int slap_str2index( const char *str, slap_mask_t *idx )
|
|||
*idx = SLAP_INDEX_NOLANG;
|
||||
} else if ( strcasecmp( str, "nosubtypes" ) == 0 ) {
|
||||
*idx = SLAP_INDEX_NOSUBTYPES;
|
||||
} else if ( strcasecmp( str, "autosubtypes" ) == 0 ) {
|
||||
*idx = SLAP_INDEX_AUTO_SUBTYPES;
|
||||
} else {
|
||||
return LDAP_OTHER;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -196,6 +196,7 @@ typedef struct slap_ssf_set {
|
|||
#define SLAP_INDEX_FLAGS 0xF000UL
|
||||
#define SLAP_INDEX_NOSUBTYPES 0x1000UL /* don't use index w/ subtypes */
|
||||
#define SLAP_INDEX_NOLANG 0x2000UL /* don't use index w/ lang */
|
||||
#define SLAP_INDEX_AUTO_SUBTYPES 0x4000UL /* use mask with lang subtypes */
|
||||
|
||||
/*
|
||||
* there is a single index for each attribute. these prefixes ensure
|
||||
|
|
|
|||
Loading…
Reference in a new issue