From: Kurt Zeilenga Date: Mon, 23 Oct 2000 18:02:48 +0000 (+0000) Subject: Fix register_syntax argument names X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1691 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=52402fa75285aa6cdad55bf8918a4ba30062f4bf;p=openldap Fix register_syntax argument names --- diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index f97adc5482..56bc4c2372 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -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, diff --git a/servers/slapd/syntax.c b/servers/slapd/syntax.c index 9a3c0b21f3..6fd2a73e3b 100644 --- a/servers/slapd/syntax.c +++ b/servers/slapd/syntax.c @@ -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 );