new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / analysisd / stats.h
old mode 100755 (executable)
new mode 100644 (file)
index a7ac6f8..be1503b
@@ -1,11 +1,23 @@
-#ifndef _STAT__H
+/* Copyright (C) 2009 Trend Micro Inc.
+ * All rights 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 2) as published by the FSF - Free Software
+ * Foundation.
+ */
 
+#ifndef _STAT__H
 #define _STAT__H
 
-/* Logstat functions */
-void LastMsg_Change(char *log);
-int LastMsg_Stats(char *log);
+void LastMsg_Change(const char *log);
+int LastMsg_Stats(const char *log);
+
+extern char __stats_comment[192];
+
+void Update_Hour(void);
+int Check_Hour(void);
+int Start_Hour(void);
 
-char __stats_comment[192];
+#endif /* _STAT__H */
 
-#endif