HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
52.3 Matching rule plug-ins
The parameters listed below are used with matching rule plug-in functions that can be registered.
DescriptionParameter ID
This is a factory function for creating filter functions. This function
must be thread-safe because the server may call it concurrently with
other functions.
SLAPI_PLUGIN_MR_FILTER_CREATE_FN
This is a factory function for creating indexer functions. This function
must be thread-safe because the server may call it concurrently with
other functions.
SLAPI_PLUGIN_MR_INDEXER_CREATE_FN
This functions uses the ID to set and get a filter function.
SLAPI_PLUGIN_MR_FILTER_MATCH_FN
This is a filter function that uses an index to accelerate the processing
of a search request.
SLAPI_PLUGIN_MR_FILTER_INDEX_FN
This function resets the filter function.
SLAPI_PLUGIN_MR_FILTER_RESET_FN
This function uses the ID to get and set the index function.
SLAPI_PLUGIN_MR_INDEX_FN
52.4 Entry plug-ins
The parameters listed below are used for entry store and entry fetch plug-in functions. These
plug-in functions are called by the server before writing an entry to disk and after reading an
entry from disk. Entry store and entry fetch plug-in functions are passed using the string
representation (in LDIF) of the entry.
Note:
The Directory Server caches recently added and retrieved entries in memory. The entry fetch
plug-in function is called only when reading the entry from the disk, not when reading the entry
from the cache.
DescriptionParameter ID
This function fetches information that represents an LDAP entry.
SLAPI_PLUGIN_ENTRY_FETCH_FUNC
This function stores information about an entry that was fetched by
the SLAPI_PLUGIN_ENTRY_FETCH_FUNC function.
SLAPI_PLUGIN_ENTRY_STORE_FUNC
52.3 Matching rule plug-ins 389