Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / ntp / libntp / log.h
1 /*
2  * log.h - Used only under Windows NT by msyslog.c
3  *
4  */
5 #ifndef WINNT_LOG_H
6 #define WINNT_LOG_H
7
8 #include <windows.h>
9
10 /* function declarations */
11
12 void addSourceToRegistry(LPSTR pszAppname, LPSTR pszMsgDLL);
13 void reportAnIEvent(DWORD dwIdEvent, WORD cStrings, LPTSTR *pszStrings);
14 void reportAnWEvent(DWORD dwIdEvent, WORD cStrings, LPTSTR *pszStrings);
15 void reportAnEEvent(DWORD dwIdEvent, WORD cStrings, LPTSTR *pszStrings);
16
17 #define MAX_MSG_LENGTH  1024
18 #define MSG_ID_MASK             0x0000FFFF
19 #define MAX_INSERT_STRS 8
20
21 #endif /* WINNT_LOG_H */