HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
SLAPI_DSE_CALLBACK_OK (0) for successful operations, meaning that any directory changes
can be performed.
SLAPI_DSE_CALLBACK_ERROR (1) for any errors, which means that any directory changes
cannot be performed.
SLAPI_DSE_CALLBACK_DO_NOT_APPLY (-1), which is returned if there are no errors but
the changes should still not be applied. This only applies for modify operations; otherwise,
the server itnerprets SLAPI_DSE_CALLBACK_DO_NOT_APPLY as
SLAPI_DSE_CALLBACK_ERROR.
See also
Slapi_DN
Slapi_PBlock
14.32.2 TaskCallbackFn
Defines a callback used specifically by Slapi_Task structure cancel and destructor functions.
Syntax
#include "slapi-plugin.h"
typedef void (*TaskCallbackFn)(Slapi_Task *task);
Parameters This function takes the following parameter:
DescriptionParameter
Points to the task operation which is being performed by the server.
task
Returns Currently, this callback only returns a success message (0). The actual return values
for the functions are not checked by the callback.
14.33 Slapi_UniqueID
Represents the unique identifier of a directory entry.
Syntax
#include "slapi-plugin.h"
typedef struct _guid_t Slapi_UniqueID;
Description Slapi_UniqueID is the data type for an opaque structure that represents the
unique identifier of a directory entry. All directory entries contain a unique identifier. Unlike
the distinguished name (DN), the unique identifier of an entry never changes, providing a good
way to refer unambiguously to an entry in a distributed/replicated environment.
14.34 Slapi_Value
Represents the value of the attribute in a directory entry.
Syntax
#include "slapi-plugin.h"
typedef struct slapi_value Slapi_Value;
Description Slapi_Value is the data type for an opaque structure that represents the value
of an attribute in a directory entry.
142 Data type and structure reference