From: Mark Valence Date: Tue, 9 Nov 1999 03:28:17 +0000 (+0000) Subject: In preparation for extensions improvements -- added send_ldap_extended and load_exten... X-Git-Tag: UCDATA_2_4~226 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=edc7062f344cc5436e72c6cd964c8c71f1064a09;p=openldap In preparation for extensions improvements -- added send_ldap_extended and load_extension. --- diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 928cfc2d34..ea82a93b93 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -323,6 +323,12 @@ void send_ldap_disconnect LDAP_P(( Connection *conn, Operation *op, int err, const char *text )); +void send_ldap_extended LDAP_P(( + Connection *conn, Operation *op, + ber_int_t err, const char *matched, + const char *text, char *rspoid, + struct berval *rspdata )); + void send_search_result LDAP_P(( Connection *conn, Operation *op, int err, const char *matched, const char *text, @@ -513,6 +519,8 @@ extern int do_search LDAP_P((Connection *conn, Operation *op)); extern int do_unbind LDAP_P((Connection *conn, Operation *op)); extern int do_extended LDAP_P((Connection *conn, Operation *op)); +extern int load_extension LDAP_P((char *oid, char *libpath, int argc, char **argv)); + extern ber_socket_t dtblsize;