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 2) as published by the FSF - Free Software
15 #include "os_xml/os_xml.h"
16 #include "os_regex/os_regex.h"
17 #include "os_net/os_net.h"
20 #include "config/config.h"
23 /* RemotedConfig v0.4, 2006/04/10
24 * Read the config file (the remote access)
26 * v0.3: Some improvements and cleanup
27 * v0.4: Move everything to the global config validator.
29 int RemotedConfig(char *cfgfile, remoted *logr)
37 logr->allowips = NULL;
40 if(ReadConfig(modules, cfgfile, logr, NULL) < 0)