1 /* @(#) $Id: ./src/remoted/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
16 #include "os_xml/os_xml.h"
17 #include "os_regex/os_regex.h"
18 #include "os_net/os_net.h"
21 #include "config/config.h"
24 /* RemotedConfig v0.4, 2006/04/10
25 * Read the config file (the remote access)
27 * v0.3: Some improvements and cleanup
28 * v0.4: Move everything to the global config validator.
30 int RemotedConfig(char *cfgfile, remoted *logr)
38 logr->allowips = NULL;
41 if(ReadConfig(modules, cfgfile, logr, NULL) < 0)