#include <iostream>#include <fstream>#include <iterator>#include <iomanip>#include "libtorrent/entry.hpp"#include "libtorrent/bencode.hpp"#include "libtorrent/torrent_info.hpp"#include "libtorrent/file.hpp"#include "libtorrent/storage.hpp"#include "libtorrent/hasher.hpp"#include "libtorrent/file_pool.hpp"#include <boost/filesystem/operations.hpp>#include <boost/filesystem/path.hpp>#include <boost/filesystem/fstream.hpp>Go to the source code of this file.
Functions | |
| void | add_files (torrent_info &t, path const &p, path const &l) |
| int | main (int argc, char *argv[]) |
| void add_files | ( | torrent_info & | t, | |
| path const & | p, | |||
| path const & | l | |||
| ) |
Definition at line 28 of file make_torrent.cpp.
References libtorrent::torrent_info::add_file().
Referenced by main().
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Definition at line 47 of file make_torrent.cpp.
References add_files(), libtorrent::torrent_info::add_tracker(), libtorrent::torrent_info::add_url_seed(), libtorrent::bencode(), libtorrent::torrent_info::create_torrent(), simple_client::e, simple_client::h, libtorrent::torrent_info::num_pieces(), libtorrent::torrent_info::piece_size(), piece_size, libtorrent::torrent_info::set_creator(), libtorrent::torrent_info::set_hash(), and libtorrent::torrent_info::set_piece_size().
1.5.6