From: Luke Howard Date: Sun, 31 Jul 2005 05:42:51 +0000 (+0000) Subject: Support SLAPI_X_OPERATION_DELETE_GLUE_PARENT X-Git-Tag: OPENLDAP_AC_BP~132 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=040a0956ac30d4574629df123dc63ba9eb1ecd35;p=openldap Support SLAPI_X_OPERATION_DELETE_GLUE_PARENT --- diff --git a/servers/slapd/slapi/slapi_pblock.c b/servers/slapd/slapi/slapi_pblock.c index eafd4e2e19..0f0afde775 100644 --- a/servers/slapd/slapi/slapi_pblock.c +++ b/servers/slapd/slapi/slapi_pblock.c @@ -76,6 +76,7 @@ pblock_get_param_class( int param ) case SLAPI_OPERATION_ID: case SLAPI_OPINITIATED_TIME: case SLAPI_ABANDON_MSGID: + case SLAPI_X_OPERATION_DELETE_GLUE_PARENT: return PBLOCK_CLASS_LONG_INTEGER; break; @@ -461,6 +462,10 @@ pblock_get( Slapi_PBlock *pb, int param, void **value ) PBLOCK_ASSERT_OP( pb, 0 ); *((ber_tag_t *)value) = pb->pb_op->o_tag; break; + case SLAPI_X_OPERATION_DELETE_GLUE_PARENT: + PBLOCK_ASSERT_OP( pb, 0 ); + *((ber_tag_t *)value) = pb->pb_op->o_delete_glue_parent; + break; case SLAPI_REQCONTROLS: PBLOCK_ASSERT_OP( pb, 0 ); *((LDAPControl ***)value) = pb->pb_op->o_ctrls; @@ -811,6 +816,10 @@ pblock_set( Slapi_PBlock *pb, int param, void *value ) PBLOCK_ASSERT_OP( pb, 0 ); pb->pb_op->o_tag = *((ber_tag_t *)value); break; + case SLAPI_X_OPERATION_DELETE_GLUE_PARENT: + PBLOCK_ASSERT_OP( pb, 0 ); + pb->pb_op->o_delete_glue_parent = *((int *)value); + break; case SLAPI_REQCONTROLS: PBLOCK_ASSERT_OP( pb, 0 ); pb->pb_op->o_ctrls = (LDAPControl **)value;