summaryrefslogtreecommitdiff
path: root/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/eventlog.h
blob: 8218f8750753e5b5e80e5b9e0b9583a70e978f7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*
 * Copyright (c) 1994, 1995.  Netscape Communications Corporation.  All
 * rights reserved.
 * 
 * Use of this software is governed by the terms of the license agreement for
 * the Netscape Communications or Netscape Comemrce Server between the
 * parties.
 */


/* ------------------------------------------------------------------------ */


// EVENTLOG.H
//
// This file contains the defines that make NT an installable service.
//
// 1/12/95 aruna
//

// Functions in eventlog.c

VOID InitializeAdminLogging(PCHAR ServiceName, PCHAR MessageFile);
VOID InitializeHttpdLogging(PCHAR ServiceName, PCHAR MessageFile);
VOID InitializeHttpsLogging(PCHAR ServiceName, PCHAR MessageFile);

VOID TerminateAdminLogging();
VOID TerminateHttpdLogging();
VOID TerminateHttpsLogging();

VOID LogErrorEvent(PCHAR ServiceName, WORD fwEventType, WORD fwCategory, DWORD IDEvent,
	LPTSTR chMsg, LPTSTR lpszMsg);

// Functions in error.c

VOID ReportError(PCHAR ErrorMsg);

BOOL CALLBACK ErrorDialogProc(
	HWND hDlg,
	UINT message,
	WPARAM wParam,
	LPARAM lParam
	);