Pblock_Copy; Pblock_Create - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

Returns
1 if the parameter was freed or 0 if the parameter was NULL.
Parameters
is the name-value pair stored in a pblock.
pb_param *pp
Example
if (param_free(pblock_remove("content-type", rq-srvhdrs)))
return; /* we removed it */
See also
param_create, pblock_pinsert, pblock_remove

pblock_copy

The
function copies the entries of the source
pblock_copy
into the destination
pblock
intact.
Syntax
void pblock_copy(pblock *src, pblock *dst);
Returns
void
Parameters
is the source pblock.
pblock *src
is the destination pblock.
pblock *dst
Names and values are newly allocated so that the original
the new
changed without affecting the original
pblock
See also
pblock_create, pblock_dup, pblock_free, pblock_find, pblock_findval,
pblock_remove, pblock_nvinsert

pblock_create

The
pblock_create
internal hash table for fast name-value pair lookups.
Syntax
pblock *pblock_create(int n);
. Any previous entries in the destination
function creates a new pblock. The pblock maintains an
NSAPI Functions (in Alphabetical Order)
and adds them
pblock
pblock
may be freed, or
pblock
.
pblock
Chapter 5
NSAPI Function Reference
are left
155

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents