Complete Contents
Getting Started
Chapter 1 Understanding Server Plug-Ins
Chapter 2 Writing and Compiling Plug-Ins
Chapter 3 Calling the Front-End API Functions
Chapter 4 Quick Start
Chapter 5 Writing Database Plug-Ins
Chapter 6 Writing Pre/Post-Operation Plug-Ins
Chapter 7 Defining Functions for LDAP Operations
Chapter 8 Defining Functions for Database Operations
Chapter 9 Defining Functions for Authentication
Chapter 10 Writing Entry Store/Fetch Plug-Ins
Chapter 11 Writing Extended Operation Plug-Ins
Chapter 12 Writing Matching Rule Plug-Ins
Chapter 13 Data Type and Structure Reference
Chapter 14 Function Reference
Chapter 15 Parameter Reference
Glossary
Previous Next Contents Bookshelf Datatypes List



 Slapi_PluginDesc
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.

Slapi_PluginDesc is defined as follows:

typedef struct slapi_plugindesc {

char *spd_id;

char *spd_vendor;

char *spd_version;

char *spd_description;

} Slapi_PluginDesc;

The fields in this structure are described below:
spd_id

Unique identifier for the server plug-in.
spd_vendor

Name of the vendor supplying the server plug-in (for example, Airius.com).
spd_version

Version of the server plug-in used for your own tracking purposes (for example, 0.5). Note that this is different from the value of the SLAPI_PLUGIN_VERSION, which specifies the general version of plug-in technology; the Netscape Directory Server uses that version to determine if it supports a plug-in.
spd_description

Description of the server plug-in.

For more information on using Slapi_PluginDesc to specify plug-in information, see "Specifying Information about the Plug-In" on page  35.

 

© Copyright 1998 Netscape Communications Corporation