NSAPI Functions (in Alphabetical Order)
Chapter
5
NSAPI Function Reference
163
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.
Содержание ENTERPRISE SERVER 6.1
Страница 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Страница 18: ...Where to Find Related Information 18 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 138: ...CGI to NSAPI Conversion 138 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 214: ...NSAPI Functions in Alphabetical Order 214 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 310: ...The Netscape LDAP Schema 310 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 324: ...Sample MIME Types File 324 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...