D:/opendownloadmanager/ODM-1.x/Bittorrent/libtorrent-0.12/test/test_bencoding.cpp File Reference

#include "libtorrent/bencode.hpp"
#include <boost/lexical_cast.hpp>
#include "test.hpp"

Go to the source code of this file.

Functions

std::string encode (entry const &e)
entry decode (std::string const &str)
int test_main ()


Function Documentation

entry decode ( std::string const &  str  ) 

Definition at line 19 of file test_bencoding.cpp.

References libtorrent::bdecode().

Referenced by test_main().

std::string encode ( entry const &  e  ) 

Definition at line 12 of file test_bencoding.cpp.

References libtorrent::bencode().

Referenced by test_main().

int test_main (  ) 

Definition at line 24 of file test_bencoding.cpp.

References decode(), simple_client::e, encode(), l, and TEST_CHECK.


Generated on Sun May 25 00:19:43 2008 by  doxygen 1.5.6