* Bind udp and http tracker requests to the bind address.

* Allow the torrent's priority to be changed with '+'.

* More work on the variables thing.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@625 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-01-23 19:24:45 +00:00
parent 52636178d1
commit 825985b8ef
28 changed files with 282 additions and 96 deletions
+14 -1
View File
@@ -49,9 +49,22 @@
namespace utils {
class VariableAny : public Variable {
public:
VariableAny(const torrent::Bencode& v = torrent::Bencode()) :
m_variable(v) {}
virtual ~VariableAny();
virtual const torrent::Bencode& get();
virtual void set(const torrent::Bencode& arg);
private:
torrent::Bencode m_variable;
};
class VariableValue : public Variable {
public:
VariableValue(const torrent::Bencode& v = torrent::Bencode()) : m_variable(v) {}
VariableValue(int64_t v) : m_variable(v) {}
virtual ~VariableValue();
virtual const torrent::Bencode& get();