fixed torrent_info copy constructor. restricted copying of lazy_entry. Fixed build. added pascal_string type to be used with lazy_entry (trunk only)

This commit is contained in:
Arvid Norberg
2009-11-26 06:54:52 +00:00
parent 8dd244581d
commit a80b2b0fce
6 changed files with 93 additions and 24 deletions

View File

@@ -145,6 +145,7 @@ namespace libtorrent
{ return const_cast<lazy_entry*>(this)->dict_find(name); }
std::string dict_find_string_value(char const* name) const;
pascal_string dict_find_pstr(char const* name) const;
size_type dict_find_int_value(char const* name, size_type default_val = 0) const;
lazy_entry const* dict_find_dict(char const* name) const;
lazy_entry const* dict_find_list(char const* name) const;
@@ -187,6 +188,7 @@ namespace libtorrent
{ return const_cast<lazy_entry*>(this)->list_at(i); }
std::string list_string_value_at(int i) const;
pascal_string list_pstr_at(int i) const;
size_type list_int_value_at(int i, size_type default_val = 0) const;
int list_size() const