* New code for handling options/variables which used bencode and can

redirect get/set operations.

* Fixed(?) a bug in RequestList::downloading(...) that could cause a
segfault when pieces in the canceled list start downloading.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@622 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-01-13 03:26:46 +00:00
parent b25af84ee8
commit 4028ab2295
15 changed files with 438 additions and 138 deletions
+6 -3
View File
@@ -59,7 +59,10 @@ namespace input {
class Manager;
}
class OptionHandler;
namespace utils {
class VariableMap;
}
class CommandScheduler;
class Control {
@@ -82,7 +85,7 @@ public:
input::InputEvent* input_stdin() { return m_inputStdin; }
CommandScheduler* command_scheduler() { return m_commandScheduler; }
OptionHandler* option_handler() { return m_optionHandler; }
utils::VariableMap* variables() { return m_variables; }
uint64_t tick() const { return m_tick; }
void inc_tick() { m_tick++; }
@@ -100,7 +103,7 @@ private:
input::InputEvent* m_inputStdin;
CommandScheduler* m_commandScheduler;
OptionHandler* m_optionHandler;
utils::VariableMap* m_variables;
uint64_t m_tick;