new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / rootcheck / check_rc_policy.c
old mode 100755 (executable)
new mode 100644 (file)
index 8d7cf65..143d755
@@ -1,6 +1,3 @@
-/* @(#) $Id: ./src/rootcheck/check_rc_policy.c, 2011/09/08 dcid Exp $
- */
-
 /* Copyright (C) 2009 Trend Micro Inc.
  * All right reserved.
  *
  * Foundation
  */
 
-
 #include "shared.h"
 #include "rootcheck.h"
 
 
-
-/* check_rc_unixaudit:
- * Read the file pointer specified
+/* Read the file pointer specified
  * and check if the configured file is there
  */
-void check_rc_unixaudit(FILE *fp, void *p_list)
+void check_rc_unixaudit(FILE *fp, OSList *p_list)
 {
     debug1("%s: DEBUG: Starting on check_rc_unixaudit", ARGV0);
-
     rkcl_get_entry(fp, "System Audit:", p_list);
-
 }
 
-
-
-/* check_rc_winaudit:
- * Read the file pointer specified (winpolicy)
+/* Read the file pointer specified
  * and check if the configured file is there
  */
-void check_rc_winaudit(FILE *fp, void *p_list)
+void check_rc_winaudit(FILE *fp, OSList *p_list)
 {
     debug1("%s: DEBUG: Starting on check_rc_winaudit", ARGV0);
-
     rkcl_get_entry(fp, "Windows Audit:", p_list);
-
 }
 
-/* check_rc_winmalware:
- * Read the file pointer specified (winpolicy)
+/* Read the file pointer specified
  * and check if the configured file is there
  */
-void check_rc_winmalware(FILE *fp, void *p_list)
+void check_rc_winmalware(FILE *fp, OSList *p_list)
 {
     debug1("%s: DEBUG: Starting on check_rc_winmalware", ARGV0);
-
     rkcl_get_entry(fp, "Windows Malware:", p_list);
-
 }
 
-/* check_rc_winapps:
- * Read the file pointer specified (winpolicy)
+/* Read the file pointer specified
  * and check if the configured file is there
  */
-void check_rc_winapps(FILE *fp, void *p_list)
+void check_rc_winapps(FILE *fp, OSList *p_list)
 {
     debug1("%s: DEBUG: Starting on check_rc_winapps", ARGV0);
-
     rkcl_get_entry(fp, "Application Found:", p_list);
 }
 
-
-
-/* EOF */