Pblock_Findval; Pblock_Free - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

Parameters
is the name of a name-value pair.
char *name
is the
pblock *pb
pblock
See also
pblock_copy, pblock_dup, pblock_findval, pblock_free,
pblock_nvinsert, pblock_remove

pblock_findval

The
pblock_findval
you just want the
pb_param
The pointer returned is a pointer into the pblock. Do not FREE it. If you want to
modify it, do a
STRDUP
Syntax
char *pblock_findval(char *name, pblock *pb);
Returns
A string containing the value associated with the name or NULL if no match was
found
Parameters
is the name of a name-value pair.
char *name
is the pblock to be searched.
pblock *pb
Example
see
pblock_nvinsert
See also
pblock_create, pblock_copy, pblock_find, pblock_free,
pblock_nvinsert, pblock_remove, request_header

pblock_free

The
function frees a specified
pblock_free
want to save a variable in the
and save the resulting pointer.
pblock_remove
Syntax
void pblock_free(pblock *pb);
to be searched.
function finds the value of a specified name in a pblock. If
structure of the pblock, use the
and modify the copy.
.
, remove the variable using the function
pblock
NSAPI Functions (in Alphabetical Order)
pblock_find
and any entries inside it. If you
pblock
Chapter 5
NSAPI Function Reference
function.
157

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents