/* */ #ifndef D_FEATURE_CONFIG_H #define D_FEATURE_CONFIG_H #include "common.h" #include namespace aria2 { // Returns default port for the given |protocol|. uint16_t getDefaultPort(const std::string& protocol); enum FeatureType { FEATURE_ASYNC_DNS, FEATURE_BITTORRENT, FEATURE_FF3_COOKIE, FEATURE_GZIP, FEATURE_HTTPS, FEATURE_MESSAGE_DIGEST, FEATURE_METALINK, FEATURE_XML_RPC, MAX_FEATURE }; // Returns summary string of the available features. std::string featureSummary(); // Returns the string representation of the given |feature| if it is // available in the build. If it is not available, returns NULL. const char* strSupportedFeature(int feature); // Returns summary string of 3rd party libraries directly used by // aria2. std::string usedLibs(); } // namespace aria2 #endif // D_FEATURE_CONFIG_H