summaryrefslogtreecommitdiff
path: root/learn.h
blob: e8a3866eab1b8b817ec9b5e4d03e360518a4736f (plain)
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
/*
 * Copyright (c) 2004 Security Architects Corporation. All rights reserved.
 *
 * Module Name:
 *
 *		learn.h
 *
 * Abstract:
 *
 *		This module implements various types and definitions used by the policy-auto-generation code.
 *
 * Author:
 *
 *		Eugene Tsyrklevich 24-Feb-2004
 *
 * Revision History:
 *
 *		None.
 */

#ifndef __LEARN_H__
#define __LEARN_H__


#include "policy.h"


extern BOOLEAN			LearningMode;

extern SECURITY_POLICY		NewPolicy;

/* In characters */
#define	MAX_PROCESS_NAME	32

extern WCHAR				ProcessToMonitor[];


BOOLEAN	InitLearningMode();
BOOLEAN	ShutdownLearningMode();
BOOLEAN	AddRule(RULE_TYPE RuleType, PCHAR str, UCHAR OperationType);


#endif	/* __LEARN_H__ */