return 0;
}
+void ad_unparse_options( BerVarray *res ){
+ int i;
+ for ( i=0; i < option_count; i++ ) {
+ ber_bvarray_add( res, ber_bvdup( &(options[i].name) ));
+ }
+}
+
/* Find the definition of the option name or prefix matching the arguments */
static Attr_option *
ad_find_option_definition( const char *opt, int optlen )
rc = 1;
}
break;
+ case CFG_ATOPT:
+ ad_unparse_options( &c->rvalue_vals );
+ break;
case CFG_OC: {
ConfigFile *cf = c->private;
if ( !cf )
LDAP_SLAPD_F (int) an_find LDAP_P(( AttributeName *a, struct berval *s ));
LDAP_SLAPD_F (int) ad_define_option LDAP_P(( const char *name,
const char *fname, int lineno ));
+LDAP_SLAPD_F (void) ad_unparse_options LDAP_P(( BerVarray *res ));
LDAP_SLAPD_F (MatchingRule *) ad_mr(
AttributeDescription *ad,