From: Pierangelo Masarati Date: Mon, 5 Apr 2004 17:30:08 +0000 (+0000) Subject: move API 2 protocol error mapping to frontend; add new isroot_dn helper X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~146 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f3ee96399ee80f8a777e20e243302bd450e556c4;p=openldap move API 2 protocol error mapping to frontend; add new isroot_dn helper --- 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