30 #ifndef I_GatewayUtils_H
31 #define I_GatewayUtils_H 1
45 static std::vector<std::string> WhiteList;
47 static std::map<std::string, std::string> MimeList;
48 static std::string ProxyProtocol;
49 static std::string ProxyHost;
50 static std::string ProxyUserPW;
51 static std::string ProxyUser;
52 static std::string ProxyPassword;
54 static int ProxyAuthType;
55 static bool useInternalCache;
57 static std::string NoProxyRegex;
59 static void Initialize();
61 static void Get_type_from_content_type(
const std::string &ctype, std::string &type);
62 static void Get_type_from_url(
const std::string &url, std::string &type);
64 static bool Is_Whitelisted(
const std::string &url);
70 #endif // I_GatewayUtils_H