3 /* Copyright (C) 2010 Trend Micro Inc.
6 * This program is a free software; you can redistribute it
7 * and/or modify it under the terms of the GNU General Public
8 * License (version 2) as published by the FSF - Free Software
14 #include "config/localfile-config.h"
15 #include "config/config.h"
16 #include "logcollector/logcollector.h"
20 #define ARGV0 "verify-agent-conf"
24 /* main: v0.3: 2005/04/04 */
25 int main(int argc, char **argv)
28 logreader_config log_config;
31 /* Setting the name */
36 modules|= CAGENT_CONFIG;
37 log_config.config = NULL;
38 if(ReadConfig(modules, AGENTCONFIG, &log_config, NULL) < 0)
43 logff = log_config.config;