![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 338](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653338.webp)
338
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
An
Init
SAF that is visible to the plugin creates the handle to the cache. The
Init
SAF must pass the following parameters to the
dr_cache_init
function:
•
RefreshFunctionPointer
•
FreeFunctionPointer
•
KeyComparatorFunctionPtr
•
RefershInterval
The
RefershInterval
value must be a
PrIntervalTime
type. For more
information, see the NSPR reference at:
http://www.mozilla.org/projects/nspr/reference/html/index.html
As an alternative, if the body is a file that is present in a directory within the web
server system machine, the plugin can generate the header and footer and call the
fc_net_write
function along with the file name.
This appendix lists the most important functions a results caching plugin can use.
For more information, see the following file:
server_root
/plugins/include/drnsapi.h
dr_cache_destroy
The
dr_cache_destroy
function destroys and frees resources associated with a
previously created and used cache handle. This handle can no longer be used in
subsequent calls to any of the above functions unless another
dr_cache_init
is
performed.
Syntax
void dr_cache_destroy(DrHdl *hdl);
Parameters
DrHdl *hdl
is a pointer to a previously initialized handle to a cache (see
dr_cache_init
).
Returns
void
Example
dr_cache_destroy(&myHdl);
Содержание 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...