Annotation of libwww/Library/src/HTLog.html, revision 2.11
2.1 frystyk 1: <HTML>
2: <HEAD>
2.10 frystyk 3: <TITLE>W3C Reference Library libwww LOG FILES</TITLE>
2.11 ! frystyk 4: <!-- Changed by: Henrik Frystyk Nielsen, 23-Mar-1996 -->
2.1 frystyk 5: <NEXTID N="z1">
6: </HEAD>
7: <BODY>
8:
9: <H1>Log Manager</H1>
10:
11: <PRE>
12: /*
2.2 frystyk 13: ** (c) COPYRIGHT MIT 1995.
2.1 frystyk 14: ** Please first read the full copyright statement in the file COPYRIGH.
15: */
16: </PRE>
17:
18: This module maintaines logs of request to a file.<P>
19:
20: This module is implemented by <A HREF="HTLog.c">HTLog.c</A>, and it is
2.7 frystyk 21: a part of the <A HREF="http://www.w3.org/pub/WWW/Library/"> W3C
22: Reference Library</A>.
2.1 frystyk 23:
24: <PRE>
25: #ifndef HTLIBLOG_H
26: #define HTLIBLOG_H
27:
2.6 frystyk 28: #include "HTReq.h"
2.1 frystyk 29: </PRE>
30:
31: <H2>Enable the log</H2>
32:
33: Open the log file and start doing log. The time used in the log file
34: is either GMT or local dependent on <CODE>local</CODE>.
35:
36: <PRE>
2.9 frystyk 37: extern BOOL HTLog_open (const char * filename, BOOL local, BOOL append);
2.1 frystyk 38: </PRE>
39:
40: <H2>Disable the log</H2>
41:
42: Close the log file and do more log
43:
44: <PRE>
2.8 frystyk 45: extern BOOL HTLog_close (void);
46: </PRE>
47:
48: <H2>In log Enabled?</H2>
49:
50: <PRE>
51: extern BOOL HTLog_isOpen (void);
2.1 frystyk 52: </PRE>
53:
54: <H2>Log a Request</H2>
55:
56: This functions logs the result of a request.
57:
58: <PRE>
2.8 frystyk 59: extern BOOL HTLog_add (HTRequest * request, int status);
2.1 frystyk 60:
61: #endif
62: </PRE>
63:
2.11 ! frystyk 64: <HR>
! 65: <ADDRESS>
! 66: @(#) $Id: Date Author State $
! 67: </ADDRESS>
2.1 frystyk 68: </BODY>
69: </HTML>
Webmaster