-/* @(#) $Id: ./src/analysisd/alerts/getloglocation.h, 2011/09/08 dcid Exp $
- */
-
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
* 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 */