[389-devel] Determine if operation is internal or not

Ludwig Krispenz lkrispen at redhat.com
Mon Aug 3 10:32:27 UTC 2015


you can use:
slapi_operation_is_flag_set(pb->pb_op, OP_FLAG_INTERNAL);
or
slapi_op_internal(pb)

Ludwig
On 08/03/2015 08:35 AM, William Brown wrote:
> Hi,
>
> I can see that in a plugin we can determine if the operation is a replicate
> operation with:
>
> int is_repl = 0;
> slapi_pblock_get(pb, SLAPI_IS_REPLICATED_OPERATION, &is_repl);
>
> Is there a way to determine if the operation is from internal to the ds instance
> as well? I can't see anything obvious.
>
> Sincerely,
>



More information about the 389-devel mailing list