/* */ #ifndef D_DHT_SETUP_H #define D_DHT_SETUP_H #include "common.h" #include #include namespace aria2 { class DownloadEngine; class Command; class DHTSetup { public: DHTSetup(); ~DHTSetup(); // Returns two vector of Commands. First one contains regular // commands. Secod one contains so called routine commands, which // executed once per event poll returns. std::pair>, std::vector>> setup(DownloadEngine* e, int family); }; } // namespace aria2 #endif // D_DHT_SETUP_H