regenerated html documentation

This commit is contained in:
Arvid Norberg 2008-04-06 19:18:49 +00:00
parent 2e6b9c2dce
commit 5ad4f6f1b9
1 changed files with 174 additions and 125 deletions

View File

@ -51,155 +51,158 @@
<li><a class="reference internal" href="#peer-proxy-web-seed-proxy-tracker-proxy-dht-proxy" id="id42">peer_proxy() web_seed_proxy() tracker_proxy() dht_proxy()</a></li>
<li><a class="reference internal" href="#start-dht-stop-dht-set-dht-settings-dht-state" id="id43">start_dht() stop_dht() set_dht_settings() dht_state()</a></li>
<li><a class="reference internal" href="#add-dht-node-add-dht-router" id="id44">add_dht_node() add_dht_router()</a></li>
<li><a class="reference internal" href="#start-lsd-stop-lsd" id="id45">start_lsd() stop_lsd()</a></li>
<li><a class="reference internal" href="#start-upnp-stop-upnp" id="id46">start_upnp() stop_upnp()</a></li>
<li><a class="reference internal" href="#start-natpmp-stop-natpmp" id="id47">start_natpmp() stop_natpmp()</a></li>
</ul>
</li>
<li><a class="reference internal" href="#entry" id="id45">entry</a><ul>
<li><a class="reference internal" href="#integer-string-list-dict-type" id="id46">integer() string() list() dict() type()</a></li>
<li><a class="reference internal" href="#operator" id="id47">operator[]</a></li>
<li><a class="reference internal" href="#find-key" id="id48">find_key()</a></li>
<li><a class="reference internal" href="#entry" id="id48">entry</a><ul>
<li><a class="reference internal" href="#integer-string-list-dict-type" id="id49">integer() string() list() dict() type()</a></li>
<li><a class="reference internal" href="#operator" id="id50">operator[]</a></li>
<li><a class="reference internal" href="#find-key" id="id51">find_key()</a></li>
</ul>
</li>
<li><a class="reference internal" href="#torrent-info" id="id49">torrent_info</a><ul>
<li><a class="reference internal" href="#id3" id="id50">torrent_info()</a></li>
<li><a class="reference internal" href="#set-comment-set-piece-size-set-creator-set-hash-add-tracker-add-file" id="id51">set_comment() set_piece_size() set_creator() set_hash() add_tracker() add_file()</a></li>
<li><a class="reference internal" href="#create-torrent" id="id52">create_torrent()</a></li>
<li><a class="reference internal" href="#remap-files" id="id53">remap_files()</a></li>
<li><a class="reference internal" href="#begin-files-end-files-rbegin-files-rend-files" id="id54">begin_files() end_files() rbegin_files() rend_files()</a></li>
<li><a class="reference internal" href="#num-files-file-at" id="id55">num_files() file_at()</a></li>
<li><a class="reference internal" href="#map-block" id="id56">map_block()</a></li>
<li><a class="reference internal" href="#map-file" id="id57">map_file()</a></li>
<li><a class="reference internal" href="#url-seeds-add-url-seed" id="id58">url_seeds() add_url_seed()</a></li>
<li><a class="reference internal" href="#print" id="id59">print()</a></li>
<li><a class="reference internal" href="#trackers" id="id60">trackers()</a></li>
<li><a class="reference internal" href="#total-size-piece-length-piece-size-num-pieces" id="id61">total_size() piece_length() piece_size() num_pieces()</a></li>
<li><a class="reference internal" href="#hash-for-piece-info-hash" id="id62">hash_for_piece() info_hash()</a></li>
<li><a class="reference internal" href="#name-comment-creation-date-creator" id="id63">name() comment() creation_date() creator()</a></li>
<li><a class="reference internal" href="#priv-set-priv" id="id64">priv() set_priv()</a></li>
<li><a class="reference internal" href="#nodes" id="id65">nodes()</a></li>
<li><a class="reference internal" href="#add-node" id="id66">add_node()</a></li>
<li><a class="reference internal" href="#torrent-info" id="id52">torrent_info</a><ul>
<li><a class="reference internal" href="#id3" id="id53">torrent_info()</a></li>
<li><a class="reference internal" href="#set-comment-set-piece-size-set-creator-set-hash-add-tracker-add-file" id="id54">set_comment() set_piece_size() set_creator() set_hash() add_tracker() add_file()</a></li>
<li><a class="reference internal" href="#create-torrent" id="id55">create_torrent()</a></li>
<li><a class="reference internal" href="#remap-files" id="id56">remap_files()</a></li>
<li><a class="reference internal" href="#begin-files-end-files-rbegin-files-rend-files" id="id57">begin_files() end_files() rbegin_files() rend_files()</a></li>
<li><a class="reference internal" href="#num-files-file-at" id="id58">num_files() file_at()</a></li>
<li><a class="reference internal" href="#map-block" id="id59">map_block()</a></li>
<li><a class="reference internal" href="#map-file" id="id60">map_file()</a></li>
<li><a class="reference internal" href="#url-seeds-add-url-seed" id="id61">url_seeds() add_url_seed()</a></li>
<li><a class="reference internal" href="#print" id="id62">print()</a></li>
<li><a class="reference internal" href="#trackers" id="id63">trackers()</a></li>
<li><a class="reference internal" href="#total-size-piece-length-piece-size-num-pieces" id="id64">total_size() piece_length() piece_size() num_pieces()</a></li>
<li><a class="reference internal" href="#hash-for-piece-info-hash" id="id65">hash_for_piece() info_hash()</a></li>
<li><a class="reference internal" href="#name-comment-creation-date-creator" id="id66">name() comment() creation_date() creator()</a></li>
<li><a class="reference internal" href="#priv-set-priv" id="id67">priv() set_priv()</a></li>
<li><a class="reference internal" href="#nodes" id="id68">nodes()</a></li>
<li><a class="reference internal" href="#add-node" id="id69">add_node()</a></li>
</ul>
</li>
<li><a class="reference internal" href="#torrent-handle" id="id67">torrent_handle</a><ul>
<li><a class="reference internal" href="#piece-priority-prioritize-pieces-piece-priorities-prioritize-files" id="id68">piece_priority() prioritize_pieces() piece_priorities() prioritize_files()</a></li>
<li><a class="reference internal" href="#file-progress" id="id69">file_progress()</a></li>
<li><a class="reference internal" href="#save-path" id="id70">save_path()</a></li>
<li><a class="reference internal" href="#move-storage" id="id71">move_storage()</a></li>
<li><a class="reference internal" href="#force-reannounce" id="id72">force_reannounce()</a></li>
<li><a class="reference internal" href="#scrape-tracker" id="id73">scrape_tracker()</a></li>
<li><a class="reference internal" href="#connect-peer" id="id74">connect_peer()</a></li>
<li><a class="reference internal" href="#name" id="id75">name()</a></li>
<li><a class="reference internal" href="#set-ratio" id="id76">set_ratio()</a></li>
<li><a class="reference internal" href="#set-upload-limit-set-download-limit-upload-limit-download-limit" id="id77">set_upload_limit() set_download_limit() upload_limit() download_limit()</a></li>
<li><a class="reference internal" href="#set-sequential-download" id="id78">set_sequential_download()</a></li>
<li><a class="reference internal" href="#set-peer-upload-limit-set-peer-download-limit" id="id79">set_peer_upload_limit() set_peer_download_limit()</a></li>
<li><a class="reference internal" href="#pause-resume-is-paused" id="id80">pause() resume() is_paused()</a></li>
<li><a class="reference internal" href="#resolve-countries" id="id81">resolve_countries()</a></li>
<li><a class="reference internal" href="#is-seed" id="id82">is_seed()</a></li>
<li><a class="reference internal" href="#has-metadata" id="id83">has_metadata()</a></li>
<li><a class="reference internal" href="#set-tracker-login" id="id84">set_tracker_login()</a></li>
<li><a class="reference internal" href="#trackers-replace-trackers" id="id85">trackers() replace_trackers()</a></li>
<li><a class="reference internal" href="#add-url-seed-remove-url-seed-url-seeds" id="id86">add_url_seed() remove_url_seed() url_seeds()</a></li>
<li><a class="reference internal" href="#use-interface" id="id87">use_interface()</a></li>
<li><a class="reference internal" href="#info-hash" id="id88">info_hash()</a></li>
<li><a class="reference internal" href="#id5" id="id89">set_max_uploads() set_max_connections()</a></li>
<li><a class="reference internal" href="#write-resume-data" id="id90">write_resume_data()</a></li>
<li><a class="reference internal" href="#id6" id="id91">status()</a></li>
<li><a class="reference internal" href="#get-download-queue" id="id92">get_download_queue()</a></li>
<li><a class="reference internal" href="#get-peer-info" id="id93">get_peer_info()</a></li>
<li><a class="reference internal" href="#get-torrent-info" id="id94">get_torrent_info()</a></li>
<li><a class="reference internal" href="#is-valid" id="id95">is_valid()</a></li>
<li><a class="reference internal" href="#torrent-handle" id="id70">torrent_handle</a><ul>
<li><a class="reference internal" href="#piece-priority-prioritize-pieces-piece-priorities-prioritize-files" id="id71">piece_priority() prioritize_pieces() piece_priorities() prioritize_files()</a></li>
<li><a class="reference internal" href="#file-progress" id="id72">file_progress()</a></li>
<li><a class="reference internal" href="#save-path" id="id73">save_path()</a></li>
<li><a class="reference internal" href="#move-storage" id="id74">move_storage()</a></li>
<li><a class="reference internal" href="#force-reannounce" id="id75">force_reannounce()</a></li>
<li><a class="reference internal" href="#scrape-tracker" id="id76">scrape_tracker()</a></li>
<li><a class="reference internal" href="#connect-peer" id="id77">connect_peer()</a></li>
<li><a class="reference internal" href="#name" id="id78">name()</a></li>
<li><a class="reference internal" href="#set-ratio" id="id79">set_ratio()</a></li>
<li><a class="reference internal" href="#set-upload-limit-set-download-limit-upload-limit-download-limit" id="id80">set_upload_limit() set_download_limit() upload_limit() download_limit()</a></li>
<li><a class="reference internal" href="#set-sequential-download" id="id81">set_sequential_download()</a></li>
<li><a class="reference internal" href="#set-peer-upload-limit-set-peer-download-limit" id="id82">set_peer_upload_limit() set_peer_download_limit()</a></li>
<li><a class="reference internal" href="#pause-resume-is-paused" id="id83">pause() resume() is_paused()</a></li>
<li><a class="reference internal" href="#resolve-countries" id="id84">resolve_countries()</a></li>
<li><a class="reference internal" href="#is-seed" id="id85">is_seed()</a></li>
<li><a class="reference internal" href="#has-metadata" id="id86">has_metadata()</a></li>
<li><a class="reference internal" href="#set-tracker-login" id="id87">set_tracker_login()</a></li>
<li><a class="reference internal" href="#trackers-replace-trackers" id="id88">trackers() replace_trackers()</a></li>
<li><a class="reference internal" href="#add-url-seed-remove-url-seed-url-seeds" id="id89">add_url_seed() remove_url_seed() url_seeds()</a></li>
<li><a class="reference internal" href="#use-interface" id="id90">use_interface()</a></li>
<li><a class="reference internal" href="#info-hash" id="id91">info_hash()</a></li>
<li><a class="reference internal" href="#id5" id="id92">set_max_uploads() set_max_connections()</a></li>
<li><a class="reference internal" href="#write-resume-data" id="id93">write_resume_data()</a></li>
<li><a class="reference internal" href="#id6" id="id94">status()</a></li>
<li><a class="reference internal" href="#get-download-queue" id="id95">get_download_queue()</a></li>
<li><a class="reference internal" href="#get-peer-info" id="id96">get_peer_info()</a></li>
<li><a class="reference internal" href="#get-torrent-info" id="id97">get_torrent_info()</a></li>
<li><a class="reference internal" href="#is-valid" id="id98">is_valid()</a></li>
</ul>
</li>
<li><a class="reference internal" href="#torrent-status" id="id96">torrent_status</a></li>
<li><a class="reference internal" href="#peer-info" id="id97">peer_info</a></li>
<li><a class="reference internal" href="#session-settings" id="id98">session_settings</a></li>
<li><a class="reference internal" href="#pe-settings" id="id99">pe_settings</a></li>
<li><a class="reference internal" href="#proxy-settings" id="id100">proxy_settings</a></li>
<li><a class="reference internal" href="#ip-filter" id="id101">ip_filter</a><ul>
<li><a class="reference internal" href="#id9" id="id102">ip_filter()</a></li>
<li><a class="reference internal" href="#add-rule" id="id103">add_rule()</a></li>
<li><a class="reference internal" href="#access" id="id104">access()</a></li>
<li><a class="reference internal" href="#export-filter" id="id105">export_filter()</a></li>
<li><a class="reference internal" href="#torrent-status" id="id99">torrent_status</a></li>
<li><a class="reference internal" href="#peer-info" id="id100">peer_info</a></li>
<li><a class="reference internal" href="#session-settings" id="id101">session_settings</a></li>
<li><a class="reference internal" href="#pe-settings" id="id102">pe_settings</a></li>
<li><a class="reference internal" href="#proxy-settings" id="id103">proxy_settings</a></li>
<li><a class="reference internal" href="#ip-filter" id="id104">ip_filter</a><ul>
<li><a class="reference internal" href="#id9" id="id105">ip_filter()</a></li>
<li><a class="reference internal" href="#add-rule" id="id106">add_rule()</a></li>
<li><a class="reference internal" href="#access" id="id107">access()</a></li>
<li><a class="reference internal" href="#export-filter" id="id108">export_filter()</a></li>
</ul>
</li>
<li><a class="reference internal" href="#big-number" id="id106">big_number</a></li>
<li><a class="reference internal" href="#hasher" id="id107">hasher</a></li>
<li><a class="reference internal" href="#fingerprint" id="id108">fingerprint</a></li>
<li><a class="reference internal" href="#free-functions" id="id109">free functions</a><ul>
<li><a class="reference internal" href="#identify-client" id="id110">identify_client()</a></li>
<li><a class="reference internal" href="#client-fingerprint" id="id111">client_fingerprint()</a></li>
<li><a class="reference internal" href="#bdecode-bencode" id="id112">bdecode() bencode()</a></li>
<li><a class="reference internal" href="#supports-sparse-files" id="id113">supports_sparse_files()</a></li>
<li><a class="reference internal" href="#big-number" id="id109">big_number</a></li>
<li><a class="reference internal" href="#hasher" id="id110">hasher</a></li>
<li><a class="reference internal" href="#fingerprint" id="id111">fingerprint</a></li>
<li><a class="reference internal" href="#free-functions" id="id112">free functions</a><ul>
<li><a class="reference internal" href="#identify-client" id="id113">identify_client()</a></li>
<li><a class="reference internal" href="#client-fingerprint" id="id114">client_fingerprint()</a></li>
<li><a class="reference internal" href="#bdecode-bencode" id="id115">bdecode() bencode()</a></li>
<li><a class="reference internal" href="#supports-sparse-files" id="id116">supports_sparse_files()</a></li>
</ul>
</li>
<li><a class="reference internal" href="#alerts" id="id114">alerts</a><ul>
<li><a class="reference internal" href="#external-ip-alert" id="id115">external_ip_alert</a></li>
<li><a class="reference internal" href="#listen-failed-alert" id="id116">listen_failed_alert</a></li>
<li><a class="reference internal" href="#portmap-error-alert" id="id117">portmap_error_alert</a></li>
<li><a class="reference internal" href="#portmap-alert" id="id118">portmap_alert</a></li>
<li><a class="reference internal" href="#file-error-alert" id="id119">file_error_alert</a></li>
<li><a class="reference internal" href="#tracker-announce-alert" id="id120">tracker_announce_alert</a></li>
<li><a class="reference internal" href="#tracker-alert" id="id121">tracker_alert</a></li>
<li><a class="reference internal" href="#tracker-reply-alert" id="id122">tracker_reply_alert</a></li>
<li><a class="reference internal" href="#tracker-warning-alert" id="id123">tracker_warning_alert</a></li>
<li><a class="reference internal" href="#scrape-reply-alert" id="id124">scrape_reply_alert</a></li>
<li><a class="reference internal" href="#scrape-failed-alert" id="id125">scrape_failed_alert</a></li>
<li><a class="reference internal" href="#url-seed-alert" id="id126">url_seed_alert</a></li>
<li><a class="reference internal" href="#hash-failed-alert" id="id127">hash_failed_alert</a></li>
<li><a class="reference internal" href="#peer-ban-alert" id="id128">peer_ban_alert</a></li>
<li><a class="reference internal" href="#peer-error-alert" id="id129">peer_error_alert</a></li>
<li><a class="reference internal" href="#invalid-request-alert" id="id130">invalid_request_alert</a></li>
<li><a class="reference internal" href="#torrent-finished-alert" id="id131">torrent_finished_alert</a></li>
<li><a class="reference internal" href="#metadata-failed-alert" id="id132">metadata_failed_alert</a></li>
<li><a class="reference internal" href="#metadata-received-alert" id="id133">metadata_received_alert</a></li>
<li><a class="reference internal" href="#fastresume-rejected-alert" id="id134">fastresume_rejected_alert</a></li>
<li><a class="reference internal" href="#peer-blocked-alert" id="id135">peer_blocked_alert</a></li>
<li><a class="reference internal" href="#storage-moved-alert" id="id136">storage_moved_alert</a></li>
<li><a class="reference internal" href="#torrent-paused-alert" id="id137">torrent_paused_alert</a></li>
<li><a class="reference internal" href="#dispatcher" id="id138">dispatcher</a></li>
<li><a class="reference internal" href="#alerts" id="id117">alerts</a><ul>
<li><a class="reference internal" href="#external-ip-alert" id="id118">external_ip_alert</a></li>
<li><a class="reference internal" href="#listen-failed-alert" id="id119">listen_failed_alert</a></li>
<li><a class="reference internal" href="#portmap-error-alert" id="id120">portmap_error_alert</a></li>
<li><a class="reference internal" href="#portmap-alert" id="id121">portmap_alert</a></li>
<li><a class="reference internal" href="#file-error-alert" id="id122">file_error_alert</a></li>
<li><a class="reference internal" href="#tracker-announce-alert" id="id123">tracker_announce_alert</a></li>
<li><a class="reference internal" href="#tracker-alert" id="id124">tracker_alert</a></li>
<li><a class="reference internal" href="#tracker-reply-alert" id="id125">tracker_reply_alert</a></li>
<li><a class="reference internal" href="#tracker-warning-alert" id="id126">tracker_warning_alert</a></li>
<li><a class="reference internal" href="#scrape-reply-alert" id="id127">scrape_reply_alert</a></li>
<li><a class="reference internal" href="#scrape-failed-alert" id="id128">scrape_failed_alert</a></li>
<li><a class="reference internal" href="#url-seed-alert" id="id129">url_seed_alert</a></li>
<li><a class="reference internal" href="#hash-failed-alert" id="id130">hash_failed_alert</a></li>
<li><a class="reference internal" href="#peer-ban-alert" id="id131">peer_ban_alert</a></li>
<li><a class="reference internal" href="#peer-error-alert" id="id132">peer_error_alert</a></li>
<li><a class="reference internal" href="#invalid-request-alert" id="id133">invalid_request_alert</a></li>
<li><a class="reference internal" href="#torrent-finished-alert" id="id134">torrent_finished_alert</a></li>
<li><a class="reference internal" href="#metadata-failed-alert" id="id135">metadata_failed_alert</a></li>
<li><a class="reference internal" href="#metadata-received-alert" id="id136">metadata_received_alert</a></li>
<li><a class="reference internal" href="#fastresume-rejected-alert" id="id137">fastresume_rejected_alert</a></li>
<li><a class="reference internal" href="#peer-blocked-alert" id="id138">peer_blocked_alert</a></li>
<li><a class="reference internal" href="#storage-moved-alert" id="id139">storage_moved_alert</a></li>
<li><a class="reference internal" href="#torrent-paused-alert" id="id140">torrent_paused_alert</a></li>
<li><a class="reference internal" href="#dispatcher" id="id141">dispatcher</a></li>
</ul>
</li>
<li><a class="reference internal" href="#exceptions" id="id139">exceptions</a><ul>
<li><a class="reference internal" href="#invalid-handle" id="id140">invalid_handle</a></li>
<li><a class="reference internal" href="#duplicate-torrent" id="id141">duplicate_torrent</a></li>
<li><a class="reference internal" href="#invalid-encoding" id="id142">invalid_encoding</a></li>
<li><a class="reference internal" href="#type-error" id="id143">type_error</a></li>
<li><a class="reference internal" href="#invalid-torrent-file" id="id144">invalid_torrent_file</a></li>
<li><a class="reference internal" href="#exceptions" id="id142">exceptions</a><ul>
<li><a class="reference internal" href="#invalid-handle" id="id143">invalid_handle</a></li>
<li><a class="reference internal" href="#duplicate-torrent" id="id144">duplicate_torrent</a></li>
<li><a class="reference internal" href="#invalid-encoding" id="id145">invalid_encoding</a></li>
<li><a class="reference internal" href="#type-error" id="id146">type_error</a></li>
<li><a class="reference internal" href="#invalid-torrent-file" id="id147">invalid_torrent_file</a></li>
</ul>
</li>
<li><a class="reference internal" href="#storage-interface" id="id145">storage_interface</a><ul>
<li><a class="reference internal" href="#initialize" id="id146">initialize()</a></li>
<li><a class="reference internal" href="#read" id="id147">read()</a></li>
<li><a class="reference internal" href="#write" id="id148">write()</a></li>
<li><a class="reference internal" href="#id11" id="id149">move_storage()</a></li>
<li><a class="reference internal" href="#verify-resume-data" id="id150">verify_resume_data()</a></li>
<li><a class="reference internal" href="#id12" id="id151">write_resume_data( )</a></li>
<li><a class="reference internal" href="#move-slot" id="id152">move_slot()</a></li>
<li><a class="reference internal" href="#swap-slots" id="id153">swap_slots()</a></li>
<li><a class="reference internal" href="#swap-slots3" id="id154">swap_slots3()</a></li>
<li><a class="reference internal" href="#hash-for-slot" id="id155">hash_for_slot()</a></li>
<li><a class="reference internal" href="#release-files" id="id156">release_files()</a></li>
<li><a class="reference internal" href="#delete-files" id="id157">delete_files()</a></li>
<li><a class="reference internal" href="#storage-interface" id="id148">storage_interface</a><ul>
<li><a class="reference internal" href="#initialize" id="id149">initialize()</a></li>
<li><a class="reference internal" href="#read" id="id150">read()</a></li>
<li><a class="reference internal" href="#write" id="id151">write()</a></li>
<li><a class="reference internal" href="#id11" id="id152">move_storage()</a></li>
<li><a class="reference internal" href="#verify-resume-data" id="id153">verify_resume_data()</a></li>
<li><a class="reference internal" href="#id12" id="id154">write_resume_data( )</a></li>
<li><a class="reference internal" href="#move-slot" id="id155">move_slot()</a></li>
<li><a class="reference internal" href="#swap-slots" id="id156">swap_slots()</a></li>
<li><a class="reference internal" href="#swap-slots3" id="id157">swap_slots3()</a></li>
<li><a class="reference internal" href="#hash-for-slot" id="id158">hash_for_slot()</a></li>
<li><a class="reference internal" href="#release-files" id="id159">release_files()</a></li>
<li><a class="reference internal" href="#delete-files" id="id160">delete_files()</a></li>
</ul>
</li>
<li><a class="reference internal" href="#fast-resume" id="id158">fast resume</a><ul>
<li><a class="reference internal" href="#file-format" id="id159">file format</a></li>
<li><a class="reference internal" href="#fast-resume" id="id161">fast resume</a><ul>
<li><a class="reference internal" href="#file-format" id="id162">file format</a></li>
</ul>
</li>
<li><a class="reference internal" href="#threads" id="id160">threads</a></li>
<li><a class="reference internal" href="#storage-allocation" id="id161">storage allocation</a><ul>
<li><a class="reference internal" href="#sparse-allocation" id="id162">sparse allocation</a></li>
<li><a class="reference internal" href="#full-allocation" id="id163">full allocation</a></li>
<li><a class="reference internal" href="#compact-allocation" id="id164">compact allocation</a></li>
<li><a class="reference internal" href="#threads" id="id163">threads</a></li>
<li><a class="reference internal" href="#storage-allocation" id="id164">storage allocation</a><ul>
<li><a class="reference internal" href="#sparse-allocation" id="id165">sparse allocation</a></li>
<li><a class="reference internal" href="#full-allocation" id="id166">full allocation</a></li>
<li><a class="reference internal" href="#compact-allocation" id="id167">compact allocation</a></li>
</ul>
</li>
<li><a class="reference internal" href="#extensions" id="id165">extensions</a><ul>
<li><a class="reference internal" href="#metadata-from-peers" id="id166">metadata from peers</a></li>
<li><a class="reference internal" href="#http-seeding" id="id167">HTTP seeding</a></li>
<li><a class="reference internal" href="#extensions" id="id168">extensions</a><ul>
<li><a class="reference internal" href="#metadata-from-peers" id="id169">metadata from peers</a></li>
<li><a class="reference internal" href="#http-seeding" id="id170">HTTP seeding</a></li>
</ul>
</li>
<li><a class="reference internal" href="#filename-checks" id="id168">filename checks</a></li>
<li><a class="reference internal" href="#acknowledgments" id="id169">acknowledgments</a></li>
<li><a class="reference internal" href="#filename-checks" id="id171">filename checks</a></li>
<li><a class="reference internal" href="#acknowledgments" id="id172">acknowledgments</a></li>
</ul>
</div>
<div class="section" id="overview">
@ -352,6 +355,15 @@ class session: public boost::noncopyable
, int&gt; const&amp; node);
void add_dht_router(std::pair&lt;std::string
, int&gt; const&amp; node);
void start_lsd();
void stop_lsd();
boost::intrusive_ptr&lt;upnp&gt; start_upnp();
void stop_upnp();
boost::intrusvice_ptr&lt;natpmp&gt; start_natpmp();
void stop_natpmp();
};
</pre>
<p>Once it's created, the session object will spawn the main thread that will do all the work.
@ -974,6 +986,43 @@ for bootstrapping, to keep the load off them.</p>
<p>An example routing node that you could typically add is
<tt class="docutils literal"><span class="pre">router.bittorrent.com</span></tt>.</p>
</div>
<div class="section" id="start-lsd-stop-lsd">
<h2>start_lsd() stop_lsd()</h2>
<blockquote>
<pre class="literal-block">
void start_lsd();
void stop_lsd();
</pre>
</blockquote>
<p>Starts and stops Local Service Discovery. This service will broadcast
the infohashes of all the non-private torrents on the local network to
look for peers on the same swarm within multicast reach.</p>
<p>It is turned off by default.</p>
</div>
<div class="section" id="start-upnp-stop-upnp">
<h2>start_upnp() stop_upnp()</h2>
<blockquote>
<pre class="literal-block">
boost::intrusive_ptr&lt;upnp&gt; start_upnp();
void stop_upnp();
</pre>
</blockquote>
<p>Starts and stops the UPnP service. When started, the listen port and the DHT
port are attempted to be forwarded on local UPnP router devices.</p>
<p>It is off by default.</p>
</div>
<div class="section" id="start-natpmp-stop-natpmp">
<h2>start_natpmp() stop_natpmp()</h2>
<blockquote>
<pre class="literal-block">
boost::intrusvice_ptr&lt;natpmp&gt; start_natpmp();
void stop_natpmp();
</pre>
</blockquote>
<p>Starts and stops the NAT-PMP service. When started, the listen port and the DHT
port are attempted to be forwarded on the router through NAT-PMP.</p>
<p>It is off by default.</p>
</div>
</div>
<div class="section" id="entry">
<h1>entry</h1>