new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / analysisd / output / prelude.h
similarity index 53%
rename from src/analysisd/prelude.h
rename to src/analysisd/output/prelude.h
index d898718..9f3c14f 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* Copyright (C) 2009 Trend Micro Inc.
  * All rights reserved.
  *
@@ -7,26 +5,21 @@
  * and/or modify it under the terms of the GNU General Public
  * License (version 2) as published by the FSF - Free Software
  * Foundation.
- *
- * More details at the LICENSE file included with OSSEC or
- * online at http://www.ossec.net/en/licensing.html .
  */
 
-
-#ifdef PRELUDE
+#ifdef PRELUDE_OUTPUT_ENABLED
 
 #ifndef _PRELUDE_H_
 #define _PRELUDE_H_
 
 #include "eventinfo.h"
 
-/* Starts prelude client. */
-void prelude_start(char *profile, int argc, char **argv);
+/* Start Prelude client */
+void prelude_start(const char *profile, int argc, char **argv);
 
-/* Logs to prelude. */
-void OS_PreludeLog(Eventinfo *lf);
+/* Log to Prelude */
+void OS_PreludeLog(const Eventinfo *lf);
 
 #endif /* _PRELUDE_H_ */
 
-
-#endif /* PRELUDE */
+#endif /* PRELUDE_OUTPUT_ENABLED */