summaryrefslogtreecommitdiff
path: root/learn.h
diff options
context:
space:
mode:
authortumagonx2017-08-08 10:54:53 +0700
committertumagonx2017-08-08 10:54:53 +0700
commit2acec63b2ed75bf4b71ad257db573c4b8f9639e7 (patch)
treea8bea139ddd26116d44ea182b0b8436f2162e6e3 /learn.h
initial commit
Diffstat (limited to 'learn.h')
-rw-r--r--learn.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/learn.h b/learn.h
new file mode 100644
index 0000000..e8a3866
--- /dev/null
+++ b/learn.h
@@ -0,0 +1,43 @@
1/*
2 * Copyright (c) 2004 Security Architects Corporation. All rights reserved.
3 *
4 * Module Name:
5 *
6 * learn.h
7 *
8 * Abstract:
9 *
10 * This module implements various types and definitions used by the policy-auto-generation code.
11 *
12 * Author:
13 *
14 * Eugene Tsyrklevich 24-Feb-2004
15 *
16 * Revision History:
17 *
18 * None.
19 */
20
21#ifndef __LEARN_H__
22#define __LEARN_H__
23
24
25#include "policy.h"
26
27
28extern BOOLEAN LearningMode;
29
30extern SECURITY_POLICY NewPolicy;
31
32/* In characters */
33#define MAX_PROCESS_NAME 32
34
35extern WCHAR ProcessToMonitor[];
36
37
38BOOLEAN InitLearningMode();
39BOOLEAN ShutdownLearningMode();
40BOOLEAN AddRule(RULE_TYPE RuleType, PCHAR str, UCHAR OperationType);
41
42
43#endif /* __LEARN_H__ */ \ No newline at end of file