HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
Call this function:To:
“slapi_seq_internal_callback_pb()”Perform an internal sequential access operation.
“slapi_seq_internal_set_pb()”Set up a parameter block for use by
slapi_seq_internal_callback_pb() for an internal,
sequential-access operation.
14.30 Slapi_PluginDesc
Represents information about a server plug-in.
Syntax
typedef struct slapi_plugindesc {
char *spd_id;
char *spd_vendor;
char *spd_version;
char *spd_description;
} Slapi_PluginDesc;
Parameters The function has the following parameters:
Unique identifier for the server plug-in.
spd_id
Name of the vendor supplying the server plug-in; for
example, example.com.
spd_vendor
Version of the server plug-in used for your own tracking
purposes; for example, 0.5. This is different from the
value of the SLAPI_PLUGIN_VERSION, which specifies
the general version of plug-in technology; the Directory
Server uses that version to determine if it supports a
plug-in.
spd_version
Description of the server plug-in.
spd_description
Description Slapi_PluginDesc represents information about a server plug-in. In your
initialization function, you specify information about your plug-in in this structure and call
slapi_pblock_set() to put the structure in the SLAPI_PLUGIN_DESCRIPTION parameter.
See also For more information on using Slapi_PluginDesc to specify plug-in information,
see “Specifying information about the plug-in”.
14.31 Slapi_RDN
Represents a relative distinguished name in a directory entry.
Syntax
#include "slapi-plugin.h"
typedef struct slapi_rdn Slapi_RDN;
Description Slapi_RDN is the data type for an opaque structure that represents a relative
distinguished name in the server plug-in.
The following table summarizes the front end API functions that you can call to work with
relative distinguished names.
Call this function:To:
“slapi_rdn_add()”Add a new RDN to an existing RDN structure.
“slapi_rdn_compare()”Compare two RDNs.
“slapi_rdn_contains()”
Check if a Slapi_RDN structure holds any RDN matching
a given type/value pair.
14.30 Slapi_PluginDesc 139