From 52402fa75285aa6cdad55bf8918a4ba30062f4bf Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 23 Oct 2000 18:02:48 +0000 Subject: [PATCH] Fix register_syntax argument names --- servers/slapd/proto-slap.h | 4 ++-- servers/slapd/syntax.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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 ); -- 2.39.5