From f3ee96399ee80f8a777e20e243302bd450e556c4 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 5 Apr 2004 17:30:08 +0000 Subject: [PATCH] move API 2 protocol error mapping to frontend; add new isroot_dn helper --- servers/slapd/proto-slap.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 2956c7ed70..eee1628650 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -222,8 +222,8 @@ LDAP_SLAPD_F (BackendDB *) select_backend LDAP_P(( LDAP_SLAPD_F (int) be_issuffix LDAP_P(( Backend *be, struct berval *suffix )); -LDAP_SLAPD_F (int) be_isroot LDAP_P(( Backend *be, - struct berval *ndn )); +LDAP_SLAPD_F (int) be_isroot LDAP_P(( Backend *be, struct berval *ndn )); +LDAP_SLAPD_F (int) be_isroot_dn LDAP_P(( Operation *op )); LDAP_SLAPD_F (int) be_isroot_pw LDAP_P(( Operation *op )); LDAP_SLAPD_F (int) be_isupdate LDAP_P(( Backend *be, struct berval *ndn )); LDAP_SLAPD_F (struct berval *) be_root_dn LDAP_P(( Backend *be )); @@ -946,6 +946,7 @@ LDAP_SLAPD_F (int) slap_read_controls LDAP_P(( Operation *op, SlapReply *rs, LDAP_SLAPD_F (int) str2result LDAP_P(( char *s, int *code, char **matched, char **info )); +LDAP_SLAPD_F (int) slap_map_api2result LDAP_P(( SlapReply *rs )); /* * root_dse.c -- 2.39.5