/* index.c - index utilities */
/* $OpenLDAP$ */
/*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
strcasecmp( str, "sub" ) == 0 )
{
*idx = SLAP_INDEX_SUBSTR_DEFAULT;
- } else if ( strcasecmp( str, "lang" ) == 0 ) {
- *idx = SLAP_INDEX_LANG;
- } else if ( strcasecmp( str, "autolang" ) == 0 ) {
- *idx = SLAP_INDEX_AUTO_LANG;
- } else if ( strcasecmp( str, "subtypes" ) == 0 ) {
- *idx = SLAP_INDEX_SUBTYPES;
+ } else if ( strcasecmp( str, "nolang" ) == 0 ) {
+ *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 {