D:/opendownloadmanager/ODM-1.x/Bittorrent/libtorrent-0.12/bindings/python/src/utility.cpp File Reference

#include <libtorrent/identify_client.hpp>
#include <libtorrent/bencode.hpp>
#include <boost/python.hpp>

Go to the source code of this file.

Functions

object client_fingerprint_ (peer_id const &id)
entry bdecode_ (std::string const &data)
std::string bencode_ (entry const &e)
void bind_utility ()


Function Documentation

entry bdecode_ ( std::string const &  data  ) 

Definition at line 21 of file utility.cpp.

References libtorrent::bdecode().

Referenced by bind_utility().

std::string bencode_ ( entry const &  e  ) 

Definition at line 26 of file utility.cpp.

References libtorrent::bencode().

Referenced by bind_utility().

void bind_utility (  ) 

Definition at line 33 of file utility.cpp.

References bdecode_(), bencode_(), client_fingerprint_(), and libtorrent::identify_client().

Referenced by BOOST_PYTHON_MODULE().

object client_fingerprint_ ( peer_id const &  id  ) 

Definition at line 15 of file utility.cpp.

References libtorrent::client_fingerprint().

Referenced by bind_utility().


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