]> git.sur5r.net Git - openldap/commitdiff
SLAP_OP_BLOCKS - added response block
authorHoward Chu <hyc@openldap.org>
Tue, 25 Mar 2003 23:42:55 +0000 (23:42 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 25 Mar 2003 23:42:55 +0000 (23:42 +0000)
servers/slapd/slap.h

index 8e6e6ecb4250e10d9cf400ae862c3faf5450fb67..7aa3353bd4d8cd37fa6a942e867971f86b644e13 100644 (file)
@@ -1795,24 +1795,35 @@ typedef struct slap_op {
        struct berval   o_req_ndn;
 
        union o_req_u {
-               req_bind_s or_bind;
-               req_search_s or_search;
-               req_compare_s or_compare;
-               req_modrdn_s or_modrdn;
-               req_add_s or_add;
-               req_abandon_s or_abandon;
-               req_abandon_s or_cancel;
-               req_extended_s or_extended;
+               req_bind_s oq_bind;
+               req_search_s oq_search;
+               req_compare_s oq_compare;
+               req_modrdn_s oq_modrdn;
+               req_add_s oq_add;
+               req_abandon_s oq_abandon;
+               req_abandon_s oq_cancel;
+               req_extended_s oq_extended;
        } o_request;
 
 /* short hands for union members */
-#define o_bind o_request.or_bind
+#define o_bind o_request.oq_bind
 /* ... */
 
 /* short hands for inner request members */
 #define o_bind_edn o_bind.rb_edn
 /* ... */
 
+       struct o_rep_s {
+               ber_tag_t or_tag;
+               ber_int_t or_err;
+               const char *or_matched;
+               const char *or_text;
+               BerVarray or_ref;
+               const char *or_resoid;
+               struct berval *or_resdata;
+               struct berval *or_sasldata;
+               LDAPControl **or_ctrls;
+       } o_response;
 #else
        char *          o_extendedop;   /* extended operation OID */
 #endif