X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fanalysisd%2Foutput%2Fprelude.h;fp=src%2Fanalysisd%2Fprelude.h;h=9f3c14f140a619793fd951e15dc9406d3a4db30d;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=d898718c8f78d9e7503957cff10ade54adc00fe9;hpb=927951d1c1ad45ba9e7325f07d996154a91c911b;p=ossec-hids.git diff --git a/src/analysisd/prelude.h b/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 --- a/src/analysisd/prelude.h +++ b/src/analysisd/output/prelude.h @@ -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 */