projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git]
/
src
/
config
/
active-response.h
diff --git
a/src/config/active-response.h
b/src/config/active-response.h
old mode 100755
(executable)
new mode 100644
(file)
index
c9ca703
..
3ed4872
--- a/
src/config/active-response.h
+++ b/
src/config/active-response.h
@@
-1,6
+1,3
@@
-/* @(#) $Id: ./src/config/active-response.h, 2011/09/08 dcid Exp $
- */
-
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
@@
-10,25
+7,20
@@
* Foundation
*/
* Foundation
*/
-
#ifndef _CAR__H
#define _CAR__H
#ifndef _CAR__H
#define _CAR__H
-
-/** Active response commands **/
-typedef struct _ar_command
-{
+/* Active response commands */
+typedef struct _ar_command {
int expect;
int timeout_allowed;
char *name;
char *executable;
int expect;
int timeout_allowed;
char *name;
char *executable;
-}ar_command;
+} ar_command;
-
-/** Active response data **/
-typedef struct _ar
-{
+/* Active response data */
+typedef struct _ar {
int timeout;
int location;
int level;
int timeout;
int location;
int level;
@@
-39,10
+31,10
@@
typedef struct _ar
char *rules_group;
ar_command *ar_cmd;
char *rules_group;
ar_command *ar_cmd;
-}active_response;
-
+} active_response;
/* Active response flag */
/* Active response flag */
-int ar_flag;
+extern int ar_flag;
+
+#endif /* _CAR__H */
-#endif