NSAPI Functions (in Alphabetical Order)
Chapter
5
NSAPI Function Reference
161
Parameters
char *name
is the name of a name-value pair.
pblock *pb
is the
pblock
to be searched.
See also
pblock_copy, pblock_dup, pblock_findval, pblock_free,
pblock_nvinsert, pblock_remove
pblock_findval
The
pblock_findval
function finds the value of a specified name in a pblock. If
you just want the
pb_param
structure of the pblock, use the
pblock_find
function.
The pointer returned is a pointer into the pblock. Do not FREE it. If you want to
modify it, do a
STRDUP
and modify the copy.
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
char *name
is the name of a name-value pair.
pblock *pb
is the pblock to be searched.
Example
see
pblock_nvinsert
.
See also
pblock_create, pblock_copy, pblock_find, pblock_free,
pblock_nvinsert, pblock_remove, request_header
pblock_free
The
pblock_free
function frees a specified
pblock
and any entries inside it. If you
want to save a variable in the
pblock
, remove the variable using the function
pblock_remove
and save the resulting pointer.
Syntax
void pblock_free(pblock *pb);
Summary of Contents for ENTERPRISE SERVER 6.1
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Page 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...