summaryrefslogtreecommitdiffstats
path: root/include/base/eventlog.h
blob: a8dd6d27d4563ca67d833bd23b0104f7bdf0dfd3 (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
/** BEGIN COPYRIGHT BLOCK
 * Copyright 2001 Sun Microsystems, Inc.
 * Portions copyright 1999, 2001-2003 Netscape Communications Corporation.
 * All rights reserved.
 * END COPYRIGHT BLOCK **/
// EVENTLOG.H
//
// This file contains the defines that make NT an installable service.
//
// 1/12/95 aruna
//

// Functions in eventlog.c

#ifndef _EVENTLOG_H_
#define _EVENTLOG_H_

#include "netsite.h"


#if defined(XP_WIN32)

NSPR_BEGIN_EXTERN_C

NSAPI_PUBLIC HANDLE InitializeLogging(char *szEventLogName);
NSAPI_PUBLIC BOOL TerminateLogging(HANDLE hEventSource);
NSAPI_PUBLIC BOOL LogErrorEvent(HANDLE hEventSource, WORD fwEventType, WORD fwCategory, DWORD IDEvent, LPTSTR chMsg, LPTSTR lpszMsg);

NSPR_END_EXTERN_C

#endif /* XP_WIN32 */


#endif