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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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,


--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel




[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux