1 /* @(#) $Id: ./src/rootcheck/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
15 #include "rootcheck.h"
16 #include "config/config.h"
20 /* Read_Rootcheck_Config: Reads the rootcheck config
22 int Read_Rootcheck_Config(char * cfgfile)
28 if(ReadConfig(modules, cfgfile, &rootcheck, NULL) < 0)
33 /* Reading shared config */
34 modules|= CAGENT_CONFIG;
35 ReadConfig(modules, AGENTCONFIG, &rootcheck, NULL);