This chapter provides an introduction on how to write and compile Netscape
Directory Server (Directory Server) plug-ins. Chapter 3, "Configuring Plug-Ins,"
describes how to load your plug-in into the Directory Server configuration once it
is successfully compiled. This chapter covers the following topics:
•
Writing a Plug-In Function
•
Writing Plug-in Initialization Functions
•
Compiling a Directory Server Plug-In
If you have already written a plug-in for the Directory Server, refer to the
section "Using Directory Server Plug-In APIs" on page 11 for information on
migrating your plug-in to the latest version of the Directory Server.
Writing a Plug-In Function
To write a Directory Server plug-in, you must do the following in your plug-in
code:
•
Include the API header file
•
Set the function parameters using the parameter block
•
Call the front-end
•
Specify the function return value
For additional information on writing specific plug-in types, refer to the following
chapters:
•
Chapter 6, "Writing Pre/Post-Operation Plug-Ins"
•
Chapter 9, "Writing Entry Store/Fetch Plug-Ins"
Writing and Compiling Plug-Ins
Chapter 2
27
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - PLUG-IN and is the answer not in the manual?
Questions and answers