diff options
author | roberto <roberto@FreeBSD.org> | 1999-12-09 13:01:21 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 1999-12-09 13:01:21 +0000 |
commit | 8eeba8afa3fed0281eff3ee16799b5be7506342e (patch) | |
tree | 7d75f32625357fba7e364033d35a8e1280477e7a /contrib/ntp/libntp/log.h | |
parent | 7fe95b26a2caf5b1c59fa606ad633557bdcf1f01 (diff) | |
parent | ef64b99e8412f2273dd2e8b3291c2f78ffc4667f (diff) | |
download | FreeBSD-src-8eeba8afa3fed0281eff3ee16799b5be7506342e.zip FreeBSD-src-8eeba8afa3fed0281eff3ee16799b5be7506342e.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r54359,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/ntp/libntp/log.h')
-rw-r--r-- | contrib/ntp/libntp/log.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/ntp/libntp/log.h b/contrib/ntp/libntp/log.h new file mode 100644 index 0000000..99d0e72 --- /dev/null +++ b/contrib/ntp/libntp/log.h @@ -0,0 +1,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 */ |