-
Notifications
You must be signed in to change notification settings - Fork 1
/
ldapauthlog.h
67 lines (50 loc) · 1.06 KB
/
ldapauthlog.h
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*++
IIS LDAP Authentication Module
Copyright 2006 Inflection Technology, LLC
For more information, visit http://www.inflectiontech.com.
Released under LGPL terms.
Some portions Copyright Salvador Salanova Fortmann.
Some portions Copyright Microsoft Corporation.
File Name: ldapauthlog.h
Abstract:
This module implements a file logging system. These routines
can only be used for the ISAPI module running in IIS5
single process mode.
Modification History:
2006-12-12 ramr
File created.
--*/
#ifndef _IISLDAPAUTHLOG_H_
#define _IISLDAPAUTHLOG_H_
#include <windows.h>
#include "ldapauth_global.h"
/*
CONSTANTS
*/
#define LDAPLOG_INFORMATIONAL 10
#define LDAPLOG_WARNING 20
#define LDAPLOG_CRITICAL 30
#define LDAPLOG_DEBUG 0
#define LDAPLOG_DEFAULTFILE "\\ldapauth.log" /* Include beginning backslash */
BOOL
Log_Initialize(
const CHAR * pszLogPath
);
BOOL
Log_SetLevel(
const UINT16 liLevel
);
BOOL
Log_Write(
CHAR * pszLogLine,
UINT16 liLevel
);
BOOL
Log_Flush(
VOID
);
VOID
Log_Terminate(
VOID
);
#endif