-/* @(#) $Id$ */
+/* @(#) $Id: ./src/client-agent/config.c, 2011/09/08 dcid Exp $
+ */
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
/* ClientConf v0.2, 2005/03/03
* Read the config file (for the remote client)
* v0.2: New OS_XML
- */
+ */
int ClientConf(char *cfgfile)
{
int modules = 0;
- logr->port = DEFAULT_SECURE;
- logr->rip = NULL;
- logr->lip = NULL;
- logr->rip_id = 0;
- logr->execdq = 0;
+ agt->port = DEFAULT_SECURE;
+ agt->rip = NULL;
+ agt->lip = NULL;
+ agt->rip_id = 0;
+ agt->execdq = 0;
+ agt->profile = NULL; /*cmoraes*/
modules|= CCLIENT;
- if(ReadConfig(modules, cfgfile, logr, NULL) < 0)
+ if(ReadConfig(modules, cfgfile, agt, NULL) < 0)
{
return(OS_INVALID);
}