Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

w32log.h File Reference

Functions for creating and destroying the log window, ouputting strings, processing messages and so on. More...

Go to the source code of this file.

Defines

#define W32LOG_H_VERSION   "$Id: w32log.h,v 2.0 2002/06/04 14:34:21 jongfoster Exp $"

Functions

int LogPutString (const char *pszText)
BOOL InitLogWindow (void)
void TermLogWindow (void)
void ShowLogWindow (BOOL bShow)
void LogShowActivity (void)

Variables

HWND g_hwndLogFrame
BOOL g_bShowActivityAnimation
BOOL g_bShowOnTaskBar
BOOL g_bCloseHidesWindow
BOOL g_bLogMessages
BOOL g_bHighlightMessages
BOOL g_bLimitBufferSize
int g_nMaxBufferLines
char g_szFontFaceName [255]
int g_nFontSize
const char * g_actions_file
const char * g_re_filterfile
const char w32log_rcs []
const char w32log_h_rcs []


Detailed Description

Functions for creating and destroying the log window, ouputting strings, processing messages and so on.

Log:
w32log.h,v
Revision 2.0 2002/06/04 14:34:21 jongfoster Moving source files to src/

Revision 1.10 2002/03/26 22:57:10 jongfoster Web server name should begin www.

Revision 1.9 2002/03/24 12:03:47 jongfoster Name change

Revision 1.8 2001/07/30 22:08:36 jongfoster Tidying up defines:

Revision 1.7 2001/07/29 18:43:08 jongfoster Changing ifdef _FILENAME_H to FILENAME_H_INCLUDED, to conform to ANSI C rules.

Revision 1.6 2001/07/13 14:04:59 oes Removed all ifdef PCRS

Revision 1.5 2001/06/07 23:08:12 jongfoster Forward and ACL edit options removed.

Revision 1.4 2001/05/31 21:37:11 jongfoster GUI changes to rename "permissions file" to "actions file".

Revision 1.3 2001/05/29 09:50:24 jongfoster Unified blocklist/imagelist/permissionslist. File format is still under discussion, but the internal changes are (mostly) done.

Also modified interceptor behaviour:

Revision 1.2 2001/05/26 00:28:36 jongfoster Automatic reloading of config file. Removed obsolete SIGHUP support (Unix) and Reload menu option (Win32). Most of the global variables have been moved to a new struct configuration_spec, accessed through csp->config->globalname Most of the globals remaining are used by the Win32 GUI.

Revision 1.1.1.1 2001/05/15 13:59:07 oes Initial import of version 2.9.3 source tree


Function Documentation

BOOL InitLogWindow void   
 

Initialise the log window.

Returns:
Always TRUE (there should be error checking on the resources).

int LogPutString const char *    pszText
 

Inserts text into the logging window.

This is really a regexp aware wrapper function to `LogPutStringNoMatch'.

Parameters:
pszText  pointer to string going to the log window
Returns:
1 => success, else the return code from `LogPutStringNoMatch'.

FIXME this is backwards to the rest of IJB and to common programming practice. Please use 0 => success instead.

void LogShowActivity void   
 

Start the spinner.

Returns:
N/A

void ShowLogWindow BOOL    bShow
 

Shows or hides the log window.

We will also raise the window on a show command in case it is buried.

Parameters:
bShow  TRUE to show, FALSE to mimize/hide
Returns:
N/A

void TermLogWindow void   
 

Cleanup the logwindow.

Returns:
N/A


Variable Documentation

const char* g_actions_file
 

Actions file name.

BOOL g_bCloseHidesWindow
 

Indicates whether closing the log window really just hides it.

BOOL g_bHighlightMessages
 

Indicates whether log messages are highlighted.

BOOL g_bLimitBufferSize
 

Indicates if buffer is limited in size.

BOOL g_bLogMessages
 

Indicates if messages are logged at all.

BOOL g_bShowActivityAnimation
 

Indicates whether task bar shows activity animation.

BOOL g_bShowOnTaskBar
 

Indicates if the log window appears on the task bar.

HWND g_hwndLogFrame
 

Window handle for the log window.

int g_nFontSize
 

Size of font to use.

int g_nMaxBufferLines
 

Maximum number of lines allowed in buffer when limited.

const char* g_re_filterfile
 

Filter file name.

char g_szFontFaceName[255]
 

Font to use.

const char w32log_h_rcs[]
 

Version information about w32log.h.

const char w32log_rcs[]
 

Version information about w32log.c.


Generated on Tue Jun 4 18:54:49 2002 for Privoxy 3.1.1 by doxygen1.2.15