[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-cvs] ossec-hids: file-queue.h (HEAD) [dcid]
- To: ossec-cvs@xxxxxxxxx
- Subject: [ossec-cvs] ossec-hids: file-queue.h (HEAD) [dcid]
- From: OSSEC CVS <cvs-commit@xxxxxxxxx>
- Date: Mon, 13 Aug 2007 21:29:36 -0300 (ADT)
- Content-transfer-encoding: 8bit
Module name: ossec-hids
Changes by: dcid 07/08/13 21:29:34
Modified files:
file-queue.h
Log message:
Description: Working alpha of the database support. the basic stuff should be working now, but we still need to improve the tables and a few other things.
Reviewed by: dcid
Example config:
<database_output>
<hostname>1.2.3.4</hostname>
<username>user</username>
<password>mypass</password>
<database>test1</database>
</database_output>
Bug:
Index: file-queue.h
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/headers/file-queue.h,v
diff -u -r1.2 -r1.3
--- file-queue.h 4 Jan 2007 19:15:59 -0000 1.2
+++ file-queue.h 14 Aug 2007 00:29:34 -0000 1.3
@@ -23,16 +23,20 @@
int last_change;
int year;
int day;
+ int flags;
+
char mon[4];
- FILE *fp;
char file_name[MAX_FQUEUE +1];
+
+ FILE *fp;
struct stat f_status;
}file_queue;
/*** Prototypes */
#include "read-alert.h"
-int Init_FileQueue(file_queue *fileq, struct tm *p);
+int Init_FileQueue(file_queue *fileq, struct tm *p, int flags);
+
alert_data *Read_FileMon(file_queue *fileq, struct tm *p, int timeout);
#endif
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.