-/* @(#) $Id: logcollector.h,v 1.28 2009/11/03 21:07:32 dcid Exp $ */
+/* @(#) $Id: ./src/logcollector/logcollector.h, 2012/03/28 dcid Exp $
+ */
/* Copyright (C) 2009 Trend Micro Inc.
* All right 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 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
* Foundation
*/
/* Read logcollector config */
-int LogCollectorConfig(char * cfgfile);
+int LogCollectorConfig(char * cfgfile, int accept_remote);
/* Stary log collector daemon */
void LogCollectorStart();
/* Read snort full file */
void *read_snortfull(int pos, int *rc, int drop_it);
+/* Read ossec alert file */
+void *read_ossecalert(int pos, int *rc, int drop_it);
+
/* Read nmap grepable format */
void *read_nmapg(int pos, int *rc, int drop_it);
/* Read postgresql log format */
void *read_postgresql_log(int pos, int *rc, int drop_it);
+/* read multi line logs. */
+void *read_multiline(int pos, int *rc, int drop_it);
+
/* Read DJB multilog format */
/* Initializes multilog. */
int init_djbmultilog(int pos);
/* Read events from output of command */
void *read_command(int pos, int *rc, int drop_it);
+void *read_fullcommand(int pos, int *rc, int drop_it);
#ifdef WIN32