Chapter 25. Functions Related to Entry Flags

This chapter contains reference information on functions that are specific to entry flags.

Table 25.1. Entry Flags

Function Description
slapi_entry_clear_flag() Clears a flag for a specified entry.
slapi_entry_flag_is_set() Checks if certain flags are set in an entry.
slapi_entry_set_flag() Sets a flag for an entry.

25.1. slapi_entry_clear_flag()

Clears a flag for a specified entry.
Description

In this release 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_clear_flag( Slapi_Entry *e, unsigned char flag);

Parameters

This function takes the following parameters:

e
Entry in which you want to clear the flag settings.
flag
Flag that you want to clear.