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

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

 



On Mon, 2015-08-03 at 12:32 +0200, Ludwig Krispenz wrote:
> you can use:
> slapi_operation_is_flag_set(pb->pb_op, OP_FLAG_INTERNAL);
> or
> slapi_op_internal(pb)


This got me on the right path:

    int is_internal = 0;
    Slapi_Operation *operation = NULL;
    slapi_pblock_get(pb, SLAPI_OPERATION, &operation);
    is_internal = slapi_operation_is_flag_set(operation,
SLAPI_OP_FLAG_INTERNAL);

Thanks for your help!


-- 
William Brown <william@xxxxxxxxxxxxxxxx>
--
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