Crate libtorrent

Source

Structs§

add_torrent_params
session
torrent_handle

Functions§

lt_create_session
This function return a struct of type lt::session
lt_parse_magnet_uri
This function return a struct of type lt::add_torrent_params
lt_session_add_torrent
This function return a struct of type lt::torrent_handle
lt_session_pause
This function call pause() for the given session
lt_session_remove_torrent
This function remove the given torrent from session
lt_torrent_bencode
This function return bencoded data by lt::bencode()
lt_torrent_get_name
This function return the torrent’s name
lt_torrent_has_metadata
This function return true if torrent has metadata
version
This function call libtorrent::version() and return libtorrent version