Sun Java System Directory Server Enterprise Edition 6.2 Developer's Guide

slapi_entry_has_children()

This function determines if the specified entry has child entries in the backend where it resides.

Syntax

#include "slapi-plugin.h"
 int slapi_entry_has_children( const Slapi_Entry *e );

Parameters

This function takes the following parameter:

e

Entry that you want to test for child entries.

Returns

This function returns 1 if the entry you supply has child entries in the backend where it resides; otherwise it returns 0. Notice that if a subsuffix is in another backend, this function does not find children contained in that subsuffix.