mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 13:42:30 +00:00
* Allow loading torrents from https and ftp uri's.
* Added framework for commands on peers, but due to deficiencies in the libtorrent API it won't be enabled yet. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@955 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -44,6 +44,7 @@ namespace rpc {
|
||||
class CommandVariable;
|
||||
class CommandDownloadSlot;
|
||||
class CommandFileSlot;
|
||||
class CommandPeerSlot;
|
||||
class CommandTrackerSlot;
|
||||
}
|
||||
|
||||
@@ -53,6 +54,7 @@ namespace rpc {
|
||||
#define COMMAND_VARIABLES_SIZE 100
|
||||
#define COMMAND_DOWNLOAD_SLOTS_SIZE 100
|
||||
#define COMMAND_FILE_SLOTS_SIZE 20
|
||||
#define COMMAND_PEER_SLOTS_SIZE 20
|
||||
#define COMMAND_TRACKER_SLOTS_SIZE 15
|
||||
|
||||
#define ADDING_COMMANDS
|
||||
@@ -65,6 +67,8 @@ extern rpc::CommandDownloadSlot commandDownloadSlots[COMMAND_DOWNLOAD_SLOTS_SIZ
|
||||
extern rpc::CommandDownloadSlot* commandDownloadSlotsItr;
|
||||
extern rpc::CommandFileSlot commandFileSlots[COMMAND_FILE_SLOTS_SIZE];
|
||||
extern rpc::CommandFileSlot* commandFileSlotsItr;
|
||||
extern rpc::CommandPeerSlot commandPeerSlots[COMMAND_PEER_SLOTS_SIZE];
|
||||
extern rpc::CommandPeerSlot* commandPeerSlotsItr;
|
||||
extern rpc::CommandTrackerSlot commandTrackerSlots[COMMAND_TRACKER_SLOTS_SIZE];
|
||||
extern rpc::CommandTrackerSlot* commandTrackerSlotsItr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user