From 629cd41f586bfc38a46713313201ab866458a7bf Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 13 Apr 2004 16:51:25 +0000 Subject: [PATCH] use librewrite for sasl-regexp (need to #define SLAP_X_SASL_REWRITE; ITS#2886); lots of cleanup --- servers/slapd/proto-slap.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index ea6c2f9a17..a0108ae716 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -1010,7 +1010,13 @@ LDAP_SLAPD_F (int) slap_sasl_authorized LDAP_P(( LDAP_SLAPD_F (int) slap_sasl_regexp_config LDAP_P(( const char *match, const char *replace )); LDAP_SLAPD_F (int) slap_sasl_setpolicy LDAP_P(( const char * )); - +#ifdef SLAP_X_SASL_REWRITE +LDAP_SLAPD_F (int) slap_sasl_rewrite_config LDAP_P(( + const char *fname, + int lineno, + int argc, + char **argv )); +#endif /* SLAP_X_SASL_REWRITE */ /* * schema.c -- 2.39.5