NSAPI Functions (in Alphabetical Order)
Chapter
5
NSAPI Function Reference
159
Returns
A pointer to the newly allocated
pb_param
structure
Parameters
char *name
is the name of the new entry.
char *value
is the string value of the new entry.
pblock *pb
is the
pblock
into which the insertion occurs.
Example
pblock_nvinsert("content-type", "text/html", rq->srvhdrs);
See also
pblock_copy, pblock_create, pblock_find, pblock_free,
pblock_nninsert, pblock_remove, pblock_str2pblock
pblock_pb2env
The
pblock_pb2env
function copies a specified
pblock
into a specified
environment. The function creates one new environment entry for each
name-value pair in the
pblock
. Use this function to send
pblock
entries to a
program that you are going to execute.
Syntax
char **pblock_pb2env(pblock *pb, char **env);
Returns
A pointer to the environment.
Parameters
pblock *pb
is the
pblock
to be copied.
char **env
is the environment into which the
pblock
is to be copied.
See also
pblock_copy, pblock_create, pblock_find, pblock_free,
pblock_nvinsert, pblock_remove, pblock_str2pblock
pblock_pblock2str
The
pblock_pblock2str
function copies all parameters of a specified
pblock
into a
specified string. The function allocates additional non-heap space for the string if
needed.
Use this function to stream the
pblock
for archival and other purposes.
Summary of Contents for ENTERPRISE SERVER 6.0
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 0 November 2001...
Page 134: ...CGI to NSAPI Conversion 134 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 306: ...cinfo 306 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 312: ...Sample MIME Types File 312 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 324: ...Buffered Streams 324 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 332: ...332 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 340: ...340 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 346: ...346 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 352: ...352 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...