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:

spd_id Unique identifier for the server plug-in.
spd_vendor Name of the vendor supplying the server plug-in; for example, example.com.
spd_version 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_description Description of the server plug-in.
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 Section 2.2.2, “Specifying Information about the Plug-in”.