added missing export directives to lazy_entry

This commit is contained in:
Arvid Norberg 2009-01-06 22:44:32 +00:00
parent b0a72f6809
commit ab05011f1d
2 changed files with 9 additions and 6 deletions

View File

@ -38,6 +38,7 @@ release 0.14.2
* made name, comment and created by also be subject to utf-8 error
correction (filenames already were)
* fixed dead-lock when settings DHT proxy
* added missing export directives to lazy_entry
release 0.14.1

View File

@ -35,20 +35,22 @@ POSSIBILITY OF SUCH DAMAGE.
#include <utility>
#include <vector>
#include "libtorrent/assert.hpp"
#include "libtorrent/size_type.hpp"
#include <iosfwd>
#include <string>
#include "libtorrent/config.hpp"
#include "libtorrent/assert.hpp"
#include "libtorrent/size_type.hpp"
namespace libtorrent
{
struct lazy_entry;
char const* parse_int(char const* start, char const* end, char delimiter, boost::int64_t& val);
TORRENT_EXPORT char const* parse_int(char const* start, char const* end
, char delimiter, boost::int64_t& val);
// return 0 = success
int lazy_bdecode(char const* start, char const* end, lazy_entry& ret, int depth_limit = 1000);
TORRENT_EXPORT int lazy_bdecode(char const* start, char const* end, lazy_entry& ret, int depth_limit = 1000);
struct lazy_entry
struct TORRENT_EXPORT lazy_entry
{
enum entry_type_t
{
@ -225,7 +227,7 @@ namespace libtorrent
char const* m_end;
};
std::ostream& operator<<(std::ostream& os, lazy_entry const& e);
TORRENT_EXPORT std::ostream& operator<<(std::ostream& os, lazy_entry const& e);
}