diff options
| author | tumagonx | 2017-08-08 10:54:53 +0700 |
|---|---|---|
| committer | tumagonx | 2017-08-08 10:54:53 +0700 |
| commit | 2acec63b2ed75bf4b71ad257db573c4b8f9639e7 (patch) | |
| tree | a8bea139ddd26116d44ea182b0b8436f2162e6e3 /learn.h | |
initial commit
Diffstat (limited to 'learn.h')
| -rw-r--r-- | learn.h | 43 |
1 files changed, 43 insertions, 0 deletions
| @@ -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 | |||
| 28 | extern BOOLEAN LearningMode; | ||
| 29 | |||
| 30 | extern SECURITY_POLICY NewPolicy; | ||
| 31 | |||
| 32 | /* In characters */ | ||
| 33 | #define MAX_PROCESS_NAME 32 | ||
| 34 | |||
| 35 | extern WCHAR ProcessToMonitor[]; | ||
| 36 | |||
| 37 | |||
| 38 | BOOLEAN InitLearningMode(); | ||
| 39 | BOOLEAN ShutdownLearningMode(); | ||
| 40 | BOOLEAN AddRule(RULE_TYPE RuleType, PCHAR str, UCHAR OperationType); | ||
| 41 | |||
| 42 | |||
| 43 | #endif /* __LEARN_H__ */ \ No newline at end of file | ||
