Condvar_Init - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

NSAPI Functions (in Alphabetical Order)
Syntax
cinfo *cinfo_find(char *uri);
Returns
A pointer to a newly allocated
structure if content info was found or NULL
cinfo
if no content was found
The
structure that is allocated and returned contains pointers to the
cinfo
content-type, content-encoding, and content-language, if found. Each is a pointer
into static data in the types database, or NULL if not found. Do not free these
pointers. You should free the
structure when you are done using it.
cinfo
Parameters
is a Universal Resource Identifier (URI) or local file name. Multiple file
char *uri
name extensions should be separated by periods (.).

condvar_init

The
function is a critical-section function that initializes and returns
condvar_init
a new condition variable associated with a specified critical-section variable. You
can use the condition variable to prevent interference between two threads of
execution.
Syntax
CONDVAR condvar_init(CRITICAL id);
Returns
A newly allocated condition variable (
).
CONDVAR
Parameters
is a critical-section variable.
CRITICAL id
See also
condvar_notify, condvar_terminate, condvar_wait, crit_init,
crit_enter, crit_exit, crit_terminate.
Chapter 5
NSAPI Function Reference
137

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents