?? wwwcache.h
字號:
/* W3C Sample Code Library libwww Persistent Cache Manager! Declaration of W3C Sample Code Persistent Cache Manager!*//*** (c) COPYRIGHT MIT 1995.** Please first read the full copyright statement in the file COPYRIGH.*//*Caching is a required part of any efficient Internet access applicationsas it saves bandwidth and improves access performance significantly in almostall types of accesses. The Library supports two different types of cache:The memory cache and the file cache. The two types differ in several wayswhich reflects their two main purposes: The memory cache is for short termstorage of graphic objects whereas the file cache is for intermediate termstorage of data objects. Often it is desirable to have both a memory anda file version of a cached document, so the two types do not exclude eachother.The cache contains details of persietent files which contain the contentsof remote documents. The existing cache manager is somewhat naive - especiallyin its garbage collection but it is just an example of how it can be done.More advanced implementations are welcome!*/#ifndef WWWCACHE_H#define WWWCACHE_H/**/#ifdef __cplusplusextern "C" { #endif/*( System dependencies)The wwwsys.h file includes system-specific includefiles and flags for I/O to network and disk. The only reason for this fileis that the Internet world is more complicated than Posix and ANSI.*/#include "wwwsys.h"/*( Caching Manager)The cache interface defines a persistent cache manager based on accessingfiles.*/#include "HTCache.h"/**/#ifdef __cplusplus} /* end extern C definitions */#endif#endif/* @(#) $Id: WWWCache.html,v 2.8 1998/05/04 19:37:47 frystyk Exp $*/
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -