25.3. slapi_entry_set_flag()

Sets a flag for a specified entry.
Description

In current versions of Directory Server, the only external flag that can be set is SLAPI_ENTRY_FLAG_TOMBSTONE. This flag means that the entry is a tombstone entry. More flags may be exposed in future releases. Do not use your own flags.

Syntax

#include "slapi-plugin.h"
void slapi_entry_set_flag( Slapi_Entry *e, unsigned char flag);

Parameters

This function takes the following parameters:

e
Entry for which you want to set the flags.
flag
Flag that you want to set.