Chapter 2 Writing And Compiling Plug-Ins; Writing A Plug-In Function - Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual

Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents