mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Support SLAPI_X_OPERATION_DELETE_GLUE_PARENT
This commit is contained in:
parent
54945564cd
commit
040a0956ac
@ -76,6 +76,7 @@ pblock_get_param_class( int param )
|
|||||||
case SLAPI_OPERATION_ID:
|
case SLAPI_OPERATION_ID:
|
||||||
case SLAPI_OPINITIATED_TIME:
|
case SLAPI_OPINITIATED_TIME:
|
||||||
case SLAPI_ABANDON_MSGID:
|
case SLAPI_ABANDON_MSGID:
|
||||||
|
case SLAPI_X_OPERATION_DELETE_GLUE_PARENT:
|
||||||
return PBLOCK_CLASS_LONG_INTEGER;
|
return PBLOCK_CLASS_LONG_INTEGER;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -461,6 +462,10 @@ pblock_get( Slapi_PBlock *pb, int param, void **value )
|
|||||||
PBLOCK_ASSERT_OP( pb, 0 );
|
PBLOCK_ASSERT_OP( pb, 0 );
|
||||||
*((ber_tag_t *)value) = pb->pb_op->o_tag;
|
*((ber_tag_t *)value) = pb->pb_op->o_tag;
|
||||||
break;
|
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:
|
case SLAPI_REQCONTROLS:
|
||||||
PBLOCK_ASSERT_OP( pb, 0 );
|
PBLOCK_ASSERT_OP( pb, 0 );
|
||||||
*((LDAPControl ***)value) = pb->pb_op->o_ctrls;
|
*((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 );
|
PBLOCK_ASSERT_OP( pb, 0 );
|
||||||
pb->pb_op->o_tag = *((ber_tag_t *)value);
|
pb->pb_op->o_tag = *((ber_tag_t *)value);
|
||||||
break;
|
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:
|
case SLAPI_REQCONTROLS:
|
||||||
PBLOCK_ASSERT_OP( pb, 0 );
|
PBLOCK_ASSERT_OP( pb, 0 );
|
||||||
pb->pb_op->o_ctrls = (LDAPControl **)value;
|
pb->pb_op->o_ctrls = (LDAPControl **)value;
|
||||||
|
Loading…
Reference in New Issue
Block a user