-LDAP_SLAPD_F (void) slap_send_ldap_result LDAP_P((
- Connection *conn, Operation *op,
- ber_int_t err, const char *matched, const char *text,
- BerVarray refs,
- LDAPControl **ctrls ));
-
-LDAP_SLAPD_F (void) send_ldap_sasl LDAP_P((
- Connection *conn, Operation *op,
- ber_int_t err, const char *matched,
- const char *text,
- BerVarray refs,
- LDAPControl **ctrls,
- struct berval *cred ));
-
-LDAP_SLAPD_F (void) send_ldap_disconnect LDAP_P((
- Connection *conn, Operation *op,
- ber_int_t err, const char *text ));
-
-LDAP_SLAPD_F (void) slap_send_ldap_extended LDAP_P((
- Connection *conn, Operation *op,
- ber_int_t err, const char *matched,
- const char *text, BerVarray refs,
- const char *rspoid, struct berval *rspdata,
- LDAPControl **ctrls ));
-
-LDAP_SLAPD_F (void) send_ldap_partial LDAP_P((
- Connection *conn, Operation *op,
- const char *rspoid, struct berval *rspdata,
- LDAPControl **ctrls ));
-
-LDAP_SLAPD_F (void) slap_send_search_result LDAP_P((
- Connection *conn, Operation *op,
- ber_int_t err, const char *matched, const char *text,
- BerVarray refs,
- LDAPControl **ctrls,
- int nentries ));
-
-LDAP_SLAPD_F (int) slap_send_search_reference LDAP_P((
- Backend *be, Connection *conn, Operation *op,
- Entry *e, BerVarray refs,
- LDAPControl **ctrls,
- BerVarray *v2refs ));
-
-LDAP_SLAPD_F (int) slap_send_search_entry LDAP_P((
- Backend *be, Connection *conn, Operation *op,
- Entry *e, AttributeName *attrs, int attrsonly,
- LDAPControl **ctrls ));
+LDAP_SLAPD_F (void) slap_send_ldap_result LDAP_P(( Operation *op, SlapReply *rs ));
+LDAP_SLAPD_F (void) send_ldap_sasl LDAP_P(( Operation *op, SlapReply *rs ));
+LDAP_SLAPD_F (void) send_ldap_disconnect LDAP_P(( Operation *op, SlapReply *rs ));
+LDAP_SLAPD_F (void) slap_send_ldap_extended LDAP_P(( Operation *op, SlapReply *rs ));
+LDAP_SLAPD_F (void) slap_send_ldap_intermediate LDAP_P(( Operation *op, SlapReply *rs ));
+LDAP_SLAPD_F (void) slap_send_search_result LDAP_P(( Operation *op, SlapReply *rs ));
+LDAP_SLAPD_F (int) slap_send_search_reference LDAP_P(( Operation *op, SlapReply *rs ));
+LDAP_SLAPD_F (int) slap_send_search_entry LDAP_P(( Operation *op, SlapReply *rs ));
+LDAP_SLAPD_F (int) slap_null_cb LDAP_P(( Operation *op, SlapReply *rs ));
+
+LDAP_SLAPD_V( const struct berval ) slap_pre_read_bv;
+LDAP_SLAPD_V( const struct berval ) slap_post_read_bv;
+LDAP_SLAPD_F (int) slap_read_controls LDAP_P(( Operation *op, SlapReply *rs,
+ Entry *e, const struct berval *oid, LDAPControl **ctrl ));