![Netscape ENTERPRISE SERVER 6.1 Manual Download Page 158](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653158.webp)
NSAPI Functions (in Alphabetical Order)
158
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
Parameters
SYS_NETFD sd
is the platform-independent identifier of the socket.
int sz
is the number of characters to allocate for the network buffer.
See also
netbuf_buf2sd
,
netbuf_close
,
netbuf_getc, netbuf_grab
P
param_create
The
param_create
function creates a
pb_param
structure containing a specified
name and value. The name and value are copied. Use this function to prepare a
pb_param
structure to be used in calls to
pblock
routines such as
pblock_pinsert
.
Syntax
pb_param *param_create(char *name, char *value);
Returns
A pointer to a new
pb_param
structure.
Parameters
char *name
is the string containing the name.
char *value
is the string containing the value.
Example
pb_param *newpp = param_create("content-type","text/plain");
pblock_pinsert(newpp, rq->srvhdrs);
See also
param_free, pblock_pinsert, pblock_remove
param_free
The
param_free
function frees the pb_param structure specified by
pp
and its
associated structures. Use the
param_free
function to dispose a
pb_param
after
removing it from a pblock with
pblock_remove
.
Syntax
int param_free(pb_param *pp);
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...