Imported Upstream version 2.7
[ossec-hids.git] / src / logcollector / logcollector.h
index 143bcac..4f9badd 100755 (executable)
@@ -1,11 +1,12 @@
-/* @(#) $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
  */
 
@@ -31,7 +32,7 @@
 
 
 /* Read logcollector config */
-int LogCollectorConfig(char * cfgfile);
+int LogCollectorConfig(char * cfgfile, int accept_remote);
 
 /* Stary log collector daemon */
 void LogCollectorStart();
@@ -45,6 +46,9 @@ void *read_syslog(int pos, int *rc, int drop_it);
 /* 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);
 
@@ -57,6 +61,9 @@ void *read_mssql_log(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);
@@ -65,6 +72,7 @@ void *read_djbmultilog(int pos, int *rc, int drop_it);
 
 /* 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