projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 2.7
[ossec-hids.git]
/
src
/
config
/
localfile-config.h
diff --git
a/src/config/localfile-config.h
b/src/config/localfile-config.h
index
821c3e2
..
ee9c38d
100755
(executable)
--- a/
src/config/localfile-config.h
+++ b/
src/config/localfile-config.h
@@
-16,7
+16,7
@@
#define __CLOGREADER_H
#define EVENTLOG "eventlog"
#define __CLOGREADER_H
#define EVENTLOG "eventlog"
-#define VCHECK_FILES 64
+#define VCHECK_FILES 64
#define DATE_MODIFIED 1
#define DATE_MODIFIED 1
@@
-29,25
+29,25
@@
typedef struct _logreader
{
unsigned int size;
int ign;
{
unsigned int size;
int ign;
-
+
#ifdef WIN32
HANDLE h;
int fd;
#else
ino_t fd;
#endif
#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,
* the file has format string to retrieve
* the date,
- */
- char *ffile;
+ */
+ char *ffile;
char *file;
char *logformat;
char *djb_program_name;
char *command;
char *file;
char *logformat;
char *djb_program_name;
char *command;
- char *alias;
+ char *alias;
void (*read)(int i, int *rc, int drop_it);
void (*read)(int i, int *rc, int drop_it);
@@
-56,6
+56,8
@@
typedef struct _logreader
typedef struct _logreader_config
{
typedef struct _logreader_config
{
+ int agent_cfg;
+ int accept_remote;
logreader *config;
}logreader_config;
logreader *config;
}logreader_config;