1 /* @(#) $Id: ./src/client-agent/config.c, 2011/09/08 dcid Exp $
4 /* Copyright (C) 2009 Trend Micro Inc.
7 * This program is a free software; you can redistribute it
8 * and/or modify it under the terms of the GNU General Public
9 * License (version 2) as published by the FSF - Free Software
17 #include "os_xml/os_xml.h"
18 #include "os_regex/os_regex.h"
19 #include "os_net/os_net.h"
24 /* Relocated from config_op.c */
26 /* ClientConf v0.2, 2005/03/03
27 * Read the config file (for the remote client)
30 int ClientConf(char *cfgfile)
33 agt->port = DEFAULT_SECURE;
38 agt->profile = NULL; /*cmoraes*/
42 if(ReadConfig(modules, cfgfile, agt, NULL) < 0)