X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fconfig%2Flocalfile-config.h;h=ee9c38dcc0c955e1598c0eb7ede9883ac3ca21d8;hb=6ef2f786c6c8ead94841b5f93baf9f43421f08c8;hp=27147997da28be5d9a41f2b5b7ae8094e2f2cb21;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git diff --git a/src/config/localfile-config.h b/src/config/localfile-config.h index 2714799..ee9c38d 100755 --- a/src/config/localfile-config.h +++ b/src/config/localfile-config.h @@ -5,7 +5,7 @@ * * 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 */ @@ -16,7 +16,7 @@ #define __CLOGREADER_H #define EVENTLOG "eventlog" -#define VCHECK_FILES 64 +#define VCHECK_FILES 64 #define DATE_MODIFIED 1 @@ -29,25 +29,26 @@ typedef struct _logreader { unsigned int size; int ign; - + #ifdef WIN32 HANDLE h; int fd; #else ino_t fd; #endif - - - /* ffile - format file is only used when + + + /* ffile - format file is only used when * the file has format string to retrieve * the date, - */ - char *ffile; + */ + char *ffile; char *file; char *logformat; char *djb_program_name; char *command; - + char *alias; + void (*read)(int i, int *rc, int drop_it); FILE *fp; @@ -55,6 +56,8 @@ typedef struct _logreader typedef struct _logreader_config { + int agent_cfg; + int accept_remote; logreader *config; }logreader_config;