From 2acec63b2ed75bf4b71ad257db573c4b8f9639e7 Mon Sep 17 00:00:00 2001 From: tumagonx Date: Tue, 8 Aug 2017 10:54:53 +0700 Subject: initial commit --- learn.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 learn.h (limited to 'learn.h') diff --git a/learn.h b/learn.h new file mode 100644 index 0000000..e8a3866 --- /dev/null +++ b/learn.h @@ -0,0 +1,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__ */ \ No newline at end of file -- cgit v1.3