Crit_Terminate; Daemon_Atrestart - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

crit_terminate

Critical-section function that removes a previously-allocated critical-section
variable (a variable of type
variable previously obtained by a call to
Syntax
void crit_terminate(CRITICAL crvar);
Returns
void
Parameters
CRITICAL crvar
See also
crit_init, crit_enter, crit_exit.
D

daemon_atrestart

The
daemon_atrestart
to be used when the server terminates. Use this function when you need a callback
function to deallocate resources allocated by an initialization function. The
daemon_atrestart
The
magnus.conf
affect the callback of NSAPI functions.
Syntax
void daemon_atrestart(void (*fn)(void *), void *data);
Returns
void
Parameters
void (* fn) (void *)
void *data
restarted.
CRITICAL
is a critical-section variable.
function lets you register a callback function named by
function is a generalization of the
directives
TerminateTimeout
is the callback function.
is the parameter passed to the callback function when the server is
NSAPI Functions (in Alphabetical Order)
). Use this function to release a critical-section
.
crit_init
magnus_atrestart
and
ChildRestartCallback
Chapter 5
function.
also
NSAPI Function Reference
fn
141

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents