HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
16.3 slapi_acl_verify_aci_syntax()
Description Determines whether the access control items (ACIs) on an entry are valid.
Syntax
#include "slapi-plugin.h"
int slapi_acl_verify_aci_syntax (Slapi_Entry *e, char **errbuf);
Parameters This function takes the following parameters:
Entry for which you want to check the ACIs.
e
Pointer to the error message returned if the ACI syntax is invalid.
errbuf
Returns This function returns one of the following values:
0 if successful.
-1 if an error occurs.
Memory concerns You must free the errbuf buffer by calling “slapi_ch_free()” when you are
finished using the error message.
See also “slapi_ch_free()”
158 Functions for access control