inconsitent documentation for plug-ins?

Hi all,

besides the fact, that the plug-in documentation is more then vague, it seems to be pretty inconsistent ...

The Directory Server 5.2 Plug-In Developer's Guide 2005Q1 mentions in chapter 2, page 49 under Operations: "slapi_op_get_type() and slapi_op_is_flag_set() have been added."

Whereas the Directory Server 5.2 Plug-In Developer's Reference 2005Q1 does not seem to know anything about the API-function slapi_op_is_flag_set() and calling it in a c-proggy produces an unresolved reference ... although this function would be highly appreciated :-(

So my question is this: is the name of the function a typo, do I need to link in additional libs or is it just vapourware?

Cheers, Stefan!

[735 byte] By [stefvienna] at [2007-11-26 9:22:15]
# 1

This looks like a bug in the documentation of the plugin developer's guide.

The slapi_op_is_flag_set function was initialy added then renamed and made private prior to the release of 5.2 2005Q1.

The operation flags are private. It is possible to retrieve some of them using the slapi_pblock_get function (SLAPI_IS_REPLICATED_OPERATION) for example.

Ludovic.

ludovicp at 2007-7-6 23:55:22 > top of Java-index,Web & Directory Servers,Directory Servers...