NSAPI Functions (in Alphabetical Order)
Chapter
5
NSAPI Function Reference
195
Syntax
int util_chdir2path(char *path);
Returns
0 if the directory was changed or -1 if the directory could not be changed.
Parameters
char *path
is the name of a directory.
The parameter must be a writable string because it isn’t permanently modified.
util_chdir2path
The
util_chdir2path
function changes the current directory to a specified
directory, where you will access a file.
When running under Windows NT/Windows 2000, use a critical section to ensure
that more than one thread does not call this function at the same time.
Use
util_chdir2path
when you want to make file access a little quicker, because
you do not need to use a full paths.
Syntax
int util_chdir2path(char *path);
Returns
0 if the directory was changed or -1 if the directory could not be changed.
Parameters
char *path
is the name of a directory.
The parameter must be a writable string because it isn’t permanently modified.
util_cookie_find
The
util_cookie_find
function finds a specific cookie in a cookie string and
returns its value.
Syntax
char *util_cookie_find(char *cookie, char *name);
Returns
If successful, returns a pointer to the
NULL
-terminated value of the cookie.
Otherwise, returns
NULL
. This function modifies the cookie string parameter by
null-terminating the name and value.
Содержание 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...