24.38. slapi_entry_has_children()

This function determines if the specified entry has child entries.
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 one of the following values:

  • 1 if the entry you supply has children entries.
  • 0 if the entry you supply has no children entries.