Support SLAPI_X_OPERATION_DELETE_GLUE_PARENT

This commit is contained in:
Luke Howard 2005-07-31 05:42:51 +00:00
parent 54945564cd
commit 040a0956ac

View File

@ -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;