*
* 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
*/
#define __CLOGREADER_H
#define EVENTLOG "eventlog"
-#define VCHECK_FILES 64
+#define VCHECK_FILES 64
#define DATE_MODIFIED 1
{
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;
typedef struct _logreader_config
{
+ int agent_cfg;
+ int accept_remote;
logreader *config;
}logreader_config;