]> git.sur5r.net Git - openldap/commitdiff
Support SLAPI_X_OPERATION_DELETE_GLUE_PARENT
authorLuke Howard <lukeh@openldap.org>
Sun, 31 Jul 2005 05:42:51 +0000 (05:42 +0000)
committerLuke Howard <lukeh@openldap.org>
Sun, 31 Jul 2005 05:42:51 +0000 (05:42 +0000)
servers/slapd/slapi/slapi_pblock.c

index eafd4e2e19ea5ea44669a1204cd886b319615454..0f0afde775030e3313303a0d675658ce0ddb806a 100644 (file)
@@ -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;