X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fanalysisd%2Fstats.h;fp=src%2Fanalysisd%2Fstats.h;h=be1503b0406ee43acfbe1df373b19aad909b1dff;hp=a7ac6f8a7e5d529688355137096f71b769cd925e;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hpb=927951d1c1ad45ba9e7325f07d996154a91c911b diff --git a/src/analysisd/stats.h b/src/analysisd/stats.h old mode 100755 new mode 100644 index a7ac6f8..be1503b --- a/src/analysisd/stats.h +++ b/src/analysisd/stats.h @@ -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