Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 204

Table of Contents

Advertisement

Summary of Data Types and Structures
Description
Slapi_Mutex
exclusive lock (mutex) in the server plug-in.
The following table summarizes the front-end API functions that you can call to
work with mutually exclusive locks.
To do this...
Destroy a mutex
Lock a mutex
Create a new mutex
Unlock a mutes
Slapi_Operation
Represents an operation pending from an LDAP client.
Syntax
#include slapi-plugin.h
typedef struct op Slapi_Operation;
Description
Slapi_Operation
operation pending from an LDAP client.
The following table summarizes the front-end API functions that you can call to
work with mutually exclusive locks.
To do this...
Determine if the client has
abandoned the current operation.
Get the type of a
Slapi_Operation.
204
Netscape Directory Server Plug-In Programmer's Guide • August 2002
is the data type for an opaque structure that represents a mutual
is the data type for an opaque structure that represents an
Call this function
slapi_destroy_mutex()
slapi_lock_mutex()
slapi_new_mutex()
slapi_unlock_mutex()
Call this function
slapi_op_abandoned()
slapi_op_get_type()

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents