Pblock_Pb2Env; Pblock_Pblock2Str - Netscape ENTERPRISE SERVER 6.1 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

Returns
A pointer to the newly allocated
Parameters
is the name of the new entry.
char *name
is the string value of the new entry.
char *value
is the
pblock *pb
pblock
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
environment. The function creates one new environment entry for each
name-value pair in the
program that you are going to execute.
Syntax
char **pblock_pb2env(pblock *pb, char **env);
Returns
A pointer to the environment.
Parameters
is the
pblock *pb
pblock
is the environment into which the
char **env
See also
pblock_copy, pblock_create, pblock_find, pblock_free,
pblock_nvinsert, pblock_remove, pblock_str2pblock

pblock_pblock2str

The
pblock_pblock2str
specified string. The function allocates additional non-heap space for the string if
needed.
Use this function to stream the
pb_param
into which the insertion occurs.
function copies a specified pblock into a specified
. Use this function to send
pblock
to be copied.
function copies all parameters of a specified
for archival and other purposes.
pblock
NSAPI Functions (in Alphabetical Order)
structure
pblock
is to be copied.
pblock
Chapter 5
NSAPI Function Reference
entries to a
into a
pblock
163

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.1

Table of Contents