Annotation of libwww/Library/src/WWWApp.html, revision 2.1
2.1 ! frystyk 1: <HTML>
! 2: <HEAD>
! 3: <TITLE>Application Specific Include File for W3C Reference Library</TITLE>
! 4: <!-- Changed by: Henrik Frystyk Nielsen, 28-Oct-1995 -->
! 5: <NEXTID N="z11">
! 6: </HEAD>
! 7: <BODY>
! 8:
! 9: <H1>Application Specific Include File for W3C Reference Library</H1>
! 10:
! 11: <PRE>
! 12: /*
! 13: ** (c) COPYRIGHT MIT 1995.
! 14: ** Please first read the full copyright statement in the file COPYRIGH.
! 15: */
! 16: </PRE>
! 17:
! 18: In addition top the basic W3C Reference Library include file called <A
! 19: HREF="WWWLib.html">WWWLib.h</A> you <EM>can</EM> also include this
! 20: file called WWWApp.h depending on the needs of your
! 21: application. However, it is not required and none of the files
! 22: included below are ever used in the core part of the Library
! 23: itself. Only if this file is included, the extra modules will get
! 24: included in the linked object code. It is also possible to include
! 25: only a subset of the files below if the functionality you are after is
! 26: covered by them.
! 27:
! 28: <PRE>
! 29: #ifndef WWWAPP_H
! 30: #define WWWAPP_H
! 31: </PRE>
! 32:
! 33: <H2>Application Specific Library Includes</H2>
! 34:
! 35: <PRE>
! 36: #ifdef __cplusplus
! 37: extern "C" {
! 38: #endif
! 39: </PRE>
! 40:
! 41: <H2>Initialization</H2>
! 42:
! 43: The core parts of the Library is a framework for adding
! 44: functionailty. It has hooks for adding protocol modules, like for
! 45: example HTTP, FTP, and also for adding streams that can convert from
! 46: one media type to some other type, or presenting the result to the
! 47: user. In the distribution file of the Library you will find a large
! 48: set of porotocol modules and streams already implemented. However, in
! 49: order to use these you need to initialize them. This can be done by
! 50: using the files in the <A HREF="HTInit.html">HTInit</A> module. You
! 51: can modify this module as you like to fit your particular needs.
! 52:
! 53: <PRE>
! 54: #include "HTInit.h" /* Initialization functions */
! 55: </PRE>
! 56:
! 57: <H2>Logging</H2>
! 58:
! 59: Often it is required to log the requests issued to the Library. This
! 60: can either be the case if the application is a server or it can also
! 61: be useful in a client application. This module provides a simple
! 62: logging mechanism which can be enabled if needed.
! 63:
! 64: <PRE>
! 65: #include "HTLog.h"
! 66: </PRE>
! 67:
! 68: <H2>History Management</H2>
! 69:
! 70: Another type of logging is keeping track of which documents a user has
! 71: visited when browsing along on the Web. The Library history manager
! 72: provides a basic set of functionality to keep track of a linear
! 73: history list.
! 74:
! 75: <PRE>
! 76: #include "HTHist.h" /* Navigational aids */
! 77: </PRE>
! 78:
! 79: End of application specific modules
! 80:
! 81: <PRE>
! 82: #ifdef __cplusplus
! 83: } /* end extern C definitions */
! 84: #endif
! 85:
! 86: #endif
! 87: </PRE>
! 88:
! 89: End of WWWAPP definition
! 90:
! 91: </BODY>
! 92: </HTML>
Webmaster