new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / analysisd / active-response.h
old mode 100755 (executable)
new mode 100644 (file)
index 0bbb1e6..6fb51a2
@@ -1,40 +1,29 @@
-/* @(#) $Id: active-response.h,v 1.13 2009/06/24 17:06:21 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 _AR__H
 #define _AR__H
 
-#include "config/config.h"
 #include "config/active-response.h"
+#include "config/config.h"
 #include "list_op.h"
 
+/* Initialize active response */
+void AR_Init(void);
 
-/** void AR_Init()
- * Initializing active response.
-  */
-void AR_Init();
-
-/** int AR_ReadConfig(int test_config, char *cfgfile)
- * Reads active response configuration and write them
+/* Read active response configuration and write it
  * to the appropriate lists.
  */
-int AR_ReadConfig(int test_config, char *cfgfile);
-     
-
-/* Active response commands */
-OSList *ar_commands;
+int AR_ReadConfig(const char *cfgfile);
 
 /* Active response information */
-OSList *active_responses;
+extern OSList *active_responses;
 
+#endif /* _AR__H */
 
-#endif