Changeset 1041 for trunk/rtorrent/src/command_peer.cc
- Timestamp:
- 03/13/08 10:28:17 (4 years ago)
- Files:
-
- 1 modified
-
trunk/rtorrent/src/command_peer.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/rtorrent/src/command_peer.cc
r1032 r1041 97 97 #define ADD_CP_SLOT(key, function, slot, parm, doc) \ 98 98 commandPeerSlotsItr->set_slot(slot); \ 99 rpc::commands.insert_ peer(key, commandPeerSlotsItr++, &rpc::CommandSlot<torrent::Peer*>::function, rpc::CommandMap::flag_dont_delete, parm, doc);99 rpc::commands.insert_type(key, commandPeerSlotsItr++, &rpc::CommandSlot<torrent::Peer*>::function, rpc::CommandMap::flag_dont_delete, parm, doc); 100 100 101 101 #define ADD_CP_SLOT_PUBLIC(key, function, slot, parm, doc) \ 102 102 commandPeerSlotsItr->set_slot(slot); \ 103 rpc::commands.insert_ peer(key, commandPeerSlotsItr++, &rpc::CommandSlot<torrent::Peer*>::function, rpc::CommandMap::flag_dont_delete | rpc::CommandMap::flag_public_xmlrpc, parm, doc);103 rpc::commands.insert_type(key, commandPeerSlotsItr++, &rpc::CommandSlot<torrent::Peer*>::function, rpc::CommandMap::flag_dont_delete | rpc::CommandMap::flag_public_xmlrpc, parm, doc); 104 104 105 105 #define ADD_CP_VOID(key, slot) \
