/* * ModSecurity, http://www.modsecurity.org/ * Copyright (c) 2015 - 2021 Trustwave Holdings, Inc. (http://www.trustwave.com/) * * You may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * If any of the files related to licensing are missing or if you have any * other questions related to licensing please contact Trustwave Holdings, Inc. * directly using the email address security@modsecurity.org. * */ #include #include #include #include #ifdef __OpenBSD__ #include #else #include #endif #include #include #include #include #include #include #if defined _MSC_VER #include #elif defined __GNUC__ #include #include #endif #include "src/utils/system.h" #include "src/config.h" namespace modsecurity { namespace utils { double cpu_seconds(void) { return 0; } std::string find_resource(const std::string& resource, const std::string& config, std::string *err) { return std::string(""); } std::string get_path(const std::string& file) { return std::string(""); } std::list expandEnv(const std::string& var, int flags) { std::list vars; return vars; } bool createDir(const std::string& dir, int mode, std::string *error) { return true; } bool isFile(const std::string& f) { return true; } } // namespace utils } // namespace modsecurity