summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/libntp/log.h
blob: 99d0e72940edcc7e859e832b8ba78b782807c4a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * log.h - Used only under Windows NT by msyslog.c
 *
 */
#ifndef WINNT_LOG_H
#define WINNT_LOG_H

#include <windows.h>

/* function declarations */

void addSourceToRegistry(LPSTR pszAppname, LPSTR pszMsgDLL);
void reportAnIEvent(DWORD dwIdEvent, WORD cStrings, LPTSTR *pszStrings);
void reportAnWEvent(DWORD dwIdEvent, WORD cStrings, LPTSTR *pszStrings);
void reportAnEEvent(DWORD dwIdEvent, WORD cStrings, LPTSTR *pszStrings);

#define MAX_MSG_LENGTH	1024
#define MSG_ID_MASK		0x0000FFFF
#define MAX_INSERT_STRS	8

#endif /* WINNT_LOG_H */
OpenPOWER on IntegriCloud