HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
53.6 Information about access control lists
The parameters listed below are used with the access control list (ACL) plug-in functions to
determine access control levels.
DescriptionData typeParameter ID
Flag sent to the ACL plug-in when it is called that
indicates that ACL access is allowed.
intSLAPI_PLUGIN_ACL_ALLOW_ACCESS
Flag that is set when ACL plug-ins are initialized
that allows the use of ACL plug-in access functions.
intSLAPI_PLUGIN_ACL_INIT
Flag that indicates if the modifications that were
made are allowed.
intSLAPI_PLUGIN_ACL_MODS_ALLOWED
Flag that indicates you can modify (remove, ad, or
change) the access control items (ACIs).
intSLAPI_PLUGIN_ACL_MODS_UPDATE
Flag that verifies the ACI being added for the entry
has a valid syntax.
intSLAPI_PLUGIN_ACL_SYNTAX_CHECK
53.7 Notes in the access log
The parameters listed below specify notes that can be appended to access log entries. These
parameters are available for all types of plug-ins.
DescriptionData typeParameter ID
Flags specifying the notes that you want appended
to access log entries. You can set this parameter to
the following value:
SLAPI_OP_NOTE_UNINDEXED specifies that you
want the string Notes=U appended to access log
entries. You can use this to indicate that a search
operation could not use indexes to generate a
smaller list of candidates.
If no flags are set, no notes are appended to access
log entries.
unsigned intSLAPI_OPERATION_NOTES
53.8 Information about the plug-in
The parameters listed below specify information about the plug-in that is available to all plug-in
functions defined in the current library. These parameters are available for all types of plug-ins.
DescriptionData typeParameter ID
Pointer to the internal server representation of this
plug-in.
void *SLAPI_PLUGIN
Private data that you want passed to your plug-in
functions.
void *SLAPI_PLUGIN_PRIVATE
Specifies the type of plug-in function (refer to “Types
of plug-ins”)
intSLAPI_PLUGIN_TYPE
NULL-terminated array of command-line arguments
specified for the plugin directive in the server
configuration file.
char **SLAPI_PLUGIN_ARGV
Number of command-line arguments specified for
the plugin directive in the server configuration file.
intSLAPI_PLUGIN_ARGC
Specifies the version of the plug-in function (refer to
“Version information”).
char *SLAPI_PLUGIN_VERSION
394 Parameters accessible to all plug-ins