obrisane nepotrebne datoteke od zadnjeg builda
[ossec-hids.git] / src / config / active-response.h
old mode 100755 (executable)
new mode 100644 (file)
index 277891a..3ed4872
@@ -1,33 +1,26 @@
-/* @(#) $Id: active-response.h,v 1.5 2009/06/24 17:06:24 dcid Exp $ */
-
 /* Copyright (C) 2009 Trend Micro Inc.
  * All right reserved.
  *
  * This program is a free software; you can redistribute it
  * and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
  * Foundation
  */
 
 #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;
-}ar_command;
-
+} ar_command;
 
-/** Active response data **/
-typedef struct _ar
-{
+/* Active response data */
+typedef struct _ar {
     int timeout;
     int location;
     int level;
@@ -36,12 +29,12 @@ typedef struct _ar
     char *agent_id;
     char *rules_id;
     char *rules_group;
-    
-    ar_command *ar_cmd;
-}active_response;
 
+    ar_command *ar_cmd;
+} active_response;
 
 /* Active response flag */
-int ar_flag;
+extern int ar_flag;
+
+#endif /* _CAR__H */
 
-#endif