1 /* @(#) $Id: config.c,v 1.18 2009/06/24 18:53:07 dcid Exp $ */
3 /* Copyright (C) 2009 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 3) as published by the FSF - Free Software
14 #include "rootcheck.h"
15 #include "config/config.h"
19 /* Read_Rootcheck_Config: Reads the rootcheck config
21 int Read_Rootcheck_Config(char * cfgfile)
27 if(ReadConfig(modules, cfgfile, &rootcheck, NULL) < 0)
32 /* Reading shared config */
33 modules|= CAGENT_CONFIG;
34 ReadConfig(modules, AGENTCONFIG, &rootcheck, NULL);