Param_Create; Param_Free - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

NSAPI Functions (in Alphabetical Order)
Parameters
SYS_NETFD sd
int sz
See also
netbuf_buf2sd
P

param_create

The
name and value. The name and value are copied. Use this function to prepare a
pb_param
Syntax
pb_param *param_create(char *name, char *value);
Returns
A pointer to a new
Parameters
char *name
char *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
associated structures. Use the
removing it from a pblock with
Syntax
int param_free(pb_param *pp);
154
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
is the platform-independent identifier of the socket.
is the number of characters to allocate for the network buffer.
,
netbuf_close
function creates a
param_create
structure to be used in calls to
pb_param
is the string containing the name.
is the string containing the value.
function frees the pb_param structure specified by
param_free
,
netbuf_getc, netbuf_grab
structure containing a specified
pb_param
routines such as
pblock
structure.
function to dispose a
param_free
.
pblock_remove
.
pblock_pinsert
and its
pp
after
pb_param

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents