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 3c3fc11..6fb51a2
@@ -1,6 +1,3 @@
-/* @(#) $Id: ./src/analysisd/active-response.h, 2011/09/08 dcid Exp $
- */
-
 /* Copyright (C) 2009 Trend Micro Inc.
  * All right reserved.
  *
  * 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