X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fanalysisd%2Falerts%2Fgetloglocation.h;h=8d2f47ded7cf6999acfa62531a9e12bb370c4501;hp=13c600e79009fc616e8f20808edb45cbf0ff3559;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hpb=927951d1c1ad45ba9e7325f07d996154a91c911b diff --git a/src/analysisd/alerts/getloglocation.h b/src/analysisd/alerts/getloglocation.h old mode 100755 new mode 100644 index 13c600e..8d2f47d --- a/src/analysisd/alerts/getloglocation.h +++ b/src/analysisd/alerts/getloglocation.h @@ -1,6 +1,3 @@ -/* @(#) $Id: ./src/analysisd/alerts/getloglocation.h, 2011/09/08 dcid Exp $ - */ - /* Copyright (C) 2009 Trend Micro Inc. * All right reserved. * @@ -10,34 +7,26 @@ * Foundation */ - #ifndef __GETLL_H - #define __GETLL_H #include "eventinfo.h" -/* - * Start the log location (need to be called before getlog) - * - */ -void OS_InitLog(); - -void OS_InitFwLog(); +/* Start the log location (need to be called before getlog) */ +void OS_InitLog(void); +void OS_InitFwLog(void); -/* - * Get the log file based on the date/logtype/ - * - * @param lf Event structure - * - * @retval 0 success - * -1 error +/* Get the log file based on the date/logtype + * Returns 0 on success or -1 on error */ -int OS_GetLogLocation(Eventinfo *lf); +int OS_GetLogLocation(const Eventinfo *lf); +/* Global declarations */ +extern FILE *_eflog; +extern FILE *_ejflog; +extern FILE *_aflog; +extern FILE *_fflog; +extern FILE *_jflog; -FILE *_eflog; -FILE *_aflog; -FILE *_fflog; +#endif /* __GETLL_H */ -#endif /* GETLL_H */