diff options
author | cvsadm <cvsadm> | 2005-01-21 00:44:34 +0000 |
---|---|---|
committer | cvsadm <cvsadm> | 2005-01-21 00:44:34 +0000 |
commit | b2093e3016027d6b5cf06b3f91f30769bfc099e2 (patch) | |
tree | cf58939393a9032182c4fbc4441164a9456e82f8 /include/base/eventlog.h | |
download | ds-ldapserver7x.tar.gz ds-ldapserver7x.tar.xz ds-ldapserver7x.zip |
Moving NSCP Directory Server from DirectoryBranch to TRUNK, initial drop. (foxworth)ldapserver7x
Diffstat (limited to 'include/base/eventlog.h')
-rw-r--r-- | include/base/eventlog.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/base/eventlog.h b/include/base/eventlog.h new file mode 100644 index 00000000..a8dd6d27 --- /dev/null +++ b/include/base/eventlog.h @@ -0,0 +1,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 |