summaryrefslogtreecommitdiff
path: root/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/eventlog.h
blob: ef2a1e128420ce16336dcd0c5d2f1bc518594982 (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
59
60
61
/*
 * $Id$
 *
 * 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
// Win32 specific stuff, so FUZZ: disable check_for_tchar

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
        );