]> git.sur5r.net Git - openldap/commitdiff
Fix register_syntax argument names
authorKurt Zeilenga <kurt@openldap.org>
Mon, 23 Oct 2000 18:02:48 +0000 (18:02 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 23 Oct 2000 18:02:48 +0000 (18:02 +0000)
servers/slapd/proto-slap.h
servers/slapd/syntax.c

index f97adc54822c106ca573aa62760f07ed350a36aa..56bc4c2372edf909aad51548be541fdaaf28a9c3 100644 (file)
@@ -641,8 +641,8 @@ LDAP_SLAPD_F (int) register_syntax LDAP_P((
        char *desc,
        unsigned flags,
        slap_syntax_validate_func *validate,
-       slap_syntax_transform_func *ber2str,
-       slap_syntax_transform_func *str2ber ));
+       slap_syntax_transform_func *normalize,
+       slap_syntax_transform_func *pretty ));
 
 LDAP_SLAPD_F (int) register_matching_rule LDAP_P((
        char * desc,
index 9a3c0b21f339bcc47fe18e415bb8417de7fb61b3..6fd2a73e3b532022cf77296c300fece47892010d 100644 (file)
@@ -141,8 +141,8 @@ register_syntax(
        char * desc,
        unsigned flags,
        slap_syntax_validate_func *validate,
-       slap_syntax_transform_func *ber2str,
-       slap_syntax_transform_func *str2ber )
+       slap_syntax_transform_func *normalize,
+       slap_syntax_transform_func *pretty )
 {
        LDAPSyntax      *syn;
        int             code;
@@ -155,7 +155,7 @@ register_syntax(
                return( -1 );
        }
 
-       code = syn_add( syn, flags, validate, ber2str, str2ber, &err );
+       code = syn_add( syn, flags, validate, normalize, pretty, &err );
 
        ldap_memfree( syn );