![Netscape ENTERPRISE SERVER 6.1 Manual Download Page 195](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653195.webp)
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.
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...