Removing duplicated code. load_forwardfile() now uses create_url_spec()
[privoxy.git] / w32log.h
1 #ifndef _W32LOG_H
2 #define _W32LOG_H
3 #define W32LOG_H_VERSION "$Id: w32log.h,v 1.1.1.1 2001/05/15 13:59:07 oes Exp $"
4 /*********************************************************************
5  *
6  * File        :  $Source: /cvsroot/ijbswa/current/w32log.h,v $
7  *
8  * Purpose     :  Functions for creating and destroying the log window,
9  *                ouputting strings, processing messages and so on.
10  *
11  * Copyright   :  Written by and Copyright (C) 2001 the SourceForge
12  *                IJBSWA team.  http://ijbswa.sourceforge.net
13  *
14  *                Written by and Copyright (C) 1999 Adam Lock
15  *                <locka@iol.ie>
16  *
17  *                This program is free software; you can redistribute it 
18  *                and/or modify it under the terms of the GNU General
19  *                Public License as published by the Free Software
20  *                Foundation; either version 2 of the License, or (at
21  *                your option) any later version.
22  *
23  *                This program is distributed in the hope that it will
24  *                be useful, but WITHOUT ANY WARRANTY; without even the
25  *                implied warranty of MERCHANTABILITY or FITNESS FOR A
26  *                PARTICULAR PURPOSE.  See the GNU General Public
27  *                License for more details.
28  *
29  *                The GNU General Public License should be included with
30  *                this file.  If not, you can view it at
31  *                http://www.gnu.org/copyleft/gpl.html
32  *                or write to the Free Software Foundation, Inc., 59
33  *                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
34  *
35  * Revisions   :
36  *    $Log: w32log.h,v $
37  *    Revision 1.1.1.1  2001/05/15 13:59:07  oes
38  *    Initial import of version 2.9.3 source tree
39  *
40  *
41  *********************************************************************/
42 \f
43
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47
48 extern HWND g_hwndLogFrame;
49
50 /* Indicates whether task bar shows activity animation */
51 extern BOOL g_bShowActivityAnimation;
52
53 /* Indicates if the log window appears on the task bar */
54 extern BOOL g_bShowOnTaskBar;
55
56 /* Indicates whether closing the log window really just hides it */
57 extern BOOL g_bCloseHidesWindow;
58
59 /* Indicates if messages are logged at all */
60 extern BOOL g_bLogMessages;
61
62 /* Indicates whether log messages are highlighted */
63 extern BOOL g_bHighlightMessages;
64
65 /* Indicates if buffer is limited in size */
66 extern BOOL g_bLimitBufferSize;
67
68 /* Maximum number of lines allowed in buffer when limited */
69 extern int g_nMaxBufferLines;
70
71 /* Font to use */
72 extern char g_szFontFaceName[255];
73
74 /* Size of font to use */
75 extern int g_nFontSize;
76
77
78 /* FIXME: this is a kludge */
79
80 extern const char * g_blockfile;
81 extern const char * g_permissions_file;
82 extern const char * g_forwardfile;
83 #ifdef ACL_FILES
84 extern const char * g_aclfile;
85 #endif /* def ACL_FILES */
86 #ifdef USE_IMAGE_LIST
87 extern const char * g_imagefile;
88 #endif /* def USE_IMAGE_LIST */
89 #ifdef PCRS
90 extern const char * g_re_filterfile;
91 #endif
92 #ifdef TRUST_FILES
93 extern const char * g_trustfile;
94 #endif /* def TRUST_FILES */
95
96 /* FIXME: end kludge */
97
98
99 extern int LogPutString(const char *pszText);
100 extern BOOL InitLogWindow(void);
101 extern void TermLogWindow(void);
102 extern void ShowLogWindow(BOOL bShow);
103 extern void LogShowActivity(void);
104
105 /* Revision control strings from this header and associated .c file */
106 extern const char w32log_rcs[];
107 extern const char w32log_h_rcs[];
108
109 #ifdef __cplusplus
110 } /* extern "C" */
111 #endif
112
113 #endif /* ndef _W32LOG_H */
114
115
116 /*
117   Local Variables:
118   tab-width: 3
119   end:
120 */