![Netscape NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION Manual Download Page 372](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-2-gateway-customization/netscape-directory-server-6-2-gateway-customization_manual_1674642372.webp)
Functions for Logging
372
Netscape Directory Server Plug-In Programmer’s Guide • December 2003
Syntax
#include “slapi-plugin.h”
void slapi_ldap_unbind( LDAP *ld );
Parameters
This function takes the following parameters:
Description
This function unbinds from another LDAP server. Call this function if you
initialized the LDAP session with the
slapi_ldap_init()
function. (Do not call
the
ldap_unbind()
or
ldap_unbind_s()
functions provided with the Netscape
Directory SDK.)
Functions for Logging
This section contains reference information on logging routines.
slapi_log_error()
Writes a message to the error log for the Directory Server. (By default, the error log
file is
<server_root>/slapd-<instance_id>/logs/errors
.)
Syntax
#include “slapi-plugin.h”
int slapi_log_error( int severity, char *subsystem,
char *fmt, ... );
ld
Connection handle, which is a pointer to an
LDAP
structure containing
information about the connection to the LDAP server.
Table 15-17
Logging Routines
Function
Description
slapi_log_error()
Writes a message to the error log for the Directory Server.
slapi_is_loglevel_set()
Checks if
loglevel
is selected as a log level.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Page 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Page 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...