mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-09 19:52:31 +00:00
* Removed the SocketFile dtor which contained an obsolete check of
is_open(). * Added multi-line parser to VariableMap and replaced the various calls to process_command in main.cc with a single call. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@845 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -87,8 +87,12 @@ public:
|
||||
|
||||
void set_std_string(const std::string& key, const std::string& arg) { set(key.c_str(), mapped_type(arg)); }
|
||||
|
||||
// Relocate.
|
||||
void process_command(const std::string& command);
|
||||
const char* process_single(const char* first);
|
||||
const char* process_single(const char* first, const char* last);
|
||||
void process_std_single(const std::string& cmd) { process_single(cmd.c_str(), cmd.c_str() + cmd.size()); }
|
||||
|
||||
void process_multiple(const char* first);
|
||||
|
||||
void process_stream(std::istream* str);
|
||||
bool process_file(key_type path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user