NSAPI Functions (in Alphabetical Order)
Chapter
5
NSAPI Function Reference
165
pblock_remove
The
pblock_remove
function removes a specified name-value entry from a
specified
pblock
. If you use this function you should eventually call
param_free
in order to deallocate the memory used by the
pb_param
structure.
Syntax
pb_param *pblock_remove(char *name, pblock *pb);
Returns
A pointer to the named
pb_param
structure, if it was found or NULL if the named
pb_param
was not found.
Parameters
char *name
is the name of the
pb_param
to be removed.
pblock *pb
is the
pblock
from which the name-value entry is to be removed.
See also
pblock_copy, pblock_create, pblock_find, pblock_free,
pblock_nvinsert, param_create, param_free
pblock_str2pblock
The
pblock_str2pblock
function scans a string for parameter pairs, adds them to
a
pblock
, and returns the number of parameters added.
Syntax
int pblock_str2pblock(char *str, pblock *pb);
Returns
The number of parameter pairs added to the
pblock
, if any or -1 if an error
occurred
Parameters
char *str
is the string to be scanned.
The name-value pairs in the string can have the format name
=
value or
name
="
value
"
.
All back slashes (\) must be followed by a literal character. If string values are
found with no unescaped = signs (no
name=
), it assumes the names 1, 2, 3, and so
on, depending on the string position. For example, if
pblock_str2pblock
finds
"some strings together"
, the function treats the strings as if they appeared in
name-value pairs as
1="some" 2="strings" 3="together"
.
Содержание 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...