WWWRules.h
上传用户:zlh9724
上传日期:2007-01-04
资源大小:1991k
文件大小:2k
源码类别:

浏览器

开发平台:

Unix_Linux

  1. /*                                                                     Rule Files and Proxies
  2.                                   RULE FILES AND PROXIES
  3.                                              
  4.  */
  5. /*
  6. **      (c) COPYRIGHT MIT 1995.
  7. **      Please first read the full copyright statement in the file COPYRIGH.
  8. */
  9. /*
  10.    In addition top the basic W3C Reference Library include file called WWWLib.h you can
  11.    also include this file depending on the needs of your application. However, it is not
  12.    required and none of the files included below are ever used in the core part of the
  13.    Library itself. Only if this file is included, the extra modules will get included in
  14.    the linked object code. It is also possible to include only a subset of the files below
  15.    if the functionality you are after is covered by them.
  16.    
  17.  */
  18. #ifndef WWWRULES_H
  19. #define WWWRULES_H
  20. /*
  21.  */
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. /*
  26.   RULE FILE MANAGEMENT
  27.   
  28.    Another way to initialize applications is to use a rule file, also known as a
  29.    configuration file. This is for example the case with the W3C httpd and the W3C Line
  30.    Mode Browser. This module provides basic support for configuration file management and
  31.    the application can use this is desired. The module is not referred to by the Library.
  32.    Reading a rule file is implemented as a stream converter so that a rule file can come
  33.    from anywhere, even across the network!
  34.    
  35.  */
  36. #include "HTRules.h"
  37. /*
  38.   PROXIES AND GATEWAYS
  39.   
  40.    Applications do not have to provide native support for all protocols, they can in many
  41.    situations rely on the support of proxies and gateways to help doing the job. Proxy
  42.    servers are often used to carry client requests through a firewall where they can
  43.    provide services like corporate caching and other network optimizations. Both Proxy
  44.    servers and gateways can serve as "protocol translators" which can convert a request in
  45.    the main Web protocol, HTTP, to an equivalent request in another protocol, for example
  46.    NNTP, FTP, or Gopher. In case a proxy server or a gateway is available to the
  47.    application, it can therefore by use of HTTP forward all requests to for example a
  48.    proxy server which then handle the communications with the remote server, for example
  49.    using FTP about the document and return it to the application (proxy client) using
  50.    HTTP.
  51.    
  52.  */
  53. #include "HTProxy.h"
  54. /*
  55.    End of application specific modules
  56.    
  57.  */
  58. #ifdef __cplusplus
  59. } /* end extern C definitions */
  60. #endif
  61. #endif
  62. /*
  63.    End of WWWRules declaration  */