Chapter 5 Front-End Api Functions; Logging Messages - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

The Netscape Directory Server (Directory Server) provides some general-purpose,
front-end API functions that allow you to work with the entries in the Directory
Server. This chapter explains how to use the front-end API functions to accomplish
various tasks; you can call these functions in your plug-in to interact with the client
(for example, send results or result codes), log messages, and work with entries,
attributes, and filters. While all of the functions described here must be used in
conjunction with other API functions, understanding how these functions work
will help you understand how to program other plug-in API functions.
This chapter contains the following sections:
Logging Messages (page 67)
Adding Notes to Access Log Entries (page 68)
Sending Data to the Client (page 68)
Determining If an Operation Was Abandoned (page 69)
Working with Entries, Attributes, and Values (page 69)
Working with DNs and RDNs (page 73)
Working with Search Filters (page 76)
Checking Passwords (page 79)
The front-end functions are declared in the

Logging Messages

To write an error message to the error log, call the
function. For example, the following
message in the error log:
Front-End API Functions
slapi-plugin.h
slapi_log_error()
Chapter 5
header file.
slapi_new_condvar()
function call writes a
67

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents