Sun Java System Directory Server Enterprise Edition 6.0 Developer's Guide

Slapi_PluginDesc

Represents a plug-in description you provide to identify your plug-in.

The plug-in initialization function must register this information with the server.

Syntax

#include "slapi-plugin.h"
typedef struct slapi_plugindesc {
    char * spd_id;
    char * spd_vendor;
    char * spd_version;
    char * spd_description;
} Slapi_PluginDesc;

Fields

This structure has the following fields.

Table 15–18 Slapi_PluginDesc Fields

Field 

Description 

spd_id

Unique (server wide) identifier for the plug-in. 

spd_vendor

Name of the vendor supplying the plug-in such as Sun Microsystems, Inc.

spd_version

Plug-in revision number such as 5.2, not to be confused with SLAPI_PLUGIN_VERSION, which specifies the plug-in API version supported by the plug-in.

spd_description

Short description of the plug-in such as Sample post-operation plug-in .

See Also

For examples of Slapi_PluginDesc use, refer to the sample plug-ins under $INSTALL_DIR/examples/.