Offset 1, 7 lines modified | Offset 1, 7 lines modified | ||
1 | ·566cebda3082b885b10721e09647d04f·365480·libdevel·optional·libtorrent-rasterbar-dev_2.0.10-1.1_arm64.deb | 1 | ·566cebda3082b885b10721e09647d04f·365480·libdevel·optional·libtorrent-rasterbar-dev_2.0.10-1.1_arm64.deb |
2 | · | 2 | ·784eaa53c8b202b77b5ca200f316c565·1668728·doc·optional·libtorrent-rasterbar-doc_2.0.10-1.1_all.deb |
3 | ·bb465a88d318182ba8a7e433fe913f35·50633580·debug·optional·libtorrent-rasterbar2.0t64-dbgsym_2.0.10-1.1_arm64.deb | 3 | ·bb465a88d318182ba8a7e433fe913f35·50633580·debug·optional·libtorrent-rasterbar2.0t64-dbgsym_2.0.10-1.1_arm64.deb |
4 | ·828b3caf7bea4da2069e49e1b0a180cb·1486792·libs·optional·libtorrent-rasterbar2.0t64_2.0.10-1.1_arm64.deb | 4 | ·828b3caf7bea4da2069e49e1b0a180cb·1486792·libs·optional·libtorrent-rasterbar2.0t64_2.0.10-1.1_arm64.deb |
5 | ·34226fe2801fef59a5a634e432d93160·13140132·debug·optional·python3-libtorrent-dbgsym_2.0.10-1.1_arm64.deb | 5 | ·34226fe2801fef59a5a634e432d93160·13140132·debug·optional·python3-libtorrent-dbgsym_2.0.10-1.1_arm64.deb |
6 | ·8f53e75156c58e0b082ea0ddc3be3932·673212·python·optional·python3-libtorrent_2.0.10-1.1_arm64.deb | 6 | ·8f53e75156c58e0b082ea0ddc3be3932·673212·python·optional·python3-libtorrent_2.0.10-1.1_arm64.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2024-02-28·20:35:15.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2024-02-28·20:35:15.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····3628·2024-02-28·20:35:15.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····3628·2024-02-28·20:35:15.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··16649 | 3 | -rw-r--r--···0········0········0··1664908·2024-02-28·20:35:15.000000·data.tar.xz |
Offset 48, 20 lines modified | Offset 48, 20 lines modified | ||
48 | requiring·the·same·type·be·requested·out·of·it·as·was·assigned·to·it.</p> | 48 | requiring·the·same·type·be·requested·out·of·it·as·was·assigned·to·it.</p> |
49 | <pre·class="literal-block"> | 49 | <pre·class="literal-block"> |
50 | struct·client_data_t | 50 | struct·client_data_t |
51 | { | 51 | { |
52 | ···<strong>client_data_t</strong>·()·=·default; | 52 | ···<strong>client_data_t</strong>·()·=·default; |
53 | ···explicit·<strong>client_data_t</strong>·(T*·v); | 53 | ···explicit·<strong>client_data_t</strong>·(T*·v); |
54 | ···client_data_t&·<strong>operator=</strong>·(T*·v); | 54 | ···client_data_t&·<strong>operator=</strong>·(T*·v); |
55 | ···T*·<strong>get</strong>·()·const; | ||
56 | ···explicit·operator·<strong>T</strong>·()·const; | 55 | ···explicit·operator·<strong>T</strong>·()·const; |
56 | ···T*·<strong>get</strong>·()·const; | ||
57 | ···operator·void·<strong>const*</strong>·()·const·=·delete; | ||
58 | ···client_data_t&·<strong>operator=</strong>·(void*)·=·delete; | ||
59 | ···client_data_t&·<strong>operator=</strong>·(void·const*)·=·delete; | 57 | ···client_data_t&·<strong>operator=</strong>·(void·const*)·=·delete; |
60 | ···operator·<strong>void*</strong>·()·const·=·delete; | 58 | ···operator·<strong>void*</strong>·()·const·=·delete; |
59 | ···client_data_t&·<strong>operator=</strong>·(void*)·=·delete; | ||
60 | ···operator·void·<strong>const*</strong>·()·const·=·delete; | ||
61 | ···template·<typename·T,·typename·<strong>U</strong>··=·typename·std::enable_if<std::is_pointer<T>::value>::type> | 61 | ···template·<typename·T,·typename·<strong>U</strong>··=·typename·std::enable_if<std::is_pointer<T>::value>::type> |
62 | }; | 62 | }; |
63 | </pre> | 63 | </pre> |
64 | <a·name="client_data_t()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:client_data_t%3A%3A%5Bclient_data_t%28%29%5D&labels=documentation&body=Documentation+under+heading+%22client_data_t%3A%3A%5Bclient_data_t%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="client-data-t-1"> | 64 | <a·name="client_data_t()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:client_data_t%3A%3A%5Bclient_data_t%28%29%5D&labels=documentation&body=Documentation+under+heading+%22client_data_t%3A%3A%5Bclient_data_t%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="client-data-t-1"> |
65 | <h2>client_data_t()</h2> | 65 | <h2>client_data_t()</h2> |
66 | <pre·class="literal-block"> | 66 | <pre·class="literal-block"> |
Offset 70, 18 lines modified | Offset 70, 18 lines modified | ||
70 | <p>construct·a·nullptr·client·data</p> | 70 | <p>construct·a·nullptr·client·data</p> |
71 | <a·name="operator=()"></a> | 71 | <a·name="operator=()"></a> |
72 | <a·name="const*()"></a> | 72 | <a·name="const*()"></a> |
73 | <a·name="void*()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:client_data_t%3A%3A%5Boperator%3D%28%29+const%2A%28%29+void%2A%28%29%5D&labels=documentation&body=Documentation+under+heading+%22client_data_t%3A%3A%5Boperator%3D%28%29+const%2A%28%29+void%2A%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 73 | <a·name="void*()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:client_data_t%3A%3A%5Boperator%3D%28%29+const%2A%28%29+void%2A%28%29%5D&labels=documentation&body=Documentation+under+heading+%22client_data_t%3A%3A%5Boperator%3D%28%29+const%2A%28%29+void%2A%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
74 | <div·class="section"·id="operator-const-void"> | 74 | <div·class="section"·id="operator-const-void"> |
75 | <h2>operator=()·const*()·void*()</h2> | 75 | <h2>operator=()·const*()·void*()</h2> |
76 | <pre·class="literal-block"> | 76 | <pre·class="literal-block"> |
77 | operator·void·<strong>const*</strong>·()·const·=·delete; | ||
78 | client_data_t&·<strong>operator=</strong>·(void*)·=·delete; | ||
79 | client_data_t&·<strong>operator=</strong>·(void·const*)·=·delete; | 77 | client_data_t&·<strong>operator=</strong>·(void·const*)·=·delete; |
80 | operator·<strong>void*</strong>·()·const·=·delete; | 78 | operator·<strong>void*</strong>·()·const·=·delete; |
79 | client_data_t&·<strong>operator=</strong>·(void*)·=·delete; | ||
80 | operator·void·<strong>const*</strong>·()·const·=·delete; | ||
81 | </pre> | 81 | </pre> |
82 | <p>we·don't·allow·type-unsafe·operations</p> | 82 | <p>we·don't·allow·type-unsafe·operations</p> |
83 | <a·name="add_torrent_params"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+add_torrent_params&labels=documentation&body=Documentation+under+heading+%22class+add_torrent_params%22+could+be+improved">report·issue</a>]</span></div> | 83 | <a·name="add_torrent_params"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+add_torrent_params&labels=documentation&body=Documentation+under+heading+%22class+add_torrent_params%22+could+be+improved">report·issue</a>]</span></div> |
84 | </div> | 84 | </div> |
85 | <div·class="section"·id="add-torrent-params"> | 85 | <div·class="section"·id="add-torrent-params"> |
86 | <h1>add_torrent_params</h1> | 86 | <h1>add_torrent_params</h1> |
87 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/add_torrent_params.hpp">libtorrent/add_torrent_params.hpp</a>"</p> | 87 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/add_torrent_params.hpp">libtorrent/add_torrent_params.hpp</a>"</p> |
Offset 14, 34 lines modified | Offset 14, 34 lines modified | ||
14 | passed·in·to·libtorrent·and·returned·on·demand.·It·adds·type-safety·by | 14 | passed·in·to·libtorrent·and·returned·on·demand.·It·adds·type-safety·by |
15 | requiring·the·same·type·be·requested·out·of·it·as·was·assigned·to·it. | 15 | requiring·the·same·type·be·requested·out·of·it·as·was·assigned·to·it. |
16 | struct·client_data_t | 16 | struct·client_data_t |
17 | { | 17 | { |
18 | ···c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·()·=·default; | 18 | ···c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·()·=·default; |
19 | ···explicit·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·(T*·v); | 19 | ···explicit·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·(T*·v); |
20 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(T*·v); | 20 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(T*·v); |
21 | ···T*·g\x8ge\x8et\x8t·()·const; | ||
22 | ···explicit·operator·T\x8T·()·const; | 21 | ···explicit·operator·T\x8T·()·const; |
22 | ···T*·g\x8ge\x8et\x8t·()·const; | ||
23 | ···operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete; | ||
24 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete; | ||
25 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; | 23 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; |
26 | ···operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; | 24 | ···operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; |
25 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete; | ||
26 | ···operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete; | ||
27 | ···template·<typename·T,·typename·U\x8U··=·typename·std::enable_if<std:: | 27 | ···template·<typename·T,·typename·U\x8U··=·typename·std::enable_if<std:: |
28 | is_pointer<T>::value>::type> | 28 | is_pointer<T>::value>::type> |
29 | }; | 29 | }; |
30 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 30 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
31 | *\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 31 | *\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
32 | c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·()·=·default; | 32 | c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·()·=·default; |
33 | construct·a·nullptr·client·data | 33 | construct·a·nullptr·client·data |
34 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 34 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
35 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·c\x8co\x8on\x8ns\x8st\x8t*\x8*(\x8()\x8)·v\x8vo\x8oi\x8id\x8d*\x8*(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 35 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·c\x8co\x8on\x8ns\x8st\x8t*\x8*(\x8()\x8)·v\x8vo\x8oi\x8id\x8d*\x8*(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
36 | operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete; | ||
37 | client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete; | ||
38 | client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; | 36 | client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; |
39 | operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; | 37 | operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; |
38 | client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete; | ||
39 | operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete; | ||
40 | we·don't·allow·type-unsafe·operations | 40 | we·don't·allow·type-unsafe·operations |
41 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 41 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
42 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·*\x8**\x8**\x8**\x8**\x8**\x8* | 42 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·*\x8**\x8**\x8**\x8**\x8**\x8* |
43 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8._\x8h_\x8p_\x8p" | 43 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8._\x8h_\x8p_\x8p" |
44 | The·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·contains·all·the·information·in·a·.torrent·file·along | 44 | The·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·contains·all·the·information·in·a·.torrent·file·along |
45 | with·all·information·necessary·to·add·that·torrent·to·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n.·The·key·fields | 45 | with·all·information·necessary·to·add·that·torrent·to·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n.·The·key·fields |
46 | when·adding·a·torrent·are: | 46 | when·adding·a·torrent·are: |
Offset 1287, 26 lines modified | Offset 1287, 26 lines modified | ||
1287 | <tt·class="docutils·literal"><span·class="pre">torrent_handle::move_storage</span></tt>.·This·is·useful·to·synchronize·with·the | 1287 | <tt·class="docutils·literal"><span·class="pre">torrent_handle::move_storage</span></tt>.·This·is·useful·to·synchronize·with·the |
1288 | actual·disk.·The·<tt·class="docutils·literal">storage_path()</tt>·member·return·the·new·path·of·the | 1288 | actual·disk.·The·<tt·class="docutils·literal">storage_path()</tt>·member·return·the·new·path·of·the |
1289 | storage.</p> | 1289 | storage.</p> |
1290 | <pre·class="literal-block"> | 1290 | <pre·class="literal-block"> |
1291 | struct·storage_moved_alert·final·:·torrent_alert | 1291 | struct·storage_moved_alert·final·:·torrent_alert |
1292 | { | 1292 | { |
1293 | ···std::string·<strong>message</strong>·()·const·override; | 1293 | ···std::string·<strong>message</strong>·()·const·override; |
1294 | ···char·const*·<strong>old_path</strong>·()·const; | ||
1295 | ···char·const*·<strong>storage_path</strong>·()·const; | 1294 | ···char·const*·<strong>storage_path</strong>·()·const; |
1295 | ···char·const*·<strong>old_path</strong>·()·const; | ||
1296 | ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::storage; | 1296 | ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::storage; |
1297 | }; | 1297 | }; |
1298 | </pre> | 1298 | </pre> |
1299 | <a·name="old_path()"></a> | 1299 | <a·name="old_path()"></a> |
1300 | <a·name="storage_path()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:storage_moved_alert%3A%3A%5Bold_path%28%29+storage_path%28%29%5D&labels=documentation&body=Documentation+under+heading+%22storage_moved_alert%3A%3A%5Bold_path%28%29+storage_path%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="old-path-storage-path"> | 1300 | <a·name="storage_path()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:storage_moved_alert%3A%3A%5Bold_path%28%29+storage_path%28%29%5D&labels=documentation&body=Documentation+under+heading+%22storage_moved_alert%3A%3A%5Bold_path%28%29+storage_path%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="old-path-storage-path"> |
1301 | <h2>old_path()·storage_path()</h2> | 1301 | <h2>old_path()·storage_path()</h2> |
1302 | <pre·class="literal-block"> | 1302 | <pre·class="literal-block"> |
1303 | char·const*·<strong>old_path</strong>·()·const; | ||
1304 | char·const*·<strong>storage_path</strong>·()·const; | 1303 | char·const*·<strong>storage_path</strong>·()·const; |
1304 | char·const*·<strong>old_path</strong>·()·const; | ||
1305 | </pre> | 1305 | </pre> |
1306 | <p>the·path·the·torrent·was·moved·to·and·from,·respectively.</p> | 1306 | <p>the·path·the·torrent·was·moved·to·and·from,·respectively.</p> |
1307 | <a·name="storage_moved_failed_alert"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+storage_moved_failed_alert&labels=documentation&body=Documentation+under+heading+%22class+storage_moved_failed_alert%22+could+be+improved">report·issue</a>]</span></div> | 1307 | <a·name="storage_moved_failed_alert"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+storage_moved_failed_alert&labels=documentation&body=Documentation+under+heading+%22class+storage_moved_failed_alert%22+could+be+improved">report·issue</a>]</span></div> |
1308 | </div> | 1308 | </div> |
1309 | <div·class="section"·id="storage-moved-failed-alert"> | 1309 | <div·class="section"·id="storage-moved-failed-alert"> |
1310 | <h1>storage_moved_failed_alert</h1> | 1310 | <h1>storage_moved_failed_alert</h1> |
1311 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/alert_types.hpp">libtorrent/alert_types.hpp</a>"</p> | 1311 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/alert_types.hpp">libtorrent/alert_types.hpp</a>"</p> |
Offset 2993, 32 lines modified | Offset 2993, 32 lines modified | ||
2993 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/alert_types.hpp">libtorrent/alert_types.hpp</a>"</p> | 2993 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/alert_types.hpp">libtorrent/alert_types.hpp</a>"</p> |
2994 | <p>posted·as·a·response·to·a·call·to·session::dht_sample_infohashes()·with | 2994 | <p>posted·as·a·response·to·a·call·to·session::dht_sample_infohashes()·with |
2995 | the·information·from·the·DHT·response·message.</p> | 2995 | the·information·from·the·DHT·response·message.</p> |
2996 | <pre·class="literal-block"> | 2996 | <pre·class="literal-block"> |
2997 | struct·dht_sample_infohashes_alert·final·:·alert | 2997 | struct·dht_sample_infohashes_alert·final·:·alert |
2998 | { | 2998 | { |
2999 | ···std::string·<strong>message</strong>·()·const·override; | 2999 | ···std::string·<strong>message</strong>·()·const·override; |
3000 | ···int·<strong>num_samples</strong>·()·const; | ||
3001 | ···std::vector<sha1_hash>·<strong>samples</strong>·()·const; | 3000 | ···std::vector<sha1_hash>·<strong>samples</strong>·()·const; |
3001 | ···int·<strong>num_samples</strong>·()·const; | ||
3002 | ···int·<strong>num_nodes</strong>·()·const; | 3002 | ···int·<strong>num_nodes</strong>·()·const; |
3003 | ···std::vector<std::pair<sha1_hash,·udp::endpoint>>·<strong>nodes</strong>·()·const; | 3003 | ···std::vector<std::pair<sha1_hash,·udp::endpoint>>·<strong>nodes</strong>·()·const; |
3004 | ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::dht_operation; | 3004 | ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::dht_operation; |
3005 | ···sha1_hash·node_id; | 3005 | ···sha1_hash·node_id; |
3006 | ···aux::noexcept_movable<udp::endpoint>·endpoint; | 3006 | ···aux::noexcept_movable<udp::endpoint>·endpoint; |
3007 | ···time_duration·const·interval; | 3007 | ···time_duration·const·interval; |
3008 | ···int·const·num_infohashes; | 3008 | ···int·const·num_infohashes; |
3009 | }; | 3009 | }; |
3010 | </pre> | 3010 | </pre> |
3011 | <a·name="samples()"></a> | 3011 | <a·name="samples()"></a> |
3012 | <a·name="num_samples()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_sample_infohashes_alert%3A%3A%5Bsamples%28%29+num_samples%28%29%5D&labels=documentation&body=Documentation+under+heading+%22dht_sample_infohashes_alert%3A%3A%5Bsamples%28%29+num_samples%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="samples-num-samples"> | 3012 | <a·name="num_samples()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_sample_infohashes_alert%3A%3A%5Bsamples%28%29+num_samples%28%29%5D&labels=documentation&body=Documentation+under+heading+%22dht_sample_infohashes_alert%3A%3A%5Bsamples%28%29+num_samples%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="samples-num-samples"> |
3013 | <h2>samples()·num_samples()</h2> | 3013 | <h2>samples()·num_samples()</h2> |
3014 | <pre·class="literal-block"> | 3014 | <pre·class="literal-block"> |
3015 | int·<strong>num_samples</strong>·()·const; | ||
3016 | std::vector<sha1_hash>·<strong>samples</strong>·()·const; | 3015 | std::vector<sha1_hash>·<strong>samples</strong>·()·const; |
3016 | int·<strong>num_samples</strong>·()·const; | ||
3017 | </pre> | 3017 | </pre> |
3018 | <p>returns·the·number·of·info-hashes·returned·by·the·node,·as·well·as·the | 3018 | <p>returns·the·number·of·info-hashes·returned·by·the·node,·as·well·as·the |
3019 | actual·info-hashes.·<tt·class="docutils·literal">num_samples()</tt>·is·more·efficient·than | 3019 | actual·info-hashes.·<tt·class="docutils·literal">num_samples()</tt>·is·more·efficient·than |
3020 | <tt·class="docutils·literal"><span·class="pre">samples().size()</span></tt>.</p> | 3020 | <tt·class="docutils·literal"><span·class="pre">samples().size()</span></tt>.</p> |
3021 | <a·name="num_nodes()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_sample_infohashes_alert%3A%3A%5Bnum_nodes%28%29%5D&labels=documentation&body=Documentation+under+heading+%22dht_sample_infohashes_alert%3A%3A%5Bnum_nodes%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 3021 | <a·name="num_nodes()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_sample_infohashes_alert%3A%3A%5Bnum_nodes%28%29%5D&labels=documentation&body=Documentation+under+heading+%22dht_sample_infohashes_alert%3A%3A%5Bnum_nodes%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
3022 | <div·class="section"·id="num-nodes"> | 3022 | <div·class="section"·id="num-nodes"> |
3023 | <h2>num_nodes()</h2> | 3023 | <h2>num_nodes()</h2> |
Offset 3079, 16 lines modified | Offset 3079, 16 lines modified | ||
3079 | <p>this·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>·is·posted·to·indicate·to·the·client·that·some·alerts·were | 3079 | <p>this·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>·is·posted·to·indicate·to·the·client·that·some·alerts·were |
3080 | dropped.·Dropped·meaning·that·the·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>·failed·to·be·delivered·to·the | 3080 | dropped.·Dropped·meaning·that·the·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>·failed·to·be·delivered·to·the |
3081 | client.·The·most·common·cause·of·such·failure·is·that·the·internal·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a> | 3081 | client.·The·most·common·cause·of·such·failure·is·that·the·internal·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a> |
3082 | queue·grew·too·big·(controlled·by·alert_queue_size).</p> | 3082 | queue·grew·too·big·(controlled·by·alert_queue_size).</p> |
3083 | <pre·class="literal-block"> | 3083 | <pre·class="literal-block"> |
3084 | struct·alerts_dropped_alert·final·:·alert | 3084 | struct·alerts_dropped_alert·final·:·alert |
3085 | { | 3085 | { |
3086 | ···<strong>static_assert</strong>·(num_alert_types·<=·abi_alert_count,·"need·to·increase·bitset.·This·is·an·ABI·break"); | ||
3087 | ···std::string·<strong>message</strong>·()·const·override; | 3086 | ···std::string·<strong>message</strong>·()·const·override; |
3087 | ···<strong>static_assert</strong>·(num_alert_types·<=·abi_alert_count,·"need·to·increase·bitset.·This·is·an·ABI·break"); | ||
3088 | ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::error; | 3088 | ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::error; |
3089 | ···std::bitset<abi_alert_count>·dropped_alerts; | 3089 | ···std::bitset<abi_alert_count>·dropped_alerts; |
3090 | }; | 3090 | }; |
3091 | </pre> | 3091 | </pre> |
3092 | <a·name="dropped_alerts"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:alerts_dropped_alert%3A%3A%5Bdropped_alerts%5D&labels=documentation&body=Documentation+under+heading+%22alerts_dropped_alert%3A%3A%5Bdropped_alerts%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | 3092 | <a·name="dropped_alerts"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:alerts_dropped_alert%3A%3A%5Bdropped_alerts%5D&labels=documentation&body=Documentation+under+heading+%22alerts_dropped_alert%3A%3A%5Bdropped_alerts%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> |
3093 | <dt>dropped_alerts</dt> | 3093 | <dt>dropped_alerts</dt> |
Offset 1035, 24 lines modified | Offset 1035, 24 lines modified | ||
1035 | The·storage_moved_alert·is·generated·when·all·the·disk·IO·has·completed·and·the | 1035 | The·storage_moved_alert·is·generated·when·all·the·disk·IO·has·completed·and·the |
1036 | files·have·been·moved,·as·an·effect·of·a·call·to·torrent_handle::move_storage. | 1036 | files·have·been·moved,·as·an·effect·of·a·call·to·torrent_handle::move_storage. |
1037 | This·is·useful·to·synchronize·with·the·actual·disk.·The·storage_path()·member | 1037 | This·is·useful·to·synchronize·with·the·actual·disk.·The·storage_path()·member |
1038 | return·the·new·path·of·the·storage. | 1038 | return·the·new·path·of·the·storage. |
1039 | struct·storage_moved_alert·final·:·torrent_alert | 1039 | struct·storage_moved_alert·final·:·torrent_alert |
1040 | { | 1040 | { |
1041 | ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override; | 1041 | ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override; |
1042 | ···char·const*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h·()·const; | ||
1043 | ···char·const*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h·()·const; | 1042 | ···char·const*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h·()·const; |
1043 | ···char·const*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h·()·const; | ||
1044 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category:: | 1044 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category:: |
1045 | storage; | 1045 | storage; |
1046 | }; | 1046 | }; |
1047 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1047 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1048 | *\x8**\x8**\x8**\x8**\x8*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h(\x8()\x8)·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 1048 | *\x8**\x8**\x8**\x8**\x8*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h(\x8()\x8)·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
1049 | char·const*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h·()·const; | ||
1050 | char·const*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h·()·const; | 1049 | char·const*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h·()·const; |
1050 | char·const*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h·()·const; | ||
1051 | the·path·the·torrent·was·moved·to·and·from,·respectively. | 1051 | the·path·the·torrent·was·moved·to·and·from,·respectively. |
1052 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1052 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1053 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_m\x8mo\x8ov\x8ve\x8ed\x8d_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* | 1053 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_m\x8mo\x8ov\x8ve\x8ed\x8d_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* |
1054 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p" | 1054 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p" |
1055 | The·storage_moved_failed_alert·is·generated·when·an·attempt·to·move·the | 1055 | The·storage_moved_failed_alert·is·generated·when·an·attempt·to·move·the |
1056 | storage,·via·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8:_\x8:_\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8),·fails. | 1056 | storage,·via·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8:_\x8:_\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8),·fails. |
1057 | struct·storage_moved_failed_alert·final·:·torrent_alert | 1057 | struct·storage_moved_failed_alert·final·:·torrent_alert |
Offset 2326, 30 lines modified | Offset 2326, 30 lines modified | ||
2326 | *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8dh\x8ht\x8t_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8e_\x8_i\x8in\x8nf\x8fo\x8oh\x8ha\x8as\x8sh\x8he\x8es\x8s_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* | 2326 | *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8dh\x8ht\x8t_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8e_\x8_i\x8in\x8nf\x8fo\x8oh\x8ha\x8as\x8sh\x8he\x8es\x8s_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* |
2327 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p" | 2327 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p" |
2328 | posted·as·a·response·to·a·call·to·session::dht_sample_infohashes()·with·the | 2328 | posted·as·a·response·to·a·call·to·session::dht_sample_infohashes()·with·the |
2329 | information·from·the·DHT·response·message. | 2329 | information·from·the·DHT·response·message. |
2330 | struct·dht_sample_infohashes_alert·final·:·alert | 2330 | struct·dht_sample_infohashes_alert·final·:·alert |
2331 | { | 2331 | { |
2332 | ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override; | 2332 | ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override; |
2333 | ···int·n\x8nu\x8um\x8m_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s·()·const; | ||
2334 | ···std::vector<sha1_hash>·s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s·()·const; | 2333 | ···std::vector<sha1_hash>·s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s·()·const; |
2334 | ···int·n\x8nu\x8um\x8m_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s·()·const; | ||
2335 | ···int·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s·()·const; | 2335 | ···int·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s·()·const; |
2336 | ···std::vector<std::pair<sha1_hash,·udp::endpoint>>·n\x8no\x8od\x8de\x8es\x8s·()·const; | 2336 | ···std::vector<std::pair<sha1_hash,·udp::endpoint>>·n\x8no\x8od\x8de\x8es\x8s·()·const; |
2337 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category:: | 2337 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category:: |
2338 | dht_operation; | 2338 | dht_operation; |
2339 | ···sha1_hash·node_id; | 2339 | ···sha1_hash·node_id; |
2340 | ···aux::noexcept_movable<udp::endpoint>·endpoint; | 2340 | ···aux::noexcept_movable<udp::endpoint>·endpoint; |
2341 | ···time_duration·const·interval; | 2341 | ···time_duration·const·interval; |
2342 | ···int·const·num_infohashes; | 2342 | ···int·const·num_infohashes; |
2343 | }; | 2343 | }; |
2344 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 2344 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
2345 | *\x8**\x8**\x8**\x8**\x8*·s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s(\x8()\x8)·n\x8nu\x8um\x8m_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 2345 | *\x8**\x8**\x8**\x8**\x8*·s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s(\x8()\x8)·n\x8nu\x8um\x8m_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
2346 | int·n\x8nu\x8um\x8m_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s·()·const; | ||
2347 | std::vector<sha1_hash>·s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s·()·const; | 2346 | std::vector<sha1_hash>·s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s·()·const; |
2347 | int·n\x8nu\x8um\x8m_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s·()·const; | ||
2348 | returns·the·number·of·info-hashes·returned·by·the·node,·as·well·as·the·actual | 2348 | returns·the·number·of·info-hashes·returned·by·the·node,·as·well·as·the·actual |
2349 | info-hashes.·num_samples()·is·more·efficient·than·samples().size(). | 2349 | info-hashes.·num_samples()·is·more·efficient·than·samples().size(). |
2350 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 2350 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
2351 | *\x8**\x8**\x8**\x8**\x8*·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 2351 | *\x8**\x8**\x8**\x8**\x8*·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
2352 | int·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s·()·const; | 2352 | int·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s·()·const; |
2353 | The·total·number·of·nodes·returned·by·nodes(). | 2353 | The·total·number·of·nodes·returned·by·nodes(). |
2354 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 2354 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
Offset 2394, 17 lines modified | Offset 2394, 17 lines modified | ||
2394 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p" | 2394 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p" |
2395 | this·_\x8a_\x8l_\x8e_\x8r_\x8t·is·posted·to·indicate·to·the·client·that·some·alerts·were·dropped. | 2395 | this·_\x8a_\x8l_\x8e_\x8r_\x8t·is·posted·to·indicate·to·the·client·that·some·alerts·were·dropped. |
2396 | Dropped·meaning·that·the·_\x8a_\x8l_\x8e_\x8r_\x8t·failed·to·be·delivered·to·the·client.·The·most | 2396 | Dropped·meaning·that·the·_\x8a_\x8l_\x8e_\x8r_\x8t·failed·to·be·delivered·to·the·client.·The·most |
2397 | common·cause·of·such·failure·is·that·the·internal·_\x8a_\x8l_\x8e_\x8r_\x8t·queue·grew·too·big | 2397 | common·cause·of·such·failure·is·that·the·internal·_\x8a_\x8l_\x8e_\x8r_\x8t·queue·grew·too·big |
2398 | (controlled·by·alert_queue_size). | 2398 | (controlled·by·alert_queue_size). |
2399 | struct·alerts_dropped_alert·final·:·alert | 2399 | struct·alerts_dropped_alert·final·:·alert |
2400 | { | 2400 | { |
2401 | ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override; | ||
2401 | ···s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_a\x8as\x8ss\x8se\x8er\x8rt\x8t·(num_alert_types·<=·abi_alert_count,·"need·to·increase·bitset. | 2402 | ···s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_a\x8as\x8ss\x8se\x8er\x8rt\x8t·(num_alert_types·<=·abi_alert_count,·"need·to·increase·bitset. |
2402 | This·is·an·ABI·break"); | 2403 | This·is·an·ABI·break"); |
2403 | ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override; | ||
2404 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category::error; | 2404 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category::error; |
2405 | ···std::bitset<abi_alert_count>·dropped_alerts; | 2405 | ···std::bitset<abi_alert_count>·dropped_alerts; |
2406 | }; | 2406 | }; |
2407 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 2407 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
2408 | ··dropped_alerts | 2408 | ··dropped_alerts |
2409 | ······a·bitmask·indicating·which·alerts·were·dropped.·Each·bit·represents·the | 2409 | ······a·bitmask·indicating·which·alerts·were·dropped.·Each·bit·represents·the |
Offset 35, 18 lines modified | Offset 35, 18 lines modified | ||
35 | <li><a·class="reference·internal"·href="#bdecode-node"·id="toc-entry-1">bdecode_node</a><ul> | 35 | <li><a·class="reference·internal"·href="#bdecode-node"·id="toc-entry-1">bdecode_node</a><ul> |
36 | <li><a·class="reference·internal"·href="#bdecode-node-1"·id="toc-entry-2">bdecode_node()</a></li> | 36 | <li><a·class="reference·internal"·href="#bdecode-node-1"·id="toc-entry-2">bdecode_node()</a></li> |
37 | <li><a·class="reference·internal"·href="#operator-bdecode-node"·id="toc-entry-3">operator=()·bdecode_node()</a></li> | 37 | <li><a·class="reference·internal"·href="#operator-bdecode-node"·id="toc-entry-3">operator=()·bdecode_node()</a></li> |
38 | <li><a·class="reference·internal"·href="#type"·id="toc-entry-4">type()</a></li> | 38 | <li><a·class="reference·internal"·href="#type"·id="toc-entry-4">type()</a></li> |
39 | <li><a·class="reference·internal"·href="#bool"·id="toc-entry-5">bool()</a></li> | 39 | <li><a·class="reference·internal"·href="#bool"·id="toc-entry-5">bool()</a></li> |
40 | <li><a·class="reference·internal"·href="#non-owning"·id="toc-entry-6">non_owning()</a></li> | 40 | <li><a·class="reference·internal"·href="#non-owning"·id="toc-entry-6">non_owning()</a></li> |
41 | <li><a·class="reference·internal"·href="#data-offset-data-section"·id="toc-entry-7">data_offset()·data_section()</a></li> | 41 | <li><a·class="reference·internal"·href="#data-offset-data-section"·id="toc-entry-7">data_offset()·data_section()</a></li> |
42 | <li><a·class="reference·internal"·href="#list- | 42 | <li><a·class="reference·internal"·href="#list-string-value-at-list-at-list-int-value-at-list-size"·id="toc-entry-8">list_string_value_at()·list_at()·list_int_value_at()·list_size()</a></li> |
43 | <li><a·class="reference·internal"·href="#dict-find- | 43 | <li><a·class="reference·internal"·href="#dict-find-list-dict-find-int-dict-size-dict-find-dict-find-int-value-dict-find-dict-dict-find-string-value-dict-at-dict-at-node-dict-find-string"·id="toc-entry-9">dict_find_list()·dict_find_int()·dict_size()·dict_find()·dict_find_int_value()·dict_find_dict()·dict_fi[·...·truncated·by·diffoscope;·len:·59,·SHA:·abc101d763e6acee4fec3a4ddb9181f2320b3ab640820ff9498f5229a0744986·...·]()</a></li> |
44 | <li><a·class="reference·internal"·href="#int-value"·id="toc-entry-10">int_value()</a></li> | 44 | <li><a·class="reference·internal"·href="#int-value"·id="toc-entry-10">int_value()</a></li> |
45 | <li><a·class="reference·internal"·href="#string- | 45 | <li><a·class="reference·internal"·href="#string-offset-string-ptr-string-value-string-length"·id="toc-entry-11">string_offset()·string_ptr()·string_value()·string_length()</a></li> |
46 | <li><a·class="reference·internal"·href="#clear"·id="toc-entry-12">clear()</a></li> | 46 | <li><a·class="reference·internal"·href="#clear"·id="toc-entry-12">clear()</a></li> |
47 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-13">swap()</a></li> | 47 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-13">swap()</a></li> |
48 | <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-14">reserve()</a></li> | 48 | <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-14">reserve()</a></li> |
49 | <li><a·class="reference·internal"·href="#switch-underlying-buffer"·id="toc-entry-15">switch_underlying_buffer()</a></li> | 49 | <li><a·class="reference·internal"·href="#switch-underlying-buffer"·id="toc-entry-15">switch_underlying_buffer()</a></li> |
50 | <li><a·class="reference·internal"·href="#has-soft-error"·id="toc-entry-16">has_soft_error()</a></li> | 50 | <li><a·class="reference·internal"·href="#has-soft-error"·id="toc-entry-16">has_soft_error()</a></li> |
51 | <li><a·class="reference·internal"·href="#enum-type-t"·id="toc-entry-17">enum·type_t</a></li> | 51 | <li><a·class="reference·internal"·href="#enum-type-t"·id="toc-entry-17">enum·type_t</a></li> |
52 | </ul> | 52 | </ul> |
Offset 62, 46 lines modified | Offset 62, 46 lines modified | ||
62 | to·be·able·to·copy·it·as·a·reference·for·instance).·For·that,·use·the | 62 | to·be·able·to·copy·it·as·a·reference·for·instance).·For·that,·use·the |
63 | <a·class="reference·external"·href="reference-Bdecoding.html#non_owning()">non_owning()</a>·member·function.</p> | 63 | <a·class="reference·external"·href="reference-Bdecoding.html#non_owning()">non_owning()</a>·member·function.</p> |
64 | <p>There·are·5·different·types·of·nodes,·see·<a·class="reference·external"·href="reference-Bdecoding.html#type_t">type_t</a>.</p> | 64 | <p>There·are·5·different·types·of·nodes,·see·<a·class="reference·external"·href="reference-Bdecoding.html#type_t">type_t</a>.</p> |
65 | <pre·class="literal-block"> | 65 | <pre·class="literal-block"> |
66 | struct·bdecode_node | 66 | struct·bdecode_node |
67 | { | 67 | { |
68 | ···<strong>bdecode_node</strong>·()·=·default; | 68 | ···<strong>bdecode_node</strong>·()·=·default; |
69 | ···bdecode_node&·<strong>operator=</strong>·(bdecode_node&&)·&·=·default; | ||
70 | ···bdecode_node&·<strong>operator=</strong>·(bdecode_node·const&)·&; | ||
71 | ···<strong>bdecode_node</strong>·(bdecode_node&&)·noexcept; | 69 | ···<strong>bdecode_node</strong>·(bdecode_node&&)·noexcept; |
72 | ···<strong>bdecode_node</strong>·(bdecode_node·const&); | 70 | ···<strong>bdecode_node</strong>·(bdecode_node·const&); |
71 | ···bdecode_node&·<strong>operator=</strong>·(bdecode_node&&)·&·=·default; | ||
72 | ···bdecode_node&·<strong>operator=</strong>·(bdecode_node·const&)·&; | ||
73 | ···type_t·<strong>type</strong>·()·const·noexcept; | 73 | ···type_t·<strong>type</strong>·()·const·noexcept; |
74 | ···explicit·operator·<strong>bool</strong>·()·const·noexcept; | 74 | ···explicit·operator·<strong>bool</strong>·()·const·noexcept; |
75 | ···bdecode_node·<strong>non_owning</strong>·()·const; | 75 | ···bdecode_node·<strong>non_owning</strong>·()·const; |
76 | ···span<char·const>·<strong>data_section</strong>·()·const·noexcept; | ||
77 | ···std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept; | 76 | ···std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept; |
77 | ···span<char·const>·<strong>data_section</strong>·()·const·noexcept; | ||
78 | ···bdecode_node·<strong>list_at</strong>·(int·i)·const; | ||
79 | ···int·<strong>list_size</strong>·()·const; | ||
80 | ···std::int64_t·<strong>list_int_value_at</strong>·(int·i | 78 | ···std::int64_t·<strong>list_int_value_at</strong>·(int·i |
81 | ······,·std::int64_t·default_val·=·0)·const; | 79 | ······,·std::int64_t·default_val·=·0)·const; |
80 | ···int·<strong>list_size</strong>·()·const; | ||
82 | ···string_view·<strong>list_string_value_at</strong>·(int·i | 81 | ···string_view·<strong>list_string_value_at</strong>·(int·i |
83 | ······,·string_view·default_val·=·string_view())·const; | 82 | ······,·string_view·default_val·=·string_view())·const; |
84 | ···bdecode_node·<strong> | 83 | ···bdecode_node·<strong>list_at</strong>·(int·i)·const; |
85 | ···std::pair<bdecode_node,·bdecode_node>·<strong>dict_at_node</strong>·(int·i)·const; | 84 | ···std::pair<bdecode_node,·bdecode_node>·<strong>dict_at_node</strong>·(int·i)·const; |
86 | ···bdecode_node·<strong>dict_find</strong>·(string_view·key)·const; | ||
87 | ···bdecode_node·<strong>dict_find_int</strong>·(string_view·key)·const; | ||
88 | ···string_view·<strong>dict_find_string_value</strong>·(string_view·key | ||
89 | ······,·string_view·default_value·=·string_view())·const; | ||
90 | ···bdecode_node·<strong>dict_find_list</strong>·(string_view·key)·const; | 85 | ···bdecode_node·<strong>dict_find_list</strong>·(string_view·key)·const; |
86 | ···bdecode_node·<strong>dict_find_int</strong>·(string_view·key)·const; | ||
87 | ···bdecode_node·<strong>dict_find_string</strong>·(string_view·key)·const; | ||
88 | ···bdecode_node·<strong>dict_find</strong>·(string_view·key)·const; | ||
91 | ···std::int64_t·<strong>dict_find_int_value</strong>·(string_view·key | 89 | ···std::int64_t·<strong>dict_find_int_value</strong>·(string_view·key |
92 | ······,·std::int64_t·default_val·=·0)·const; | 90 | ······,·std::int64_t·default_val·=·0)·const; |
91 | ···bdecode_node·<strong>dict_find_dict</strong>·(string_view·key)·const; | ||
93 | ···int·<strong>dict_size</strong>·()·const; | 92 | ···int·<strong>dict_size</strong>·()·const; |
93 | ···string_view·<strong>dict_find_string_value</strong>·(string_view·key | ||
94 | ······,·string_view·default_value·=·string_view())·const; | ||
94 | ···std::pair<string_view,·bdecode_node>·<strong>dict_at</strong>·(int·i)·const; | 95 | ···std::pair<string_view,·bdecode_node>·<strong>dict_at</strong>·(int·i)·const; |
95 | ···bdecode_node·<strong>dict_find_string</strong>·(string_view·key)·const; | ||
96 | ···std::int64_t·<strong>int_value</strong>·()·const; | 96 | ···std::int64_t·<strong>int_value</strong>·()·const; |
97 | ···char·const*·<strong>string_ptr</strong>·()·const; | ||
97 | ···int·<strong>string_length</strong>·()·const; | 98 | ···int·<strong>string_length</strong>·()·const; |
98 | ···std::ptrdiff_t·<strong>string_offset</strong>·()·const; | ||
99 | ···string_view·<strong>string_value</strong>·()·const; | 99 | ···string_view·<strong>string_value</strong>·()·const; |
100 | ··· | 100 | ···std::ptrdiff_t·<strong>string_offset</strong>·()·const; |
101 | ···void·<strong>clear</strong>·(); | 101 | ···void·<strong>clear</strong>·(); |
102 | ···void·<strong>swap</strong>·(bdecode_node&·n); | 102 | ···void·<strong>swap</strong>·(bdecode_node&·n); |
103 | ···void·<strong>reserve</strong>·(int·tokens); | 103 | ···void·<strong>reserve</strong>·(int·tokens); |
104 | ···void·<strong>switch_underlying_buffer</strong>·(char·const*·buf)·noexcept; | 104 | ···void·<strong>switch_underlying_buffer</strong>·(char·const*·buf)·noexcept; |
105 | ···bool·<strong>has_soft_error</strong>·(span<char>·error)·const; | 105 | ···bool·<strong>has_soft_error</strong>·(span<char>·error)·const; |
106 | ···enum·type_t | 106 | ···enum·type_t |
Offset 121, 18 lines modified | Offset 121, 18 lines modified | ||
121 | </pre> | 121 | </pre> |
122 | <p>creates·a·default·constructed·node,·it·will·have·the·type·<tt·class="docutils·literal">none_t</tt>.</p> | 122 | <p>creates·a·default·constructed·node,·it·will·have·the·type·<tt·class="docutils·literal">none_t</tt>.</p> |
123 | <a·name="operator=()"></a> | 123 | <a·name="operator=()"></a> |
124 | <a·name="bdecode_node()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Boperator%3D%28%29+bdecode_node%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Boperator%3D%28%29+bdecode_node%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 124 | <a·name="bdecode_node()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Boperator%3D%28%29+bdecode_node%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Boperator%3D%28%29+bdecode_node%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
125 | <div·class="section"·id="operator-bdecode-node"> | 125 | <div·class="section"·id="operator-bdecode-node"> |
126 | <h2>operator=()·bdecode_node()</h2> | 126 | <h2>operator=()·bdecode_node()</h2> |
127 | <pre·class="literal-block"> | 127 | <pre·class="literal-block"> |
128 | bdecode_node&·<strong>operator=</strong>·(bdecode_node&&)·&·=·default; | ||
129 | bdecode_node&·<strong>operator=</strong>·(bdecode_node·const&)·&; | ||
130 | <strong>bdecode_node</strong>·(bdecode_node&&)·noexcept; | 128 | <strong>bdecode_node</strong>·(bdecode_node&&)·noexcept; |
131 | <strong>bdecode_node</strong>·(bdecode_node·const&); | 129 | <strong>bdecode_node</strong>·(bdecode_node·const&); |
130 | bdecode_node&·<strong>operator=</strong>·(bdecode_node&&)·&·=·default; | ||
131 | bdecode_node&·<strong>operator=</strong>·(bdecode_node·const&)·&; | ||
132 | </pre> | 132 | </pre> |
133 | <p>For·owning·nodes,·the·copy·will·create·a·copy·of·the·tree,·but·the | 133 | <p>For·owning·nodes,·the·copy·will·create·a·copy·of·the·tree,·but·the |
134 | underlying·buffer·remains·the·same.</p> | 134 | underlying·buffer·remains·the·same.</p> |
135 | <a·name="type()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Btype%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Btype%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 135 | <a·name="type()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Btype%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Btype%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
136 | <div·class="section"·id="type"> | 136 | <div·class="section"·id="type"> |
137 | <h2>type()</h2> | 137 | <h2>type()</h2> |
138 | <pre·class="literal-block"> | 138 | <pre·class="literal-block"> |
Offset 155, 66 lines modified | Offset 155, 66 lines modified | ||
155 | <p>return·a·non-owning·reference·to·this·node.·This·is·useful·to·refer·to | 155 | <p>return·a·non-owning·reference·to·this·node.·This·is·useful·to·refer·to |
156 | the·root·node·without·copying·it·in·assignments.</p> | 156 | the·root·node·without·copying·it·in·assignments.</p> |
157 | <a·name="data_offset()"></a> | 157 | <a·name="data_offset()"></a> |
158 | <a·name="data_section()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bdata_offset%28%29+data_section%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bdata_offset%28%29+data_section%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 158 | <a·name="data_section()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bdata_offset%28%29+data_section%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bdata_offset%28%29+data_section%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
159 | <div·class="section"·id="data-offset-data-section"> | 159 | <div·class="section"·id="data-offset-data-section"> |
160 | <h2>data_offset()·data_section()</h2> | 160 | <h2>data_offset()·data_section()</h2> |
161 | <pre·class="literal-block"> | 161 | <pre·class="literal-block"> |
162 | span<char·const>·<strong>data_section</strong>·()·const·noexcept; | ||
163 | std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept; | 162 | std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept; |
163 | span<char·const>·<strong>data_section</strong>·()·const·noexcept; | ||
164 | </pre> | 164 | </pre> |
165 | <p>returns·the·buffer·and·length·of·the·section·in·the·original·bencoded | 165 | <p>returns·the·buffer·and·length·of·the·section·in·the·original·bencoded |
166 | buffer·where·this·node·is·defined.·For·a·dictionary·for·instance,·this | 166 | buffer·where·this·node·is·defined.·For·a·dictionary·for·instance,·this |
167 | starts·with·<tt·class="docutils·literal">d</tt>·and·ends·with·<tt·class="docutils·literal">e</tt>,·and·has·all·the·content·of·the | 167 | starts·with·<tt·class="docutils·literal">d</tt>·and·ends·with·<tt·class="docutils·literal">e</tt>,·and·has·all·the·content·of·the |
168 | dictionary·in·between. | 168 | dictionary·in·between. |
169 | the·<tt·class="docutils·literal">data_offset()</tt>·function·returns·the·byte-offset·to·this·node·in, | 169 | the·<tt·class="docutils·literal">data_offset()</tt>·function·returns·the·byte-offset·to·this·node·in, |
170 | starting·from·the·beginning·of·the·buffer·that·was·parsed.</p> | 170 | starting·from·the·beginning·of·the·buffer·that·was·parsed.</p> |
171 | <a·name="list_at()"></a> | ||
172 | <a·name="list_string_value_at()"></a> | 171 | <a·name="list_string_value_at()"></a> |
173 | <a·name="list_ | 172 | <a·name="list_at()"></a> |
173 | <a·name="list_int_value_at()"></a> | ||
174 | <a·name="list_ | 174 | <a·name="list_size()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Blist_string_value_at%28%29+list_at%28%29+list_int_value_at%28%29+list_size%28%29%5D&labels=documentation&body=Documentation+unde[·...·truncated·by·diffoscope;·len:·108,·SHA:·69cf2dd4354b4d9419290d4040aa7e5cd1356828c06a04d2fa5a71bcec8e9f7a·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
175 | <div·class="section"·id="list- | 175 | <div·class="section"·id="list-string-value-at-list-at-list-int-value-at-list-size"> |
176 | <h2>list_ | 176 | <h2>list_string_value_at()·list_at()·list_int_value_at()·list_size()</h2> |
177 | <pre·class="literal-block"> | 177 | <pre·class="literal-block"> |
178 | bdecode_node·<strong>list_at</strong>·(int·i)·const; | ||
179 | int·<strong>list_size</strong>·()·const; | ||
180 | std::int64_t·<strong>list_int_value_at</strong>·(int·i | 178 | std::int64_t·<strong>list_int_value_at</strong>·(int·i |
181 | ······,·std::int64_t·default_val·=·0)·const; | 179 | ······,·std::int64_t·default_val·=·0)·const; |
Max diff block lines reached; 9494/20698 bytes (45.87%) of diff not shown. |
Offset 6, 20 lines modified | Offset 6, 20 lines modified | ||
6 | ····*·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e | 6 | ····*·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e |
7 | ··········o·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) | 7 | ··········o·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) |
8 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)_\x8·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) | 8 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)_\x8·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) |
9 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) | 9 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) |
10 | ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8) | 10 | ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8) |
11 | ··········o·_\x8n_\x8o_\x8n_\x8__\x8o_\x8w_\x8n_\x8i_\x8n_\x8g_\x8(_\x8) | 11 | ··········o·_\x8n_\x8o_\x8n_\x8__\x8o_\x8w_\x8n_\x8i_\x8n_\x8g_\x8(_\x8) |
12 | ··········o·_\x8d_\x8a_\x8t_\x8a_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8d_\x8a_\x8t_\x8a_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) | 12 | ··········o·_\x8d_\x8a_\x8t_\x8a_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8d_\x8a_\x8t_\x8a_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) |
13 | ··········o·_\x8l_\x8i_\x8s_\x8t_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8a_\x8t_\x8(_\x8)_\x8·_\x8l_\x8i_\x8s_\x8t_\x8__\x8a_\x8t_\x8(_\x8)_\x8·_\x8l_\x8i_\x8s_\x8t_\x8__\x8i_\x8n_\x8t_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8a_\x8t_\x8(_\x8)_\x8·_\x8l_\x8i_\x8s_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) | ||
13 | ··········o·_\x8l_\x8i_\x8s_\x8t_\x8__\x8a_\x8t_\x8(_\x8)_\x8·_\x8l_\x8i_\x8s_\x8t_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8a_\x8t_\x8(_\x8)_\x8·_\x8l_\x8i_\x8s_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)_\x8·_\x8l_\x8i_\x8s_\x8t_\x8__\x8i_\x8n_\x8t_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8a_\x8t_\x8(_\x8) | ||
14 | ··········o·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8i_\x8n_\x8t_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) | ||
15 | ·········· | 14 | ··········o·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.l_.i_.s_.t_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.i_.n_.t_.(_.)_.·_.d_.i_.c_.t_.__.s_.i_.z_.e_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8(_\x8) |
16 | ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8a_. | 15 | ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_.i_.n_.d_.__.i_.n_.t_.__.v_.a_.l_.u_.e_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.d_.i_.c_.t_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.s_.t_.r_.i_.n_.g_.__.v_.a_.l_.u_.e_\x8(_\x8) |
16 | ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8a_\x8t_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8a_\x8t_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8(_\x8) | ||
17 | ··········o·_\x8i_\x8n_\x8t_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8) | 17 | ··········o·_\x8i_\x8n_\x8t_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8) |
18 | ··········o·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8 | 18 | ··········o·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8o_.f_.f_.s_.e_.t_.(_.)_.·_.s_.t_.r_.i_.n_.g_.__.p_.t_.r_.(_.)_.·_.s_.t_.r_.i_.n_.g_.__.v_.a_.l_.u_.e_.(_.)_.·_.s_.t_.r_.i_.n_.g_.__.l_.e_.n_.g_.t_.h_\x8(_\x8) |
19 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8) | 19 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8) |
20 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) | 20 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) |
21 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8(_\x8) | 21 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8(_\x8) |
22 | ··········o·_\x8s_\x8w_\x8i_\x8t_\x8c_\x8h_\x8__\x8u_\x8n_\x8d_\x8e_\x8r_\x8l_\x8y_\x8i_\x8n_\x8g_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8) | 22 | ··········o·_\x8s_\x8w_\x8i_\x8t_\x8c_\x8h_\x8__\x8u_\x8n_\x8d_\x8e_\x8r_\x8l_\x8y_\x8i_\x8n_\x8g_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8) |
23 | ··········o·_\x8h_\x8a_\x8s_\x8__\x8s_\x8o_\x8f_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8(_\x8) | 23 | ··········o·_\x8h_\x8a_\x8s_\x8__\x8s_\x8o_\x8f_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8(_\x8) |
24 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 24 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
25 | ····*·_\x8p_\x8r_\x8i_\x8n_\x8t_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8) | 25 | ····*·_\x8p_\x8r_\x8i_\x8n_\x8t_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8) |
Offset 30, 46 lines modified | Offset 30, 46 lines modified | ||
30 | Sometimes·it's·important·to·get·a·non-owning·reference·to·the·root·node·(·to·be | 30 | Sometimes·it's·important·to·get·a·non-owning·reference·to·the·root·node·(·to·be |
31 | able·to·copy·it·as·a·reference·for·instance).·For·that,·use·the·_\x8n_\x8o_\x8n_\x8__\x8o_\x8w_\x8n_\x8i_\x8n_\x8g_\x8(_\x8) | 31 | able·to·copy·it·as·a·reference·for·instance).·For·that,·use·the·_\x8n_\x8o_\x8n_\x8__\x8o_\x8w_\x8n_\x8i_\x8n_\x8g_\x8(_\x8) |
32 | member·function. | 32 | member·function. |
33 | There·are·5·different·types·of·nodes,·see·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t. | 33 | There·are·5·different·types·of·nodes,·see·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t. |
34 | struct·bdecode_node | 34 | struct·bdecode_node |
35 | { | 35 | { |
36 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·()·=·default; | 36 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·()·=·default; |
37 | ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default; | ||
38 | ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; | ||
39 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept; | 37 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept; |
40 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&); | 38 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&); |
39 | ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default; | ||
40 | ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; | ||
41 | ···type_t·t\x8ty\x8yp\x8pe\x8e·()·const·noexcept; | 41 | ···type_t·t\x8ty\x8yp\x8pe\x8e·()·const·noexcept; |
42 | ···explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const·noexcept; | 42 | ···explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const·noexcept; |
43 | ···bdecode_node·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g·()·const; | 43 | ···bdecode_node·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g·()·const; |
44 | ···span<char·const>·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const·noexcept; | ||
45 | ···std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept; | 44 | ···std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept; |
45 | ···span<char·const>·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const·noexcept; | ||
46 | ···bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const; | ||
47 | ···int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | ||
48 | ···std::int64_t·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i | 46 | ···std::int64_t·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i |
49 | ······,·std::int64_t·default_val·=·0)·const; | 47 | ······,·std::int64_t·default_val·=·0)·const; |
48 | ···int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | ||
50 | ···string_view·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i | 49 | ···string_view·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i |
51 | ······,·string_view·default_val·=·string_view())·const; | 50 | ······,·string_view·default_val·=·string_view())·const; |
52 | ···bdecode_node· | 51 | ···bdecode_node·l.li.is.st.t_._a.at.t·(int·i)·const; |
53 | ···std::pair<bdecode_node,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t_\x8_n\x8no\x8od\x8de\x8e·(int·i)·const; | 52 | ···std::pair<bdecode_node,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t_\x8_n\x8no\x8od\x8de\x8e·(int·i)·const; |
54 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d·(string_view·key)·const; | ||
55 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_i\x8in\x8nt\x8t·(string_view·key)·const; | ||
56 | ···string_view·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(string_view·key | ||
57 | ······,·string_view·default_value·=·string_view())·const; | ||
58 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_l\x8li\x8is\x8st\x8t·(string_view·key)·const; | 53 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_l\x8li\x8is\x8st\x8t·(string_view·key)·const; |
54 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_i\x8in\x8nt\x8t·(string_view·key)·const; | ||
55 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(string_view·key)·const; | ||
56 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d·(string_view·key)·const; | ||
59 | ···std::int64_t·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(string_view·key | 57 | ···std::int64_t·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(string_view·key |
60 | ······,·std::int64_t·default_val·=·0)·const; | 58 | ······,·std::int64_t·default_val·=·0)·const; |
59 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_d\x8di\x8ic\x8ct\x8t·(string_view·key)·const; | ||
61 | ···int·d\x8di\x8ic\x8ct\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | 60 | ···int·d\x8di\x8ic\x8ct\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; |
61 | ···string_view·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(string_view·key | ||
62 | ······,·string_view·default_value·=·string_view())·const; | ||
62 | ···std::pair<string_view,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t·(int·i)·const; | 63 | ···std::pair<string_view,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t·(int·i)·const; |
63 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(string_view·key)·const; | ||
64 | ···std::int64_t·i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·()·const; | 64 | ···std::int64_t·i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·()·const; |
65 | ···char·const*·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_p\x8pt\x8tr\x8r·()·const; | ||
65 | ···int·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | 66 | ···int·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; |
66 | ···std::ptrdiff_t·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const; | ||
67 | ···string_view·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·()·const; | 67 | ···string_view·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·()·const; |
68 | ··· | 68 | ···std::ptrdiff_t·s.st.tr.ri.in.ng.g_._o.of.ff.fs.se.et.t·()·const; |
69 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r·(); | 69 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r·(); |
70 | ···void·s\x8sw\x8wa\x8ap\x8p·(bdecode_node&·n); | 70 | ···void·s\x8sw\x8wa\x8ap\x8p·(bdecode_node&·n); |
71 | ···void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·tokens); | 71 | ···void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·tokens); |
72 | ···void·s\x8sw\x8wi\x8it\x8tc\x8ch\x8h_\x8_u\x8un\x8nd\x8de\x8er\x8rl\x8ly\x8yi\x8in\x8ng\x8g_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r·(char·const*·buf)·noexcept; | 72 | ···void·s\x8sw\x8wi\x8it\x8tc\x8ch\x8h_\x8_u\x8un\x8nd\x8de\x8er\x8rl\x8ly\x8yi\x8in\x8ng\x8g_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r·(char·const*·buf)·noexcept; |
73 | ···bool·h\x8ha\x8as\x8s_\x8_s\x8so\x8of\x8ft\x8t_\x8_e\x8er\x8rr\x8ro\x8or\x8r·(span<char>·error)·const; | 73 | ···bool·h\x8ha\x8as\x8s_\x8_s\x8so\x8of\x8ft\x8t_\x8_e\x8er\x8rr\x8ro\x8or\x8r·(span<char>·error)·const; |
74 | ···enum·type_t | 74 | ···enum·type_t |
Offset 83, 18 lines modified | Offset 83, 18 lines modified | ||
83 | }; | 83 | }; |
84 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 84 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
85 | *\x8**\x8**\x8**\x8**\x8*·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 85 | *\x8**\x8**\x8**\x8**\x8*·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
86 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·()·=·default; | 86 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·()·=·default; |
87 | creates·a·default·constructed·node,·it·will·have·the·type·none_t. | 87 | creates·a·default·constructed·node,·it·will·have·the·type·none_t. |
88 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 88 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
89 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 89 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
90 | bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default; | ||
91 | bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; | ||
92 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept; | 90 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept; |
93 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&); | 91 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&); |
92 | bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default; | ||
93 | bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; | ||
94 | For·owning·nodes,·the·copy·will·create·a·copy·of·the·tree,·but·the·underlying | 94 | For·owning·nodes,·the·copy·will·create·a·copy·of·the·tree,·but·the·underlying |
95 | buffer·remains·the·same. | 95 | buffer·remains·the·same. |
96 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 96 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
97 | *\x8**\x8**\x8**\x8**\x8*·t\x8ty\x8yp\x8pe\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 97 | *\x8**\x8**\x8**\x8**\x8*·t\x8ty\x8yp\x8pe\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
98 | type_t·t\x8ty\x8yp\x8pe\x8e·()·const·noexcept; | 98 | type_t·t\x8ty\x8yp\x8pe\x8e·()·const·noexcept; |
99 | the·type·of·this·node.·See·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t. | 99 | the·type·of·this·node.·See·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t. |
100 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 100 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
Offset 104, 49 lines modified | Offset 104, 49 lines modified | ||
104 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 104 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
105 | *\x8**\x8**\x8**\x8**\x8*·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 105 | *\x8**\x8**\x8**\x8**\x8*·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
106 | bdecode_node·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g·()·const; | 106 | bdecode_node·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g·()·const; |
107 | return·a·non-owning·reference·to·this·node.·This·is·useful·to·refer·to·the·root | 107 | return·a·non-owning·reference·to·this·node.·This·is·useful·to·refer·to·the·root |
108 | node·without·copying·it·in·assignments. | 108 | node·without·copying·it·in·assignments. |
109 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 109 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
110 | *\x8**\x8**\x8**\x8**\x8*·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t(\x8()\x8)·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 110 | *\x8**\x8**\x8**\x8**\x8*·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t(\x8()\x8)·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
111 | span<char·const>·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const·noexcept; | ||
112 | std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept; | 111 | std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept; |
112 | span<char·const>·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const·noexcept; | ||
113 | returns·the·buffer·and·length·of·the·section·in·the·original·bencoded·buffer | 113 | returns·the·buffer·and·length·of·the·section·in·the·original·bencoded·buffer |
114 | where·this·node·is·defined.·For·a·dictionary·for·instance,·this·starts·with·d | 114 | where·this·node·is·defined.·For·a·dictionary·for·instance,·this·starts·with·d |
115 | and·ends·with·e,·and·has·all·the·content·of·the·dictionary·in·between.·the | 115 | and·ends·with·e,·and·has·all·the·content·of·the·dictionary·in·between.·the |
116 | data_offset()·function·returns·the·byte-offset·to·this·node·in,·starting·from | 116 | data_offset()·function·returns·the·byte-offset·to·this·node·in,·starting·from |
117 | the·beginning·of·the·buffer·that·was·parsed. | 117 | the·beginning·of·the·buffer·that·was·parsed. |
118 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 118 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
119 | *\x8**\x8**\x8**\x8**\x8*·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t(\x8()\x8)·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t(\x8()\x8)·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t(\x8()\x8)·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
119 | *\x8**\x8**\x8**\x8**\x8*·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t(\x8()\x8)·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t(\x8()\x8)·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
120 | bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const; | ||
121 | int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | ||
122 | std::int64_t·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i | 120 | std::int64_t·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i |
123 | ······,·std::int64_t·default_val·=·0)·const; | 121 | ······,·std::int64_t·default_val·=·0)·const; |
122 | int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | ||
124 | string_view·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i | 123 | string_view·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i |
125 | ······,·string_view·default_val·=·string_view())·const; | 124 | ······,·string_view·default_val·=·string_view())·const; |
Max diff block lines reached; 5915/15570 bytes (37.99%) of diff not shown. |
Offset 34, 15 lines modified | Offset 34, 15 lines modified | ||
34 | <ul·class="simple"> | 34 | <ul·class="simple"> |
35 | <li><a·class="reference·internal"·href="#entry"·id="toc-entry-1">entry</a><ul> | 35 | <li><a·class="reference·internal"·href="#entry"·id="toc-entry-1">entry</a><ul> |
36 | <li><a·class="reference·internal"·href="#type"·id="toc-entry-2">type()</a></li> | 36 | <li><a·class="reference·internal"·href="#type"·id="toc-entry-2">type()</a></li> |
37 | <li><a·class="reference·internal"·href="#entry-1"·id="toc-entry-3">entry()</a></li> | 37 | <li><a·class="reference·internal"·href="#entry-1"·id="toc-entry-3">entry()</a></li> |
38 | <li><a·class="reference·internal"·href="#entry-2"·id="toc-entry-4">entry()</a></li> | 38 | <li><a·class="reference·internal"·href="#entry-2"·id="toc-entry-4">entry()</a></li> |
39 | <li><a·class="reference·internal"·href="#entry-3"·id="toc-entry-5">entry()</a></li> | 39 | <li><a·class="reference·internal"·href="#entry-3"·id="toc-entry-5">entry()</a></li> |
40 | <li><a·class="reference·internal"·href="#operator"·id="toc-entry-6">operator=()</a></li> | 40 | <li><a·class="reference·internal"·href="#operator"·id="toc-entry-6">operator=()</a></li> |
41 | <li><a·class="reference·internal"·href="# | 41 | <li><a·class="reference·internal"·href="#string-dict-preformatted-integer-list"·id="toc-entry-7">string()·dict()·preformatted()·integer()·list()</a></li> |
42 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-8">swap()</a></li> | 42 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-8">swap()</a></li> |
43 | <li><a·class="reference·internal"·href="#operator-1"·id="toc-entry-9">operator[]()</a></li> | 43 | <li><a·class="reference·internal"·href="#operator-1"·id="toc-entry-9">operator[]()</a></li> |
44 | <li><a·class="reference·internal"·href="#find-key"·id="toc-entry-10">find_key()</a></li> | 44 | <li><a·class="reference·internal"·href="#find-key"·id="toc-entry-10">find_key()</a></li> |
45 | <li><a·class="reference·internal"·href="#to-string"·id="toc-entry-11">to_string()</a></li> | 45 | <li><a·class="reference·internal"·href="#to-string"·id="toc-entry-11">to_string()</a></li> |
46 | <li><a·class="reference·internal"·href="#enum-data-type"·id="toc-entry-12">enum·data_type</a></li> | 46 | <li><a·class="reference·internal"·href="#enum-data-type"·id="toc-entry-12">enum·data_type</a></li> |
47 | </ul> | 47 | </ul> |
48 | </li> | 48 | </li> |
Offset 69, 41 lines modified | Offset 69, 41 lines modified | ||
69 | <p>The·<tt·class="docutils·literal">entry</tt>·class·represents·one·node·in·a·bencoded·hierarchy.·It·works·as·a | 69 | <p>The·<tt·class="docutils·literal">entry</tt>·class·represents·one·node·in·a·bencoded·hierarchy.·It·works·as·a |
70 | variant·type,·it·can·be·either·a·list,·a·dictionary·(<tt·class="docutils·literal"><span·class="pre">std::map</span></tt>),·an·integer | 70 | variant·type,·it·can·be·either·a·list,·a·dictionary·(<tt·class="docutils·literal"><span·class="pre">std::map</span></tt>),·an·integer |
71 | or·a·string.</p> | 71 | or·a·string.</p> |
72 | <pre·class="literal-block"> | 72 | <pre·class="literal-block"> |
73 | class·entry | 73 | class·entry |
74 | { | 74 | { |
75 | ···data_type·<strong>type</strong>·()·const; | 75 | ···data_type·<strong>type</strong>·()·const; |
76 | ···<strong>entry</strong>·(dictionary_type); | ||
77 | ···<strong>entry</strong>·(span<char·const>); | ||
78 | ···<strong>entry</strong>·(integer_type); | ||
79 | ···<strong>entry</strong>·(list_type); | 76 | ···<strong>entry</strong>·(list_type); |
77 | ···<strong>entry</strong>·(integer_type); | ||
80 | ···<strong>entry</strong>·(preformatted_type); | 78 | ···<strong>entry</strong>·(preformatted_type); |
79 | ···<strong>entry</strong>·(span<char·const>); | ||
80 | ···<strong>entry</strong>·(dictionary_type); | ||
81 | ···<strong>entry</strong>·(U·v); | 81 | ···<strong>entry</strong>·(U·v); |
82 | ···<strong>entry</strong>·(data_type·t); | 82 | ···<strong>entry</strong>·(data_type·t); |
83 | ···<strong>entry</strong>·(bdecode_node·const&·n); | 83 | ···<strong>entry</strong>·(bdecode_node·const&·n); |
84 | ···entry&·<strong>operator=</strong>·(entry·const&)·&; | ||
85 | ···entry&·<strong>operator=</strong>·(span<char·const>)·&; | ||
84 | ···entry&·<strong>operator=</strong>·(integer_type)·&; | 86 | ···entry&·<strong>operator=</strong>·(integer_type)·&; |
85 | ···entry&·<strong>operator=</strong>·(dictionary_type)·&; | ||
86 | ···entry&·<strong>operator=</strong>·(list_type)·&; | 87 | ···entry&·<strong>operator=</strong>·(list_type)·&; |
87 | ···entry&·<strong>operator=</strong>·(entry&&)·&·noexcept; | ||
88 | ···entry&·<strong>operator=</strong>·(entry·const&)·&; | ||
89 | ···entry&·<strong>operator=</strong>·(preformatted_type)·&; | 88 | ···entry&·<strong>operator=</strong>·(preformatted_type)·&; |
89 | ···entry&·<strong>operator=</strong>·(entry&&)·&·noexcept; | ||
90 | ···entry&·<strong>operator=</strong>·(dictionary_type)·&; | ||
90 | ···entry&·<strong>operator=</strong>·(bdecode_node·const&)·&; | 91 | ···entry&·<strong>operator=</strong>·(bdecode_node·const&)·&; |
91 | ···entry&·<strong>operator=</strong>·(span<char·const>)·&; | ||
92 | ···entry&·<strong>operator=</strong>·(U·v)·&; | 92 | ···entry&·<strong>operator=</strong>·(U·v)·&; |
93 | ···integer_type·const&·<strong>integer</strong>·()·const; | ||
94 | ···dictionary_type&·<strong>dict</strong>·(); | ||
95 | ···string_type·const&·<strong>string</strong>·()·const; | ||
96 | ···string_type&·<strong>string</strong>·(); | ||
93 | ···dictionary_type·const&·<strong>dict</strong>·()·const; | 97 | ···dictionary_type·const&·<strong>dict</strong>·()·const; |
94 | ···list_type·const&·<strong>list</strong>·()·const; | 98 | ···list_type·const&·<strong>list</strong>·()·const; |
95 | ··· | 99 | ···list_type&·<strong>list</strong>·(); |
96 | ···integer_type·const&·<strong>integer</strong>·()·const; | ||
97 | ···integer_type&·<strong>integer</strong>·(); | 100 | ···integer_type&·<strong>integer</strong>·(); |
98 | ···string_type·const&·<strong>string</strong>·()·const; | ||
99 | ···preformatted_type&·<strong>preformatted</strong>·(); | ||
100 | ···dictionary_type&·<strong>dict</strong>·(); | ||
101 | ···preformatted_type·const&·<strong>preformatted</strong>·()·const; | 101 | ···preformatted_type·const&·<strong>preformatted</strong>·()·const; |
102 | ··· | 102 | ···preformatted_type&·<strong>preformatted</strong>·(); |
103 | ···void·<strong>swap</strong>·(entry&·e); | 103 | ···void·<strong>swap</strong>·(entry&·e); |
104 | ···entry&·<strong>operator[]</strong>·(string_view·key); | 104 | ···entry&·<strong>operator[]</strong>·(string_view·key); |
105 | ···entry·const&·<strong>operator[]</strong>·(string_view·key)·const; | 105 | ···entry·const&·<strong>operator[]</strong>·(string_view·key)·const; |
106 | ···entry·const*·<strong>find_key</strong>·(string_view·key)·const; | 106 | ···entry·const*·<strong>find_key</strong>·(string_view·key)·const; |
107 | ···entry*·<strong>find_key</strong>·(string_view·key); | 107 | ···entry*·<strong>find_key</strong>·(string_view·key); |
108 | ···std::string·<strong>to_string</strong>·(bool·single_line·=·false)·const; | 108 | ···std::string·<strong>to_string</strong>·(bool·single_line·=·false)·const; |
Offset 124, 19 lines modified | Offset 124, 19 lines modified | ||
124 | data_type·<strong>type</strong>·()·const; | 124 | data_type·<strong>type</strong>·()·const; |
125 | </pre> | 125 | </pre> |
126 | <p>returns·the·concrete·type·of·the·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a></p> | 126 | <p>returns·the·concrete·type·of·the·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a></p> |
127 | <a·name="entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Bentry%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Bentry%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 127 | <a·name="entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Bentry%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Bentry%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
128 | <div·class="section"·id="entry-1"> | 128 | <div·class="section"·id="entry-1"> |
129 | <h2>entry()</h2> | 129 | <h2>entry()</h2> |
130 | <pre·class="literal-block"> | 130 | <pre·class="literal-block"> |
131 | <strong>entry</strong>·(dictionary_type); | ||
132 | <strong>entry</strong>·(span<char·const>); | ||
133 | <strong>entry</strong>·(integer_type); | ||
134 | <strong>entry</strong>·(list_type); | 131 | <strong>entry</strong>·(list_type); |
132 | <strong>entry</strong>·(integer_type); | ||
135 | <strong>entry</strong>·(preformatted_type); | 133 | <strong>entry</strong>·(preformatted_type); |
134 | <strong>entry</strong>·(span<char·const>); | ||
135 | <strong>entry</strong>·(dictionary_type); | ||
136 | </pre> | 136 | </pre> |
137 | <p>constructors·directly·from·a·specific·type. | 137 | <p>constructors·directly·from·a·specific·type. |
138 | The·content·of·the·argument·is·copied·into·the | 138 | The·content·of·the·argument·is·copied·into·the |
139 | newly·constructed·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a></p> | 139 | newly·constructed·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a></p> |
140 | <a·name="entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Bentry%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Bentry%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 140 | <a·name="entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Bentry%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Bentry%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
141 | <div·class="section"·id="entry-2"> | 141 | <div·class="section"·id="entry-2"> |
142 | <h2>entry()</h2> | 142 | <h2>entry()</h2> |
Offset 152, 43 lines modified | Offset 152, 43 lines modified | ||
152 | <strong>entry</strong>·(bdecode_node·const&·n); | 152 | <strong>entry</strong>·(bdecode_node·const&·n); |
153 | </pre> | 153 | </pre> |
154 | <p>construct·from·<a·class="reference·external"·href="reference-Bdecoding.html#bdecode_node">bdecode_node</a>·parsed·form·(see·<a·class="reference·external"·href="reference-Bdecoding.html#bdecode()">bdecode()</a>)</p> | 154 | <p>construct·from·<a·class="reference·external"·href="reference-Bdecoding.html#bdecode_node">bdecode_node</a>·parsed·form·(see·<a·class="reference·external"·href="reference-Bdecoding.html#bdecode()">bdecode()</a>)</p> |
155 | <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Boperator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Boperator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 155 | <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Boperator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Boperator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
156 | <div·class="section"·id="operator"> | 156 | <div·class="section"·id="operator"> |
157 | <h2>operator=()</h2> | 157 | <h2>operator=()</h2> |
158 | <pre·class="literal-block"> | 158 | <pre·class="literal-block"> |
159 | entry&·<strong>operator=</strong>·(entry·const&)·&; | ||
160 | entry&·<strong>operator=</strong>·(span<char·const>)·&; | ||
159 | entry&·<strong>operator=</strong>·(integer_type)·&; | 161 | entry&·<strong>operator=</strong>·(integer_type)·&; |
160 | entry&·<strong>operator=</strong>·(dictionary_type)·&; | ||
161 | entry&·<strong>operator=</strong>·(list_type)·&; | 162 | entry&·<strong>operator=</strong>·(list_type)·&; |
162 | entry&·<strong>operator=</strong>·(entry&&)·&·noexcept; | ||
163 | entry&·<strong>operator=</strong>·(entry·const&)·&; | ||
164 | entry&·<strong>operator=</strong>·(preformatted_type)·&; | 163 | entry&·<strong>operator=</strong>·(preformatted_type)·&; |
164 | entry&·<strong>operator=</strong>·(entry&&)·&·noexcept; | ||
165 | entry&·<strong>operator=</strong>·(dictionary_type)·&; | ||
165 | entry&·<strong>operator=</strong>·(bdecode_node·const&)·&; | 166 | entry&·<strong>operator=</strong>·(bdecode_node·const&)·&; |
166 | entry&·<strong>operator=</strong>·(span<char·const>)·&; | ||
167 | </pre> | 167 | </pre> |
168 | <p>copies·the·structure·of·the·right·hand·side·into·this | 168 | <p>copies·the·structure·of·the·right·hand·side·into·this |
169 | <a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>.</p> | 169 | <a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>.</p> |
170 | <a·name="string()"></a> | ||
170 | <a·name="dict()"></a> | 171 | <a·name="dict()"></a> |
171 | <a·name=" | 172 | <a·name="preformatted()"></a> |
172 | <a·name="integer()"></a> | 173 | <a·name="integer()"></a> |
173 | <a·name="string()"></a> | ||
174 | <a·name=" | 174 | <a·name="list()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Bstring%28%29+dict%28%29+preformatted%28%29+integer%28%29+list%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3[·...·truncated·by·diffoscope;·len:·68,·SHA:·00194baca12900a44ea1d085c693c0ec542fc7d7d693df78a4e29dfcd0b55dfa·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
175 | <div·class="section"·id="dict-list-integer-string-preformatted"> | ||
176 | < | 175 | <div·class="section"·id="string-dict-preformatted-integer-list"> |
176 | <h2>string()·dict()·preformatted()·integer()·list()</h2> | ||
177 | <pre·class="literal-block"> | 177 | <pre·class="literal-block"> |
178 | integer_type·const&·<strong>integer</strong>·()·const; | ||
179 | dictionary_type&·<strong>dict</strong>·(); | ||
180 | string_type·const&·<strong>string</strong>·()·const; | ||
Max diff block lines reached; 1199/10194 bytes (11.76%) of diff not shown. |
Offset 5, 15 lines modified | Offset 5, 15 lines modified | ||
5 | Table·of·contents | 5 | Table·of·contents |
6 | ····*·_\x8e_\x8n_\x8t_\x8r_\x8y | 6 | ····*·_\x8e_\x8n_\x8t_\x8r_\x8y |
7 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) | 7 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) |
8 | ··········o·_\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8) | 8 | ··········o·_\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8) |
9 | ··········o·_\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8) | 9 | ··········o·_\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8) |
10 | ··········o·_\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8) | 10 | ··········o·_\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8) |
11 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8) | 11 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8) |
12 | ··········o·_\x8 | 12 | ··········o·_\x8s_.t_.r_.i_.n_.g_.(_.)_.·_.d_.i_.c_.t_.(_.)_.·_.p_.r_.e_.f_.o_.r_.m_.a_.t_.t_.e_.d_.(_.)_.·_.i_.n_.t_.e_.g_.e_.r_.(_.)_.·_.l_.i_.s_.t_\x8(_\x8) |
13 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) | 13 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) |
14 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8) | 14 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8) |
15 | ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8k_\x8e_\x8y_\x8(_\x8) | 15 | ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8k_\x8e_\x8y_\x8(_\x8) |
16 | ··········o·_\x8t_\x8o_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8(_\x8) | 16 | ··········o·_\x8t_\x8o_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8(_\x8) |
17 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8y_\x8p_\x8e | 17 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8y_\x8p_\x8e |
18 | ····*·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<_\x8(_\x8) | 18 | ····*·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<_\x8(_\x8) |
19 | ····*·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8(_\x8) | 19 | ····*·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8(_\x8) |
Offset 35, 41 lines modified | Offset 35, 41 lines modified | ||
35 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p" | 35 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p" |
36 | The·entry·class·represents·one·node·in·a·bencoded·hierarchy.·It·works·as·a | 36 | The·entry·class·represents·one·node·in·a·bencoded·hierarchy.·It·works·as·a |
37 | variant·type,·it·can·be·either·a·list,·a·dictionary·(std::map),·an·integer·or·a | 37 | variant·type,·it·can·be·either·a·list,·a·dictionary·(std::map),·an·integer·or·a |
38 | string. | 38 | string. |
39 | class·entry | 39 | class·entry |
40 | { | 40 | { |
41 | ···data_type·t\x8ty\x8yp\x8pe\x8e·()·const; | 41 | ···data_type·t\x8ty\x8yp\x8pe\x8e·()·const; |
42 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); | ||
43 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>); | ||
44 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type); | ||
45 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(list_type); | 42 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(list_type); |
43 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type); | ||
46 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type); | 44 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type); |
45 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>); | ||
46 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); | ||
47 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(U·v); | 47 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(U·v); |
48 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(data_type·t); | 48 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(data_type·t); |
49 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(bdecode_node·const&·n); | 49 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(bdecode_node·const&·n); |
50 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·const&)·&; | ||
51 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&; | ||
50 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&; | 52 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&; |
51 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&; | ||
52 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&; | 53 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&; |
53 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept; | ||
54 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·const&)·&; | ||
55 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&; | 54 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&; |
55 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept; | ||
56 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&; | ||
56 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; | 57 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; |
57 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&; | ||
58 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(U·v)·&; | 58 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(U·v)·&; |
59 | ···integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const; | ||
60 | ···dictionary_type&·d\x8di\x8ic\x8ct\x8t·(); | ||
61 | ···string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const; | ||
62 | ···string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(); | ||
59 | ···dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; | 63 | ···dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; |
60 | ···list_type·const&·l\x8li\x8is\x8st\x8t·()·const; | 64 | ···list_type·const&·l\x8li\x8is\x8st\x8t·()·const; |
65 | ···list_type&·l\x8li\x8is\x8st\x8t·(); | ||
61 | ···string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(); | ||
62 | ···integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const; | ||
63 | ···integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·(); | 66 | ···integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·(); |
64 | ···string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const; | ||
65 | ···preformatted_type&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·(); | ||
66 | ···dictionary_type&·d\x8di\x8ic\x8ct\x8t·(); | ||
67 | ···preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const; | 67 | ···preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const; |
68 | ··· | 68 | ···preformatted_type&·p.pr.re.ef.fo.or.rm.ma.at.tt.te.ed.d·(); |
69 | ···void·s\x8sw\x8wa\x8ap\x8p·(entry&·e); | 69 | ···void·s\x8sw\x8wa\x8ap\x8p·(entry&·e); |
70 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(string_view·key); | 70 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(string_view·key); |
71 | ···entry·const&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(string_view·key)·const; | 71 | ···entry·const&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(string_view·key)·const; |
72 | ···entry·const*·f\x8fi\x8in\x8nd\x8d_\x8_k\x8ke\x8ey\x8y·(string_view·key)·const; | 72 | ···entry·const*·f\x8fi\x8in\x8nd\x8d_\x8_k\x8ke\x8ey\x8y·(string_view·key)·const; |
73 | ···entry*·f\x8fi\x8in\x8nd\x8d_\x8_k\x8ke\x8ey\x8y·(string_view·key); | 73 | ···entry*·f\x8fi\x8in\x8nd\x8d_\x8_k\x8ke\x8ey\x8y·(string_view·key); |
74 | ···std::string·t\x8to\x8o_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(bool·single_line·=·false)·const; | 74 | ···std::string·t\x8to\x8o_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(bool·single_line·=·false)·const; |
Offset 85, 52 lines modified | Offset 85, 52 lines modified | ||
85 | }; | 85 | }; |
86 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 86 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
87 | *\x8**\x8**\x8**\x8**\x8*·t\x8ty\x8yp\x8pe\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 87 | *\x8**\x8**\x8**\x8**\x8*·t\x8ty\x8yp\x8pe\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
88 | data_type·t\x8ty\x8yp\x8pe\x8e·()·const; | 88 | data_type·t\x8ty\x8yp\x8pe\x8e·()·const; |
89 | returns·the·concrete·type·of·the·_\x8e_\x8n_\x8t_\x8r_\x8y | 89 | returns·the·concrete·type·of·the·_\x8e_\x8n_\x8t_\x8r_\x8y |
90 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 90 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
91 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 91 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
92 | e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); | ||
93 | e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>); | ||
94 | e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type); | ||
95 | e\x8en\x8nt\x8tr\x8ry\x8y·(list_type); | 92 | e\x8en\x8nt\x8tr\x8ry\x8y·(list_type); |
93 | e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type); | ||
96 | e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type); | 94 | e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type); |
95 | e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>); | ||
96 | e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); | ||
97 | constructors·directly·from·a·specific·type.·The·content·of·the·argument·is | 97 | constructors·directly·from·a·specific·type.·The·content·of·the·argument·is |
98 | copied·into·the·newly·constructed·_\x8e_\x8n_\x8t_\x8r_\x8y | 98 | copied·into·the·newly·constructed·_\x8e_\x8n_\x8t_\x8r_\x8y |
99 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 99 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
100 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 100 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
101 | e\x8en\x8nt\x8tr\x8ry\x8y·(data_type·t); | 101 | e\x8en\x8nt\x8tr\x8ry\x8y·(data_type·t); |
102 | construct·an·empty·_\x8e_\x8n_\x8t_\x8r_\x8y·of·the·specified·type.·see·_\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8y_\x8p_\x8e·enum. | 102 | construct·an·empty·_\x8e_\x8n_\x8t_\x8r_\x8y·of·the·specified·type.·see·_\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8y_\x8p_\x8e·enum. |
103 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 103 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
104 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 104 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
105 | e\x8en\x8nt\x8tr\x8ry\x8y·(bdecode_node·const&·n); | 105 | e\x8en\x8nt\x8tr\x8ry\x8y·(bdecode_node·const&·n); |
106 | construct·from·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e·parsed·form·(see·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8(_\x8)) | 106 | construct·from·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e·parsed·form·(see·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8(_\x8)) |
107 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 107 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
108 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 108 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
109 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·const&)·&; | ||
110 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&; | ||
109 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&; | 111 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&; |
110 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&; | ||
111 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&; | 112 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&; |
112 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept; | ||
113 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·const&)·&; | ||
114 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&; | 113 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&; |
114 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept; | ||
115 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&; | ||
115 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; | 116 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; |
116 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&; | ||
117 | copies·the·structure·of·the·right·hand·side·into·this·_\x8e_\x8n_\x8t_\x8r_\x8y. | 117 | copies·the·structure·of·the·right·hand·side·into·this·_\x8e_\x8n_\x8t_\x8r_\x8y. |
118 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 118 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
119 | *\x8**\x8**\x8**\x8**\x8*· | 119 | *\x8**\x8**\x8**\x8**\x8*·s.st.tr.ri.in.ng.g(.().)·d.di.ic.ct.t(.().)·p.pr.re.ef.fo.or.rm.ma.at.tt.te.ed.d(.().)·i.in.nt.te.eg.ge.er.r(.().)·l.li.is.st.t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
120 | integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const; | ||
121 | dictionary_type&·d\x8di\x8ic\x8ct\x8t·(); | ||
122 | string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const; | ||
123 | string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(); | ||
120 | dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; | 124 | dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; |
121 | list_type·const&·l\x8li\x8is\x8st\x8t·()·const; | 125 | list_type·const&·l\x8li\x8is\x8st\x8t·()·const; |
126 | list_type&·l\x8li\x8is\x8st\x8t·(); | ||
122 | string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(); | ||
123 | integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const; | ||
124 | integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·(); | 127 | integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·(); |
125 | string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const; | ||
126 | preformatted_type&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·(); | ||
127 | dictionary_type&·d\x8di\x8ic\x8ct\x8t·(); | ||
128 | preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const; | 128 | preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const; |
129 | 129 | preformatted_type&·p.pr.re.ef.fo.or.rm.ma.at.tt.te.ed.d·(); | |
Max diff block lines reached; 391/7094 bytes (5.51%) of diff not shown. |
Offset 34, 26 lines modified | Offset 34, 26 lines modified | ||
34 | <ul·class="simple"> | 34 | <ul·class="simple"> |
35 | <li><a·class="reference·internal"·href="#peer-info"·id="toc-entry-1">peer_info</a><ul> | 35 | <li><a·class="reference·internal"·href="#peer-info"·id="toc-entry-1">peer_info</a><ul> |
36 | <li><a·class="reference·internal"·href="#i2p-destination"·id="toc-entry-2">i2p_destination()</a></li> | 36 | <li><a·class="reference·internal"·href="#i2p-destination"·id="toc-entry-2">i2p_destination()</a></li> |
37 | </ul> | 37 | </ul> |
38 | </li> | 38 | </li> |
39 | <li><a·class="reference·internal"·href="#info-hash-t"·id="toc-entry-3">info_hash_t</a><ul> | 39 | <li><a·class="reference·internal"·href="#info-hash-t"·id="toc-entry-3">info_hash_t</a><ul> |
40 | <li><a·class="reference·internal"·href="#info-hash-t-1"·id="toc-entry-4">info_hash_t()</a></li> | 40 | <li><a·class="reference·internal"·href="#info-hash-t-1"·id="toc-entry-4">info_hash_t()</a></li> |
41 | <li><a·class="reference·internal"·href="#has-v1-has- | 41 | <li><a·class="reference·internal"·href="#has-v1-has-v2-has"·id="toc-entry-5">has_v1()·has_v2()·has()</a></li> |
42 | <li><a·class="reference·internal"·href="#get"·id="toc-entry-6">get()</a></li> | 42 | <li><a·class="reference·internal"·href="#get"·id="toc-entry-6">get()</a></li> |
43 | <li><a·class="reference·internal"·href="#get-best"·id="toc-entry-7">get_best()</a></li> | 43 | <li><a·class="reference·internal"·href="#get-best"·id="toc-entry-7">get_best()</a></li> |
44 | <li><a·class="reference·internal"·href="#for-each"·id="toc-entry-8">for_each()</a></li> | 44 | <li><a·class="reference·internal"·href="#for-each"·id="toc-entry-8">for_each()</a></li> |
45 | </ul> | 45 | </ul> |
46 | </li> | 46 | </li> |
47 | <li><a·class="reference·internal"·href="#piece-block"·id="toc-entry-9">piece_block</a></li> | 47 | <li><a·class="reference·internal"·href="#piece-block"·id="toc-entry-9">piece_block</a></li> |
48 | <li><a·class="reference·internal"·href="#peer-request"·id="toc-entry-10">peer_request</a><ul> | 48 | <li><a·class="reference·internal"·href="#peer-request"·id="toc-entry-10">peer_request</a><ul> |
49 | <li><a·class="reference·internal"·href="#operator"·id="toc-entry-11">operator==()</a></li> | 49 | <li><a·class="reference·internal"·href="#operator"·id="toc-entry-11">operator==()</a></li> |
50 | </ul> | 50 | </ul> |
51 | </li> | 51 | </li> |
52 | <li><a·class="reference·internal"·href="#load-torrent- | 52 | <li><a·class="reference·internal"·href="#load-torrent-buffer-load-torrent-parsed-load-torrent-file"·id="toc-entry-12">load_torrent_buffer()·load_torrent_parsed()·load_torrent_file()</a></li> |
53 | <li><a·class="reference·internal"·href="#make-magnet-uri"·id="toc-entry-13">make_magnet_uri()</a></li> | 53 | <li><a·class="reference·internal"·href="#make-magnet-uri"·id="toc-entry-13">make_magnet_uri()</a></li> |
54 | <li><a·class="reference·internal"·href="#parse-magnet-uri"·id="toc-entry-14">parse_magnet_uri()</a></li> | 54 | <li><a·class="reference·internal"·href="#parse-magnet-uri"·id="toc-entry-14">parse_magnet_uri()</a></li> |
55 | <li><a·class="reference·internal"·href="#torrent-peer-equal"·id="toc-entry-15">torrent_peer_equal()</a></li> | 55 | <li><a·class="reference·internal"·href="#torrent-peer-equal"·id="toc-entry-15">torrent_peer_equal()</a></li> |
56 | <li><a·class="reference·internal"·href="#truncate-files"·id="toc-entry-16">truncate_files()</a></li> | 56 | <li><a·class="reference·internal"·href="#truncate-files"·id="toc-entry-16">truncate_files()</a></li> |
57 | <li><a·class="reference·internal"·href="#version"·id="toc-entry-17">version()</a></li> | 57 | <li><a·class="reference·internal"·href="#version"·id="toc-entry-17">version()</a></li> |
58 | <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-18">enum·socket_type_t</a></li> | 58 | <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-18">enum·socket_type_t</a></li> |
59 | <li><a·class="reference·internal"·href="#enum-protocol-version"·id="toc-entry-19">enum·protocol_version</a></li> | 59 | <li><a·class="reference·internal"·href="#enum-protocol-version"·id="toc-entry-19">enum·protocol_version</a></li> |
Offset 565, 21 lines modified | Offset 565, 21 lines modified | ||
565 | <p·class="first·admonition-title">Note</p> | 565 | <p·class="first·admonition-title">Note</p> |
566 | <p·class="last">If·<tt·class="docutils·literal">has_v2()</tt>·is·false·then·the·v1·hash·might·actually·be·a·truncated | 566 | <p·class="last">If·<tt·class="docutils·literal">has_v2()</tt>·is·false·then·the·v1·hash·might·actually·be·a·truncated |
567 | v2·hash</p> | 567 | v2·hash</p> |
568 | </div> | 568 | </div> |
569 | <pre·class="literal-block"> | 569 | <pre·class="literal-block"> |
570 | struct·info_hash_t | 570 | struct·info_hash_t |
571 | { | 571 | { |
572 | ···<strong>info_hash_t</strong>·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
573 | ···explicit·<strong>info_hash_t</strong>·(sha256_hash·h2)·noexcept; | 572 | ···explicit·<strong>info_hash_t</strong>·(sha256_hash·h2)·noexcept; |
574 | ···explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept; | 573 | ···explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept; |
575 | ···<strong>info_hash_t</strong>·()·noexcept·=·default; | 574 | ···<strong>info_hash_t</strong>·()·noexcept·=·default; |
576 | ··· | 575 | ···<strong>info_hash_t</strong>·(sha1_hash·h1,·sha256_hash·h2)·noexcept; |
577 | ···bool·<strong>has</strong>·(protocol_version·v)·const; | 576 | ···bool·<strong>has</strong>·(protocol_version·v)·const; |
578 | ···bool·<strong>has_v1</strong>·()·const; | 577 | ···bool·<strong>has_v1</strong>·()·const; |
578 | ···bool·<strong>has_v2</strong>·()·const; | ||
579 | ···sha1_hash·<strong>get</strong>·(protocol_version·v)·const; | 579 | ···sha1_hash·<strong>get</strong>·(protocol_version·v)·const; |
580 | ···sha1_hash·<strong>get_best</strong>·()·const; | 580 | ···sha1_hash·<strong>get_best</strong>·()·const; |
581 | ···friend·bool·<strong>operator!=</strong>·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs); | 581 | ···friend·bool·<strong>operator!=</strong>·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs); |
582 | ···friend·bool·<strong>operator==</strong>·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs)·noexcept; | 582 | ···friend·bool·<strong>operator==</strong>·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs)·noexcept; |
583 | ···template·<typename·F>·void·<strong>for_each</strong>·(F·f)·const; | 583 | ···template·<typename·F>·void·<strong>for_each</strong>·(F·f)·const; |
584 | ···bool·<strong>operator<</strong>·(info_hash_t·const&·o)·const; | 584 | ···bool·<strong>operator<</strong>·(info_hash_t·const&·o)·const; |
585 | ···friend·std::ostream&·<strong>operator<<</strong>·(std::ostream&·os,·info_hash_t·const&·ih); | 585 | ···friend·std::ostream&·<strong>operator<<</strong>·(std::ostream&·os,·info_hash_t·const&·ih); |
Offset 587, 33 lines modified | Offset 587, 33 lines modified | ||
587 | ···sha1_hash·v1; | 587 | ···sha1_hash·v1; |
588 | ···sha256_hash·v2; | 588 | ···sha256_hash·v2; |
589 | }; | 589 | }; |
590 | </pre> | 590 | </pre> |
591 | <a·name="info_hash_t()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:info_hash_t%3A%3A%5Binfo_hash_t%28%29%5D&labels=documentation&body=Documentation+under+heading+%22info_hash_t%3A%3A%5Binfo_hash_t%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="info-hash-t-1"> | 591 | <a·name="info_hash_t()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:info_hash_t%3A%3A%5Binfo_hash_t%28%29%5D&labels=documentation&body=Documentation+under+heading+%22info_hash_t%3A%3A%5Binfo_hash_t%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="info-hash-t-1"> |
592 | <h2>info_hash_t()</h2> | 592 | <h2>info_hash_t()</h2> |
593 | <pre·class="literal-block"> | 593 | <pre·class="literal-block"> |
594 | <strong>info_hash_t</strong>·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
595 | explicit·<strong>info_hash_t</strong>·(sha256_hash·h2)·noexcept; | 594 | explicit·<strong>info_hash_t</strong>·(sha256_hash·h2)·noexcept; |
596 | explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept; | 595 | explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept; |
597 | <strong>info_hash_t</strong>·()·noexcept·=·default; | 596 | <strong>info_hash_t</strong>·()·noexcept·=·default; |
597 | <strong>info_hash_t</strong>·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
598 | </pre> | 598 | </pre> |
599 | <p>The·default·constructor·creates·an·object·that·has·neither·a·v1·or·v2 | 599 | <p>The·default·constructor·creates·an·object·that·has·neither·a·v1·or·v2 |
600 | hash.</p> | 600 | hash.</p> |
601 | <p>For·backwards·compatibility,·make·it·possible·to·construct·directly | 601 | <p>For·backwards·compatibility,·make·it·possible·to·construct·directly |
602 | from·a·v1·hash.·This·constructor·allows·<em>implicit</em>·conversion·from·a | 602 | from·a·v1·hash.·This·constructor·allows·<em>implicit</em>·conversion·from·a |
603 | v1·hash,·but·the·implicitness·is·deprecated.</p> | 603 | v1·hash,·but·the·implicitness·is·deprecated.</p> |
604 | <a·name="has_v1()"></a> | 604 | <a·name="has_v1()"></a> |
605 | <a·name="has()"></a> | 605 | <a·name="has_v2()"></a> |
606 | <a·name="has | 606 | <a·name="has()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:info_hash_t%3A%3A%5Bhas_v1%28%29+has_v2%28%29+has%28%29%5D&labels=documentation&body=Documentation+under+heading+%22info_hash_t%3A%3A%5Bhas_v1%28%29+has_[·...·truncated·by·diffoscope;·len:·12,·SHA:·4be7b83ed153f4ce449986fadc436567c9bf13ce15467f4658d4bcbfe6c58a52·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
607 | <div·class="section"·id="has-v1-has- | 607 | <div·class="section"·id="has-v1-has-v2-has"> |
608 | <h2>has_v1()·has()·has | 608 | <h2>has_v1()·has_v2()·has()</h2> |
609 | <pre·class="literal-block"> | 609 | <pre·class="literal-block"> |
610 | bool·<strong>has_v2</strong>·()·const; | ||
611 | bool·<strong>has</strong>·(protocol_version·v)·const; | 610 | bool·<strong>has</strong>·(protocol_version·v)·const; |
612 | bool·<strong>has_v1</strong>·()·const; | 611 | bool·<strong>has_v1</strong>·()·const; |
612 | bool·<strong>has_v2</strong>·()·const; | ||
613 | </pre> | 613 | </pre> |
614 | <p>returns·true·if·the·corresponding·info·hash·is·present·in·this | 614 | <p>returns·true·if·the·corresponding·info·hash·is·present·in·this |
615 | object.</p> | 615 | object.</p> |
616 | <a·name="get()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:info_hash_t%3A%3A%5Bget%28%29%5D&labels=documentation&body=Documentation+under+heading+%22info_hash_t%3A%3A%5Bget%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 616 | <a·name="get()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:info_hash_t%3A%3A%5Bget%28%29%5D&labels=documentation&body=Documentation+under+heading+%22info_hash_t%3A%3A%5Bget%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
617 | <div·class="section"·id="get"> | 617 | <div·class="section"·id="get"> |
618 | <h2>get()</h2> | 618 | <h2>get()</h2> |
619 | <pre·class="literal-block"> | 619 | <pre·class="literal-block"> |
Offset 643, 16 lines modified | Offset 643, 16 lines modified | ||
643 | </div> | 643 | </div> |
644 | <div·class="section"·id="piece-block"> | 644 | <div·class="section"·id="piece-block"> |
645 | <h1>piece_block</h1> | 645 | <h1>piece_block</h1> |
646 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/piece_block.hpp">libtorrent/piece_block.hpp</a>"</p> | 646 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/piece_block.hpp">libtorrent/piece_block.hpp</a>"</p> |
647 | <pre·class="literal-block"> | 647 | <pre·class="literal-block"> |
648 | struct·piece_block | 648 | struct·piece_block |
649 | { | 649 | { |
650 | ···<strong>piece_block</strong>·(piece_index_t·p_index,·int·b_index); | ||
651 | ···<strong>piece_block</strong>·()·=·default; | 650 | ···<strong>piece_block</strong>·()·=·default; |
651 | ···<strong>piece_block</strong>·(piece_index_t·p_index,·int·b_index); | ||
652 | ···bool·<strong>operator<</strong>·(piece_block·const&·b)·const; | 652 | ···bool·<strong>operator<</strong>·(piece_block·const&·b)·const; |
653 | ···bool·<strong>operator==</strong>·(piece_block·const&·b)·const; | 653 | ···bool·<strong>operator==</strong>·(piece_block·const&·b)·const; |
654 | ···bool·<strong>operator!=</strong>·(piece_block·const&·b)·const; | 654 | ···bool·<strong>operator!=</strong>·(piece_block·const&·b)·const; |
655 | ···static·const·piece_block·invalid; | 655 | ···static·const·piece_block·invalid; |
656 | ···piece_index_t·piece_index·{0}; | 656 | ···piece_index_t·piece_index·{0}; |
657 | ···int·<strong>block_index</strong>··=·0; | 657 | ···int·<strong>block_index</strong>··=·0; |
Offset 689, 34 lines modified | Offset 689, 34 lines modified | ||
689 | <dt>start</dt> | 689 | <dt>start</dt> |
690 | <dd>The·byte·offset·within·that·piece·where·the·range·starts.</dd> | 690 | <dd>The·byte·offset·within·that·piece·where·the·range·starts.</dd> |
691 | </dl> | 691 | </dl> |
692 | <a·name="length"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_request%3A%3A%5Blength%5D&labels=documentation&body=Documentation+under+heading+%22peer_request%3A%3A%5Blength%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | 692 | <a·name="length"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_request%3A%3A%5Blength%5D&labels=documentation&body=Documentation+under+heading+%22peer_request%3A%3A%5Blength%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> |
693 | <dt>length</dt> | 693 | <dt>length</dt> |
694 | <dd>The·size·of·the·range,·in·bytes.</dd> | 694 | <dd>The·size·of·the·range,·in·bytes.</dd> |
695 | </dl> | 695 | </dl> |
696 | <a·name="load_torrent_parsed()"></a> | ||
697 | <a·name="load_torrent_buffer()"></a> | 696 | <a·name="load_torrent_buffer()"></a> |
697 | <a·name="load_torrent_parsed()"></a> | ||
698 | <a·name="load_torrent_file()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:load_torrent_ | 698 | <a·name="load_torrent_file()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:load_torrent_buffer%28%29+load_torrent_parsed%28%29+load_torrent_file%28%29&labels=documentation&body=Documentation+under+heading+%22load_torrent_buffer%28%29+load_torrent_parsed%28%29+load_torrent_file%28%29%22+could+be+improved">report·issue</a>]</span></div> |
699 | </div> | 699 | </div> |
700 | <div·class="section"·id="load-torrent- | 700 | <div·class="section"·id="load-torrent-buffer-load-torrent-parsed-load-torrent-file"> |
701 | <h1>load_torrent_ | 701 | <h1>load_torrent_buffer()·load_torrent_parsed()·load_torrent_file()</h1> |
702 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/load_torrent.hpp">libtorrent/load_torrent.hpp</a>"</p> | 702 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/load_torrent.hpp">libtorrent/load_torrent.hpp</a>"</p> |
703 | <pre·class="literal-block"> | 703 | <pre·class="literal-block"> |
704 | add_torrent_params·<strong>load_torrent_file</strong>·( | 704 | add_torrent_params·<strong>load_torrent_file</strong>·( |
705 | ···std::string·const&·filename | 705 | ···std::string·const&·filename); |
706 | add_torrent_params·<strong>load_torrent_parsed</strong>·( | ||
707 | ···bdecode_node·const&·torrent_file); | ||
706 | add_torrent_params·<strong>load_torrent_parsed</strong>·( | 708 | add_torrent_params·<strong>load_torrent_parsed</strong>·( |
707 | ···bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); | 709 | ···bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); |
710 | add_torrent_params·<strong>load_torrent_buffer</strong>·( | ||
Max diff block lines reached; 4394/14020 bytes (31.34%) of diff not shown. |
Offset 3, 22 lines modified | Offset 3, 22 lines modified | ||
3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 | 3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 |
4 | _\x8h_\x8o_\x8m_\x8e | 4 | _\x8h_\x8o_\x8m_\x8e |
5 | Table·of·contents | 5 | Table·of·contents |
6 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o | 6 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o |
7 | ··········o·_\x8i_\x82_\x8p_\x8__\x8d_\x8e_\x8s_\x8t_\x8i_\x8n_\x8a_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) | 7 | ··········o·_\x8i_\x82_\x8p_\x8__\x8d_\x8e_\x8s_\x8t_\x8i_\x8n_\x8a_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) |
8 | ····*·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t | 8 | ····*·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t |
9 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t_\x8(_\x8) | 9 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t_\x8(_\x8) |
10 | ··········o·_\x8h_\x8a_\x8s_\x8__\x8v_\x81_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8 | 10 | ··········o·_\x8h_\x8a_\x8s_\x8__\x8v_\x81_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8__.v_.2_.(_.)_.·_.h_.a_.s_\x8(_\x8) |
11 | ··········o·_\x8g_\x8e_\x8t_\x8(_\x8) | 11 | ··········o·_\x8g_\x8e_\x8t_\x8(_\x8) |
12 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8e_\x8s_\x8t_\x8(_\x8) | 12 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8e_\x8s_\x8t_\x8(_\x8) |
13 | ··········o·_\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8(_\x8) | 13 | ··········o·_\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8(_\x8) |
14 | ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k | 14 | ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k |
15 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t | 15 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t |
16 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) | 16 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) |
17 | ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8 | 17 | ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8b_.u_.f_.f_.e_.r_.(_.)_.·_.l_.o_.a_.d_.__.t_.o_.r_.r_.e_.n_.t_.__.p_.a_.r_.s_.e_.d_\x8(_\x8)_\x8·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
18 | ····*·_\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | 18 | ····*·_\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) |
19 | ····*·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | 19 | ····*·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) |
20 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) | 20 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) |
21 | ····*·_\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 21 | ····*·_\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
22 | ····*·_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 22 | ····*·_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
23 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 23 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
24 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n | 24 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n |
Offset 413, 48 lines modified | Offset 413, 48 lines modified | ||
413 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8._\x8h_\x8p_\x8p" | 413 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8._\x8h_\x8p_\x8p" |
414 | class·holding·the·info-hash·of·a·torrent.·It·can·hold·a·v1·info-hash·(SHA-1)·or | 414 | class·holding·the·info-hash·of·a·torrent.·It·can·hold·a·v1·info-hash·(SHA-1)·or |
415 | a·v2·info-hash·(SHA-256)·or·both. | 415 | a·v2·info-hash·(SHA-256)·or·both. |
416 | Note | 416 | Note |
417 | If·has_v2()·is·false·then·the·v1·hash·might·actually·be·a·truncated·v2·hash | 417 | If·has_v2()·is·false·then·the·v1·hash·might·actually·be·a·truncated·v2·hash |
418 | struct·info_hash_t | 418 | struct·info_hash_t |
419 | { | 419 | { |
420 | ···i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
421 | ···explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha256_hash·h2)·noexcept; | 420 | ···explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha256_hash·h2)·noexcept; |
422 | ···explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept; | 421 | ···explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept; |
423 | ···i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·()·noexcept·=·default; | 422 | ···i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·()·noexcept·=·default; |
424 | ··· | 423 | ···i.in.nf.fo.o_._h.ha.as.sh.h_._t.t·(sha1_hash·h1,·sha256_hash·h2)·noexcept; |
425 | ···bool·h\x8ha\x8as\x8s·(protocol_version·v)·const; | 424 | ···bool·h\x8ha\x8as\x8s·(protocol_version·v)·const; |
426 | ···bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const; | 425 | ···bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const; |
426 | ···bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const; | ||
427 | ···sha1_hash·g\x8ge\x8et\x8t·(protocol_version·v)·const; | 427 | ···sha1_hash·g\x8ge\x8et\x8t·(protocol_version·v)·const; |
428 | ···sha1_hash·g\x8ge\x8et\x8t_\x8_b\x8be\x8es\x8st\x8t·()·const; | 428 | ···sha1_hash·g\x8ge\x8et\x8t_\x8_b\x8be\x8es\x8st\x8t·()·const; |
429 | ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs); | 429 | ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs); |
430 | ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs) | 430 | ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs) |
431 | noexcept; | 431 | noexcept; |
432 | ···template·<typename·F>·void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(F·f)·const; | 432 | ···template·<typename·F>·void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(F·f)·const; |
433 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<·(info_hash_t·const&·o)·const; | 433 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<·(info_hash_t·const&·o)·const; |
434 | ···friend·std::ostream&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<<\x8<·(std::ostream&·os,·info_hash_t·const&·ih); | 434 | ···friend·std::ostream&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<<\x8<·(std::ostream&·os,·info_hash_t·const&·ih); |
435 | ···sha1_hash·v1; | 435 | ···sha1_hash·v1; |
436 | ···sha256_hash·v2; | 436 | ···sha256_hash·v2; |
437 | }; | 437 | }; |
438 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 438 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
439 | *\x8**\x8**\x8**\x8**\x8*·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 439 | *\x8**\x8**\x8**\x8**\x8*·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
440 | i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
441 | explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha256_hash·h2)·noexcept; | 440 | explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha256_hash·h2)·noexcept; |
442 | explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept; | 441 | explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept; |
443 | i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·()·noexcept·=·default; | 442 | i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·()·noexcept·=·default; |
443 | i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
444 | The·default·constructor·creates·an·object·that·has·neither·a·v1·or·v2·hash. | 444 | The·default·constructor·creates·an·object·that·has·neither·a·v1·or·v2·hash. |
445 | For·backwards·compatibility,·make·it·possible·to·construct·directly·from·a·v1 | 445 | For·backwards·compatibility,·make·it·possible·to·construct·directly·from·a·v1 |
446 | hash.·This·constructor·allows·i\x8im\x8mp\x8pl\x8li\x8ic\x8ci\x8it\x8t·conversion·from·a·v1·hash,·but·the | 446 | hash.·This·constructor·allows·i\x8im\x8mp\x8pl\x8li\x8ic\x8ci\x8it\x8t·conversion·from·a·v1·hash,·but·the |
447 | implicitness·is·deprecated. | 447 | implicitness·is·deprecated. |
448 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 448 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
449 | *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8s_\x8_v\x8v1\x81(\x8()\x8)·h\x8ha\x8as\x8s | 449 | *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8s_\x8_v\x8v1\x81(\x8()\x8)·h\x8ha\x8as\x8s_._v.v2.2(.().)·h.ha.as.s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
450 | bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const; | ||
451 | bool·h\x8ha\x8as\x8s·(protocol_version·v)·const; | 450 | bool·h\x8ha\x8as\x8s·(protocol_version·v)·const; |
452 | bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const; | 451 | bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const; |
452 | bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const; | ||
453 | returns·true·if·the·corresponding·info·hash·is·present·in·this·object. | 453 | returns·true·if·the·corresponding·info·hash·is·present·in·this·object. |
454 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 454 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
455 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 455 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
456 | sha1_hash·g\x8ge\x8et\x8t·(protocol_version·v)·const; | 456 | sha1_hash·g\x8ge\x8et\x8t·(protocol_version·v)·const; |
457 | returns·the·has·for·the·specified·protocol·version | 457 | returns·the·has·for·the·specified·protocol·version |
458 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 458 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
459 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t_\x8_b\x8be\x8es\x8st\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 459 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t_\x8_b\x8be\x8es\x8st\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
Offset 468, 16 lines modified | Offset 468, 16 lines modified | ||
468 | The·signature·of·F·is: | 468 | The·signature·of·F·is: |
469 | void(sha1_hash·const&,·protocol_version); | 469 | void(sha1_hash·const&,·protocol_version); |
470 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 470 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
471 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·*\x8**\x8**\x8**\x8**\x8**\x8* | 471 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·*\x8**\x8**\x8**\x8**\x8**\x8* |
472 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8._\x8h_\x8p_\x8p" | 472 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8._\x8h_\x8p_\x8p" |
473 | struct·piece_block | 473 | struct·piece_block |
474 | { | 474 | { |
475 | ···p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·p_index,·int·b_index); | ||
476 | ···p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·()·=·default; | 475 | ···p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·()·=·default; |
476 | ···p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·p_index,·int·b_index); | ||
477 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<·(piece_block·const&·b)·const; | 477 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<·(piece_block·const&·b)·const; |
478 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(piece_block·const&·b)·const; | 478 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(piece_block·const&·b)·const; |
479 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(piece_block·const&·b)·const; | 479 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(piece_block·const&·b)·const; |
480 | ···static·const·piece_block·invalid; | 480 | ···static·const·piece_block·invalid; |
481 | ···piece_index_t·piece_index·{0}; | 481 | ···piece_index_t·piece_index·{0}; |
482 | ···int·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_i\x8in\x8nd\x8de\x8ex\x8x··=·0; | 482 | ···int·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_i\x8in\x8nd\x8de\x8ex\x8x··=·0; |
Offset 506, 41 lines modified | Offset 506, 41 lines modified | ||
506 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 506 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
507 | ··start | 507 | ··start |
508 | ······The·byte·offset·within·that·piece·where·the·range·starts. | 508 | ······The·byte·offset·within·that·piece·where·the·range·starts. |
509 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 509 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
510 | ··length | 510 | ··length |
511 | ······The·size·of·the·range,·in·bytes. | 511 | ······The·size·of·the·range,·in·bytes. |
512 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 512 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
513 | *\x8**\x8**\x8**\x8**\x8**\x8*·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_ | 513 | *\x8**\x8**\x8**\x8**\x8**\x8*·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_b.bu.uf.ff.fe.er.r(.().)·l.lo.oa.ad.d_._t.to.or.rr.re.en.nt.t_._p.pa.ar.rs.se.ed.d(\x8()\x8)·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
514 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8._\x8h_\x8p_\x8p" | 514 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8._\x8h_\x8p_\x8p" |
515 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·( | 515 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·( |
516 | ···std::string·const&·filename | 516 | ···std::string·const&·filename); |
517 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_p\x8pa\x8ar\x8rs\x8se\x8ed\x8d·( | ||
518 | ···bdecode_node·const&·torrent_file); | ||
517 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_p\x8pa\x8ar\x8rs\x8se\x8ed\x8d·( | 519 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_p\x8pa\x8ar\x8rs\x8se\x8ed\x8d·( |
518 | ···bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); | 520 | ···bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); |
521 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r·( | ||
522 | ···span<char·const>·buffer); | ||
519 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·( | 523 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·( |
520 | ···std::string·const&·filename); | 524 | ···std::string·const&·filename,·load_torrent_limits·const&·cfg); |
521 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r·( | 525 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r·( |
522 | ···span<char·const>·buffer,·load_torrent_limits·const&·cfg); | 526 | ···span<char·const>·buffer,·load_torrent_limits·const&·cfg); |
523 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r·( | ||
524 | ···span<char·const>·buffer); | ||
525 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_p\x8pa\x8ar\x8rs\x8se\x8ed\x8d·( | ||
526 | ···bdecode_node·const&·torrent_file); | ||
527 | These·functions·load·the·content·of·a·.torrent·file·into·an·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s | 527 | These·functions·load·the·content·of·a·.torrent·file·into·an·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s |
528 | object.·The·immutable·part·of·a·torrent·file·(the·info-dictionary)·is·stored·in | 528 | object.·The·immutable·part·of·a·torrent·file·(the·info-dictionary)·is·stored·in |
529 | the·ti·field·in·the·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object·(as·a·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·object).·The | 529 | the·ti·field·in·the·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object·(as·a·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·object).·The |
530 | returned·object·is·suitable·to·be: | 530 | returned·object·is·suitable·to·be: |
531 | ·········*·added·to·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·via·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)·or·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 531 | ·········*·added·to·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·via·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)·or·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
532 | ·········*·saved·as·a·.torrent_file·via·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 532 | ·········*·saved·as·a·.torrent_file·via·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
533 | ·········*·turned·into·a·magnet·link·via·_\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | 533 | ·········*·turned·into·a·magnet·link·via·_\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) |
534 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 534 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
535 | *\x8**\x8**\x8**\x8**\x8**\x8*·m\x8ma\x8ak\x8ke\x8e_\x8_m\x8ma\x8ag\x8gn\x8ne\x8et\x8t_\x8_u\x8ur\x8ri\x8i(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | 535 | *\x8**\x8**\x8**\x8**\x8**\x8*·m\x8ma\x8ak\x8ke\x8e_\x8_m\x8ma\x8ag\x8gn\x8ne\x8et\x8t_\x8_u\x8ur\x8ri\x8i(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
Max diff block lines reached; 2283/10425 bytes (21.90%) of diff not shown. |
Offset 30, 32 lines modified | Offset 30, 32 lines modified | ||
30 | </table> | 30 | </table> |
31 | <p><a·class="reference·external"·href="reference.html">home</a></p> | 31 | <p><a·class="reference·external"·href="reference.html">home</a></p> |
32 | <div·class="contents·topic"·id="table-of-contents"> | 32 | <div·class="contents·topic"·id="table-of-contents"> |
33 | <p·class="topic-title">Table·of·contents</p> | 33 | <p·class="topic-title">Table·of·contents</p> |
34 | <ul·class="simple"> | 34 | <ul·class="simple"> |
35 | <li><a·class="reference·internal"·href="#create-torrent"·id="toc-entry-1">create_torrent</a><ul> | 35 | <li><a·class="reference·internal"·href="#create-torrent"·id="toc-entry-1">create_torrent</a><ul> |
36 | <li><a·class="reference·internal"·href="#create-torrent-1"·id="toc-entry-2">create_torrent()</a></li> | 36 | <li><a·class="reference·internal"·href="#create-torrent-1"·id="toc-entry-2">create_torrent()</a></li> |
37 | <li><a·class="reference·internal"·href="#generate-generate | 37 | <li><a·class="reference·internal"·href="#generate-buf-generate"·id="toc-entry-3">generate_buf()·generate()</a></li> |
38 | <li><a·class="reference·internal"·href="#files"·id="toc-entry-4">files()</a></li> | 38 | <li><a·class="reference·internal"·href="#files"·id="toc-entry-4">files()</a></li> |
39 | <li><a·class="reference·internal"·href="#set-comment"·id="toc-entry-5">set_comment()</a></li> | 39 | <li><a·class="reference·internal"·href="#set-comment"·id="toc-entry-5">set_comment()</a></li> |
40 | <li><a·class="reference·internal"·href="#set-creator"·id="toc-entry-6">set_creator()</a></li> | 40 | <li><a·class="reference·internal"·href="#set-creator"·id="toc-entry-6">set_creator()</a></li> |
41 | <li><a·class="reference·internal"·href="#set-creation-date"·id="toc-entry-7">set_creation_date()</a></li> | 41 | <li><a·class="reference·internal"·href="#set-creation-date"·id="toc-entry-7">set_creation_date()</a></li> |
42 | <li><a·class="reference·internal"·href="#set-hash"·id="toc-entry-8">set_hash()</a></li> | 42 | <li><a·class="reference·internal"·href="#set-hash"·id="toc-entry-8">set_hash()</a></li> |
43 | <li><a·class="reference·internal"·href="#set-hash2"·id="toc-entry-9">set_hash2()</a></li> | 43 | <li><a·class="reference·internal"·href="#set-hash2"·id="toc-entry-9">set_hash2()</a></li> |
44 | <li><a·class="reference·internal"·href="#add-http-seed-add-url-seed"·id="toc-entry-10">add_http_seed()·add_url_seed()</a></li> | 44 | <li><a·class="reference·internal"·href="#add-http-seed-add-url-seed"·id="toc-entry-10">add_http_seed()·add_url_seed()</a></li> |
45 | <li><a·class="reference·internal"·href="#add-node"·id="toc-entry-11">add_node()</a></li> | 45 | <li><a·class="reference·internal"·href="#add-node"·id="toc-entry-11">add_node()</a></li> |
46 | <li><a·class="reference·internal"·href="#add-tracker"·id="toc-entry-12">add_tracker()</a></li> | 46 | <li><a·class="reference·internal"·href="#add-tracker"·id="toc-entry-12">add_tracker()</a></li> |
47 | <li><a·class="reference·internal"·href="#set-root-cert"·id="toc-entry-13">set_root_cert()</a></li> | 47 | <li><a·class="reference·internal"·href="#set-root-cert"·id="toc-entry-13">set_root_cert()</a></li> |
48 | <li><a·class="reference·internal"·href="# | 48 | <li><a·class="reference·internal"·href="#priv-set-priv"·id="toc-entry-14">priv()·set_priv()</a></li> |
49 | <li><a·class="reference·internal"·href="#num-pieces"·id="toc-entry-15">num_pieces()</a></li> | 49 | <li><a·class="reference·internal"·href="#num-pieces"·id="toc-entry-15">num_pieces()</a></li> |
50 | <li><a·class="reference·internal"·href="#piece-range"·id="toc-entry-16">piece_range()</a></li> | 50 | <li><a·class="reference·internal"·href="#piece-range"·id="toc-entry-16">piece_range()</a></li> |
51 | <li><a·class="reference·internal"·href="#file-range"·id="toc-entry-17">file_range()</a></li> | 51 | <li><a·class="reference·internal"·href="#file-range"·id="toc-entry-17">file_range()</a></li> |
52 | <li><a·class="reference·internal"·href="#file-piece-range"·id="toc-entry-18">file_piece_range()</a></li> | 52 | <li><a·class="reference·internal"·href="#file-piece-range"·id="toc-entry-18">file_piece_range()</a></li> |
53 | <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-19">total_size()</a></li> | 53 | <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-19">total_size()</a></li> |
54 | <li><a·class="reference·internal"·href="#piece- | 54 | <li><a·class="reference·internal"·href="#piece-length-piece-size"·id="toc-entry-20">piece_length()·piece_size()</a></li> |
55 | <li><a·class="reference·internal"·href="#add-collection-add-similar-torrent"·id="toc-entry-21">add_collection()·add_similar_torrent()</a></li> | 55 | <li><a·class="reference·internal"·href="#add-collection-add-similar-torrent"·id="toc-entry-21">add_collection()·add_similar_torrent()</a></li> |
56 | </ul> | 56 | </ul> |
57 | </li> | 57 | </li> |
58 | <li><a·class="reference·internal"·href="#add-files"·id="toc-entry-22">add_files()</a></li> | 58 | <li><a·class="reference·internal"·href="#add-files"·id="toc-entry-22">add_files()</a></li> |
59 | <li><a·class="reference·internal"·href="#set-piece-hashes"·id="toc-entry-23">set_piece_hashes()</a></li> | 59 | <li><a·class="reference·internal"·href="#set-piece-hashes"·id="toc-entry-23">set_piece_hashes()</a></li> |
60 | </ul> | 60 | </ul> |
61 | </div> | 61 | </div> |
Offset 121, 29 lines modified | Offset 121, 29 lines modified | ||
121 | ···void·<strong>set_hash</strong>·(piece_index_t·index,·sha1_hash·const&·h); | 121 | ···void·<strong>set_hash</strong>·(piece_index_t·index,·sha1_hash·const&·h); |
122 | ···void·<strong>set_hash2</strong>·(file_index_t·file,·piece_index_t::diff_type·piece,·sha256_hash·const&·h); | 122 | ···void·<strong>set_hash2</strong>·(file_index_t·file,·piece_index_t::diff_type·piece,·sha256_hash·const&·h); |
123 | ···void·<strong>add_url_seed</strong>·(string_view·url); | 123 | ···void·<strong>add_url_seed</strong>·(string_view·url); |
124 | ···void·<strong>add_http_seed</strong>·(string_view·url); | 124 | ···void·<strong>add_http_seed</strong>·(string_view·url); |
125 | ···void·<strong>add_node</strong>·(std::pair<std::string,·int>·node); | 125 | ···void·<strong>add_node</strong>·(std::pair<std::string,·int>·node); |
126 | ···void·<strong>add_tracker</strong>·(string_view·url,·int·tier·=·0); | 126 | ···void·<strong>add_tracker</strong>·(string_view·url,·int·tier·=·0); |
127 | ···void·<strong>set_root_cert</strong>·(string_view·cert); | 127 | ···void·<strong>set_root_cert</strong>·(string_view·cert); |
128 | ···bool·<strong>priv</strong>·()·const; | ||
129 | ···void·<strong>set_priv</strong>·(bool·p); | 128 | ···void·<strong>set_priv</strong>·(bool·p); |
129 | ···bool·<strong>priv</strong>·()·const; | ||
130 | ···bool·<strong>is_v1_only</strong>·()·const; | 130 | ···bool·<strong>is_v1_only</strong>·()·const; |
131 | ···bool·<strong>is_v2_only</strong>·()·const; | 131 | ···bool·<strong>is_v2_only</strong>·()·const; |
132 | ···int·<strong>num_pieces</strong>·()·const; | 132 | ···int·<strong>num_pieces</strong>·()·const; |
133 | ···piece_index_t·<strong>end_piece</strong>·()·const; | 133 | ···piece_index_t·<strong>end_piece</strong>·()·const; |
134 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const·noexcept; | 134 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const·noexcept; |
135 | ···file_index_t·<strong>end_file</strong>·()·const; | 135 | ···file_index_t·<strong>end_file</strong>·()·const; |
136 | ···index_range<file_index_t>·<strong>file_range</strong>·()·const·noexcept; | 136 | ···index_range<file_index_t>·<strong>file_range</strong>·()·const·noexcept; |
137 | ···index_range<piece_index_t::diff_type>·<strong>file_piece_range</strong>·(file_index_t·f); | 137 | ···index_range<piece_index_t::diff_type>·<strong>file_piece_range</strong>·(file_index_t·f); |
138 | ···std::int64_t·<strong>total_size</strong>·()·const; | 138 | ···std::int64_t·<strong>total_size</strong>·()·const; |
139 | ···int·<strong>piece_length</strong>·()·const; | ||
140 | ···int·<strong>piece_size</strong>·(piece_index_t·i)·const; | 139 | ···int·<strong>piece_size</strong>·(piece_index_t·i)·const; |
141 | ··· | 140 | ···int·<strong>piece_length</strong>·()·const; |
142 | ···void·<strong>add_similar_torrent</strong>·(sha1_hash·ih); | 141 | ···void·<strong>add_similar_torrent</strong>·(sha1_hash·ih); |
142 | ···void·<strong>add_collection</strong>·(string_view·c); | ||
143 | ···static·constexpr·create_flags_t·<strong>modification_time</strong>··=·2_bit; | 143 | ···static·constexpr·create_flags_t·<strong>modification_time</strong>··=·2_bit; |
144 | ···static·constexpr·create_flags_t·<strong>symlinks</strong>··=·3_bit; | 144 | ···static·constexpr·create_flags_t·<strong>symlinks</strong>··=·3_bit; |
145 | ···static·constexpr·create_flags_t·<strong>v2_only</strong>··=·5_bit; | 145 | ···static·constexpr·create_flags_t·<strong>v2_only</strong>··=·5_bit; |
146 | ···static·constexpr·create_flags_t·<strong>v1_only</strong>··=·6_bit; | 146 | ···static·constexpr·create_flags_t·<strong>v1_only</strong>··=·6_bit; |
147 | ···static·constexpr·create_flags_t·<strong>canonical_files</strong>··=·7_bit; | 147 | ···static·constexpr·create_flags_t·<strong>canonical_files</strong>··=·7_bit; |
148 | ···static·constexpr·create_flags_t·<strong>no_attributes</strong>··=·8_bit; | 148 | ···static·constexpr·create_flags_t·<strong>no_attributes</strong>··=·8_bit; |
Offset 173, 18 lines modified | Offset 173, 18 lines modified | ||
173 | have·any·affect.·Instead·of·using·this·overload,·consider·using | 173 | have·any·affect.·Instead·of·using·this·overload,·consider·using |
174 | <a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_file()">write_torrent_file()</a>·instead.</p> | 174 | <a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_file()">write_torrent_file()</a>·instead.</p> |
175 | <div·class="admonition·warning"> | 175 | <div·class="admonition·warning"> |
176 | <p·class="first·admonition-title">Warning</p> | 176 | <p·class="first·admonition-title">Warning</p> |
177 | <p·class="last">The·<a·class="reference·external"·href="reference-Storage.html#file_storage">file_storage</a>·and·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·objects·must·stay·alive·for·the | 177 | <p·class="last">The·<a·class="reference·external"·href="reference-Storage.html#file_storage">file_storage</a>·and·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·objects·must·stay·alive·for·the |
178 | entire·duration·of·the·<a·class="reference·external"·href="reference-Create_Torrents.html#create_torrent">create_torrent</a>·object.</p> | 178 | entire·duration·of·the·<a·class="reference·external"·href="reference-Create_Torrents.html#create_torrent">create_torrent</a>·object.</p> |
179 | </div> | 179 | </div> |
180 | <a·name="generate()"></a> | 180 | <a·name="generate_buf()"></a> |
181 | <a·name="generate | 181 | <a·name="generate()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bgenerate_buf%28%29+generate%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bgenerate_buf%[·...·truncated·by·diffoscope;·len:·14,·SHA:·da7ff81a04108ddc9d51fa94f7c6bf16b3b4e092fb43062679c84423292b8802·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
182 | <div·class="section"·id="generate-generate | 182 | <div·class="section"·id="generate-buf-generate"> |
183 | <h2>generate()·generate | 183 | <h2>generate_buf()·generate()</h2> |
184 | <pre·class="literal-block"> | 184 | <pre·class="literal-block"> |
185 | entry·<strong>generate</strong>·()·const; | 185 | entry·<strong>generate</strong>·()·const; |
186 | std::vector<char>·<strong>generate_buf</strong>·()·const; | 186 | std::vector<char>·<strong>generate_buf</strong>·()·const; |
187 | </pre> | 187 | </pre> |
188 | <p>This·function·will·generate·the·.torrent·file·as·a·bencode·tree,·or·a | 188 | <p>This·function·will·generate·the·.torrent·file·as·a·bencode·tree,·or·a |
189 | bencoded·into·a·buffer. | 189 | bencoded·into·a·buffer. |
190 | In·order·to·encode·the·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>·into·a·flat·file,·use·the·<a·class="reference·external"·href="reference-Bencoding.html#bencode()">bencode()</a>·function.</p> | 190 | In·order·to·encode·the·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>·into·a·flat·file,·use·the·<a·class="reference·external"·href="reference-Bencoding.html#bencode()">bencode()</a>·function.</p> |
Offset 318, 21 lines modified | Offset 318, 21 lines modified | ||
318 | </pre> | 318 | </pre> |
319 | <p>This·function·sets·an·X.509·certificate·in·PEM·format·to·the·torrent.·This·makes·the | 319 | <p>This·function·sets·an·X.509·certificate·in·PEM·format·to·the·torrent.·This·makes·the |
320 | torrent·an·<em>SSL·torrent</em>.·An·SSL·torrent·requires·that·each·peer·has·a·valid·certificate | 320 | torrent·an·<em>SSL·torrent</em>.·An·SSL·torrent·requires·that·each·peer·has·a·valid·certificate |
321 | signed·by·this·root·certificate.·For·SSL·torrents,·all·peers·are·connecting·over·SSL | 321 | signed·by·this·root·certificate.·For·SSL·torrents,·all·peers·are·connecting·over·SSL |
322 | connections.·For·more·information,·see·the·section·on·<a·class="reference·external"·href="manual-ref.html#ssl-torrents">ssl·torrents</a>.</p> | 322 | connections.·For·more·information,·see·the·section·on·<a·class="reference·external"·href="manual-ref.html#ssl-torrents">ssl·torrents</a>.</p> |
323 | <p>The·string·is·not·the·path·to·the·cert,·it's·the·actual·content·of·the | 323 | <p>The·string·is·not·the·path·to·the·cert,·it's·the·actual·content·of·the |
324 | certificate.</p> | 324 | certificate.</p> |
325 | <a·name=" | 325 | <a·name="priv()"></a> |
326 | <a·name="priv()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5B | 326 | <a·name="set_priv()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bpriv%28%29+set_priv%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bpriv%28%29+se[·...·truncated·by·diffoscope;·len:·2,·SHA:·032beb669f27bd2bbc9f02b3546079a3a7ce253bc0fc0ef590cc76f040ec384c·...·]priv%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
327 | <div·class="section"·id=" | 327 | <div·class="section"·id="priv-set-priv"> |
328 | <h2> | 328 | <h2>priv()·set_priv()</h2> |
329 | <pre·class="literal-block"> | 329 | <pre·class="literal-block"> |
330 | bool·<strong>priv</strong>·()·const; | ||
331 | void·<strong>set_priv</strong>·(bool·p); | 330 | void·<strong>set_priv</strong>·(bool·p); |
331 | bool·<strong>priv</strong>·()·const; | ||
332 | </pre> | 332 | </pre> |
333 | <p>Sets·and·queries·the·private·flag·of·the·torrent. | 333 | <p>Sets·and·queries·the·private·flag·of·the·torrent. |
334 | Torrents·with·the·private·flag·set·ask·the·client·to·not·use·any·other | 334 | Torrents·with·the·private·flag·set·ask·the·client·to·not·use·any·other |
335 | sources·than·the·tracker·for·peers,·and·to·not·use·DHT·to·advertise·itself·publicly, | 335 | sources·than·the·tracker·for·peers,·and·to·not·use·DHT·to·advertise·itself·publicly, |
336 | only·the·tracker.</p> | 336 | only·the·tracker.</p> |
337 | <a·name="num_pieces()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bnum_pieces%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bnum_pieces%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 337 | <a·name="num_pieces()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bnum_pieces%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bnum_pieces%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
338 | <div·class="section"·id="num-pieces"> | 338 | <div·class="section"·id="num-pieces"> |
Offset 367, 32 lines modified | Offset 367, 32 lines modified | ||
367 | <a·name="total_size()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Btotal_size%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Btotal_size%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 367 | <a·name="total_size()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Btotal_size%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Btotal_size%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
368 | <div·class="section"·id="total-size"> | 368 | <div·class="section"·id="total-size"> |
369 | <h2>total_size()</h2> | 369 | <h2>total_size()</h2> |
370 | <pre·class="literal-block"> | 370 | <pre·class="literal-block"> |
371 | std::int64_t·<strong>total_size</strong>·()·const; | 371 | std::int64_t·<strong>total_size</strong>·()·const; |
372 | </pre> | 372 | </pre> |
373 | <p>the·total·number·of·bytes·of·all·files·and·pad·files</p> | 373 | <p>the·total·number·of·bytes·of·all·files·and·pad·files</p> |
374 | <a·name="piece_ | 374 | <a·name="piece_length()"></a> |
375 | <a·name="piece_ | 375 | <a·name="piece_size()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bpiece_length%28%29+piece_size%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bpiece_l[·...·truncated·by·diffoscope;·len:·22,·SHA:·3dffbac3a5fc838e3184cdd4feacbbf0c328329c8ec44b0da8607d214be65ed6·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
376 | <div·class="section"·id="piece- | 376 | <div·class="section"·id="piece-length-piece-size"> |
377 | <h2>piece_ | 377 | <h2>piece_length()·piece_size()</h2> |
378 | <pre·class="literal-block"> | 378 | <pre·class="literal-block"> |
379 | int·<strong>piece_length</strong>·()·const; | ||
380 | int·<strong>piece_size</strong>·(piece_index_t·i)·const; | 379 | int·<strong>piece_size</strong>·(piece_index_t·i)·const; |
380 | int·<strong>piece_length</strong>·()·const; | ||
381 | </pre> | 381 | </pre> |
382 | <p><tt·class="docutils·literal">piece_length()</tt>·returns·the·piece·size·of·all·pieces·but·the | 382 | <p><tt·class="docutils·literal">piece_length()</tt>·returns·the·piece·size·of·all·pieces·but·the |
383 | last·one.·<tt·class="docutils·literal">piece_size()</tt>·returns·the·size·of·the·specified·piece. | 383 | last·one.·<tt·class="docutils·literal">piece_size()</tt>·returns·the·size·of·the·specified·piece. |
384 | these·functions·are·just·forwarding·to·the·associated·<a·class="reference·external"·href="reference-Storage.html#file_storage">file_storage</a>.</p> | 384 | these·functions·are·just·forwarding·to·the·associated·<a·class="reference·external"·href="reference-Storage.html#file_storage">file_storage</a>.</p> |
385 | <a·name="add_collection()"></a> | 385 | <a·name="add_collection()"></a> |
Max diff block lines reached; 5399/17052 bytes (31.66%) of diff not shown. |
Offset 1, 32 lines modified | Offset 1, 32 lines modified | ||
1 | > | 1 | > |
2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] | 2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] |
3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 | 3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 |
4 | _\x8h_\x8o_\x8m_\x8e | 4 | _\x8h_\x8o_\x8m_\x8e |
5 | Table·of·contents | 5 | Table·of·contents |
6 | ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t | 6 | ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t |
7 | ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 7 | ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
8 | ··········o·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8 | 8 | ··········o·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__.b_.u_.f_.(_.)_.·_.g_.e_.n_.e_.r_.a_.t_.e_\x8(_\x8) |
9 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 9 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
10 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8o_\x8m_\x8m_\x8e_\x8n_\x8t_\x8(_\x8) | 10 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8o_\x8m_\x8m_\x8e_\x8n_\x8t_\x8(_\x8) |
11 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8o_\x8r_\x8(_\x8) | 11 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8o_\x8r_\x8(_\x8) |
12 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8d_\x8a_\x8t_\x8e_\x8(_\x8) | 12 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8d_\x8a_\x8t_\x8e_\x8(_\x8) |
13 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) | 13 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) |
14 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x82_\x8(_\x8) | 14 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x82_\x8(_\x8) |
15 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8) | 15 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8) |
16 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) | 16 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) |
17 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8) | 17 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8) |
18 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8r_\x8o_\x8o_\x8t_\x8__\x8c_\x8e_\x8r_\x8t_\x8(_\x8) | 18 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8r_\x8o_\x8o_\x8t_\x8__\x8c_\x8e_\x8r_\x8t_\x8(_\x8) |
19 | ··········o·_\x8 | 19 | ··········o·_\x8p_.r_.i_.v_.(_.)_.·_.s_.e_.t_.__\x8p_\x8r_\x8i_\x8v_\x8(_\x8) |
20 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8) | 20 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8) |
21 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) | 21 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) |
22 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) | 22 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) |
23 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) | 23 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) |
24 | ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) | 24 | ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) |
25 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8 | 25 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_.e_.n_.g_.t_.h_.(_.)_.·_.p_.i_.e_.c_.e_.__.s_.i_.z_.e_\x8(_\x8) |
26 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8c_\x8o_\x8l_\x8l_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8s_\x8i_\x8m_\x8i_\x8l_\x8a_\x8r_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 26 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8c_\x8o_\x8l_\x8l_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8s_\x8i_\x8m_\x8i_\x8l_\x8a_\x8r_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
27 | ····*·_\x8a_\x8d_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 27 | ····*·_\x8a_\x8d_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
28 | ····*·_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8) | 28 | ····*·_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8) |
29 | This·section·describes·the·functions·and·classes·that·are·used·to·create | 29 | This·section·describes·the·functions·and·classes·that·are·used·to·create |
30 | torrent·files.·It·is·a·layered·API·with·low·level·classes·and·higher·level | 30 | torrent·files.·It·is·a·layered·API·with·low·level·classes·and·higher·level |
31 | convenience·functions.·A·torrent·is·created·in·4·steps: | 31 | convenience·functions.·A·torrent·is·created·in·4·steps: |
32 | ···1.·first·the·files·that·will·be·part·of·the·torrent·are·determined. | 32 | ···1.·first·the·files·that·will·be·part·of·the·torrent·are·determined. |
Offset 83, 29 lines modified | Offset 83, 29 lines modified | ||
83 | ···void·s\x8se\x8et\x8t_\x8_h\x8ha\x8as\x8sh\x8h2\x82·(file_index_t·file,·piece_index_t::diff_type·piece, | 83 | ···void·s\x8se\x8et\x8t_\x8_h\x8ha\x8as\x8sh\x8h2\x82·(file_index_t·file,·piece_index_t::diff_type·piece, |
84 | sha256_hash·const&·h); | 84 | sha256_hash·const&·h); |
85 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url); | 85 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url); |
86 | ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url); | 86 | ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url); |
87 | ···void·a\x8ad\x8dd\x8d_\x8_n\x8no\x8od\x8de\x8e·(std::pair<std::string,·int>·node); | 87 | ···void·a\x8ad\x8dd\x8d_\x8_n\x8no\x8od\x8de\x8e·(std::pair<std::string,·int>·node); |
88 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(string_view·url,·int·tier·=·0); | 88 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(string_view·url,·int·tier·=·0); |
89 | ···void·s\x8se\x8et\x8t_\x8_r\x8ro\x8oo\x8ot\x8t_\x8_c\x8ce\x8er\x8rt\x8t·(string_view·cert); | 89 | ···void·s\x8se\x8et\x8t_\x8_r\x8ro\x8oo\x8ot\x8t_\x8_c\x8ce\x8er\x8rt\x8t·(string_view·cert); |
90 | ···bool·p\x8pr\x8ri\x8iv\x8v·()·const; | ||
91 | ···void·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v·(bool·p); | 90 | ···void·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v·(bool·p); |
91 | ···bool·p\x8pr\x8ri\x8iv\x8v·()·const; | ||
92 | ···bool·i\x8is\x8s_\x8_v\x8v1\x81_\x8_o\x8on\x8nl\x8ly\x8y·()·const; | 92 | ···bool·i\x8is\x8s_\x8_v\x8v1\x81_\x8_o\x8on\x8nl\x8ly\x8y·()·const; |
93 | ···bool·i\x8is\x8s_\x8_v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y·()·const; | 93 | ···bool·i\x8is\x8s_\x8_v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y·()·const; |
94 | ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; | 94 | ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; |
95 | ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; | 95 | ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; |
96 | ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; | 96 | ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; |
97 | ···file_index_t·e\x8en\x8nd\x8d_\x8_f\x8fi\x8il\x8le\x8e·()·const; | 97 | ···file_index_t·e\x8en\x8nd\x8d_\x8_f\x8fi\x8il\x8le\x8e·()·const; |
98 | ···index_range<file_index_t>·f\x8fi\x8il\x8le\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; | 98 | ···index_range<file_index_t>·f\x8fi\x8il\x8le\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; |
99 | ···index_range<piece_index_t::diff_type>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·(file_index_t·f); | 99 | ···index_range<piece_index_t::diff_type>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·(file_index_t·f); |
100 | ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | 100 | ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; |
101 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | ||
102 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·i)·const; | 101 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·i)·const; |
103 | ··· | 102 | ···int·p.pi.ie.ec.ce.e_._l.le.en.ng.gt.th.h·()·const; |
104 | ···void·a\x8ad\x8dd\x8d_\x8_s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(sha1_hash·ih); | 103 | ···void·a\x8ad\x8dd\x8d_\x8_s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(sha1_hash·ih); |
104 | ···void·a\x8ad\x8dd\x8d_\x8_c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8n·(string_view·c); | ||
105 | ···static·constexpr·create_flags_t·m\x8mo\x8od\x8di\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n_\x8_t\x8ti\x8im\x8me\x8e··=·2_bit; | 105 | ···static·constexpr·create_flags_t·m\x8mo\x8od\x8di\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n_\x8_t\x8ti\x8im\x8me\x8e··=·2_bit; |
106 | ···static·constexpr·create_flags_t·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8ks\x8s··=·3_bit; | 106 | ···static·constexpr·create_flags_t·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8ks\x8s··=·3_bit; |
107 | ···static·constexpr·create_flags_t·v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y··=·5_bit; | 107 | ···static·constexpr·create_flags_t·v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y··=·5_bit; |
108 | ···static·constexpr·create_flags_t·v\x8v1\x81_\x8_o\x8on\x8nl\x8ly\x8y··=·6_bit; | 108 | ···static·constexpr·create_flags_t·v\x8v1\x81_\x8_o\x8on\x8nl\x8ly\x8y··=·6_bit; |
109 | ···static·constexpr·create_flags_t·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8l_\x8_f\x8fi\x8il\x8le\x8es\x8s··=·7_bit; | 109 | ···static·constexpr·create_flags_t·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8l_\x8_f\x8fi\x8il\x8le\x8es\x8s··=·7_bit; |
110 | ···static·constexpr·create_flags_t·n\x8no\x8o_\x8_a\x8at\x8tt\x8tr\x8ri\x8ib\x8bu\x8ut\x8te\x8es\x8s··=·8_bit; | 110 | ···static·constexpr·create_flags_t·n\x8no\x8o_\x8_a\x8at\x8tt\x8tr\x8ri\x8ib\x8bu\x8ut\x8te\x8es\x8s··=·8_bit; |
Offset 130, 15 lines modified | Offset 130, 15 lines modified | ||
130 | functions·of·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t·that·affects·the·content·of·the·info·dictionary | 130 | functions·of·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t·that·affects·the·content·of·the·info·dictionary |
131 | (such·as·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)),·will·have·any·affect.·Instead·of·using·this·overload, | 131 | (such·as·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)),·will·have·any·affect.·Instead·of·using·this·overload, |
132 | consider·using·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)·instead. | 132 | consider·using·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)·instead. |
133 | Warning | 133 | Warning |
134 | The·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e·and·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·objects·must·stay·alive·for·the·entire | 134 | The·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e·and·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·objects·must·stay·alive·for·the·entire |
135 | duration·of·the·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t·object. | 135 | duration·of·the·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t·object. |
136 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 136 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
137 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e(.().)·g.ge.en.ne.er.ra.at.te.e | 137 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_._b.bu.uf.f(.().)·g.ge.en.ne.er.ra.at.te.e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
138 | entry·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e·()·const; | 138 | entry·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e·()·const; |
139 | std::vector<char>·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_\x8_b\x8bu\x8uf\x8f·()·const; | 139 | std::vector<char>·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_\x8_b\x8bu\x8uf\x8f·()·const; |
140 | This·function·will·generate·the·.torrent·file·as·a·bencode·tree,·or·a·bencoded | 140 | This·function·will·generate·the·.torrent·file·as·a·bencode·tree,·or·a·bencoded |
141 | into·a·buffer.·In·order·to·encode·the·_\x8e_\x8n_\x8t_\x8r_\x8y·into·a·flat·file,·use·the·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8(_\x8) | 141 | into·a·buffer.·In·order·to·encode·the·_\x8e_\x8n_\x8t_\x8r_\x8y·into·a·flat·file,·use·the·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8(_\x8) |
142 | function. | 142 | function. |
143 | The·function·returning·an·_\x8e_\x8n_\x8t_\x8r_\x8y·may·be·useful·to·add·custom·entries·to·the | 143 | The·function·returning·an·_\x8e_\x8n_\x8t_\x8r_\x8y·may·be·useful·to·add·custom·entries·to·the |
144 | torrent·file·before·bencoding·it·and·saving·it·to·disk. | 144 | torrent·file·before·bencoding·it·and·saving·it·to·disk. |
Offset 234, 17 lines modified | Offset 234, 17 lines modified | ||
234 | makes·the·torrent·an·S\x8SS\x8SL\x8L·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t.·An·SSL·torrent·requires·that·each·peer·has·a | 234 | makes·the·torrent·an·S\x8SS\x8SL\x8L·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t.·An·SSL·torrent·requires·that·each·peer·has·a |
235 | valid·certificate·signed·by·this·root·certificate.·For·SSL·torrents,·all·peers | 235 | valid·certificate·signed·by·this·root·certificate.·For·SSL·torrents,·all·peers |
236 | are·connecting·over·SSL·connections.·For·more·information,·see·the·section·on | 236 | are·connecting·over·SSL·connections.·For·more·information,·see·the·section·on |
237 | _\x8s_\x8s_\x8l_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s. | 237 | _\x8s_\x8s_\x8l_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s. |
238 | The·string·is·not·the·path·to·the·cert,·it's·the·actual·content·of·the | 238 | The·string·is·not·the·path·to·the·cert,·it's·the·actual·content·of·the |
239 | certificate. | 239 | certificate. |
240 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 240 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
241 | *\x8**\x8**\x8**\x8**\x8*· | 241 | *\x8**\x8**\x8**\x8**\x8*·p.pr.ri.iv.v(.().)·s.se.et.t_._p\x8pr\x8ri\x8iv\x8v(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
242 | bool·p\x8pr\x8ri\x8iv\x8v·()·const; | ||
243 | void·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v·(bool·p); | 242 | void·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v·(bool·p); |
243 | bool·p\x8pr\x8ri\x8iv\x8v·()·const; | ||
244 | Sets·and·queries·the·private·flag·of·the·torrent.·Torrents·with·the·private | 244 | Sets·and·queries·the·private·flag·of·the·torrent.·Torrents·with·the·private |
245 | flag·set·ask·the·client·to·not·use·any·other·sources·than·the·tracker·for | 245 | flag·set·ask·the·client·to·not·use·any·other·sources·than·the·tracker·for |
246 | peers,·and·to·not·use·DHT·to·advertise·itself·publicly,·only·the·tracker. | 246 | peers,·and·to·not·use·DHT·to·advertise·itself·publicly,·only·the·tracker. |
247 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 247 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
248 | *\x8**\x8**\x8**\x8**\x8*·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 248 | *\x8**\x8**\x8**\x8**\x8*·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
249 | int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; | 249 | int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; |
250 | returns·the·number·of·pieces·in·the·associated·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e·object. | 250 | returns·the·number·of·pieces·in·the·associated·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e·object. |
Offset 262, 24 lines modified | Offset 262, 24 lines modified | ||
262 | for·v2·and·hybrid·torrents·only,·the·pieces·in·the·specified·file,·specified·as | 262 | for·v2·and·hybrid·torrents·only,·the·pieces·in·the·specified·file,·specified·as |
263 | delta·from·the·first·piece·in·the·file.·i.e.·the·first·index·is·0. | 263 | delta·from·the·first·piece·in·the·file.·i.e.·the·first·index·is·0. |
264 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 264 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
265 | *\x8**\x8**\x8**\x8**\x8*·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 265 | *\x8**\x8**\x8**\x8**\x8*·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
266 | std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | 266 | std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; |
267 | the·total·number·of·bytes·of·all·files·and·pad·files | 267 | the·total·number·of·bytes·of·all·files·and·pad·files |
268 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 268 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
269 | *\x8**\x8**\x8**\x8**\x8*·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h(\x8()\x8)·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
269 | *\x8**\x8**\x8**\x8**\x8*·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
270 | int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | ||
271 | int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·i)·const; | 270 | int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·i)·const; |
271 | int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | ||
272 | piece_length()·returns·the·piece·size·of·all·pieces·but·the·last·one. | 272 | piece_length()·returns·the·piece·size·of·all·pieces·but·the·last·one. |
273 | piece_size()·returns·the·size·of·the·specified·piece.·these·functions·are·just | 273 | piece_size()·returns·the·size·of·the·specified·piece.·these·functions·are·just |
274 | forwarding·to·the·associated·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e. | 274 | forwarding·to·the·associated·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e. |
275 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 275 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
276 | *\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8n(\x8()\x8)·a\x8ad\x8dd\x8d_\x8_s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 276 | *\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8n(\x8()\x8)·a\x8ad\x8dd\x8d_\x8_s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
277 | void·a\x8ad\x8dd\x8d_\x8_c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8n·(string_view·c); | ||
278 | void·a\x8ad\x8dd\x8d_\x8_s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(sha1_hash·ih); | 277 | void·a\x8ad\x8dd\x8d_\x8_s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(sha1_hash·ih); |
278 | void·a\x8ad\x8dd\x8d_\x8_c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8n·(string_view·c); | ||
279 | Add·similar·torrents·(by·info-hash)·or·collections·of·similar·torrents.·Similar | 279 | Add·similar·torrents·(by·info-hash)·or·collections·of·similar·torrents.·Similar |
280 | torrents·are·expected·to·share·some·files·with·this·torrent.·Torrents·sharing·a | 280 | torrents·are·expected·to·share·some·files·with·this·torrent.·Torrents·sharing·a |
281 | collection·name·with·this·torrent·are·also·expected·to·share·files·with·this | 281 | collection·name·with·this·torrent·are·also·expected·to·share·files·with·this |
282 | torrent.·A·torrent·may·have·more·than·one·collection·and·more·than·one·similar | 282 | torrent.·A·torrent·may·have·more·than·one·collection·and·more·than·one·similar |
283 | torrents.·For·more·information,·see·_\x8B_\x8E_\x8P_\x8·_\x83_\x88. | 283 | torrents.·For·more·information,·see·_\x8B_\x8E_\x8P_\x8·_\x83_\x88. |
284 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 284 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
285 | ··modification_time | 285 | ··modification_time |
Max diff block lines reached; 3711/12161 bytes (30.52%) of diff not shown. |
Offset 610, 21 lines modified | Offset 610, 21 lines modified | ||
610 | <h1>settings_interface</h1> | 610 | <h1>settings_interface</h1> |
611 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/settings_pack.hpp">libtorrent/settings_pack.hpp</a>"</p> | 611 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/settings_pack.hpp">libtorrent/settings_pack.hpp</a>"</p> |
612 | <p>the·common·interface·to·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·and·the·internal·representation·of | 612 | <p>the·common·interface·to·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·and·the·internal·representation·of |
613 | settings.</p> | 613 | settings.</p> |
614 | <pre·class="literal-block"> | 614 | <pre·class="literal-block"> |
615 | struct·settings_interface | 615 | struct·settings_interface |
616 | { | 616 | { |
617 | ···virtual·void·<strong>set_int</strong>·(int·name,·int·val)·=·0; | ||
618 | ···virtual·bool·<strong>has_val</strong>·(int·name)·const·=·0; | 617 | ···virtual·bool·<strong>has_val</strong>·(int·name)·const·=·0; |
619 | ···virtual·void·<strong>set_str</strong>·(int·name,·std::string·val)·=·0; | 618 | ···virtual·void·<strong>set_str</strong>·(int·name,·std::string·val)·=·0; |
619 | ···virtual·void·<strong>set_int</strong>·(int·name,·int·val)·=·0; | ||
620 | ···virtual·void·<strong>set_bool</strong>·(int·name,·bool·val)·=·0; | 620 | ···virtual·void·<strong>set_bool</strong>·(int·name,·bool·val)·=·0; |
621 | ···virtual·bool·<strong>get_bool</strong>·(int·name)·const·=·0; | ||
622 | ···virtual·std::string·const&·<strong>get_str</strong>·(int·name)·const·=·0; | 621 | ···virtual·std::string·const&·<strong>get_str</strong>·(int·name)·const·=·0; |
623 | ···virtual·int·<strong>get_int</strong>·(int·name)·const·=·0; | 622 | ···virtual·int·<strong>get_int</strong>·(int·name)·const·=·0; |
623 | ···virtual·bool·<strong>get_bool</strong>·(int·name)·const·=·0; | ||
624 | }; | 624 | }; |
625 | </pre> | 625 | </pre> |
626 | <a·name="file_open_mode_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:file_open_mode_t&labels=documentation&body=Documentation+under+heading+%22file_open_mode_t%22+could+be+improved">report·issue</a>]</span></div> | 626 | <a·name="file_open_mode_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:file_open_mode_t&labels=documentation&body=Documentation+under+heading+%22file_open_mode_t%22+could+be+improved">report·issue</a>]</span></div> |
627 | <div·class="section"·id="file-open-mode-t"> | 627 | <div·class="section"·id="file-open-mode-t"> |
628 | <h1>file_open_mode_t</h1> | 628 | <h1>file_open_mode_t</h1> |
629 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/disk_interface.hpp">libtorrent/disk_interface.hpp</a>"</p> | 629 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/disk_interface.hpp">libtorrent/disk_interface.hpp</a>"</p> |
630 | <a·name="file_open_mode_t::read_only"></a><dl·class="docutils"> | 630 | <a·name="file_open_mode_t::read_only"></a><dl·class="docutils"> |
Offset 460, 21 lines modified | Offset 460, 21 lines modified | ||
460 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 460 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
461 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8gs\x8s_\x8_i\x8in\x8nt\x8te\x8er\x8rf\x8fa\x8ac\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* | 461 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8gs\x8s_\x8_i\x8in\x8nt\x8te\x8er\x8rf\x8fa\x8ac\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* |
462 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8._\x8h_\x8p_\x8p" | 462 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8._\x8h_\x8p_\x8p" |
463 | the·common·interface·to·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·and·the·internal·representation·of | 463 | the·common·interface·to·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·and·the·internal·representation·of |
464 | settings. | 464 | settings. |
465 | struct·settings_interface | 465 | struct·settings_interface |
466 | { | 466 | { |
467 | ···virtual·void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·int·val)·=·0; | ||
468 | ···virtual·bool·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l·(int·name)·const·=·0; | 467 | ···virtual·bool·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l·(int·name)·const·=·0; |
469 | ···virtual·void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·=·0; | 468 | ···virtual·void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·=·0; |
469 | ···virtual·void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·int·val)·=·0; | ||
470 | ···virtual·void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·=·0; | 470 | ···virtual·void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·=·0; |
471 | ···virtual·bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·=·0; | ||
472 | ···virtual·std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·=·0; | 471 | ···virtual·std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·=·0; |
473 | ···virtual·int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·=·0; | 472 | ···virtual·int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·=·0; |
473 | ···virtual·bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·=·0; | ||
474 | }; | 474 | }; |
475 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 475 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
476 | *\x8**\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8il\x8le\x8e_\x8_o\x8op\x8pe\x8en\x8n_\x8_m\x8mo\x8od\x8de\x8e_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* | 476 | *\x8**\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8il\x8le\x8e_\x8_o\x8op\x8pe\x8en\x8n_\x8_m\x8mo\x8od\x8de\x8e_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* |
477 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e_\x8._\x8h_\x8p_\x8p" | 477 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e_\x8._\x8h_\x8p_\x8p" |
478 | ··read_only | 478 | ··read_only |
479 | ······open·the·file·for·reading·only | 479 | ······open·the·file·for·reading·only |
480 | ··write_only | 480 | ··write_only |
Offset 56, 20 lines modified | Offset 56, 20 lines modified | ||
56 | a·single·rule·that·allows·all·addresses·(0.0.0.0·-·255.255.255.255·for | 56 | a·single·rule·that·allows·all·addresses·(0.0.0.0·-·255.255.255.255·for |
57 | the·IPv4·range,·and·the·equivalent·range·covering·all·addresses·for·the | 57 | the·IPv4·range,·and·the·equivalent·range·covering·all·addresses·for·the |
58 | IPv6·range).</p> | 58 | IPv6·range).</p> |
59 | <p>A·default·constructed·<a·class="reference·external"·href="reference-Filter.html#ip_filter">ip_filter</a>·does·not·filter·any·address.</p> | 59 | <p>A·default·constructed·<a·class="reference·external"·href="reference-Filter.html#ip_filter">ip_filter</a>·does·not·filter·any·address.</p> |
60 | <pre·class="literal-block"> | 60 | <pre·class="literal-block"> |
61 | struct·ip_filter | 61 | struct·ip_filter |
62 | { | 62 | { |
63 | ···<strong>ip_filter</strong>·(ip_filter·const&); | ||
64 | ···ip_filter&·<strong>operator=</strong>·(ip_filter&&); | 63 | ···ip_filter&·<strong>operator=</strong>·(ip_filter&&); |
65 | ···<strong> | 64 | ···<strong>ip_filter</strong>·(ip_filter·const&); |
66 | ···ip_filter&·<strong>operator=</strong>·(ip_filter·const&); | ||
67 | ···<strong>ip_filter</strong>·(); | 65 | ···<strong>ip_filter</strong>·(); |
66 | ···<strong>~ip_filter</strong>·(); | ||
68 | ···<strong>ip_filter</strong>·(ip_filter&&); | 67 | ···<strong>ip_filter</strong>·(ip_filter&&); |
68 | ···ip_filter&·<strong>operator=</strong>·(ip_filter·const&); | ||
69 | ···bool·<strong>empty</strong>·()·const; | 69 | ···bool·<strong>empty</strong>·()·const; |
70 | ···void·<strong>add_rule</strong>·(address·const&·first,·address·const&·last,·std::uint32_t·flags); | 70 | ···void·<strong>add_rule</strong>·(address·const&·first,·address·const&·last,·std::uint32_t·flags); |
71 | ···std::uint32_t·<strong>access</strong>·(address·const&·addr)·const; | 71 | ···std::uint32_t·<strong>access</strong>·(address·const&·addr)·const; |
72 | ···filter_tuple_t·<strong>export_filter</strong>·()·const; | 72 | ···filter_tuple_t·<strong>export_filter</strong>·()·const; |
73 | ···enum·access_flags | 73 | ···enum·access_flags |
74 | ···{ | 74 | ···{ |
Offset 153, 20 lines modified | Offset 153, 20 lines modified | ||
153 | <p>the·port·filter·maps·non-overlapping·port·ranges·to·flags.·This | 153 | <p>the·port·filter·maps·non-overlapping·port·ranges·to·flags.·This |
154 | is·primarily·used·to·indicate·whether·a·range·of·ports·should | 154 | is·primarily·used·to·indicate·whether·a·range·of·ports·should |
155 | be·connected·to·or·not.·The·default·is·to·have·the·full·port | 155 | be·connected·to·or·not.·The·default·is·to·have·the·full·port |
156 | range·(0-65535)·set·to·flag·0.</p> | 156 | range·(0-65535)·set·to·flag·0.</p> |
157 | <pre·class="literal-block"> | 157 | <pre·class="literal-block"> |
158 | class·port_filter | 158 | class·port_filter |
159 | { | 159 | { |
160 | ···port_filter&·<strong>operator=</strong>·(port_filter·const&); | ||
160 | ···port_filter&·<strong>operator=</strong>·(port_filter&&); | 161 | ···port_filter&·<strong>operator=</strong>·(port_filter&&); |
162 | ···<strong>~port_filter</strong>·(); | ||
161 | ···<strong>port_filter</strong>·(port_filter&&); | 163 | ···<strong>port_filter</strong>·(port_filter&&); |
162 | ···port_filter&·<strong>operator=</strong>·(port_filter·const&); | ||
163 | ···<strong>port_filter</strong>·(); | 164 | ···<strong>port_filter</strong>·(); |
164 | ···<strong>port_filter</strong>·(port_filter·const&); | 165 | ···<strong>port_filter</strong>·(port_filter·const&); |
165 | ···<strong>~port_filter</strong>·(); | ||
166 | ···void·<strong>add_rule</strong>·(std::uint16_t·first,·std::uint16_t·last,·std::uint32_t·flags); | 166 | ···void·<strong>add_rule</strong>·(std::uint16_t·first,·std::uint16_t·last,·std::uint32_t·flags); |
167 | ···std::uint32_t·<strong>access</strong>·(std::uint16_t·port)·const; | 167 | ···std::uint32_t·<strong>access</strong>·(std::uint16_t·port)·const; |
168 | ···enum·access_flags | 168 | ···enum·access_flags |
169 | ···{ | 169 | ···{ |
170 | ······blocked, | 170 | ······blocked, |
171 | ···}; | 171 | ···}; |
Offset 19, 20 lines modified | Offset 19, 20 lines modified | ||
19 | The·ip_filter·class·is·a·set·of·rules·that·uniquely·categorizes·all·ip | 19 | The·ip_filter·class·is·a·set·of·rules·that·uniquely·categorizes·all·ip |
20 | addresses·as·allowed·or·disallowed.·The·default·constructor·creates·a·single | 20 | addresses·as·allowed·or·disallowed.·The·default·constructor·creates·a·single |
21 | rule·that·allows·all·addresses·(0.0.0.0·-·255.255.255.255·for·the·IPv4·range, | 21 | rule·that·allows·all·addresses·(0.0.0.0·-·255.255.255.255·for·the·IPv4·range, |
22 | and·the·equivalent·range·covering·all·addresses·for·the·IPv6·range). | 22 | and·the·equivalent·range·covering·all·addresses·for·the·IPv6·range). |
23 | A·default·constructed·_\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r·does·not·filter·any·address. | 23 | A·default·constructed·_\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r·does·not·filter·any·address. |
24 | struct·ip_filter | 24 | struct·ip_filter |
25 | { | 25 | { |
26 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter·const&); | ||
27 | ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter&&); | 26 | ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter&&); |
28 | ··· | 27 | ···i.ip.p_._f.fi.il.lt.te.er.r·(ip_filter·const&); |
29 | ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter·const&); | ||
30 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | 28 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); |
29 | ···~\x8~i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | ||
31 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter&&); | 30 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter&&); |
31 | ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter·const&); | ||
32 | ···bool·e\x8em\x8mp\x8pt\x8ty\x8y·()·const; | 32 | ···bool·e\x8em\x8mp\x8pt\x8ty\x8y·()·const; |
33 | ···void·a\x8ad\x8dd\x8d_\x8_r\x8ru\x8ul\x8le\x8e·(address·const&·first,·address·const&·last,·std::uint32_t | 33 | ···void·a\x8ad\x8dd\x8d_\x8_r\x8ru\x8ul\x8le\x8e·(address·const&·first,·address·const&·last,·std::uint32_t |
34 | flags); | 34 | flags); |
35 | ···std::uint32_t·a\x8ac\x8cc\x8ce\x8es\x8ss\x8s·(address·const&·addr)·const; | 35 | ···std::uint32_t·a\x8ac\x8cc\x8ce\x8es\x8ss\x8s·(address·const&·addr)·const; |
36 | ···filter_tuple_t·e\x8ex\x8xp\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·()·const; | 36 | ···filter_tuple_t·e\x8ex\x8xp\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·()·const; |
37 | ···enum·access_flags | 37 | ···enum·access_flags |
Offset 81, 20 lines modified | Offset 81, 20 lines modified | ||
81 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8* | 81 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8* |
82 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" | 82 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" |
83 | the·port·filter·maps·non-overlapping·port·ranges·to·flags.·This·is·primarily | 83 | the·port·filter·maps·non-overlapping·port·ranges·to·flags.·This·is·primarily |
84 | used·to·indicate·whether·a·range·of·ports·should·be·connected·to·or·not.·The | 84 | used·to·indicate·whether·a·range·of·ports·should·be·connected·to·or·not.·The |
85 | default·is·to·have·the·full·port·range·(0-65535)·set·to·flag·0. | 85 | default·is·to·have·the·full·port·range·(0-65535)·set·to·flag·0. |
86 | class·port_filter | 86 | class·port_filter |
87 | { | 87 | { |
88 | ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter·const&); | ||
88 | ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter&&); | 89 | ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter&&); |
90 | ···~\x8~p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | ||
89 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(port_filter&&); | 91 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(port_filter&&); |
90 | ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter·const&); | ||
91 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | 92 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); |
92 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(port_filter·const&); | 93 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(port_filter·const&); |
93 | ···~\x8~p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | ||
94 | ···void·a\x8ad\x8dd\x8d_\x8_r\x8ru\x8ul\x8le\x8e·(std::uint16_t·first,·std::uint16_t·last,·std::uint32_t | 94 | ···void·a\x8ad\x8dd\x8d_\x8_r\x8ru\x8ul\x8le\x8e·(std::uint16_t·first,·std::uint16_t·last,·std::uint32_t |
95 | flags); | 95 | flags); |
96 | ···std::uint32_t·a\x8ac\x8cc\x8ce\x8es\x8ss\x8s·(std::uint16_t·port)·const; | 96 | ···std::uint32_t·a\x8ac\x8cc\x8ce\x8es\x8ss\x8s·(std::uint16_t·port)·const; |
97 | ···enum·access_flags | 97 | ···enum·access_flags |
98 | ···{ | 98 | ···{ |
99 | ······blocked, | 99 | ······blocked, |
Offset 30, 16 lines modified | Offset 30, 16 lines modified | ||
30 | </table> | 30 | </table> |
31 | <p><a·class="reference·external"·href="reference.html">home</a></p> | 31 | <p><a·class="reference·external"·href="reference.html">home</a></p> |
32 | <div·class="contents·topic"·id="table-of-contents"> | 32 | <div·class="contents·topic"·id="table-of-contents"> |
33 | <p·class="topic-title">Table·of·contents</p> | 33 | <p·class="topic-title">Table·of·contents</p> |
34 | <ul·class="simple"> | 34 | <ul·class="simple"> |
35 | <li><a·class="reference·internal"·href="#peer-class-info"·id="toc-entry-1">peer_class_info</a></li> | 35 | <li><a·class="reference·internal"·href="#peer-class-info"·id="toc-entry-1">peer_class_info</a></li> |
36 | <li><a·class="reference·internal"·href="#peer-class-type-filter"·id="toc-entry-2">peer_class_type_filter</a><ul> | 36 | <li><a·class="reference·internal"·href="#peer-class-type-filter"·id="toc-entry-2">peer_class_type_filter</a><ul> |
37 | <li><a·class="reference·internal"·href="#remove | 37 | <li><a·class="reference·internal"·href="#add-remove"·id="toc-entry-3">add()·remove()</a></li> |
38 | <li><a·class="reference·internal"·href="#allow- | 38 | <li><a·class="reference·internal"·href="#disallow-allow"·id="toc-entry-4">disallow()·allow()</a></li> |
39 | <li><a·class="reference·internal"·href="#apply"·id="toc-entry-5">apply()</a></li> | 39 | <li><a·class="reference·internal"·href="#apply"·id="toc-entry-5">apply()</a></li> |
40 | <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-6">enum·socket_type_t</a></li> | 40 | <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-6">enum·socket_type_t</a></li> |
41 | </ul> | 41 | </ul> |
42 | </li> | 42 | </li> |
43 | </ul> | 43 | </ul> |
44 | </div> | 44 | </div> |
45 | <a·name="peer_class_info"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+peer_class_info&labels=documentation&body=Documentation+under+heading+%22class+peer_class_info%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="peer-class-info"> | 45 | <a·name="peer_class_info"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+peer_class_info&labels=documentation&body=Documentation+under+heading+%22class+peer_class_info%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="peer-class-info"> |
Offset 106, 16 lines modified | Offset 106, 16 lines modified | ||
106 | peer-classes·from·peers.·It·is·applied·<em>after</em>·the·peer·class·filter·is·applied·(which | 106 | peer-classes·from·peers.·It·is·applied·<em>after</em>·the·peer·class·filter·is·applied·(which |
107 | is·based·on·the·peer's·IP·address).</p> | 107 | is·based·on·the·peer's·IP·address).</p> |
108 | <pre·class="literal-block"> | 108 | <pre·class="literal-block"> |
109 | struct·peer_class_type_filter | 109 | struct·peer_class_type_filter |
110 | { | 110 | { |
111 | ···void·<strong>remove</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 111 | ···void·<strong>remove</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
112 | ···void·<strong>add</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 112 | ···void·<strong>add</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
113 | ···void·<strong>allow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
114 | ···void·<strong>disallow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 113 | ···void·<strong>disallow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
114 | ···void·<strong>allow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
115 | ···std::uint32_t·<strong>apply</strong>·(socket_type_t·const·st,·std::uint32_t·peer_class_mask); | 115 | ···std::uint32_t·<strong>apply</strong>·(socket_type_t·const·st,·std::uint32_t·peer_class_mask); |
116 | ···friend·bool·<strong>operator==</strong>·(peer_class_type_filter·const&·lhs | 116 | ···friend·bool·<strong>operator==</strong>·(peer_class_type_filter·const&·lhs |
117 | ······,·peer_class_type_filter·const&·rhs); | 117 | ······,·peer_class_type_filter·const&·rhs); |
118 | ···enum·socket_type_t | 118 | ···enum·socket_type_t |
119 | ···{ | 119 | ···{ |
120 | ······tcp_socket, | 120 | ······tcp_socket, |
Offset 123, 30 lines modified | Offset 123, 30 lines modified | ||
123 | ······ssl_tcp_socket, | 123 | ······ssl_tcp_socket, |
124 | ······ssl_utp_socket, | 124 | ······ssl_utp_socket, |
125 | ······i2p_socket, | 125 | ······i2p_socket, |
126 | ······num_socket_types, | 126 | ······num_socket_types, |
127 | ···}; | 127 | ···}; |
128 | }; | 128 | }; |
129 | </pre> | 129 | </pre> |
130 | <a·name=" | 130 | <a·name="add()"></a> |
131 | <a·name=" | 131 | <a·name="remove()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Badd%28%29+remove%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5Bad[·...·truncated·by·diffoscope;·len:·105,·SHA:·1eb48dacb7050f27ab7419194f0a8113d2934b13be72ec2050c7e5a32f6cf102·...·]"> |
132 | <h2> | 132 | <h2>add()·remove()</h2> |
133 | <pre·class="literal-block"> | 133 | <pre·class="literal-block"> |
134 | void·<strong>remove</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 134 | void·<strong>remove</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
135 | void·<strong>add</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 135 | void·<strong>add</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
136 | </pre> | 136 | </pre> |
137 | <p><tt·class="docutils·literal">add()</tt>·and·<tt·class="docutils·literal">remove()</tt>·adds·and·removes·a·peer·class·to·be·added | 137 | <p><tt·class="docutils·literal">add()</tt>·and·<tt·class="docutils·literal">remove()</tt>·adds·and·removes·a·peer·class·to·be·added |
138 | to·new·peers·based·on·socket·type.</p> | 138 | to·new·peers·based·on·socket·type.</p> |
139 | <a·name="allow()"></a> | 139 | <a·name="disallow()"></a> |
140 | <a·name=" | 140 | <a·name="allow()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Bdisallow%28%29+allow%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5[·...·truncated·by·diffoscope;·len:·16,·SHA:·397069b3a5f4ea80f7fd71ed3d7d96eae90f4b87e5e656a5155be89d0ee564ca·...·]allow%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
141 | <div·class="section"·id="allow- | 141 | <div·class="section"·id="disallow-allow"> |
142 | <h2>allow()· | 142 | <h2>disallow()·allow()</h2> |
143 | <pre·class="literal-block"> | 143 | <pre·class="literal-block"> |
144 | void·<strong>allow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
145 | void·<strong>disallow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 144 | void·<strong>disallow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
145 | void·<strong>allow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
146 | </pre> | 146 | </pre> |
147 | <p><tt·class="docutils·literal">disallow()</tt>·and·<tt·class="docutils·literal">allow()</tt>·adds·and·removes·a·peer·class·to·be | 147 | <p><tt·class="docutils·literal">disallow()</tt>·and·<tt·class="docutils·literal">allow()</tt>·adds·and·removes·a·peer·class·to·be |
148 | removed·from·new·peers·based·on·socket·type.</p> | 148 | removed·from·new·peers·based·on·socket·type.</p> |
149 | <p>The·<tt·class="docutils·literal">peer_class</tt>·argument·cannot·be·greater·than·31.·The·bitmasks·representing | 149 | <p>The·<tt·class="docutils·literal">peer_class</tt>·argument·cannot·be·greater·than·31.·The·bitmasks·representing |
150 | peer·classes·in·the·<tt·class="docutils·literal">peer_class_type_filter</tt>·are·32·bits.</p> | 150 | peer·classes·in·the·<tt·class="docutils·literal">peer_class_type_filter</tt>·are·32·bits.</p> |
151 | <a·name="apply()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Bapply%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5Bapply%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 151 | <a·name="apply()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Bapply%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5Bapply%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
152 | <div·class="section"·id="apply"> | 152 | <div·class="section"·id="apply"> |
Offset 1, 16 lines modified | Offset 1, 16 lines modified | ||
1 | > | 1 | > |
2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] | 2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] |
3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 | 3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 |
4 | _\x8h_\x8o_\x8m_\x8e | 4 | _\x8h_\x8o_\x8m_\x8e |
5 | Table·of·contents | 5 | Table·of·contents |
6 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8i_\x8n_\x8f_\x8o | 6 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8i_\x8n_\x8f_\x8o |
7 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r | 7 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r |
8 | ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8(_\x8) | ||
9 | ··········o·_\x8a_\x8 | 8 | ··········o·_\x8a_\x8d_.d_.(_.)_.·_.r_.e_.m_.o_.v_.e_\x8(_\x8) |
9 | ··········o·_\x8d_\x8i_\x8s_\x8a_\x8l_\x8l_\x8o_\x8w_\x8(_\x8)_\x8·_\x8a_\x8l_\x8l_\x8o_\x8w_\x8(_\x8) | ||
10 | ··········o·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8(_\x8) | 10 | ··········o·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8(_\x8) |
11 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 11 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
12 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 12 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
13 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r_\x8_c\x8cl\x8la\x8as\x8ss\x8s_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8* | 13 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r_\x8_c\x8cl\x8la\x8as\x8ss\x8s_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8* |
14 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8._\x8h_\x8p_\x8p" | 14 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8._\x8h_\x8p_\x8p" |
15 | holds·settings·for·a·peer·class.·Used·in·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)·and·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) | 15 | holds·settings·for·a·peer·class.·Used·in·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)·and·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) |
16 | calls. | 16 | calls. |
Offset 61, 16 lines modified | Offset 61, 16 lines modified | ||
61 | peer_class_type_filter·is·a·simple·container·for·rules·for·adding·and | 61 | peer_class_type_filter·is·a·simple·container·for·rules·for·adding·and |
62 | subtracting·peer-classes·from·peers.·It·is·applied·a\x8af\x8ft\x8te\x8er\x8r·the·peer·class·filter | 62 | subtracting·peer-classes·from·peers.·It·is·applied·a\x8af\x8ft\x8te\x8er\x8r·the·peer·class·filter |
63 | is·applied·(which·is·based·on·the·peer's·IP·address). | 63 | is·applied·(which·is·based·on·the·peer's·IP·address). |
64 | struct·peer_class_type_filter | 64 | struct·peer_class_type_filter |
65 | { | 65 | { |
66 | ···void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 66 | ···void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
67 | ···void·a\x8ad\x8dd\x8d·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 67 | ···void·a\x8ad\x8dd\x8d·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
68 | ···void·a\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
69 | ···void·d\x8di\x8is\x8sa\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 68 | ···void·d\x8di\x8is\x8sa\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
69 | ···void·a\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
70 | ···std::uint32_t·a\x8ap\x8pp\x8pl\x8ly\x8y·(socket_type_t·const·st,·std::uint32_t·peer_class_mask); | 70 | ···std::uint32_t·a\x8ap\x8pp\x8pl\x8ly\x8y·(socket_type_t·const·st,·std::uint32_t·peer_class_mask); |
71 | ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(peer_class_type_filter·const&·lhs | 71 | ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(peer_class_type_filter·const&·lhs |
72 | ······,·peer_class_type_filter·const&·rhs); | 72 | ······,·peer_class_type_filter·const&·rhs); |
73 | ···enum·socket_type_t | 73 | ···enum·socket_type_t |
74 | ···{ | 74 | ···{ |
75 | ······tcp_socket, | 75 | ······tcp_socket, |
Offset 78, 23 lines modified | Offset 78, 23 lines modified | ||
78 | ······ssl_tcp_socket, | 78 | ······ssl_tcp_socket, |
79 | ······ssl_utp_socket, | 79 | ······ssl_utp_socket, |
80 | ······i2p_socket, | 80 | ······i2p_socket, |
81 | ······num_socket_types, | 81 | ······num_socket_types, |
82 | ···}; | 82 | ···}; |
83 | }; | 83 | }; |
84 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 84 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
85 | *\x8**\x8**\x8**\x8**\x8*· | 85 | *\x8**\x8**\x8**\x8**\x8*·a.ad.dd.d(.().)·r.re.em.mo.ov.ve.e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
86 | void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 86 | void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
87 | void·a\x8ad\x8dd\x8d·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 87 | void·a\x8ad\x8dd\x8d·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
88 | add()·and·remove()·adds·and·removes·a·peer·class·to·be·added·to·new·peers·based | 88 | add()·and·remove()·adds·and·removes·a·peer·class·to·be·added·to·new·peers·based |
89 | on·socket·type. | 89 | on·socket·type. |
90 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 90 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
91 | *\x8**\x8**\x8**\x8**\x8*·a.al.ll.lo.ow.w(.().)· | 91 | *\x8**\x8**\x8**\x8**\x8*·d.di.is.sa.al.ll.lo.ow.w(.().)·a\x8al\x8ll\x8lo\x8ow\x8w(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
92 | void·a\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
93 | void·d\x8di\x8is\x8sa\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 92 | void·d\x8di\x8is\x8sa\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
93 | void·a\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
94 | disallow()·and·allow()·adds·and·removes·a·peer·class·to·be·removed·from·new | 94 | disallow()·and·allow()·adds·and·removes·a·peer·class·to·be·removed·from·new |
95 | peers·based·on·socket·type. | 95 | peers·based·on·socket·type. |
96 | The·peer_class·argument·cannot·be·greater·than·31.·The·bitmasks·representing | 96 | The·peer_class·argument·cannot·be·greater·than·31.·The·bitmasks·representing |
97 | peer·classes·in·the·peer_class_type_filter·are·32·bits. | 97 | peer·classes·in·the·peer_class_type_filter·are·32·bits. |
98 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 98 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
99 | *\x8**\x8**\x8**\x8**\x8*·a\x8ap\x8pp\x8pl\x8ly\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 99 | *\x8**\x8**\x8**\x8**\x8*·a\x8ap\x8pp\x8pl\x8ly\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
100 | std::uint32_t·a\x8ap\x8pp\x8pl\x8ly\x8y·(socket_type_t·const·st,·std::uint32_t·peer_class_mask); | 100 | std::uint32_t·a\x8ap\x8pp\x8pl\x8ly\x8y·(socket_type_t·const·st,·std::uint32_t·peer_class_mask); |
Offset 46, 37 lines modified | Offset 46, 37 lines modified | ||
46 | <li><a·class="reference·internal"·href="#on-tick"·id="toc-entry-12">on_tick()</a></li> | 46 | <li><a·class="reference·internal"·href="#on-tick"·id="toc-entry-12">on_tick()</a></li> |
47 | <li><a·class="reference·internal"·href="#get-unchoke-priority"·id="toc-entry-13">get_unchoke_priority()</a></li> | 47 | <li><a·class="reference·internal"·href="#get-unchoke-priority"·id="toc-entry-13">get_unchoke_priority()</a></li> |
48 | <li><a·class="reference·internal"·href="#load-state"·id="toc-entry-14">load_state()</a></li> | 48 | <li><a·class="reference·internal"·href="#load-state"·id="toc-entry-14">load_state()</a></li> |
49 | </ul> | 49 | </ul> |
50 | </li> | 50 | </li> |
51 | <li><a·class="reference·internal"·href="#torrent-plugin"·id="toc-entry-15">torrent_plugin</a><ul> | 51 | <li><a·class="reference·internal"·href="#torrent-plugin"·id="toc-entry-15">torrent_plugin</a><ul> |
52 | <li><a·class="reference·internal"·href="#new-connection"·id="toc-entry-16">new_connection()</a></li> | 52 | <li><a·class="reference·internal"·href="#new-connection"·id="toc-entry-16">new_connection()</a></li> |
53 | <li><a·class="reference·internal"·href="#on-piece- | 53 | <li><a·class="reference·internal"·href="#on-piece-pass-on-piece-failed"·id="toc-entry-17">on_piece_pass()·on_piece_failed()</a></li> |
54 | <li><a·class="reference·internal"·href="#tick"·id="toc-entry-18">tick()</a></li> | 54 | <li><a·class="reference·internal"·href="#tick"·id="toc-entry-18">tick()</a></li> |
55 | <li><a·class="reference·internal"·href="#on-pause-on-resume"·id="toc-entry-19">on_pause()·on_resume()</a></li> | 55 | <li><a·class="reference·internal"·href="#on-pause-on-resume"·id="toc-entry-19">on_pause()·on_resume()</a></li> |
56 | <li><a·class="reference·internal"·href="#on-files-checked"·id="toc-entry-20">on_files_checked()</a></li> | 56 | <li><a·class="reference·internal"·href="#on-files-checked"·id="toc-entry-20">on_files_checked()</a></li> |
57 | <li><a·class="reference·internal"·href="#on-state"·id="toc-entry-21">on_state()</a></li> | 57 | <li><a·class="reference·internal"·href="#on-state"·id="toc-entry-21">on_state()</a></li> |
58 | <li><a·class="reference·internal"·href="#on-add-peer"·id="toc-entry-22">on_add_peer()</a></li> | 58 | <li><a·class="reference·internal"·href="#on-add-peer"·id="toc-entry-22">on_add_peer()</a></li> |
59 | </ul> | 59 | </ul> |
60 | </li> | 60 | </li> |
61 | <li><a·class="reference·internal"·href="#peer-plugin"·id="toc-entry-23">peer_plugin</a><ul> | 61 | <li><a·class="reference·internal"·href="#peer-plugin"·id="toc-entry-23">peer_plugin</a><ul> |
62 | <li><a·class="reference·internal"·href="#type"·id="toc-entry-24">type()</a></li> | 62 | <li><a·class="reference·internal"·href="#type"·id="toc-entry-24">type()</a></li> |
63 | <li><a·class="reference·internal"·href="#add-handshake"·id="toc-entry-25">add_handshake()</a></li> | 63 | <li><a·class="reference·internal"·href="#add-handshake"·id="toc-entry-25">add_handshake()</a></li> |
64 | <li><a·class="reference·internal"·href="#on-disconnect"·id="toc-entry-26">on_disconnect()</a></li> | 64 | <li><a·class="reference·internal"·href="#on-disconnect"·id="toc-entry-26">on_disconnect()</a></li> |
65 | <li><a·class="reference·internal"·href="#on-connected"·id="toc-entry-27">on_connected()</a></li> | 65 | <li><a·class="reference·internal"·href="#on-connected"·id="toc-entry-27">on_connected()</a></li> |
66 | <li><a·class="reference·internal"·href="#on-handshake"·id="toc-entry-28">on_handshake()</a></li> | 66 | <li><a·class="reference·internal"·href="#on-handshake"·id="toc-entry-28">on_handshake()</a></li> |
67 | <li><a·class="reference·internal"·href="#on-extension-handshake"·id="toc-entry-29">on_extension_handshake()</a></li> | 67 | <li><a·class="reference·internal"·href="#on-extension-handshake"·id="toc-entry-29">on_extension_handshake()</a></li> |
68 | <li><a·class="reference·internal"·href="#on- | 68 | <li><a·class="reference·internal"·href="#on-interested-on-choke-on-bitfield-on-allowed-fast-on-request-on-unchoke-on-not-interested-on-have-none-on-have-all-on-dont-have-on-have"·id="toc-entry-30">on_interested()·on_choke()·on_bitfield()·on_allowed_fast()·on_request()·on_unchoke()·on_not_interested([·...·truncated·by·diffoscope;·len:·52,·SHA:·53489960c39805c171b58f7074098b7dc367fffa616dd414bf7ad374d469d7e8·...·]e()</a></li> |
69 | <li><a·class="reference·internal"·href="#on-piece"·id="toc-entry-31">on_piece()</a></li> | 69 | <li><a·class="reference·internal"·href="#on-piece"·id="toc-entry-31">on_piece()</a></li> |
70 | <li><a·class="reference·internal"·href="#sent-unchoke-sent-not-interested | 70 | <li><a·class="reference·internal"·href="#sent-piece-sent-unchoke-sent-not-interested-sent-interested-sent-have"·id="toc-entry-32">sent_piece()·sent_unchoke()·sent_not_interested()·sent_interested()·sent_have()</a></li> |
71 | <li><a·class="reference·internal"·href="#sent-payload"·id="toc-entry-33">sent_payload()</a></li> | 71 | <li><a·class="reference·internal"·href="#sent-payload"·id="toc-entry-33">sent_payload()</a></li> |
72 | <li><a·class="reference·internal"·href="#can-disconnect"·id="toc-entry-34">can_disconnect()</a></li> | 72 | <li><a·class="reference·internal"·href="#can-disconnect"·id="toc-entry-34">can_disconnect()</a></li> |
73 | <li><a·class="reference·internal"·href="#on-extended"·id="toc-entry-35">on_extended()</a></li> | 73 | <li><a·class="reference·internal"·href="#on-extended"·id="toc-entry-35">on_extended()</a></li> |
74 | <li><a·class="reference·internal"·href="#on-unknown-message"·id="toc-entry-36">on_unknown_message()</a></li> | 74 | <li><a·class="reference·internal"·href="#on-unknown-message"·id="toc-entry-36">on_unknown_message()</a></li> |
75 | <li><a·class="reference·internal"·href="#on-piece- | 75 | <li><a·class="reference·internal"·href="#on-piece-pass-on-piece-failed-1"·id="toc-entry-37">on_piece_pass()·on_piece_failed()</a></li> |
76 | <li><a·class="reference·internal"·href="#tick-1"·id="toc-entry-38">tick()</a></li> | 76 | <li><a·class="reference·internal"·href="#tick-1"·id="toc-entry-38">tick()</a></li> |
77 | <li><a·class="reference·internal"·href="#write-request"·id="toc-entry-39">write_request()</a></li> | 77 | <li><a·class="reference·internal"·href="#write-request"·id="toc-entry-39">write_request()</a></li> |
78 | </ul> | 78 | </ul> |
79 | </li> | 79 | </li> |
80 | <li><a·class="reference·internal"·href="#crypto-plugin"·id="toc-entry-40">crypto_plugin</a><ul> | 80 | <li><a·class="reference·internal"·href="#crypto-plugin"·id="toc-entry-40">crypto_plugin</a><ul> |
81 | <li><a·class="reference·internal"·href="#decrypt"·id="toc-entry-41">decrypt()</a></li> | 81 | <li><a·class="reference·internal"·href="#decrypt"·id="toc-entry-41">decrypt()</a></li> |
82 | </ul> | 82 | </ul> |
Offset 345, 16 lines modified | Offset 345, 16 lines modified | ||
345 | <p>Torrent·plugins·are·associated·with·a·single·torrent·and·have·a·number | 345 | <p>Torrent·plugins·are·associated·with·a·single·torrent·and·have·a·number |
346 | of·functions·called·at·certain·events.·Many·of·its·functions·have·the | 346 | of·functions·called·at·certain·events.·Many·of·its·functions·have·the |
347 | ability·to·change·or·override·the·default·libtorrent·behavior.</p> | 347 | ability·to·change·or·override·the·default·libtorrent·behavior.</p> |
348 | <pre·class="literal-block"> | 348 | <pre·class="literal-block"> |
349 | struct·torrent_plugin | 349 | struct·torrent_plugin |
350 | { | 350 | { |
351 | ···virtual·std::shared_ptr<peer_plugin>·<strong>new_connection</strong>·(peer_connection_handle·const&); | 351 | ···virtual·std::shared_ptr<peer_plugin>·<strong>new_connection</strong>·(peer_connection_handle·const&); |
352 | ···virtual·void·<strong>on_piece_pass</strong>·(piece_index_t); | ||
353 | ···virtual·void·<strong>on_piece_failed</strong>·(piece_index_t); | 352 | ···virtual·void·<strong>on_piece_failed</strong>·(piece_index_t); |
353 | ···virtual·void·<strong>on_piece_pass</strong>·(piece_index_t); | ||
354 | ···virtual·void·<strong>tick</strong>·(); | 354 | ···virtual·void·<strong>tick</strong>·(); |
355 | ···virtual·bool·<strong>on_pause</strong>·(); | 355 | ···virtual·bool·<strong>on_pause</strong>·(); |
356 | ···virtual·bool·<strong>on_resume</strong>·(); | 356 | ···virtual·bool·<strong>on_resume</strong>·(); |
357 | ···virtual·void·<strong>on_files_checked</strong>·(); | 357 | ···virtual·void·<strong>on_files_checked</strong>·(); |
358 | ···virtual·void·<strong>on_state</strong>·(torrent_status::state_t); | 358 | ···virtual·void·<strong>on_state</strong>·(torrent_status::state_t); |
359 | ···virtual·void·<strong>on_add_peer</strong>·(tcp::endpoint·const&, | 359 | ···virtual·void·<strong>on_add_peer</strong>·(tcp::endpoint·const&, |
360 | ······peer_source_flags_t,·add_peer_flags_t); | 360 | ······peer_source_flags_t,·add_peer_flags_t); |
Offset 376, 21 lines modified | Offset 376, 21 lines modified | ||
376 | are·supposed·to·return·an·instance·of·your·<a·class="reference·external"·href="reference-Plugins.html#peer_plugin">peer_plugin</a>·class.·Which·in | 376 | are·supposed·to·return·an·instance·of·your·<a·class="reference·external"·href="reference-Plugins.html#peer_plugin">peer_plugin</a>·class.·Which·in |
377 | turn·will·have·its·hook·functions·called·on·event·specific·to·that·peer.</p> | 377 | turn·will·have·its·hook·functions·called·on·event·specific·to·that·peer.</p> |
378 | <p>The·<tt·class="docutils·literal">peer_connection_handle</tt>·will·be·valid·as·long·as·the·<tt·class="docutils·literal">shared_ptr</tt> | 378 | <p>The·<tt·class="docutils·literal">peer_connection_handle</tt>·will·be·valid·as·long·as·the·<tt·class="docutils·literal">shared_ptr</tt> |
379 | is·being·held·by·the·torrent·object.·So,·it·is·generally·a·good·idea·to·not | 379 | is·being·held·by·the·torrent·object.·So,·it·is·generally·a·good·idea·to·not |
380 | keep·a·<tt·class="docutils·literal">shared_ptr</tt>·to·your·own·<a·class="reference·external"·href="reference-Plugins.html#peer_plugin">peer_plugin</a>.·If·you·want·to·keep·references | 380 | keep·a·<tt·class="docutils·literal">shared_ptr</tt>·to·your·own·<a·class="reference·external"·href="reference-Plugins.html#peer_plugin">peer_plugin</a>.·If·you·want·to·keep·references |
381 | to·it,·use·<tt·class="docutils·literal">weak_ptr</tt>.</p> | 381 | to·it,·use·<tt·class="docutils·literal">weak_ptr</tt>.</p> |
382 | <p>If·this·function·throws·an·exception,·the·connection·will·be·closed.</p> | 382 | <p>If·this·function·throws·an·exception,·the·connection·will·be·closed.</p> |
383 | <a·name="on_piece_ | 383 | <a·name="on_piece_pass()"></a> |
384 | <a·name="on_piece_ | 384 | <a·name="on_piece_failed()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:torrent_plugin%3A%3A%5Bon_piece_pass%28%29+on_piece_failed%28%29%5D&labels=documentation&body=Documentation+under+heading+%22torrent_plugin%3A%3A%5[·...·truncated·by·diffoscope;·len:·36,·SHA:·8e418a6774c5cc2b4ed9e51cb3bb633d6fb99612579b1694bff3f7f5e96cb48f·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
385 | <div·class="section"·id="on-piece- | 385 | <div·class="section"·id="on-piece-pass-on-piece-failed"> |
386 | <h2>on_piece_ | 386 | <h2>on_piece_pass()·on_piece_failed()</h2> |
387 | <pre·class="literal-block"> | 387 | <pre·class="literal-block"> |
388 | virtual·void·<strong>on_piece_pass</strong>·(piece_index_t); | ||
389 | virtual·void·<strong>on_piece_failed</strong>·(piece_index_t); | 388 | virtual·void·<strong>on_piece_failed</strong>·(piece_index_t); |
389 | virtual·void·<strong>on_piece_pass</strong>·(piece_index_t); | ||
390 | </pre> | 390 | </pre> |
391 | <p>These·hooks·are·called·when·a·piece·passes·the·hash·check·or·fails·the·hash | 391 | <p>These·hooks·are·called·when·a·piece·passes·the·hash·check·or·fails·the·hash |
392 | check,·respectively.·The·<tt·class="docutils·literal">index</tt>·is·the·piece·index·that·was·downloaded. | 392 | check,·respectively.·The·<tt·class="docutils·literal">index</tt>·is·the·piece·index·that·was·downloaded. |
393 | It·is·possible·to·access·the·list·of·peers·that·participated·in·sending·the | 393 | It·is·possible·to·access·the·list·of·peers·that·participated·in·sending·the |
394 | piece·through·the·<tt·class="docutils·literal">torrent</tt>·and·the·<tt·class="docutils·literal">piece_picker</tt>.</p> | 394 | piece·through·the·<tt·class="docutils·literal">torrent</tt>·and·the·<tt·class="docutils·literal">piece_picker</tt>.</p> |
395 | <a·name="tick()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:torrent_plugin%3A%3A%5Btick%28%29%5D&labels=documentation&body=Documentation+under+heading+%22torrent_plugin%3A%3A%5Btick%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 395 | <a·name="tick()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:torrent_plugin%3A%3A%5Btick%28%29%5D&labels=documentation&body=Documentation+under+heading+%22torrent_plugin%3A%3A%5Btick%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
396 | <div·class="section"·id="tick"> | 396 | <div·class="section"·id="tick"> |
Offset 475, 51 lines modified | Offset 475, 51 lines modified | ||
475 | { | 475 | { |
476 | ···virtual·string_view·<strong>type</strong>·()·const; | 476 | ···virtual·string_view·<strong>type</strong>·()·const; |
477 | ···virtual·void·<strong>add_handshake</strong>·(entry&); | 477 | ···virtual·void·<strong>add_handshake</strong>·(entry&); |
478 | ···virtual·void·<strong>on_disconnect</strong>·(error_code·const&); | 478 | ···virtual·void·<strong>on_disconnect</strong>·(error_code·const&); |
479 | ···virtual·void·<strong>on_connected</strong>·(); | 479 | ···virtual·void·<strong>on_connected</strong>·(); |
480 | ···virtual·bool·<strong>on_handshake</strong>·(span<char·const>); | 480 | ···virtual·bool·<strong>on_handshake</strong>·(span<char·const>); |
481 | ···virtual·bool·<strong>on_extension_handshake</strong>·(bdecode_node·const&); | 481 | ···virtual·bool·<strong>on_extension_handshake</strong>·(bdecode_node·const&); |
482 | ···virtual·bool·<strong>on_have</strong>·(piece_index_t); | ||
482 | ···virtual·bool·<strong>on_ | 483 | ···virtual·bool·<strong>on_choke</strong>·(); |
483 | ···virtual·bool·<strong>on_dont_have</strong>·(piece_index_t); | ||
484 | ···virtual·bool·<strong>on_have_all</strong>·(); | ||
485 | ···virtual·bool·<strong>on_have_none</strong>·(); | ||
486 | ···virtual·bool·<strong>on_not_interested</strong>·(); | ||
487 | ···virtual·bool·<strong>on_interested</strong>·(); | 484 | ···virtual·bool·<strong>on_interested</strong>·(); |
488 | ···virtual·bool·<strong>on_request</strong>·(peer_request·const&); | ||
489 | ···virtual·bool·<strong>on_allowed_fast</strong>·(piece_index_t); | 485 | ···virtual·bool·<strong>on_allowed_fast</strong>·(piece_index_t); |
486 | ···virtual·bool·<strong>on_not_interested</strong>·(); | ||
487 | ···virtual·bool·<strong>on_unchoke</strong>·(); | ||
490 | ···virtual·bool·<strong>on_bitfield</strong>·(bitfield·const&·<em>/*bitfield*/</em>); | 488 | ···virtual·bool·<strong>on_bitfield</strong>·(bitfield·const&·<em>/*bitfield*/</em>); |
489 | ···virtual·bool·<strong>on_have_none</strong>·(); | ||
490 | ···virtual·bool·<strong>on_request</strong>·(peer_request·const&); | ||
491 | ···virtual·bool·<strong>on_have</strong>·(piece_index_t); | 491 | ···virtual·bool·<strong>on_dont_have</strong>·(piece_index_t); |
492 | ···virtual·bool·<strong>on_ | 492 | ···virtual·bool·<strong>on_have_all</strong>·(); |
493 | ···virtual·bool·<strong>on_piece</strong>·(peer_request·const&·<em>/*piece*/</em> | 493 | ···virtual·bool·<strong>on_piece</strong>·(peer_request·const&·<em>/*piece*/</em> |
494 | ······,·span<char·const>·<em>/*buf*/</em>); | 494 | ······,·span<char·const>·<em>/*buf*/</em>); |
495 | ···virtual·bool·<strong>on_reject</strong>·(peer_request·const&); | 495 | ···virtual·bool·<strong>on_reject</strong>·(peer_request·const&); |
496 | ···virtual·bool·<strong>on_cancel</strong>·(peer_request·const&); | ||
497 | ···virtual·bool·<strong>on_suggest</strong>·(piece_index_t); | 496 | ···virtual·bool·<strong>on_suggest</strong>·(piece_index_t); |
497 | ···virtual·bool·<strong>on_cancel</strong>·(peer_request·const&); | ||
498 | ···virtual·void·<strong>sent_have_all</strong>·(); | 498 | ···virtual·void·<strong>sent_have_all</strong>·(); |
499 | ···virtual·void·<strong>sent_suggest</strong>·(piece_index_t); | ||
500 | ···virtual·void·<strong>sent_have_none</strong>·(); | 499 | ···virtual·void·<strong>sent_have_none</strong>·(); |
501 | ···virtual·void·<strong>sent_ | 500 | ···virtual·void·<strong>sent_suggest</strong>·(piece_index_t); |
502 | ···virtual·void·<strong>sent_request</strong>·(peer_request·const&); | 501 | ···virtual·void·<strong>sent_request</strong>·(peer_request·const&); |
502 | ···virtual·void·<strong>sent_reject_request</strong>·(peer_request·const&); | ||
503 | ···virtual·void·<strong>sent_allow_fast</strong>·(piece_index_t); | 503 | ···virtual·void·<strong>sent_allow_fast</strong>·(piece_index_t); |
504 | ···virtual·void·<strong>sent_choke</strong>·(); | 504 | ···virtual·void·<strong>sent_choke</strong>·(); |
505 | ···virtual·void·<strong>sent_cancel</strong>·(peer_request·const&); | 505 | ···virtual·void·<strong>sent_cancel</strong>·(peer_request·const&); |
506 | ···virtual·void·<strong>sent_not_interested</strong>·(); | ||
507 | ···virtual·void·<strong>sent_have</strong>·(piece_index_t); | ||
508 | ···virtual·void·<strong>sent_interested</strong>·(); | 506 | ···virtual·void·<strong>sent_interested</strong>·(); |
509 | ···virtual·void·<strong>sent_ | 507 | ···virtual·void·<strong>sent_have</strong>·(piece_index_t); |
510 | ···virtual·void·<strong>sent_piece</strong>·(peer_request·const&); | 508 | ···virtual·void·<strong>sent_piece</strong>·(peer_request·const&); |
509 | ···virtual·void·<strong>sent_unchoke</strong>·(); | ||
510 | ···virtual·void·<strong>sent_not_interested</strong>·(); | ||
511 | ···virtual·void·<strong>sent_payload</strong>·(int·<em>/*·bytes·*/</em>); | 511 | ···virtual·void·<strong>sent_payload</strong>·(int·<em>/*·bytes·*/</em>); |
512 | ···virtual·bool·<strong>can_disconnect</strong>·(error_code·const&·<em>/*ec*/</em>); | 512 | ···virtual·bool·<strong>can_disconnect</strong>·(error_code·const&·<em>/*ec*/</em>); |
513 | ···virtual·bool·<strong>on_extended</strong>·(int·<em>/*length*/</em>,·int·<em>/*msg*/</em>, | 513 | ···virtual·bool·<strong>on_extended</strong>·(int·<em>/*length*/</em>,·int·<em>/*msg*/</em>, |
Max diff block lines reached; 15876/27302 bytes (58.15%) of diff not shown. |
Offset 15, 38 lines modified | Offset 15, 38 lines modified | ||
15 | ··········o·_\x8o_\x8n_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8(_\x8) | 15 | ··········o·_\x8o_\x8n_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8(_\x8) |
16 | ··········o·_\x8o_\x8n_\x8__\x8u_\x8n_\x8k_\x8n_\x8o_\x8w_\x8n_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 16 | ··········o·_\x8o_\x8n_\x8__\x8u_\x8n_\x8k_\x8n_\x8o_\x8w_\x8n_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
17 | ··········o·_\x8o_\x8n_\x8__\x8t_\x8i_\x8c_\x8k_\x8(_\x8) | 17 | ··········o·_\x8o_\x8n_\x8__\x8t_\x8i_\x8c_\x8k_\x8(_\x8) |
18 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8u_\x8n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8) | 18 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8u_\x8n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8) |
19 | ··········o·_\x8l_\x8o_\x8a_\x8d_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) | 19 | ··········o·_\x8l_\x8o_\x8a_\x8d_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) |
20 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n | 20 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n |
21 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) | 21 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) |
22 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8 | 22 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_.a_.s_.s_.(_.)_.·_.o_.n_.__.p_.i_.e_.c_.e_.__.f_.a_.i_.l_.e_.d_\x8(_\x8) |
23 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) | 23 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) |
24 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8) | 24 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8) |
25 | ··········o·_\x8o_\x8n_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8__\x8c_\x8h_\x8e_\x8c_\x8k_\x8e_\x8d_\x8(_\x8) | 25 | ··········o·_\x8o_\x8n_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8__\x8c_\x8h_\x8e_\x8c_\x8k_\x8e_\x8d_\x8(_\x8) |
26 | ··········o·_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) | 26 | ··········o·_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) |
27 | ··········o·_\x8o_\x8n_\x8__\x8a_\x8d_\x8d_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) | 27 | ··········o·_\x8o_\x8n_\x8__\x8a_\x8d_\x8d_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) |
28 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n | 28 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n |
29 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) | 29 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) |
30 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) | 30 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) |
31 | ··········o·_\x8o_\x8n_\x8__\x8d_\x8i_\x8s_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8(_\x8) | 31 | ··········o·_\x8o_\x8n_\x8__\x8d_\x8i_\x8s_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8(_\x8) |
32 | ··········o·_\x8o_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8e_\x8d_\x8(_\x8) | 32 | ··········o·_\x8o_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8e_\x8d_\x8(_\x8) |
33 | ··········o·_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) | 33 | ··········o·_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) |
34 | ··········o·_\x8o_\x8n_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) | 34 | ··········o·_\x8o_\x8n_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) |
35 | ··········o·_\x8o_\x8n_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8a_\x8l_\x8l_\x8o_\x8w_\x8e_\x8d_\x8__\x8f_\x8a_\x8s_\x8t_\x8(_\x8) | ||
35 | ·········· | 36 | ············_.o_.n_.__.r_.e_.q_.u_.e_.s_.t_.(_.)_.·_.o_.n_.__.u_.n_.c_.h_.o_.k_.e_.(_.)_.·_.o_.n_.__.n_.o_.t_.__.i_.n_.t_.e_.r_.e_.s_.t_.e_.d_.(_.)_.·_.o_.n_.__.h_.a_.v_.e_.__.n_.o_.n_\x8e_\x8(_\x8) |
36 | ············_\x8o_\x8n_\x8__\x8a_\x8l_\x8l_\x8o_\x8w_\x8e_\x8d_\x8__\x8f_\x8a_\x8s_\x8t_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8) | ||
37 | ············_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8a_\x8l_\x8l_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8 | 37 | ············_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8a_\x8l_\x8l_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8d_.o_.n_.t_.__.h_.a_.v_.e_.(_.)_.·_.o_.n_.__.h_.a_.v_\x8e_\x8(_\x8) |
38 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 38 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
39 | ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8 | 39 | ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8p_.i_.e_.c_.e_.(_.)_.·_.s_.e_.n_.t_.__.u_.n_.c_.h_.o_.k_.e_.(_.)_.·_.s_.e_.n_.t_.__.n_.o_.t_.__.i_.n_.t_.e_.r_.e_.s_.t_.e_.d_\x8(_\x8)_\x8·_\x8s_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8) |
40 | ············_\x8s_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8) | 40 | ············_\x8s_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8) |
41 | ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8y_\x8l_\x8o_\x8a_\x8d_\x8(_\x8) | 41 | ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8y_\x8l_\x8o_\x8a_\x8d_\x8(_\x8) |
42 | ··········o·_\x8c_\x8a_\x8n_\x8__\x8d_\x8i_\x8s_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8(_\x8) | 42 | ··········o·_\x8c_\x8a_\x8n_\x8__\x8d_\x8i_\x8s_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8(_\x8) |
43 | ··········o·_\x8o_\x8n_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8e_\x8d_\x8(_\x8) | 43 | ··········o·_\x8o_\x8n_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8e_\x8d_\x8(_\x8) |
44 | ··········o·_\x8o_\x8n_\x8__\x8u_\x8n_\x8k_\x8n_\x8o_\x8w_\x8n_\x8__\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) | 44 | ··········o·_\x8o_\x8n_\x8__\x8u_\x8n_\x8k_\x8n_\x8o_\x8w_\x8n_\x8__\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) |
45 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8 | 45 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_.a_.s_.s_.(_.)_.·_.o_.n_.__.p_.i_.e_.c_.e_.__.f_.a_.i_.l_.e_.d_\x8(_\x8) |
46 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) | 46 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) |
47 | ··········o·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8) | 47 | ··········o·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8) |
48 | ····*·_\x8c_\x8r_\x8y_\x8p_\x8t_\x8o_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n | 48 | ····*·_\x8c_\x8r_\x8y_\x8p_\x8t_\x8o_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n |
49 | ··········o·_\x8d_\x8e_\x8c_\x8r_\x8y_\x8p_\x8t_\x8(_\x8) | 49 | ··········o·_\x8d_\x8e_\x8c_\x8r_\x8y_\x8p_\x8t_\x8(_\x8) |
50 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e | 50 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e |
51 | ····*·_\x8b_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e | 51 | ····*·_\x8b_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e |
52 | ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8u_\x8t_\x8__\x8p_\x8e_\x8x_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8(_\x8) | 52 | ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8u_\x8t_\x8__\x8p_\x8e_\x8x_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8(_\x8) |
Offset 256, 16 lines modified | Offset 256, 16 lines modified | ||
256 | Torrent·plugins·are·associated·with·a·single·torrent·and·have·a·number·of | 256 | Torrent·plugins·are·associated·with·a·single·torrent·and·have·a·number·of |
257 | functions·called·at·certain·events.·Many·of·its·functions·have·the·ability·to | 257 | functions·called·at·certain·events.·Many·of·its·functions·have·the·ability·to |
258 | change·or·override·the·default·libtorrent·behavior. | 258 | change·or·override·the·default·libtorrent·behavior. |
259 | struct·torrent_plugin | 259 | struct·torrent_plugin |
260 | { | 260 | { |
261 | ···virtual·std::shared_ptr<peer_plugin>·n\x8ne\x8ew\x8w_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n·(peer_connection_handle | 261 | ···virtual·std::shared_ptr<peer_plugin>·n\x8ne\x8ew\x8w_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n·(peer_connection_handle |
262 | const&); | 262 | const&); |
263 | ···virtual·void·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_p\x8pa\x8as\x8ss\x8s·(piece_index_t); | ||
264 | ···virtual·void·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d·(piece_index_t); | 263 | ···virtual·void·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d·(piece_index_t); |
264 | ···virtual·void·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_p\x8pa\x8as\x8ss\x8s·(piece_index_t); | ||
265 | ···virtual·void·t\x8ti\x8ic\x8ck\x8k·(); | 265 | ···virtual·void·t\x8ti\x8ic\x8ck\x8k·(); |
266 | ···virtual·bool·o\x8on\x8n_\x8_p\x8pa\x8au\x8us\x8se\x8e·(); | 266 | ···virtual·bool·o\x8on\x8n_\x8_p\x8pa\x8au\x8us\x8se\x8e·(); |
267 | ···virtual·bool·o\x8on\x8n_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e·(); | 267 | ···virtual·bool·o\x8on\x8n_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e·(); |
268 | ···virtual·void·o\x8on\x8n_\x8_f\x8fi\x8il\x8le\x8es\x8s_\x8_c\x8ch\x8he\x8ec\x8ck\x8ke\x8ed\x8d·(); | 268 | ···virtual·void·o\x8on\x8n_\x8_f\x8fi\x8il\x8le\x8es\x8s_\x8_c\x8ch\x8he\x8ec\x8ck\x8ke\x8ed\x8d·(); |
269 | ···virtual·void·o\x8on\x8n_\x8_s\x8st\x8ta\x8at\x8te\x8e·(torrent_status::state_t); | 269 | ···virtual·void·o\x8on\x8n_\x8_s\x8st\x8ta\x8at\x8te\x8e·(torrent_status::state_t); |
270 | ···virtual·void·o\x8on\x8n_\x8_a\x8ad\x8dd\x8d_\x8_p\x8pe\x8ee\x8er\x8r·(tcp::endpoint·const&, | 270 | ···virtual·void·o\x8on\x8n_\x8_a\x8ad\x8dd\x8d_\x8_p\x8pe\x8ee\x8er\x8r·(tcp::endpoint·const&, |
271 | ······peer_source_flags_t,·add_peer_flags_t); | 271 | ······peer_source_flags_t,·add_peer_flags_t); |
Offset 285, 17 lines modified | Offset 285, 17 lines modified | ||
285 | have·its·hook·functions·called·on·event·specific·to·that·peer. | 285 | have·its·hook·functions·called·on·event·specific·to·that·peer. |
286 | The·peer_connection_handle·will·be·valid·as·long·as·the·shared_ptr·is·being | 286 | The·peer_connection_handle·will·be·valid·as·long·as·the·shared_ptr·is·being |
287 | held·by·the·torrent·object.·So,·it·is·generally·a·good·idea·to·not·keep·a | 287 | held·by·the·torrent·object.·So,·it·is·generally·a·good·idea·to·not·keep·a |
288 | shared_ptr·to·your·own·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n.·If·you·want·to·keep·references·to·it,·use | 288 | shared_ptr·to·your·own·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n.·If·you·want·to·keep·references·to·it,·use |
289 | weak_ptr. | 289 | weak_ptr. |
290 | If·this·function·throws·an·exception,·the·connection·will·be·closed. | 290 | If·this·function·throws·an·exception,·the·connection·will·be·closed. |
291 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 291 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
292 | *\x8**\x8**\x8**\x8**\x8*·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_p\x8pa\x8as\x8ss\x8s(\x8()\x8)·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
292 | *\x8**\x8**\x8**\x8**\x8*·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d(\x8()\x8)·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_p\x8pa\x8as\x8ss\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
293 | virtual·void·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_p\x8pa\x8as\x8ss\x8s·(piece_index_t); | ||
294 | virtual·void·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d·(piece_index_t); | 293 | virtual·void·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d·(piece_index_t); |
294 | virtual·void·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_p\x8pa\x8as\x8ss\x8s·(piece_index_t); | ||
295 | These·hooks·are·called·when·a·piece·passes·the·hash·check·or·fails·the·hash | 295 | These·hooks·are·called·when·a·piece·passes·the·hash·check·or·fails·the·hash |
296 | check,·respectively.·The·index·is·the·piece·index·that·was·downloaded.·It·is | 296 | check,·respectively.·The·index·is·the·piece·index·that·was·downloaded.·It·is |
297 | possible·to·access·the·list·of·peers·that·participated·in·sending·the·piece | 297 | possible·to·access·the·list·of·peers·that·participated·in·sending·the·piece |
298 | through·the·torrent·and·the·piece_picker. | 298 | through·the·torrent·and·the·piece_picker. |
299 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 299 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
300 | *\x8**\x8**\x8**\x8**\x8*·t\x8ti\x8ic\x8ck\x8k(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 300 | *\x8**\x8**\x8**\x8**\x8*·t\x8ti\x8ic\x8ck\x8k(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
301 | virtual·void·t\x8ti\x8ic\x8ck\x8k·(); | 301 | virtual·void·t\x8ti\x8ic\x8ck\x8k·(); |
Offset 354, 51 lines modified | Offset 354, 51 lines modified | ||
354 | { | 354 | { |
355 | ···virtual·string_view·t\x8ty\x8yp\x8pe\x8e·()·const; | 355 | ···virtual·string_view·t\x8ty\x8yp\x8pe\x8e·()·const; |
356 | ···virtual·void·a\x8ad\x8dd\x8d_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·(entry&); | 356 | ···virtual·void·a\x8ad\x8dd\x8d_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·(entry&); |
357 | ···virtual·void·o\x8on\x8n_\x8_d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t·(error_code·const&); | 357 | ···virtual·void·o\x8on\x8n_\x8_d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t·(error_code·const&); |
358 | ···virtual·void·o\x8on\x8n_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8te\x8ed\x8d·(); | 358 | ···virtual·void·o\x8on\x8n_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8te\x8ed\x8d·(); |
359 | ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·(span<char·const>); | 359 | ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·(span<char·const>); |
360 | ···virtual·bool·o\x8on\x8n_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·(bdecode_node·const&); | 360 | ···virtual·bool·o\x8on\x8n_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·(bdecode_node·const&); |
361 | ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t); | ||
361 | ···virtual·bool·o\x8on\x8n_\x8_ | 362 | ···virtual·bool·o\x8on\x8n_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e·(); |
362 | ···virtual·bool·o\x8on\x8n_\x8_d\x8do\x8on\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t); | ||
363 | ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_a\x8al\x8ll\x8l·(); | ||
364 | ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e·(); | ||
365 | ···virtual·bool·o\x8on\x8n_\x8_n\x8no\x8ot\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·(); | ||
366 | ···virtual·bool·o\x8on\x8n_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·(); | 363 | ···virtual·bool·o\x8on\x8n_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·(); |
367 | ···virtual·bool·o\x8on\x8n_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t·(peer_request·const&); | ||
368 | ···virtual·bool·o\x8on\x8n_\x8_a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d_\x8_f\x8fa\x8as\x8st\x8t·(piece_index_t); | 364 | ···virtual·bool·o\x8on\x8n_\x8_a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d_\x8_f\x8fa\x8as\x8st\x8t·(piece_index_t); |
365 | ···virtual·bool·o\x8on\x8n_\x8_n\x8no\x8ot\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·(); | ||
366 | ···virtual·bool·o\x8on\x8n_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e·(); | ||
369 | ···virtual·bool·o\x8on\x8n_\x8_b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield·const&·/\x8/*\x8*b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d*\x8*/\x8/); | 367 | ···virtual·bool·o\x8on\x8n_\x8_b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield·const&·/\x8/*\x8*b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d*\x8*/\x8/); |
368 | ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e·(); | ||
369 | ···virtual·bool·o\x8on\x8n_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t·(peer_request·const&); | ||
370 | ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t); | 370 | ···virtual·bool·o\x8on\x8n_\x8_d.do.on.nt.t_._h\x8ha\x8av\x8ve\x8e·(piece_index_t); |
371 | ···virtual·bool·o\x8on\x8n_\x8_ | 371 | ···virtual·bool·o\x8on\x8n_\x8_h.ha.av.ve.e_._a.al.ll.l·(); |
372 | ···virtual·bool·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(peer_request·const&·/\x8/*\x8*p\x8pi\x8ie\x8ec\x8ce\x8e*\x8*/\x8/ | 372 | ···virtual·bool·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(peer_request·const&·/\x8/*\x8*p\x8pi\x8ie\x8ec\x8ce\x8e*\x8*/\x8/ |
373 | ······,·span<char·const>·/\x8/*\x8*b\x8bu\x8uf\x8f*\x8*/\x8/); | 373 | ······,·span<char·const>·/\x8/*\x8*b\x8bu\x8uf\x8f*\x8*/\x8/); |
374 | ···virtual·bool·o\x8on\x8n_\x8_r\x8re\x8ej\x8je\x8ec\x8ct\x8t·(peer_request·const&); | 374 | ···virtual·bool·o\x8on\x8n_\x8_r\x8re\x8ej\x8je\x8ec\x8ct\x8t·(peer_request·const&); |
375 | ···virtual·bool·o\x8on\x8n_\x8_c\x8ca\x8an\x8nc\x8ce\x8el\x8l·(peer_request·const&); | ||
376 | ···virtual·bool·o\x8on\x8n_\x8_s\x8su\x8ug\x8gg\x8ge\x8es\x8st\x8t·(piece_index_t); | 375 | ···virtual·bool·o\x8on\x8n_\x8_s\x8su\x8ug\x8gg\x8ge\x8es\x8st\x8t·(piece_index_t); |
376 | ···virtual·bool·o\x8on\x8n_\x8_c\x8ca\x8an\x8nc\x8ce\x8el\x8l·(peer_request·const&); | ||
377 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e_\x8_a\x8al\x8ll\x8l·(); | 377 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e_\x8_a\x8al\x8ll\x8l·(); |
378 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_s\x8su\x8ug\x8gg\x8ge\x8es\x8st\x8t·(piece_index_t); | ||
379 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e·(); | 378 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e·(); |
380 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_ | 379 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_s.su.ug.gg.ge.es.st.t·(piece_index_t); |
381 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t·(peer_request·const&); | 380 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t·(peer_request·const&); |
381 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_r\x8re\x8ej\x8je\x8ec\x8ct\x8t_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t·(peer_request·const&); | ||
382 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_a\x8al\x8ll\x8lo\x8ow\x8w_\x8_f\x8fa\x8as\x8st\x8t·(piece_index_t); | 382 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_a\x8al\x8ll\x8lo\x8ow\x8w_\x8_f\x8fa\x8as\x8st\x8t·(piece_index_t); |
383 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e·(); | 383 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e·(); |
384 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_c\x8ca\x8an\x8nc\x8ce\x8el\x8l·(peer_request·const&); | 384 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_c\x8ca\x8an\x8nc\x8ce\x8el\x8l·(peer_request·const&); |
385 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_n\x8no\x8ot\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·(); | ||
386 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t); | ||
387 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·(); | 385 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·(); |
388 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_ | 386 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_h.ha.av.ve.e·(piece_index_t); |
389 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(peer_request·const&); | 387 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(peer_request·const&); |
388 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e·(); | ||
389 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_n\x8no\x8ot\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·(); | ||
390 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_p\x8pa\x8ay\x8yl\x8lo\x8oa\x8ad\x8d·(int·/\x8/*\x8*·b\x8by\x8yt\x8te\x8es\x8s·*\x8*/\x8/); | 390 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_p\x8pa\x8ay\x8yl\x8lo\x8oa\x8ad\x8d·(int·/\x8/*\x8*·b\x8by\x8yt\x8te\x8es\x8s·*\x8*/\x8/); |
391 | ···virtual·bool·c\x8ca\x8an\x8n_\x8_d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t·(error_code·const&·/\x8/*\x8*e\x8ec\x8c*\x8*/\x8/); | 391 | ···virtual·bool·c\x8ca\x8an\x8n_\x8_d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t·(error_code·const&·/\x8/*\x8*e\x8ec\x8c*\x8*/\x8/); |
392 | ···virtual·bool·o\x8on\x8n_\x8_e\x8ex\x8xt\x8te\x8en\x8nd\x8de\x8ed\x8d·(int·/\x8/*\x8*l\x8le\x8en\x8ng\x8gt\x8th\x8h*\x8*/\x8/,·int·/\x8/*\x8*m\x8ms\x8sg\x8g*\x8*/\x8/, | 392 | ···virtual·bool·o\x8on\x8n_\x8_e\x8ex\x8xt\x8te\x8en\x8nd\x8de\x8ed\x8d·(int·/\x8/*\x8*l\x8le\x8en\x8ng\x8gt\x8th\x8h*\x8*/\x8/,·int·/\x8/*\x8*m\x8ms\x8sg\x8g*\x8*/\x8/, |
393 | ······span<char·const>·/\x8/*\x8*b\x8bo\x8od\x8dy\x8y*\x8*/\x8/); | 393 | ······span<char·const>·/\x8/*\x8*b\x8bo\x8od\x8dy\x8y*\x8*/\x8/); |
Max diff block lines reached; 12139/22056 bytes (55.04%) of diff not shown. |
Offset 67, 29 lines modified | Offset 67, 29 lines modified | ||
67 | to·<a·class="reference·external"·href="reference-Torrent_Info.html#parse_info_section()">torrent_info::parse_info_section()</a>.</p> | 67 | to·<a·class="reference·external"·href="reference-Torrent_Info.html#parse_info_section()">torrent_info::parse_info_section()</a>.</p> |
68 | <a·name="write_resume_data_buf()"></a> | 68 | <a·name="write_resume_data_buf()"></a> |
69 | <a·name="write_resume_data()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_resume_data_buf%28%29+write_resume_data%28%29&labels=documentation&body=Documentation+under+heading+%22write_resume_data_buf%28%29+write_resume_data%28%29%22+could+be+improved">report·issue</a>]</span></div> | 69 | <a·name="write_resume_data()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_resume_data_buf%28%29+write_resume_data%28%29&labels=documentation&body=Documentation+under+heading+%22write_resume_data_buf%28%29+write_resume_data%28%29%22+could+be+improved">report·issue</a>]</span></div> |
70 | <div·class="section"·id="write-resume-data-buf-write-resume-data"> | 70 | <div·class="section"·id="write-resume-data-buf-write-resume-data"> |
71 | <h1>write_resume_data_buf()·write_resume_data()</h1> | 71 | <h1>write_resume_data_buf()·write_resume_data()</h1> |
72 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/write_resume_data.hpp">libtorrent/write_resume_data.hpp</a>"</p> | 72 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/write_resume_data.hpp">libtorrent/write_resume_data.hpp</a>"</p> |
73 | <pre·class="literal-block"> | 73 | <pre·class="literal-block"> |
74 | std::vector<char>·<strong>write_resume_data_buf</strong>·(add_torrent_params·const&·atp); | ||
75 | entry·<strong>write_resume_data</strong>·(add_torrent_params·const&·atp); | 74 | entry·<strong>write_resume_data</strong>·(add_torrent_params·const&·atp); |
75 | std::vector<char>·<strong>write_resume_data_buf</strong>·(add_torrent_params·const&·atp); | ||
76 | </pre> | 76 | </pre> |
77 | <p>this·function·turns·the·resume·data·in·an·<tt·class="docutils·literal">add_torrent_params</tt>·object | 77 | <p>this·function·turns·the·resume·data·in·an·<tt·class="docutils·literal">add_torrent_params</tt>·object |
78 | into·a·bencoded·structure</p> | 78 | into·a·bencoded·structure</p> |
79 | <a·name="write_torrent_file_buf()"></a> | 79 | <a·name="write_torrent_file_buf()"></a> |
80 | <a·name="write_torrent_file()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_torrent_file_buf%28%29+write_torrent_file%28%29&labels=documentation&body=Documentation+under+heading+%22write_torrent_file_buf%28%29+write_torrent_file%28%29%22+could+be+improved">report·issue</a>]</span></div> | 80 | <a·name="write_torrent_file()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_torrent_file_buf%28%29+write_torrent_file%28%29&labels=documentation&body=Documentation+under+heading+%22write_torrent_file_buf%28%29+write_torrent_file%28%29%22+could+be+improved">report·issue</a>]</span></div> |
81 | <div·class="section"·id="write-torrent-file-buf-write-torrent-file"> | 81 | <div·class="section"·id="write-torrent-file-buf-write-torrent-file"> |
82 | <h1>write_torrent_file_buf()·write_torrent_file()</h1> | 82 | <h1>write_torrent_file_buf()·write_torrent_file()</h1> |
83 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/write_resume_data.hpp">libtorrent/write_resume_data.hpp</a>"</p> | 83 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/write_resume_data.hpp">libtorrent/write_resume_data.hpp</a>"</p> |
84 | <pre·class="literal-block"> | 84 | <pre·class="literal-block"> |
85 | entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&·atp,·write_torrent_flags_t·flags); | ||
86 | entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&·atp); | ||
85 | std::vector<char>·<strong>write_torrent_file_buf</strong>·(add_torrent_params·const&·atp | 87 | std::vector<char>·<strong>write_torrent_file_buf</strong>·(add_torrent_params·const&·atp |
86 | ···,·write_torrent_flags_t·flags); | 88 | ···,·write_torrent_flags_t·flags); |
87 | entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&·atp); | ||
88 | entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&·atp,·write_torrent_flags_t·flags); | ||
89 | </pre> | 89 | </pre> |
90 | <p>writes·only·the·fields·to·create·a·.torrent·file.·This·function·may·fail | 90 | <p>writes·only·the·fields·to·create·a·.torrent·file.·This·function·may·fail |
91 | with·a·<tt·class="docutils·literal"><span·class="pre">std::system_error</span></tt>·exception·if:</p> | 91 | with·a·<tt·class="docutils·literal"><span·class="pre">std::system_error</span></tt>·exception·if:</p> |
92 | <ul·class="simple"> | 92 | <ul·class="simple"> |
93 | <li>The·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·object·passed·to·this·function·does·not·contain·the | 93 | <li>The·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·object·passed·to·this·function·does·not·contain·the |
94 | info·dictionary·(the·<tt·class="docutils·literal">ti</tt>·field)</li> | 94 | info·dictionary·(the·<tt·class="docutils·literal">ti</tt>·field)</li> |
95 | <li>The·piece·layers·are·not·complete·for·all·files·that·need·them</li> | 95 | <li>The·piece·layers·are·not·complete·for·all·files·that·need·them</li> |
Offset 31, 26 lines modified | Offset 31, 26 lines modified | ||
31 | limits·on·torrent·sizes·via·load_torrent·limits. | 31 | limits·on·torrent·sizes·via·load_torrent·limits. |
32 | In·order·to·support·large·torrents,·it·may·also·be·necessary·to·raise·the | 32 | In·order·to·support·large·torrents,·it·may·also·be·necessary·to·raise·the |
33 | _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8:_\x8:_\x8m_\x8a_\x8x_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t·setting·and·pass·a·higher·limit·to·calls·to | 33 | _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8:_\x8:_\x8m_\x8a_\x8x_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t·setting·and·pass·a·higher·limit·to·calls·to |
34 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8:_\x8:_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8). | 34 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8:_\x8:_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8). |
35 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 35 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
36 | *\x8**\x8**\x8**\x8**\x8**\x8*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a_\x8_b\x8bu\x8uf\x8f(\x8()\x8)·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | 36 | *\x8**\x8**\x8**\x8**\x8**\x8*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a_\x8_b\x8bu\x8uf\x8f(\x8()\x8)·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
37 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p" | 37 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p" |
38 | std::vector<char>·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a_\x8_b\x8bu\x8uf\x8f·(add_torrent_params·const&·atp); | ||
39 | entry·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(add_torrent_params·const&·atp); | 38 | entry·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(add_torrent_params·const&·atp); |
39 | std::vector<char>·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a_\x8_b\x8bu\x8uf\x8f·(add_torrent_params·const&·atp); | ||
40 | this·function·turns·the·resume·data·in·an·add_torrent_params·object·into·a | 40 | this·function·turns·the·resume·data·in·an·add_torrent_params·object·into·a |
41 | bencoded·structure | 41 | bencoded·structure |
42 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 42 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
43 | *\x8**\x8**\x8**\x8**\x8**\x8*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bu\x8uf\x8f(\x8()\x8)·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | 43 | *\x8**\x8**\x8**\x8**\x8**\x8*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bu\x8uf\x8f(\x8()\x8)·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
44 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p" | 44 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p" |
45 | std::vector<char>·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bu\x8uf\x8f·(add_torrent_params·const&·atp | ||
46 | ···,·write_torrent_flags_t·flags); | ||
47 | entry·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·(add_torrent_params·const&·atp); | ||
48 | entry·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·(add_torrent_params·const&·atp,·write_torrent_flags_t | 45 | entry·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·(add_torrent_params·const&·atp,·write_torrent_flags_t |
49 | flags); | 46 | flags); |
47 | entry·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·(add_torrent_params·const&·atp); | ||
48 | std::vector<char>·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bu\x8uf\x8f·(add_torrent_params·const&·atp | ||
49 | ···,·write_torrent_flags_t·flags); | ||
50 | writes·only·the·fields·to·create·a·.torrent·file.·This·function·may·fail·with·a | 50 | writes·only·the·fields·to·create·a·.torrent·file.·This·function·may·fail·with·a |
51 | std::system_error·exception·if: | 51 | std::system_error·exception·if: |
52 | ····*·The·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object·passed·to·this·function·does·not·contain | 52 | ····*·The·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object·passed·to·this·function·does·not·contain |
53 | ······the·info·dictionary·(the·ti·field) | 53 | ······the·info·dictionary·(the·ti·field) |
54 | ····*·The·piece·layers·are·not·complete·for·all·files·that·need·them | 54 | ····*·The·piece·layers·are·not·complete·for·all·files·that·need·them |
55 | The·write_torrent_file_buf()·overload·returns·the·torrent·file·in·bencoded | 55 | The·write_torrent_file_buf()·overload·returns·the·torrent·file·in·bencoded |
56 | buffer·form.·This·overload·may·be·faster·at·the·expense·of·lost·flexibility·to | 56 | buffer·form.·This·overload·may·be·faster·at·the·expense·of·lost·flexibility·to |
Offset 47, 22 lines modified | Offset 47, 22 lines modified | ||
47 | <li><a·class="reference·internal"·href="#session-3"·id="toc-entry-9">~session()</a></li> | 47 | <li><a·class="reference·internal"·href="#session-3"·id="toc-entry-9">~session()</a></li> |
48 | <li><a·class="reference·internal"·href="#abort"·id="toc-entry-10">abort()</a></li> | 48 | <li><a·class="reference·internal"·href="#abort"·id="toc-entry-10">abort()</a></li> |
49 | </ul> | 49 | </ul> |
50 | </li> | 50 | </li> |
51 | <li><a·class="reference·internal"·href="#session-handle"·id="toc-entry-11">session_handle</a><ul> | 51 | <li><a·class="reference·internal"·href="#session-handle"·id="toc-entry-11">session_handle</a><ul> |
52 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-12">is_valid()</a></li> | 52 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-12">is_valid()</a></li> |
53 | <li><a·class="reference·internal"·href="#session-state"·id="toc-entry-13">session_state()</a></li> | 53 | <li><a·class="reference·internal"·href="#session-state"·id="toc-entry-13">session_state()</a></li> |
54 | <li><a·class="reference·internal"·href="# | 54 | <li><a·class="reference·internal"·href="#refresh-torrent-status-get-torrent-status"·id="toc-entry-14">refresh_torrent_status()·get_torrent_status()</a></li> |
55 | <li><a·class="reference·internal"·href="#post-torrent-updates"·id="toc-entry-15">post_torrent_updates()</a></li> | 55 | <li><a·class="reference·internal"·href="#post-torrent-updates"·id="toc-entry-15">post_torrent_updates()</a></li> |
56 | <li><a·class="reference·internal"·href="#post-session-stats"·id="toc-entry-16">post_session_stats()</a></li> | 56 | <li><a·class="reference·internal"·href="#post-session-stats"·id="toc-entry-16">post_session_stats()</a></li> |
57 | <li><a·class="reference·internal"·href="#post-dht-stats"·id="toc-entry-17">post_dht_stats()</a></li> | 57 | <li><a·class="reference·internal"·href="#post-dht-stats"·id="toc-entry-17">post_dht_stats()</a></li> |
58 | <li><a·class="reference·internal"·href="#set-dht-state"·id="toc-entry-18">set_dht_state()</a></li> | 58 | <li><a·class="reference·internal"·href="#set-dht-state"·id="toc-entry-18">set_dht_state()</a></li> |
59 | <li><a·class="reference·internal"·href="#get-torrents-find-torrent"·id="toc-entry-19">get_torrents()·find_torrent()</a></li> | 59 | <li><a·class="reference·internal"·href="#get-torrents-find-torrent"·id="toc-entry-19">get_torrents()·find_torrent()</a></li> |
60 | <li><a·class="reference·internal"·href="#async-add-torrent-add-torrent"·id="toc-entry-20">async_add_torrent()·add_torrent()</a></li> | 60 | <li><a·class="reference·internal"·href="#async-add-torrent-add-torrent"·id="toc-entry-20">async_add_torrent()·add_torrent()</a></li> |
61 | <li><a·class="reference·internal"·href="#resume-pause | 61 | <li><a·class="reference·internal"·href="#resume-is-paused-pause"·id="toc-entry-21">resume()·is_paused()·pause()</a></li> |
62 | <li><a·class="reference·internal"·href="#is-dht-running"·id="toc-entry-22">is_dht_running()</a></li> | 62 | <li><a·class="reference·internal"·href="#is-dht-running"·id="toc-entry-22">is_dht_running()</a></li> |
63 | <li><a·class="reference·internal"·href="#set-dht-storage"·id="toc-entry-23">set_dht_storage()</a></li> | 63 | <li><a·class="reference·internal"·href="#set-dht-storage"·id="toc-entry-23">set_dht_storage()</a></li> |
64 | <li><a·class="reference·internal"·href="#add-dht-node"·id="toc-entry-24">add_dht_node()</a></li> | 64 | <li><a·class="reference·internal"·href="#add-dht-node"·id="toc-entry-24">add_dht_node()</a></li> |
65 | <li><a·class="reference·internal"·href="#dht-get-item"·id="toc-entry-25">dht_get_item()</a></li> | 65 | <li><a·class="reference·internal"·href="#dht-get-item"·id="toc-entry-25">dht_get_item()</a></li> |
66 | <li><a·class="reference·internal"·href="#dht-get-item-1"·id="toc-entry-26">dht_get_item()</a></li> | 66 | <li><a·class="reference·internal"·href="#dht-get-item-1"·id="toc-entry-26">dht_get_item()</a></li> |
67 | <li><a·class="reference·internal"·href="#dht-put-item"·id="toc-entry-27">dht_put_item()</a></li> | 67 | <li><a·class="reference·internal"·href="#dht-put-item"·id="toc-entry-27">dht_put_item()</a></li> |
68 | <li><a·class="reference·internal"·href="#dht-put-item-1"·id="toc-entry-28">dht_put_item()</a></li> | 68 | <li><a·class="reference·internal"·href="#dht-put-item-1"·id="toc-entry-28">dht_put_item()</a></li> |
Offset 70, 41 lines modified | Offset 70, 41 lines modified | ||
70 | <li><a·class="reference·internal"·href="#dht-live-nodes"·id="toc-entry-30">dht_live_nodes()</a></li> | 70 | <li><a·class="reference·internal"·href="#dht-live-nodes"·id="toc-entry-30">dht_live_nodes()</a></li> |
71 | <li><a·class="reference·internal"·href="#dht-sample-infohashes"·id="toc-entry-31">dht_sample_infohashes()</a></li> | 71 | <li><a·class="reference·internal"·href="#dht-sample-infohashes"·id="toc-entry-31">dht_sample_infohashes()</a></li> |
72 | <li><a·class="reference·internal"·href="#dht-direct-request"·id="toc-entry-32">dht_direct_request()</a></li> | 72 | <li><a·class="reference·internal"·href="#dht-direct-request"·id="toc-entry-32">dht_direct_request()</a></li> |
73 | <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-33">add_extension()</a></li> | 73 | <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-33">add_extension()</a></li> |
74 | <li><a·class="reference·internal"·href="#set-ip-filter-get-ip-filter"·id="toc-entry-34">set_ip_filter()·get_ip_filter()</a></li> | 74 | <li><a·class="reference·internal"·href="#set-ip-filter-get-ip-filter"·id="toc-entry-34">set_ip_filter()·get_ip_filter()</a></li> |
75 | <li><a·class="reference·internal"·href="#set-port-filter"·id="toc-entry-35">set_port_filter()</a></li> | 75 | <li><a·class="reference·internal"·href="#set-port-filter"·id="toc-entry-35">set_port_filter()</a></li> |
76 | <li><a·class="reference·internal"·href="#is-listening-listen-port-ssl-listen-port"·id="toc-entry-36">is_listening()·listen_port()·ssl_listen_port()</a></li> | 76 | <li><a·class="reference·internal"·href="#is-listening-listen-port-ssl-listen-port"·id="toc-entry-36">is_listening()·listen_port()·ssl_listen_port()</a></li> |
77 | <li><a·class="reference·internal"·href="# | 77 | <li><a·class="reference·internal"·href="#set-peer-class-filter-get-peer-class-filter"·id="toc-entry-37">set_peer_class_filter()·get_peer_class_filter()</a></li> |
78 | <li><a·class="reference·internal"·href="# | 78 | <li><a·class="reference·internal"·href="#set-peer-class-type-filter-get-peer-class-type-filter"·id="toc-entry-38">set_peer_class_type_filter()·get_peer_class_type_filter()</a></li> |
79 | <li><a·class="reference·internal"·href="#create-peer-class"·id="toc-entry-39">create_peer_class()</a></li> | 79 | <li><a·class="reference·internal"·href="#create-peer-class"·id="toc-entry-39">create_peer_class()</a></li> |
80 | <li><a·class="reference·internal"·href="#delete-peer-class"·id="toc-entry-40">delete_peer_class()</a></li> | 80 | <li><a·class="reference·internal"·href="#delete-peer-class"·id="toc-entry-40">delete_peer_class()</a></li> |
81 | <li><a·class="reference·internal"·href="#get-peer-class-set-peer-class"·id="toc-entry-41">get_peer_class()·set_peer_class()</a></li> | 81 | <li><a·class="reference·internal"·href="#get-peer-class-set-peer-class"·id="toc-entry-41">get_peer_class()·set_peer_class()</a></li> |
82 | <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-42">remove_torrent()</a></li> | 82 | <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-42">remove_torrent()</a></li> |
83 | <li><a·class="reference·internal"·href="#get-settings-apply-settings"·id="toc-entry-43">get_settings()·apply_settings()</a></li> | 83 | <li><a·class="reference·internal"·href="#get-settings-apply-settings"·id="toc-entry-43">get_settings()·apply_settings()</a></li> |
84 | <li><a·class="reference·internal"·href="# | 84 | <li><a·class="reference·internal"·href="#wait-for-alert-set-alert-notify-pop-alerts"·id="toc-entry-44">wait_for_alert()·set_alert_notify()·pop_alerts()</a></li> |
85 | <li><a·class="reference·internal"·href="# | 85 | <li><a·class="reference·internal"·href="#add-port-mapping-delete-port-mapping"·id="toc-entry-45">add_port_mapping()·delete_port_mapping()</a></li> |
86 | <li><a·class="reference·internal"·href="#reopen-network-sockets"·id="toc-entry-46">reopen_network_sockets()</a></li> | 86 | <li><a·class="reference·internal"·href="#reopen-network-sockets"·id="toc-entry-46">reopen_network_sockets()</a></li> |
87 | <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-47">native_handle()</a></li> | 87 | <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-47">native_handle()</a></li> |
88 | </ul> | 88 | </ul> |
89 | </li> | 89 | </li> |
90 | <li><a·class="reference·internal"·href="# | 90 | <li><a·class="reference·internal"·href="#read-session-params-write-session-params-buf-write-session-params"·id="toc-entry-48">read_session_params()·write_session_params_buf()·write_session_params()</a></li> |
91 | </ul> | 91 | </ul> |
92 | </div> | 92 | </div> |
93 | <a·name="session_params"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+session_params&labels=documentation&body=Documentation+under+heading+%22class+session_params%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="session-params"> | 93 | <a·name="session_params"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+session_params&labels=documentation&body=Documentation+under+heading+%22class+session_params%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="session-params"> |
94 | <h1>session_params</h1> | 94 | <h1>session_params</h1> |
95 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/session_params.hpp">libtorrent/session_params.hpp</a>"</p> | 95 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/session_params.hpp">libtorrent/session_params.hpp</a>"</p> |
96 | <p>The·<a·class="reference·external"·href="reference-Session.html#session_params">session_params</a>·is·a·parameters·pack·for·configuring·the·<a·class="reference·external"·href="reference-Session.html#session">session</a> | 96 | <p>The·<a·class="reference·external"·href="reference-Session.html#session_params">session_params</a>·is·a·parameters·pack·for·configuring·the·<a·class="reference·external"·href="reference-Session.html#session">session</a> |
97 | before·it's·started.</p> | 97 | before·it's·started.</p> |
98 | <pre·class="literal-block"> | 98 | <pre·class="literal-block"> |
99 | struct·session_params | 99 | struct·session_params |
100 | { | 100 | { |
101 | ···<strong>session_params</strong>·(settings_pack&&·sp); | ||
102 | ···<strong>session_params</strong>·(); | 101 | ···<strong>session_params</strong>·(); |
103 | ···<strong>session_params</strong>·(settings_pack·const&·sp); | 102 | ···<strong>session_params</strong>·(settings_pack·const&·sp); |
103 | ···<strong>session_params</strong>·(settings_pack&&·sp); | ||
104 | ···<strong>session_params</strong>·(settings_pack·const&·sp | 104 | ···<strong>session_params</strong>·(settings_pack·const&·sp |
105 | ······,·std::vector<std::shared_ptr<plugin>>·exts); | 105 | ······,·std::vector<std::shared_ptr<plugin>>·exts); |
106 | ···<strong>session_params</strong>·(settings_pack&&·sp | 106 | ···<strong>session_params</strong>·(settings_pack&&·sp |
107 | ······,·std::vector<std::shared_ptr<plugin>>·exts); | 107 | ······,·std::vector<std::shared_ptr<plugin>>·exts); |
108 | ···settings_pack·settings; | 108 | ···settings_pack·settings; |
109 | ···std::vector<std::shared_ptr<plugin>>·extensions; | 109 | ···std::vector<std::shared_ptr<plugin>>·extensions; |
Offset 114, 17 lines modified | Offset 114, 17 lines modified | ||
114 | ···std::map<std::string,·std::string>·ext_state; | 114 | ···std::map<std::string,·std::string>·ext_state; |
115 | ···libtorrent::ip_filter·ip_filter; | 115 | ···libtorrent::ip_filter·ip_filter; |
116 | }; | 116 | }; |
117 | </pre> | 117 | </pre> |
118 | <a·name="session_params()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_params%3A%3A%5Bsession_params%28%29%5D&labels=documentation&body=Documentation+under+heading+%22session_params%3A%3A%5Bsession_params%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="session-params-1"> | 118 | <a·name="session_params()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_params%3A%3A%5Bsession_params%28%29%5D&labels=documentation&body=Documentation+under+heading+%22session_params%3A%3A%5Bsession_params%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="session-params-1"> |
119 | <h2>session_params()</h2> | 119 | <h2>session_params()</h2> |
120 | <pre·class="literal-block"> | 120 | <pre·class="literal-block"> |
121 | <strong>session_params</strong>·(settings_pack&&·sp); | ||
122 | <strong>session_params</strong>·(); | 121 | <strong>session_params</strong>·(); |
123 | <strong>session_params</strong>·(settings_pack·const&·sp); | 122 | <strong>session_params</strong>·(settings_pack·const&·sp); |
123 | <strong>session_params</strong>·(settings_pack&&·sp); | ||
124 | </pre> | 124 | </pre> |
125 | <p>This·constructor·can·be·used·to·start·with·the·default·plugins | 125 | <p>This·constructor·can·be·used·to·start·with·the·default·plugins |
126 | (ut_metadata,·ut_pex·and·smart_ban).·Pass·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·to·set·the | 126 | (ut_metadata,·ut_pex·and·smart_ban).·Pass·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·to·set·the |
127 | initial·settings·when·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·starts.</p> | 127 | initial·settings·when·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·starts.</p> |
128 | <a·name="session_params()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_params%3A%3A%5Bsession_params%28%29%5D&labels=documentation&body=Documentation+under+heading+%22session_params%3A%3A%5Bsession_params%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 128 | <a·name="session_params()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_params%3A%3A%5Bsession_params%28%29%5D&labels=documentation&body=Documentation+under+heading+%22session_params%3A%3A%5Bsession_params%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
129 | <div·class="section"·id="session-params-2"> | 129 | <div·class="section"·id="session-params-2"> |
130 | <h2>session_params()</h2> | 130 | <h2>session_params()</h2> |
Offset 178, 33 lines modified | Offset 178, 33 lines modified | ||
178 | synchronize·the·completion·of·the·shutdown.·The·lifetime·of·this·object | 178 | synchronize·the·completion·of·the·shutdown.·The·lifetime·of·this·object |
179 | may·outlive·<a·class="reference·external"·href="reference-Session.html#session">session</a>,·causing·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·destructor·to·not·block.·The | 179 | may·outlive·<a·class="reference·external"·href="reference-Session.html#session">session</a>,·causing·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·destructor·to·not·block.·The |
180 | <a·class="reference·external"·href="reference-Session.html#session_proxy">session_proxy</a>·destructor·will·block·however,·until·the·underlying·<a·class="reference·external"·href="reference-Session.html#session">session</a> | 180 | <a·class="reference·external"·href="reference-Session.html#session_proxy">session_proxy</a>·destructor·will·block·however,·until·the·underlying·<a·class="reference·external"·href="reference-Session.html#session">session</a> |
181 | is·done·shutting·down.</p> | 181 | is·done·shutting·down.</p> |
182 | <pre·class="literal-block"> | 182 | <pre·class="literal-block"> |
183 | struct·session_proxy | 183 | struct·session_proxy |
184 | { | 184 | { |
185 | ···<strong>session_proxy</strong>·(); | ||
185 | ···session_proxy&·<strong>operator=</strong>·(session_proxy·const&)·&; | 186 | ···session_proxy&·<strong>operator=</strong>·(session_proxy·const&)·&; |
187 | ···<strong>session_proxy</strong>·(session_proxy&&)·noexcept; | ||
188 | ···<strong>session_proxy</strong>·(session_proxy·const&); | ||
186 | ···<strong>~session_proxy</strong>·(); | 189 | ···<strong>~session_proxy</strong>·(); |
187 | ···session_proxy&·<strong>operator=</strong>·(session_proxy&&)·&·noexcept; | 190 | ···session_proxy&·<strong>operator=</strong>·(session_proxy&&)·&·noexcept; |
188 | ···<strong>session_proxy</strong>·(); | ||
189 | ···<strong>session_proxy</strong>·(session_proxy·const&); | ||
190 | ···<strong>session_proxy</strong>·(session_proxy&&)·noexcept; | ||
191 | }; | 191 | }; |
192 | </pre> | 192 | </pre> |
193 | <a·name="operator=()"></a> | 193 | <a·name="operator=()"></a> |
194 | <a·name="~session_proxy()"></a> | 194 | <a·name="~session_proxy()"></a> |
195 | <a·name="session_proxy()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_proxy%3A%3A%5Boperator%3D%28%29+~session_proxy%28%29+session_proxy%28%29%5D&labels=documentation&body=Documentation+under+heading+%22session_proxy%3A%3A%5Boperator%3D%28%29+~session_proxy%28%29+session_proxy%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="operator-session-proxy-session-proxy"> | 195 | <a·name="session_proxy()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_proxy%3A%3A%5Boperator%3D%28%29+~session_proxy%28%29+session_proxy%28%29%5D&labels=documentation&body=Documentation+under+heading+%22session_proxy%3A%3A%5Boperator%3D%28%29+~session_proxy%28%29+session_proxy%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="operator-session-proxy-session-proxy"> |
196 | <h2>operator=()·~session_proxy()·session_proxy()</h2> | 196 | <h2>operator=()·~session_proxy()·session_proxy()</h2> |
197 | <pre·class="literal-block"> | 197 | <pre·class="literal-block"> |
198 | <strong>session_proxy</strong>·(); | ||
198 | session_proxy&·<strong>operator=</strong>·(session_proxy·const&)·&; | 199 | session_proxy&·<strong>operator=</strong>·(session_proxy·const&)·&; |
200 | <strong>session_proxy</strong>·(session_proxy&&)·noexcept; | ||
201 | <strong>session_proxy</strong>·(session_proxy·const&); | ||
199 | <strong>~session_proxy</strong>·(); | 202 | <strong>~session_proxy</strong>·(); |
200 | session_proxy&·<strong>operator=</strong>·(session_proxy&&)·&·noexcept; | 203 | session_proxy&·<strong>operator=</strong>·(session_proxy&&)·&·noexcept; |
201 | <strong>session_proxy</strong>·(); | ||
202 | <strong>session_proxy</strong>·(session_proxy·const&); | ||
203 | <strong>session_proxy</strong>·(session_proxy&&)·noexcept; | ||
204 | </pre> | 204 | </pre> |
205 | <p>default·constructor,·does·not·refer·to·any·<a·class="reference·external"·href="reference-Session.html#session">session</a> | 205 | <p>default·constructor,·does·not·refer·to·any·<a·class="reference·external"·href="reference-Session.html#session">session</a> |
206 | implementation·object.</p> | 206 | implementation·object.</p> |
207 | <a·name="session"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+session&labels=documentation&body=Documentation+under+heading+%22class+session%22+could+be+improved">report·issue</a>]</span></div> | 207 | <a·name="session"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+session&labels=documentation&body=Documentation+under+heading+%22class+session%22+could+be+improved">report·issue</a>]</span></div> |
208 | </div> | 208 | </div> |
209 | <div·class="section"·id="session"> | 209 | <div·class="section"·id="session"> |
210 | <h1>session</h1> | 210 | <h1>session</h1> |
Offset 218, 51 lines modified | Offset 218, 51 lines modified | ||
218 | <tt·class="docutils·literal"><span·class="pre">session_handle::apply_settings()</span></tt>·member·function.·To·change·one·or·more | 218 | <tt·class="docutils·literal"><span·class="pre">session_handle::apply_settings()</span></tt>·member·function.·To·change·one·or·more |
219 | configuration·options,·create·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>.·object·and·fill·it·with | 219 | configuration·options,·create·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>.·object·and·fill·it·with |
Max diff block lines reached; 35815/47800 bytes (74.93%) of diff not shown. |
Offset 12, 22 lines modified | Offset 12, 22 lines modified | ||
12 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 12 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
13 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 13 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
14 | ··········o·_\x8~_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 14 | ··········o·_\x8~_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
15 | ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8) | 15 | ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8) |
16 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e | 16 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e |
17 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) | 17 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) |
18 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) | 18 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) |
19 | ··········o·_\x8 | 19 | ··········o·_\x8r_.e_.f_.r_.e_.s_.h_.__.t_.o_.r_.r_.e_.n_.t_.__.s_.t_.a_.t_.u_.s_.(_.)_.·_.g_.e_.t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) |
20 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8s_\x8(_\x8) | 20 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8s_\x8(_\x8) |
21 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8) | 21 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8) |
22 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8) | 22 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8) |
23 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) | 23 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) |
24 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8n_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 24 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8n_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
25 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 25 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
26 | ··········o·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)_\x8·_\x8 | 26 | ··········o·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)_\x8·_\x8i_.s_.__.p_.a_.u_.s_.e_.d_.(_.)_.·_.p_.a_.u_.s_.e_\x8(_\x8) |
27 | ··········o·_\x8i_\x8s_\x8__\x8d_\x8h_\x8t_\x8__\x8r_\x8u_\x8n_\x8n_\x8i_\x8n_\x8g_\x8(_\x8) | 27 | ··········o·_\x8i_\x8s_\x8__\x8d_\x8h_\x8t_\x8__\x8r_\x8u_\x8n_\x8n_\x8i_\x8n_\x8g_\x8(_\x8) |
28 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8) | 28 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8) |
29 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8d_\x8h_\x8t_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) | 29 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8d_\x8h_\x8t_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) |
30 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) | 30 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) |
31 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) | 31 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) |
32 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) | 32 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) |
33 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) | 33 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) |
Offset 35, 36 lines modified | Offset 35, 36 lines modified | ||
35 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8l_\x8i_\x8v_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) | 35 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8l_\x8i_\x8v_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) |
36 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8) | 36 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8) |
37 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8) | 37 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8) |
38 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 38 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
39 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) | 39 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) |
40 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) | 40 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) |
41 | ··········o·_\x8i_\x8s_\x8__\x8l_\x8i_\x8s_\x8t_\x8e_\x8n_\x8i_\x8n_\x8g_\x8(_\x8)_\x8·_\x8l_\x8i_\x8s_\x8t_\x8e_\x8n_\x8__\x8p_\x8o_\x8r_\x8t_\x8(_\x8)_\x8·_\x8s_\x8s_\x8l_\x8__\x8l_\x8i_\x8s_\x8t_\x8e_\x8n_\x8__\x8p_\x8o_\x8r_\x8t_\x8(_\x8) | 41 | ··········o·_\x8i_\x8s_\x8__\x8l_\x8i_\x8s_\x8t_\x8e_\x8n_\x8i_\x8n_\x8g_\x8(_\x8)_\x8·_\x8l_\x8i_\x8s_\x8t_\x8e_\x8n_\x8__\x8p_\x8o_\x8r_\x8t_\x8(_\x8)_\x8·_\x8s_\x8s_\x8l_\x8__\x8l_\x8i_\x8s_\x8t_\x8e_\x8n_\x8__\x8p_\x8o_\x8r_\x8t_\x8(_\x8) |
42 | ··········o·_\x8 | 42 | ··········o·_\x8s_.e_.t_.__.p_.e_.e_.r_.__.c_.l_.a_.s_.s_.__.f_.i_.l_.t_.e_.r_.(_.)_.·_.g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) |
43 | ··········o·_\x8 | 43 | ··········o·_\x8s_.e_.t_.__.p_.e_.e_.r_.__.c_.l_.a_.s_.s_.__.t_.y_.p_.e_.__.f_.i_.l_.t_.e_.r_.(_.)_.·_.g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) |
44 | ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) | 44 | ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) |
45 | ··········o·_\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) | 45 | ··········o·_\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) |
46 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) | 46 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) |
47 | ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 47 | ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
48 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8)_\x8·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) | 48 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8)_\x8·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) |
49 | ··········o·_\x8 | 49 | ··········o·_\x8w_.a_.i_.t_.__.f_.o_.r_.__.a_.l_.e_.r_.t_.(_.)_.·_.s_.e_.t_.__.a_.l_.e_.r_.t_.__.n_.o_.t_.i_.f_.y_.(_.)_.·_.p_.o_.p_.__.a_.l_.e_.r_.t_.s_\x8(_\x8) |
50 | ··········o·_\x8 | 50 | ··········o·_\x8a_.d_.d_.__.p_.o_.r_.t_.__.m_.a_.p_.p_.i_.n_.g_.(_.)_.·_.d_.e_.l_.e_.t_.e_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8m_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8(_\x8) |
51 | ··········o·_\x8r_\x8e_\x8o_\x8p_\x8e_\x8n_\x8__\x8n_\x8e_\x8t_\x8w_\x8o_\x8r_\x8k_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8s_\x8(_\x8) | 51 | ··········o·_\x8r_\x8e_\x8o_\x8p_\x8e_\x8n_\x8__\x8n_\x8e_\x8t_\x8w_\x8o_\x8r_\x8k_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8s_\x8(_\x8) |
52 | ··········o·_\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8) | 52 | ··········o·_\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8) |
53 | ····*·_\x8 | 53 | ····*·_\x8r_.e_.a_.d_.__.s_.e_.s_.s_.i_.o_.n_.__.p_.a_.r_.a_.m_.s_.(_.)_.·_.w_.r_.i_.t_.e_.__.s_.e_.s_.s_.i_.o_.n_.__.p_.a_.r_.a_.m_.s_.__.b_.u_.f_.(_.)_.·_.w_.r_.i_.t_.e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) |
54 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 54 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
55 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·*\x8**\x8**\x8**\x8**\x8**\x8* | 55 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·*\x8**\x8**\x8**\x8**\x8**\x8* |
56 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8._\x8h_\x8p_\x8p" | 56 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8._\x8h_\x8p_\x8p" |
57 | The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·is·a·parameters·pack·for·configuring·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·before·it's | 57 | The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·is·a·parameters·pack·for·configuring·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·before·it's |
58 | started. | 58 | started. |
59 | struct·session_params | 59 | struct·session_params |
60 | { | 60 | { |
61 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack&&·sp); | ||
62 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(); | 61 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(); |
63 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack·const&·sp); | 62 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack·const&·sp); |
63 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack&&·sp); | ||
64 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack·const&·sp | 64 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack·const&·sp |
65 | ······,·std::vector<std::shared_ptr<plugin>>·exts); | 65 | ······,·std::vector<std::shared_ptr<plugin>>·exts); |
66 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack&&·sp | 66 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack&&·sp |
67 | ······,·std::vector<std::shared_ptr<plugin>>·exts); | 67 | ······,·std::vector<std::shared_ptr<plugin>>·exts); |
68 | ···settings_pack·settings; | 68 | ···settings_pack·settings; |
69 | ···std::vector<std::shared_ptr<plugin>>·extensions; | 69 | ···std::vector<std::shared_ptr<plugin>>·extensions; |
Offset 72, 17 lines modified | Offset 72, 17 lines modified | ||
72 | ···dht::dht_storage_constructor_type·dht_storage_constructor; | 72 | ···dht::dht_storage_constructor_type·dht_storage_constructor; |
73 | ···disk_io_constructor_type·disk_io_constructor; | 73 | ···disk_io_constructor_type·disk_io_constructor; |
74 | ···std::map<std::string,·std::string>·ext_state; | 74 | ···std::map<std::string,·std::string>·ext_state; |
75 | ···libtorrent::ip_filter·ip_filter; | 75 | ···libtorrent::ip_filter·ip_filter; |
76 | }; | 76 | }; |
77 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 77 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
78 | *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 78 | *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
79 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack&&·sp); | ||
80 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(); | 79 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(); |
81 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack·const&·sp); | 80 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack·const&·sp); |
81 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack&&·sp); | ||
82 | This·constructor·can·be·used·to·start·with·the·default·plugins·(ut_metadata, | 82 | This·constructor·can·be·used·to·start·with·the·default·plugins·(ut_metadata, |
83 | ut_pex·and·smart_ban).·Pass·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·to·set·the·initial·settings·when | 83 | ut_pex·and·smart_ban).·Pass·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·to·set·the·initial·settings·when |
84 | the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·starts. | 84 | the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·starts. |
85 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 85 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
86 | *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 86 | *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
87 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack·const&·sp | 87 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack·const&·sp |
88 | ······,·std::vector<std::shared_ptr<plugin>>·exts); | 88 | ······,·std::vector<std::shared_ptr<plugin>>·exts); |
Offset 122, 29 lines modified | Offset 122, 29 lines modified | ||
122 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·destruction·is·explicitly·initiated,·this·holder·is·used·to·synchronize | 122 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·destruction·is·explicitly·initiated,·this·holder·is·used·to·synchronize |
123 | the·completion·of·the·shutdown.·The·lifetime·of·this·object·may·outlive | 123 | the·completion·of·the·shutdown.·The·lifetime·of·this·object·may·outlive |
124 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n,·causing·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·destructor·to·not·block.·The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y | 124 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n,·causing·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·destructor·to·not·block.·The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y |
125 | destructor·will·block·however,·until·the·underlying·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·is·done·shutting | 125 | destructor·will·block·however,·until·the·underlying·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·is·done·shutting |
126 | down. | 126 | down. |
127 | struct·session_proxy | 127 | struct·session_proxy |
128 | { | 128 | { |
129 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); | ||
129 | ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&; | 130 | ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&; |
131 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept; | ||
132 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&); | ||
130 | ···~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); | 133 | ···~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); |
131 | ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy&&)·&·noexcept; | 134 | ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy&&)·&·noexcept; |
132 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); | ||
133 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&); | ||
134 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept; | ||
135 | }; | 135 | }; |
136 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 136 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
137 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y(\x8()\x8)·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 137 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y(\x8()\x8)·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
138 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); | ||
138 | session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&; | 139 | session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&; |
140 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept; | ||
141 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&); | ||
139 | ~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); | 142 | ~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); |
140 | session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy&&)·&·noexcept; | 143 | session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy&&)·&·noexcept; |
141 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); | ||
142 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&); | ||
143 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept; | ||
144 | default·constructor,·does·not·refer·to·any·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·implementation·object. | 144 | default·constructor,·does·not·refer·to·any·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·implementation·object. |
145 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 145 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
146 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8* | 146 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8* |
147 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8._\x8h_\x8p_\x8p" | 147 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8._\x8h_\x8p_\x8p" |
148 | The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·holds·all·state·that·spans·multiple·torrents.·Among·other·things·it | 148 | The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·holds·all·state·that·spans·multiple·torrents.·Among·other·things·it |
149 | runs·the·network·loop·and·manages·all·torrents.·Once·it's·created,·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n | 149 | runs·the·network·loop·and·manages·all·torrents.·Once·it's·created,·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n |
150 | object·will·spawn·the·main·thread·that·will·do·all·the·work.·The·main·thread | 150 | object·will·spawn·the·main·thread·that·will·do·all·the·work.·The·main·thread |
Offset 152, 46 lines modified | Offset 152, 46 lines modified | ||
152 | You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session_handle:: | 152 | You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session_handle:: |
153 | apply_settings()·member·function.·To·change·one·or·more·configuration·options, | 153 | apply_settings()·member·function.·To·change·one·or·more·configuration·options, |
154 | create·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.·object·and·fill·it·with·the·settings·to·be·set·and·pass | 154 | create·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.·object·and·fill·it·with·the·settings·to·be·set·and·pass |
155 | it·in·to·session::apply_settings(). | 155 | it·in·to·session::apply_settings(). |
156 | see·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8). | 156 | see·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8). |
157 | struct·session·:·session_handle | 157 | struct·session·:·session_handle |
158 | { | 158 | { |
159 | ···explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params); | ||
160 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·session_flags_t·flags); | ||
161 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·session_flags_t·flags); | 159 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·session_flags_t·flags); |
162 | ···explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params); | ||
Max diff block lines reached; 26683/36396 bytes (73.31%) of diff not shown. |
Offset 33, 30 lines modified | Offset 33, 30 lines modified | ||
33 | <p·class="topic-title">Table·of·contents</p> | 33 | <p·class="topic-title">Table·of·contents</p> |
34 | <ul·class="simple"> | 34 | <ul·class="simple"> |
35 | <li><a·class="reference·internal"·href="#settings-pack"·id="toc-entry-1">settings_pack</a><ul> | 35 | <li><a·class="reference·internal"·href="#settings-pack"·id="toc-entry-1">settings_pack</a><ul> |
36 | <li><a·class="reference·internal"·href="#set-bool-set-int-set-str"·id="toc-entry-2">set_bool()·set_int()·set_str()</a></li> | 36 | <li><a·class="reference·internal"·href="#set-bool-set-int-set-str"·id="toc-entry-2">set_bool()·set_int()·set_str()</a></li> |
37 | <li><a·class="reference·internal"·href="#has-val"·id="toc-entry-3">has_val()</a></li> | 37 | <li><a·class="reference·internal"·href="#has-val"·id="toc-entry-3">has_val()</a></li> |
38 | <li><a·class="reference·internal"·href="#clear"·id="toc-entry-4">clear()</a></li> | 38 | <li><a·class="reference·internal"·href="#clear"·id="toc-entry-4">clear()</a></li> |
39 | <li><a·class="reference·internal"·href="#clear-1"·id="toc-entry-5">clear()</a></li> | 39 | <li><a·class="reference·internal"·href="#clear-1"·id="toc-entry-5">clear()</a></li> |
40 | <li><a·class="reference·internal"·href="#get- | 40 | <li><a·class="reference·internal"·href="#get-bool-get-str-get-int"·id="toc-entry-6">get_bool()·get_str()·get_int()</a></li> |
41 | <li><a·class="reference·internal"·href="#enum-type-bases"·id="toc-entry-7">enum·type_bases</a></li> | 41 | <li><a·class="reference·internal"·href="#enum-type-bases"·id="toc-entry-7">enum·type_bases</a></li> |
42 | <li><a·class="reference·internal"·href="#enum-mmap-write-mode-t"·id="toc-entry-8">enum·mmap_write_mode_t</a></li> | 42 | <li><a·class="reference·internal"·href="#enum-mmap-write-mode-t"·id="toc-entry-8">enum·mmap_write_mode_t</a></li> |
43 | <li><a·class="reference·internal"·href="#enum-suggest-mode-t"·id="toc-entry-9">enum·suggest_mode_t</a></li> | 43 | <li><a·class="reference·internal"·href="#enum-suggest-mode-t"·id="toc-entry-9">enum·suggest_mode_t</a></li> |
44 | <li><a·class="reference·internal"·href="#enum-choking-algorithm-t"·id="toc-entry-10">enum·choking_algorithm_t</a></li> | 44 | <li><a·class="reference·internal"·href="#enum-choking-algorithm-t"·id="toc-entry-10">enum·choking_algorithm_t</a></li> |
45 | <li><a·class="reference·internal"·href="#enum-seed-choking-algorithm-t"·id="toc-entry-11">enum·seed_choking_algorithm_t</a></li> | 45 | <li><a·class="reference·internal"·href="#enum-seed-choking-algorithm-t"·id="toc-entry-11">enum·seed_choking_algorithm_t</a></li> |
46 | <li><a·class="reference·internal"·href="#enum-io-buffer-mode-t"·id="toc-entry-12">enum·io_buffer_mode_t</a></li> | 46 | <li><a·class="reference·internal"·href="#enum-io-buffer-mode-t"·id="toc-entry-12">enum·io_buffer_mode_t</a></li> |
47 | <li><a·class="reference·internal"·href="#enum-bandwidth-mixed-algo-t"·id="toc-entry-13">enum·bandwidth_mixed_algo_t</a></li> | 47 | <li><a·class="reference·internal"·href="#enum-bandwidth-mixed-algo-t"·id="toc-entry-13">enum·bandwidth_mixed_algo_t</a></li> |
48 | <li><a·class="reference·internal"·href="#enum-enc-policy"·id="toc-entry-14">enum·enc_policy</a></li> | 48 | <li><a·class="reference·internal"·href="#enum-enc-policy"·id="toc-entry-14">enum·enc_policy</a></li> |
49 | <li><a·class="reference·internal"·href="#enum-enc-level"·id="toc-entry-15">enum·enc_level</a></li> | 49 | <li><a·class="reference·internal"·href="#enum-enc-level"·id="toc-entry-15">enum·enc_level</a></li> |
50 | <li><a·class="reference·internal"·href="#enum-proxy-type-t"·id="toc-entry-16">enum·proxy_type_t</a></li> | 50 | <li><a·class="reference·internal"·href="#enum-proxy-type-t"·id="toc-entry-16">enum·proxy_type_t</a></li> |
51 | </ul> | 51 | </ul> |
52 | </li> | 52 | </li> |
53 | <li><a·class="reference·internal"·href="#generate-fingerprint"·id="toc-entry-17">generate_fingerprint()</a></li> | 53 | <li><a·class="reference·internal"·href="#generate-fingerprint"·id="toc-entry-17">generate_fingerprint()</a></li> |
54 | <li><a·class="reference·internal"·href="#high-performance-seed-min-memory-usage"·id="toc-entry-18">high_performance_seed()·min_memory_usage()</a></li> | 54 | <li><a·class="reference·internal"·href="#high-performance-seed-min-memory-usage"·id="toc-entry-18">high_performance_seed()·min_memory_usage()</a></li> |
55 | <li><a·class="reference·internal"·href="# | 55 | <li><a·class="reference·internal"·href="#name-for-setting-setting-by-name"·id="toc-entry-19">name_for_setting()·setting_by_name()</a></li> |
56 | <li><a·class="reference·internal"·href="#default-settings"·id="toc-entry-20">default_settings()</a></li> | 56 | <li><a·class="reference·internal"·href="#default-settings"·id="toc-entry-20">default_settings()</a></li> |
57 | </ul> | 57 | </ul> |
58 | </div> | 58 | </div> |
59 | <p>You·have·some·control·over·<a·class="reference·external"·href="reference-Session.html#session">session</a>·configuration·through·the·session::apply_settings() | 59 | <p>You·have·some·control·over·<a·class="reference·external"·href="reference-Session.html#session">session</a>·configuration·through·the·session::apply_settings() |
60 | member·function.·To·change·one·or·more·configuration·options,·create·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a> | 60 | member·function.·To·change·one·or·more·configuration·options,·create·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a> |
61 | object·and·fill·it·with·the·settings·to·be·set·and·pass·it·in·to·session::apply_settings().</p> | 61 | object·and·fill·it·with·the·settings·to·be·set·and·pass·it·in·to·session::apply_settings().</p> |
62 | <p>The·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·object·is·a·collection·of·settings·updates·that·are·applied | 62 | <p>The·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·object·is·a·collection·of·settings·updates·that·are·applied |
Offset 4569, 17 lines modified | Offset 4569, 17 lines modified | ||
4569 | ···void·<strong>set_int</strong>·(int·name,·int·val)·override; | 4569 | ···void·<strong>set_int</strong>·(int·name,·int·val)·override; |
4570 | ···void·<strong>set_str</strong>·(int·name,·std::string·val)·override; | 4570 | ···void·<strong>set_str</strong>·(int·name,·std::string·val)·override; |
4571 | ···void·<strong>set_bool</strong>·(int·name,·bool·val)·override; | 4571 | ···void·<strong>set_bool</strong>·(int·name,·bool·val)·override; |
4572 | ···void·<strong>set_int</strong>·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); | 4572 | ···void·<strong>set_int</strong>·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); |
4573 | ···bool·<strong>has_val</strong>·(int·name)·const·override; | 4573 | ···bool·<strong>has_val</strong>·(int·name)·const·override; |
4574 | ···void·<strong>clear</strong>·(); | 4574 | ···void·<strong>clear</strong>·(); |
4575 | ···void·<strong>clear</strong>·(int·name); | 4575 | ···void·<strong>clear</strong>·(int·name); |
4576 | ···bool·<strong>get_bool</strong>·(int·name)·const·override; | ||
4577 | ···std::string·const&·<strong>get_str</strong>·(int·name)·const·override; | 4576 | ···std::string·const&·<strong>get_str</strong>·(int·name)·const·override; |
4578 | ···int·<strong>get_int</strong>·(int·name)·const·override; | 4577 | ···int·<strong>get_int</strong>·(int·name)·const·override; |
4578 | ···bool·<strong>get_bool</strong>·(int·name)·const·override; | ||
4579 | ···void·<strong>for_each</strong>·(Fun&&·f)·const; | 4579 | ···void·<strong>for_each</strong>·(Fun&&·f)·const; |
4580 | ···enum·type_bases | 4580 | ···enum·type_bases |
4581 | ···{ | 4581 | ···{ |
4582 | ······string_type_base, | 4582 | ······string_type_base, |
4583 | ······int_type_base, | 4583 | ······int_type_base, |
4584 | ······bool_type_base, | 4584 | ······bool_type_base, |
Offset 4685, 23 lines modified | Offset 4685, 23 lines modified | ||
4685 | <a·name="clear()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bclear%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bclear%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 4685 | <a·name="clear()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bclear%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bclear%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
4686 | <div·class="section"·id="clear-1"> | 4686 | <div·class="section"·id="clear-1"> |
4687 | <h2>clear()</h2> | 4687 | <h2>clear()</h2> |
4688 | <pre·class="literal-block"> | 4688 | <pre·class="literal-block"> |
4689 | void·<strong>clear</strong>·(int·name); | 4689 | void·<strong>clear</strong>·(int·name); |
4690 | </pre> | 4690 | </pre> |
4691 | <p>clear·a·specific·setting·from·the·pack</p> | 4691 | <p>clear·a·specific·setting·from·the·pack</p> |
4692 | <a·name="get_str()"></a> | ||
4693 | <a·name="get_bool()"></a> | 4692 | <a·name="get_bool()"></a> |
4693 | <a·name="get_str()"></a> | ||
4694 | <a·name="get_int()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bget_ | 4694 | <a·name="get_int()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bget_bool%28%29+get_str%28%29+get_int%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bget_bool%28%29+get_str%28%29+get_int%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
4695 | <div·class="section"·id="get- | 4695 | <div·class="section"·id="get-bool-get-str-get-int"> |
4696 | <h2>get_ | 4696 | <h2>get_bool()·get_str()·get_int()</h2> |
4697 | <pre·class="literal-block"> | 4697 | <pre·class="literal-block"> |
4698 | bool·<strong>get_bool</strong>·(int·name)·const·override; | ||
4699 | std::string·const&·<strong>get_str</strong>·(int·name)·const·override; | 4698 | std::string·const&·<strong>get_str</strong>·(int·name)·const·override; |
4700 | int·<strong>get_int</strong>·(int·name)·const·override; | 4699 | int·<strong>get_int</strong>·(int·name)·const·override; |
4700 | bool·<strong>get_bool</strong>·(int·name)·const·override; | ||
4701 | </pre> | 4701 | </pre> |
4702 | <p>queries·the·current·configuration·option·from·the·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>. | 4702 | <p>queries·the·current·configuration·option·from·the·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>. |
4703 | <tt·class="docutils·literal">name</tt>·is·one·of·the·enumeration·values·from·string_types,·int_types | 4703 | <tt·class="docutils·literal">name</tt>·is·one·of·the·enumeration·values·from·string_types,·int_types |
4704 | or·bool_types.·The·enum·value·must·match·the·type·of·the·get_* | 4704 | or·bool_types.·The·enum·value·must·match·the·type·of·the·get_* |
4705 | function.·If·the·specified·setting·field·has·not·been·set,·the·default | 4705 | function.·If·the·specified·setting·field·has·not·been·set,·the·default |
4706 | value·is·returned.</p> | 4706 | value·is·returned.</p> |
4707 | <a·name="type_bases"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+type_bases&labels=documentation&body=Documentation+under+heading+%22enum+type_bases%22+could+be+improved">report·issue</a>]</span></div> | 4707 | <a·name="type_bases"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+type_bases&labels=documentation&body=Documentation+under+heading+%22enum+type_bases%22+could+be+improved">report·issue</a>]</span></div> |
Offset 5124, 16 lines modified | Offset 5124, 16 lines modified | ||
5124 | identify·the·version·of·your·client.</p> | 5124 | identify·the·version·of·your·client.</p> |
5125 | <a·name="high_performance_seed()"></a> | 5125 | <a·name="high_performance_seed()"></a> |
5126 | <a·name="min_memory_usage()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:high_performance_seed%28%29+min_memory_usage%28%29&labels=documentation&body=Documentation+under+heading+%22high_performance_seed%28%29+min_memory_usage%28%29%22+could+be+improved">report·issue</a>]</span></div> | 5126 | <a·name="min_memory_usage()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:high_performance_seed%28%29+min_memory_usage%28%29&labels=documentation&body=Documentation+under+heading+%22high_performance_seed%28%29+min_memory_usage%28%29%22+could+be+improved">report·issue</a>]</span></div> |
5127 | <div·class="section"·id="high-performance-seed-min-memory-usage"> | 5127 | <div·class="section"·id="high-performance-seed-min-memory-usage"> |
5128 | <h1>high_performance_seed()·min_memory_usage()</h1> | 5128 | <h1>high_performance_seed()·min_memory_usage()</h1> |
5129 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/session.hpp">libtorrent/session.hpp</a>"</p> | 5129 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/session.hpp">libtorrent/session.hpp</a>"</p> |
5130 | <pre·class="literal-block"> | 5130 | <pre·class="literal-block"> |
5131 | settings_pack·<strong>high_performance_seed</strong>·(); | ||
5132 | settings_pack·<strong>min_memory_usage</strong>·(); | 5131 | settings_pack·<strong>min_memory_usage</strong>·(); |
5132 | settings_pack·<strong>high_performance_seed</strong>·(); | ||
5133 | </pre> | 5133 | </pre> |
5134 | <p>The·default·values·of·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·settings·are·set·for·a·regular | 5134 | <p>The·default·values·of·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·settings·are·set·for·a·regular |
5135 | bittorrent·client·running·on·a·desktop·system.·There·are·functions·that | 5135 | bittorrent·client·running·on·a·desktop·system.·There·are·functions·that |
5136 | can·set·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·settings·to·pre·set·settings·for·other·environments. | 5136 | can·set·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·settings·to·pre·set·settings·for·other·environments. |
5137 | These·can·be·used·for·the·basis,·and·should·be·tweaked·to·fit·your·needs | 5137 | These·can·be·used·for·the·basis,·and·should·be·tweaked·to·fit·your·needs |
5138 | better.</p> | 5138 | better.</p> |
5139 | <p><tt·class="docutils·literal">min_memory_usage</tt>·returns·settings·that·will·use·the·minimal·amount·of | 5139 | <p><tt·class="docutils·literal">min_memory_usage</tt>·returns·settings·that·will·use·the·minimal·amount·of |
Offset 5147, 22 lines modified | Offset 5147, 22 lines modified | ||
5147 | pieces,·instead·of·reading·it·all·into·memory·before·hashing.</p> | 5147 | pieces,·instead·of·reading·it·all·into·memory·before·hashing.</p> |
5148 | <p>This·configuration·is·intended·to·be·the·starting·point·for·embedded | 5148 | <p>This·configuration·is·intended·to·be·the·starting·point·for·embedded |
5149 | devices.·It·will·significantly·reduce·memory·usage.</p> | 5149 | devices.·It·will·significantly·reduce·memory·usage.</p> |
5150 | <p><tt·class="docutils·literal">high_performance_seed</tt>·returns·settings·optimized·for·a·seed·box, | 5150 | <p><tt·class="docutils·literal">high_performance_seed</tt>·returns·settings·optimized·for·a·seed·box, |
5151 | serving·many·peers·and·that·doesn't·do·any·downloading.·It·has·a·128·MB | 5151 | serving·many·peers·and·that·doesn't·do·any·downloading.·It·has·a·128·MB |
5152 | disk·cache·and·has·a·limit·of·400·files·in·its·file·pool.·It·support·fast | 5152 | disk·cache·and·has·a·limit·of·400·files·in·its·file·pool.·It·support·fast |
5153 | upload·rates·by·allowing·large·send·buffers.</p> | 5153 | upload·rates·by·allowing·large·send·buffers.</p> |
5154 | <a·name=" | 5154 | <a·name="name_for_setting()"></a> |
5155 | <a·name=" | 5155 | <a·name="setting_by_name()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:name_for_setting%28%29+setting_by_name%28%29&labels=documentation&body=Documentation+under+heading+%22name_for_setting%28%29+setting_by_na[·...·truncated·by·diffoscope;·len:·2,·SHA:·2744ccd10c7533bd736ad890f9dd5cab2adb27b07d500b9493f29cdc420cb2e0·...·]%28%29%22+could+be+improved">report·issue</a>]</span></div> |
5156 | <div·class="section"·id="setting-by-name-name-for-setting"> | ||
5157 | < | 5156 | <div·class="section"·id="name-for-setting-setting-by-name"> |
5157 | <h1>name_for_setting()·setting_by_name()</h1> | ||
5158 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/settings_pack.hpp">libtorrent/settings_pack.hpp</a>"</p> | 5158 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/settings_pack.hpp">libtorrent/settings_pack.hpp</a>"</p> |
5159 | <pre·class="literal-block"> | 5159 | <pre·class="literal-block"> |
5160 | char·const*·<strong>name_for_setting</strong>·(int·s); | ||
5161 | int·<strong>setting_by_name</strong>·(string_view·name); | 5160 | int·<strong>setting_by_name</strong>·(string_view·name); |
5161 | char·const*·<strong>name_for_setting</strong>·(int·s); | ||
5162 | </pre> | 5162 | </pre> |
5163 | <p>converts·a·setting·integer·(from·the·enums·string_types,·int_types·or | 5163 | <p>converts·a·setting·integer·(from·the·enums·string_types,·int_types·or |
5164 | bool_types)·to·a·string,·and·vice·versa.</p> | 5164 | bool_types)·to·a·string,·and·vice·versa.</p> |
5165 | <a·name="default_settings()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:default_settings%28%29&labels=documentation&body=Documentation+under+heading+%22default_settings%28%29%22+could+be+improved">report·issue</a>]</span></div> | 5165 | <a·name="default_settings()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:default_settings%28%29&labels=documentation&body=Documentation+under+heading+%22default_settings%28%29%22+could+be+improved">report·issue</a>]</span></div> |
5166 | <div·class="section"·id="default-settings"> | 5166 | <div·class="section"·id="default-settings"> |
5167 | <h1>default_settings()</h1> | 5167 | <h1>default_settings()</h1> |
5168 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/settings_pack.hpp">libtorrent/settings_pack.hpp</a>"</p> | 5168 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/settings_pack.hpp">libtorrent/settings_pack.hpp</a>"</p> |
Offset 4, 28 lines modified | Offset 4, 28 lines modified | ||
4 | _\x8h_\x8o_\x8m_\x8e | 4 | _\x8h_\x8o_\x8m_\x8e |
5 | Table·of·contents | 5 | Table·of·contents |
6 | ····*·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k | 6 | ····*·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k |
7 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8b_\x8o_\x8o_\x8l_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8i_\x8n_\x8t_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8s_\x8t_\x8r_\x8(_\x8) | 7 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8b_\x8o_\x8o_\x8l_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8i_\x8n_\x8t_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8s_\x8t_\x8r_\x8(_\x8) |
8 | ··········o·_\x8h_\x8a_\x8s_\x8__\x8v_\x8a_\x8l_\x8(_\x8) | 8 | ··········o·_\x8h_\x8a_\x8s_\x8__\x8v_\x8a_\x8l_\x8(_\x8) |
9 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8) | 9 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8) |
10 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8) | 10 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8) |
11 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8 | 11 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_.o_.o_.l_.(_.)_.·_.g_.e_.t_.__.s_.t_.r_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8i_\x8n_\x8t_\x8(_\x8) |
12 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8b_\x8a_\x8s_\x8e_\x8s | 12 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8b_\x8a_\x8s_\x8e_\x8s |
13 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8m_\x8m_\x8a_\x8p_\x8__\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t | 13 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8m_\x8m_\x8a_\x8p_\x8__\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t |
14 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8u_\x8g_\x8g_\x8e_\x8s_\x8t_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t | 14 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8u_\x8g_\x8g_\x8e_\x8s_\x8t_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t |
15 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8c_\x8h_\x8o_\x8k_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8g_\x8o_\x8r_\x8i_\x8t_\x8h_\x8m_\x8__\x8t | 15 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8c_\x8h_\x8o_\x8k_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8g_\x8o_\x8r_\x8i_\x8t_\x8h_\x8m_\x8__\x8t |
16 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8e_\x8e_\x8d_\x8__\x8c_\x8h_\x8o_\x8k_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8g_\x8o_\x8r_\x8i_\x8t_\x8h_\x8m_\x8__\x8t | 16 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8e_\x8e_\x8d_\x8__\x8c_\x8h_\x8o_\x8k_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8g_\x8o_\x8r_\x8i_\x8t_\x8h_\x8m_\x8__\x8t |
17 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8i_\x8o_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t | 17 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8i_\x8o_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t |
18 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8b_\x8a_\x8n_\x8d_\x8w_\x8i_\x8d_\x8t_\x8h_\x8__\x8m_\x8i_\x8x_\x8e_\x8d_\x8__\x8a_\x8l_\x8g_\x8o_\x8__\x8t | 18 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8b_\x8a_\x8n_\x8d_\x8w_\x8i_\x8d_\x8t_\x8h_\x8__\x8m_\x8i_\x8x_\x8e_\x8d_\x8__\x8a_\x8l_\x8g_\x8o_\x8__\x8t |
19 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8n_\x8c_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y | 19 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8n_\x8c_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y |
20 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8n_\x8c_\x8__\x8l_\x8e_\x8v_\x8e_\x8l | 20 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8n_\x8c_\x8__\x8l_\x8e_\x8v_\x8e_\x8l |
21 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8x_\x8y_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 21 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8x_\x8y_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
22 | ····*·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8n_\x8g_\x8e_\x8r_\x8p_\x8r_\x8i_\x8n_\x8t_\x8(_\x8) | 22 | ····*·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8n_\x8g_\x8e_\x8r_\x8p_\x8r_\x8i_\x8n_\x8t_\x8(_\x8) |
23 | ····*·_\x8h_\x8i_\x8g_\x8h_\x8__\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8m_\x8i_\x8n_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8u_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) | 23 | ····*·_\x8h_\x8i_\x8g_\x8h_\x8__\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8m_\x8i_\x8n_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8u_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) |
24 | ····*·_\x8 | 24 | ····*·_\x8n_.a_.m_.e_.__.f_.o_.r_.__.s_.e_.t_.t_.i_.n_.g_.(_.)_.·_.s_.e_.t_.t_.i_.n_.g_.__.b_.y_.__.n_.a_.m_.e_\x8(_\x8) |
25 | ····*·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) | 25 | ····*·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) |
26 | You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session:: | 26 | You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session:: |
27 | apply_settings()·member·function.·To·change·one·or·more·configuration·options, | 27 | apply_settings()·member·function.·To·change·one·or·more·configuration·options, |
28 | create·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·and·fill·it·with·the·settings·to·be·set·and·pass | 28 | create·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·and·fill·it·with·the·settings·to·be·set·and·pass |
29 | it·in·to·session::apply_settings(). | 29 | it·in·to·session::apply_settings(). |
30 | The·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·is·a·collection·of·settings·updates·that·are·applied | 30 | The·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·is·a·collection·of·settings·updates·that·are·applied |
31 | to·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·when·passed·to·session::apply_settings().·It's·empty·when | 31 | to·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·when·passed·to·session::apply_settings().·It's·empty·when |
Offset 1427, 17 lines modified | Offset 1427, 17 lines modified | ||
1427 | ···void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·int·val)·override; | 1427 | ···void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·int·val)·override; |
1428 | ···void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·override; | 1428 | ···void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·override; |
1429 | ···void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override; | 1429 | ···void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override; |
1430 | ···void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); | 1430 | ···void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); |
1431 | ···bool·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l·(int·name)·const·override; | 1431 | ···bool·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l·(int·name)·const·override; |
1432 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r·(); | 1432 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r·(); |
1433 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r·(int·name); | 1433 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r·(int·name); |
1434 | ···bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·override; | ||
1435 | ···std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·override; | 1434 | ···std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·override; |
1436 | ···int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override; | 1435 | ···int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override; |
1436 | ···bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·override; | ||
1437 | ···void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(Fun&&·f)·const; | 1437 | ···void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(Fun&&·f)·const; |
1438 | ···enum·type_bases | 1438 | ···enum·type_bases |
1439 | ···{ | 1439 | ···{ |
1440 | ······string_type_base, | 1440 | ······string_type_base, |
1441 | ······int_type_base, | 1441 | ······int_type_base, |
1442 | ······bool_type_base, | 1442 | ······bool_type_base, |
Offset 1530, 18 lines modified | Offset 1530, 18 lines modified | ||
1530 | void·c\x8cl\x8le\x8ea\x8ar\x8r·(); | 1530 | void·c\x8cl\x8le\x8ea\x8ar\x8r·(); |
1531 | clear·the·settings·pack·from·all·settings | 1531 | clear·the·settings·pack·from·all·settings |
1532 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1532 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1533 | *\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8le\x8ea\x8ar\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 1533 | *\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8le\x8ea\x8ar\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
1534 | void·c\x8cl\x8le\x8ea\x8ar\x8r·(int·name); | 1534 | void·c\x8cl\x8le\x8ea\x8ar\x8r·(int·name); |
1535 | clear·a·specific·setting·from·the·pack | 1535 | clear·a·specific·setting·from·the·pack |
1536 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1536 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1537 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t_\x8_ | 1537 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t_\x8_b.bo.oo.ol.l(.().)·g.ge.et.t_._s.st.tr.r(\x8()\x8)·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
1538 | bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·override; | ||
1539 | std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·override; | 1538 | std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·override; |
1540 | int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override; | 1539 | int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override; |
1540 | bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·override; | ||
1541 | queries·the·current·configuration·option·from·the·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.·name·is·one·of | 1541 | queries·the·current·configuration·option·from·the·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.·name·is·one·of |
1542 | the·enumeration·values·from·string_types,·int_types·or·bool_types.·The·enum | 1542 | the·enumeration·values·from·string_types,·int_types·or·bool_types.·The·enum |
1543 | value·must·match·the·type·of·the·get_*·function.·If·the·specified·setting·field | 1543 | value·must·match·the·type·of·the·get_*·function.·If·the·specified·setting·field |
1544 | has·not·been·set,·the·default·value·is·returned. | 1544 | has·not·been·set,·the·default·value·is·returned. |
1545 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1545 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1546 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·t\x8ty\x8yp\x8pe\x8e_\x8_b\x8ba\x8as\x8se\x8es\x8s·*\x8**\x8**\x8**\x8**\x8* | 1546 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·t\x8ty\x8yp\x8pe\x8e_\x8_b\x8ba\x8as\x8se\x8es\x8s·*\x8**\x8**\x8**\x8**\x8* |
1547 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8._\x8h_\x8p_\x8p" | 1547 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8._\x8h_\x8p_\x8p" |
Offset 1695, 16 lines modified | Offset 1695, 16 lines modified | ||
1695 | |_\x8T_\x8L_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8T_\x8r_\x8i_\x8b_\x8l_\x8e_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 1695 | |_\x8T_\x8L_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8T_\x8r_\x8i_\x8b_\x8l_\x8e_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
1696 | There's·an·informal·directory·of·client·id's·_\x8h_\x8e_\x8r_\x8e. | 1696 | There's·an·informal·directory·of·client·id's·_\x8h_\x8e_\x8r_\x8e. |
1697 | The·major,·minor,·revision·and·tag·parameters·are·used·to·identify·the·version | 1697 | The·major,·minor,·revision·and·tag·parameters·are·used·to·identify·the·version |
1698 | of·your·client. | 1698 | of·your·client. |
1699 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1699 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1700 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8hi\x8ig\x8gh\x8h_\x8_p\x8pe\x8er\x8rf\x8fo\x8or\x8rm\x8ma\x8an\x8nc\x8ce\x8e_\x8_s\x8se\x8ee\x8ed\x8d(\x8()\x8)·m\x8mi\x8in\x8n_\x8_m\x8me\x8em\x8mo\x8or\x8ry\x8y_\x8_u\x8us\x8sa\x8ag\x8ge\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | 1700 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8hi\x8ig\x8gh\x8h_\x8_p\x8pe\x8er\x8rf\x8fo\x8or\x8rm\x8ma\x8an\x8nc\x8ce\x8e_\x8_s\x8se\x8ee\x8ed\x8d(\x8()\x8)·m\x8mi\x8in\x8n_\x8_m\x8me\x8em\x8mo\x8or\x8ry\x8y_\x8_u\x8us\x8sa\x8ag\x8ge\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
1701 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8._\x8h_\x8p_\x8p" | 1701 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8._\x8h_\x8p_\x8p" |
1702 | settings_pack·h\x8hi\x8ig\x8gh\x8h_\x8_p\x8pe\x8er\x8rf\x8fo\x8or\x8rm\x8ma\x8an\x8nc\x8ce\x8e_\x8_s\x8se\x8ee\x8ed\x8d·(); | ||
1703 | settings_pack·m\x8mi\x8in\x8n_\x8_m\x8me\x8em\x8mo\x8or\x8ry\x8y_\x8_u\x8us\x8sa\x8ag\x8ge\x8e·(); | 1702 | settings_pack·m\x8mi\x8in\x8n_\x8_m\x8me\x8em\x8mo\x8or\x8ry\x8y_\x8_u\x8us\x8sa\x8ag\x8ge\x8e·(); |
1703 | settings_pack·h\x8hi\x8ig\x8gh\x8h_\x8_p\x8pe\x8er\x8rf\x8fo\x8or\x8rm\x8ma\x8an\x8nc\x8ce\x8e_\x8_s\x8se\x8ee\x8ed\x8d·(); | ||
1704 | The·default·values·of·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·settings·are·set·for·a·regular·bittorrent | 1704 | The·default·values·of·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·settings·are·set·for·a·regular·bittorrent |
1705 | client·running·on·a·desktop·system.·There·are·functions·that·can·set·the | 1705 | client·running·on·a·desktop·system.·There·are·functions·that·can·set·the |
1706 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·settings·to·pre·set·settings·for·other·environments.·These·can·be·used | 1706 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·settings·to·pre·set·settings·for·other·environments.·These·can·be·used |
1707 | for·the·basis,·and·should·be·tweaked·to·fit·your·needs·better. | 1707 | for·the·basis,·and·should·be·tweaked·to·fit·your·needs·better. |
1708 | min_memory_usage·returns·settings·that·will·use·the·minimal·amount·of·RAM,·at | 1708 | min_memory_usage·returns·settings·that·will·use·the·minimal·amount·of·RAM,·at |
1709 | the·potential·expense·of·upload·and·download·performance.·It·adjusts·the·socket | 1709 | the·potential·expense·of·upload·and·download·performance.·It·adjusts·the·socket |
1710 | buffer·sizes,·disables·the·disk·cache,·lowers·the·send·buffer·watermarks·so | 1710 | buffer·sizes,·disables·the·disk·cache,·lowers·the·send·buffer·watermarks·so |
Offset 1717, 18 lines modified | Offset 1717, 18 lines modified | ||
1717 | This·configuration·is·intended·to·be·the·starting·point·for·embedded·devices. | 1717 | This·configuration·is·intended·to·be·the·starting·point·for·embedded·devices. |
1718 | It·will·significantly·reduce·memory·usage. | 1718 | It·will·significantly·reduce·memory·usage. |
1719 | high_performance_seed·returns·settings·optimized·for·a·seed·box,·serving·many | 1719 | high_performance_seed·returns·settings·optimized·for·a·seed·box,·serving·many |
1720 | peers·and·that·doesn't·do·any·downloading.·It·has·a·128·MB·disk·cache·and·has·a | 1720 | peers·and·that·doesn't·do·any·downloading.·It·has·a·128·MB·disk·cache·and·has·a |
1721 | limit·of·400·files·in·its·file·pool.·It·support·fast·upload·rates·by·allowing | 1721 | limit·of·400·files·in·its·file·pool.·It·support·fast·upload·rates·by·allowing |
1722 | large·send·buffers. | 1722 | large·send·buffers. |
1723 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1723 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1724 | *\x8**\x8**\x8**\x8**\x8**\x8*· | 1724 | *\x8**\x8**\x8**\x8**\x8**\x8*·n.na.am.me.e_._f.fo.or.r_._s.se.et.tt.ti.in.ng.g(.().)·s.se.et.tt.ti.in.ng.g_._b.by.y_._n.na.am.me.e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
1725 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8._\x8h_\x8p_\x8p" | 1725 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8._\x8h_\x8p_\x8p" |
1726 | char·const*·n\x8na\x8am\x8me\x8e_\x8_f\x8fo\x8or\x8r_\x8_s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8g·(int·s); | ||
1727 | int·s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8g_\x8_b\x8by\x8y_\x8_n\x8na\x8am\x8me\x8e·(string_view·name); | 1726 | int·s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8g_\x8_b\x8by\x8y_\x8_n\x8na\x8am\x8me\x8e·(string_view·name); |
1727 | char·const*·n\x8na\x8am\x8me\x8e_\x8_f\x8fo\x8or\x8r_\x8_s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8g·(int·s); | ||
1728 | converts·a·setting·integer·(from·the·enums·string_types,·int_types·or | 1728 | converts·a·setting·integer·(from·the·enums·string_types,·int_types·or |
1729 | bool_types)·to·a·string,·and·vice·versa. | 1729 | bool_types)·to·a·string,·and·vice·versa. |
1730 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1730 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1731 | *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t_\x8_s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8gs\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | 1731 | *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t_\x8_s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8gs\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
1732 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8._\x8h_\x8p_\x8p" | 1732 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8._\x8h_\x8p_\x8p" |
1733 | settings_pack·d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t_\x8_s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8gs\x8s·(); | 1733 | settings_pack·d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t_\x8_s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8gs\x8s·(); |
1734 | returns·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·with·every·setting·set·to·its·default·value | 1734 | returns·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·with·every·setting·set·to·its·default·value |
Offset 49, 16 lines modified | Offset 49, 16 lines modified | ||
49 | struct·counters | 49 | struct·counters |
50 | { | 50 | { |
51 | ···<strong>counters</strong>·()·; | 51 | ···<strong>counters</strong>·()·; |
52 | ···<strong>counters</strong>·(counters·const&)·; | 52 | ···<strong>counters</strong>·(counters·const&)·; |
53 | ···counters&·<strong>operator=</strong>·(counters·const&)·&·; | 53 | ···counters&·<strong>operator=</strong>·(counters·const&)·&·; |
54 | ···std::int64_t·<strong>inc_stats_counter</strong>·(int·c,·std::int64_t·value·=·1)·; | 54 | ···std::int64_t·<strong>inc_stats_counter</strong>·(int·c,·std::int64_t·value·=·1)·; |
55 | ···std::int64_t·<strong>operator[]</strong>·(int·i)·const·; | 55 | ···std::int64_t·<strong>operator[]</strong>·(int·i)·const·; |
56 | ···void·<strong>set_value</strong>·(int·c,·std::int64_t·value)·; | ||
57 | ···void·<strong>blend_stats_counter</strong>·(int·c,·std::int64_t·value,·int·ratio)·; | 56 | ···void·<strong>blend_stats_counter</strong>·(int·c,·std::int64_t·value,·int·ratio)·; |
57 | ···void·<strong>set_value</strong>·(int·c,·std::int64_t·value)·; | ||
58 | }; | 58 | }; |
59 | </pre> | 59 | </pre> |
60 | <a·name="operator[]()"></a> | 60 | <a·name="operator[]()"></a> |
61 | <a·name="inc_stats_counter()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:counters%3A%3A%5Boperator%5B%5D%28%29+inc_stats_counter%28%29%5D&labels=documentation&body=Documentation+under+heading+%22counters%3A%3A%5Boperator%5B%5D%28%29+inc_stats_counter%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="operator-inc-stats-counter"> | 61 | <a·name="inc_stats_counter()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:counters%3A%3A%5Boperator%5B%5D%28%29+inc_stats_counter%28%29%5D&labels=documentation&body=Documentation+under+heading+%22counters%3A%3A%5Boperator%5B%5D%28%29+inc_stats_counter%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="operator-inc-stats-counter"> |
62 | <h2>operator[]()·inc_stats_counter()</h2> | 62 | <h2>operator[]()·inc_stats_counter()</h2> |
63 | <pre·class="literal-block"> | 63 | <pre·class="literal-block"> |
64 | std::int64_t·<strong>inc_stats_counter</strong>·(int·c,·std::int64_t·value·=·1)·; | 64 | std::int64_t·<strong>inc_stats_counter</strong>·(int·c,·std::int64_t·value·=·1)·; |
Offset 15, 16 lines modified | Offset 15, 16 lines modified | ||
15 | struct·counters | 15 | struct·counters |
16 | { | 16 | { |
17 | ···c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·()·; | 17 | ···c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·()·; |
18 | ···c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·(counters·const&)·; | 18 | ···c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·(counters·const&)·; |
19 | ···counters&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(counters·const&)·&·; | 19 | ···counters&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(counters·const&)·&·; |
20 | ···std::int64_t·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r·(int·c,·std::int64_t·value·=·1)·; | 20 | ···std::int64_t·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r·(int·c,·std::int64_t·value·=·1)·; |
21 | ···std::int64_t·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·i)·const·; | 21 | ···std::int64_t·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·i)·const·; |
22 | ···void·s\x8se\x8et\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(int·c,·std::int64_t·value)·; | ||
23 | ···void·b\x8bl\x8le\x8en\x8nd\x8d_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r·(int·c,·std::int64_t·value,·int·ratio)·; | 22 | ···void·b\x8bl\x8le\x8en\x8nd\x8d_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r·(int·c,·std::int64_t·value,·int·ratio)·; |
23 | ···void·s\x8se\x8et\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(int·c,·std::int64_t·value)·; | ||
24 | }; | 24 | }; |
25 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 25 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
26 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8](\x8()\x8)·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 26 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8](\x8()\x8)·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
27 | std::int64_t·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r·(int·c,·std::int64_t·value·=·1)·; | 27 | std::int64_t·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r·(int·c,·std::int64_t·value·=·1)·; |
28 | std::int64_t·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·i)·const·; | 28 | std::int64_t·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·i)·const·; |
29 | returns·the·new·value | 29 | returns·the·new·value |
30 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 30 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
Offset 32, 36 lines modified | Offset 32, 36 lines modified | ||
32 | <div·class="contents·topic"·id="table-of-contents"> | 32 | <div·class="contents·topic"·id="table-of-contents"> |
33 | <p·class="topic-title">Table·of·contents</p> | 33 | <p·class="topic-title">Table·of·contents</p> |
34 | <ul·class="simple"> | 34 | <ul·class="simple"> |
35 | <li><a·class="reference·internal"·href="#file-slice"·id="toc-entry-1">file_slice</a></li> | 35 | <li><a·class="reference·internal"·href="#file-slice"·id="toc-entry-1">file_slice</a></li> |
36 | <li><a·class="reference·internal"·href="#file-storage"·id="toc-entry-2">file_storage</a><ul> | 36 | <li><a·class="reference·internal"·href="#file-storage"·id="toc-entry-2">file_storage</a><ul> |
37 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-3">is_valid()</a></li> | 37 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-3">is_valid()</a></li> |
38 | <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-4">reserve()</a></li> | 38 | <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-4">reserve()</a></li> |
39 | <li><a·class="reference·internal"·href="#add-file-add-file | 39 | <li><a·class="reference·internal"·href="#add-file-borrow-add-file"·id="toc-entry-5">add_file_borrow()·add_file()</a></li> |
40 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-6">rename_file()</a></li> | 40 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-6">rename_file()</a></li> |
41 | <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-7">map_block()</a></li> | 41 | <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-7">map_block()</a></li> |
42 | <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-8">map_file()</a></li> | 42 | <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-8">map_file()</a></li> |
43 | <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-9">num_files()</a></li> | 43 | <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-9">num_files()</a></li> |
44 | <li><a·class="reference·internal"·href="#end-file"·id="toc-entry-10">end_file()</a></li> | 44 | <li><a·class="reference·internal"·href="#end-file"·id="toc-entry-10">end_file()</a></li> |
45 | <li><a·class="reference·internal"·href="#file-range"·id="toc-entry-11">file_range()</a></li> | 45 | <li><a·class="reference·internal"·href="#file-range"·id="toc-entry-11">file_range()</a></li> |
46 | <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-12">total_size()</a></li> | 46 | <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-12">total_size()</a></li> |
47 | <li><a·class="reference·internal"·href="# | 47 | <li><a·class="reference·internal"·href="#num-pieces-set-num-pieces"·id="toc-entry-13">num_pieces()·set_num_pieces()</a></li> |
48 | <li><a·class="reference·internal"·href="#end-piece"·id="toc-entry-14">end_piece()</a></li> | 48 | <li><a·class="reference·internal"·href="#end-piece"·id="toc-entry-14">end_piece()</a></li> |
49 | <li><a·class="reference·internal"·href="#last-piece"·id="toc-entry-15">last_piece()</a></li> | 49 | <li><a·class="reference·internal"·href="#last-piece"·id="toc-entry-15">last_piece()</a></li> |
50 | <li><a·class="reference·internal"·href="#piece-range"·id="toc-entry-16">piece_range()</a></li> | 50 | <li><a·class="reference·internal"·href="#piece-range"·id="toc-entry-16">piece_range()</a></li> |
51 | <li><a·class="reference·internal"·href="# | 51 | <li><a·class="reference·internal"·href="#piece-length-set-piece-length"·id="toc-entry-17">piece_length()·set_piece_length()</a></li> |
52 | <li><a·class="reference·internal"·href="#piece-size"·id="toc-entry-18">piece_size()</a></li> | 52 | <li><a·class="reference·internal"·href="#piece-size"·id="toc-entry-18">piece_size()</a></li> |
53 | <li><a·class="reference·internal"·href="#piece-size2"·id="toc-entry-19">piece_size2()</a></li> | 53 | <li><a·class="reference·internal"·href="#piece-size2"·id="toc-entry-19">piece_size2()</a></li> |
54 | <li><a·class="reference·internal"·href="#blocks-in-piece2"·id="toc-entry-20">blocks_in_piece2()</a></li> | 54 | <li><a·class="reference·internal"·href="#blocks-in-piece2"·id="toc-entry-20">blocks_in_piece2()</a></li> |
55 | <li><a·class="reference·internal"·href="#blocks-per-piece"·id="toc-entry-21">blocks_per_piece()</a></li> | 55 | <li><a·class="reference·internal"·href="#blocks-per-piece"·id="toc-entry-21">blocks_per_piece()</a></li> |
56 | <li><a·class="reference·internal"·href="#set-name-name"·id="toc-entry-22">set_name()·name()</a></li> | 56 | <li><a·class="reference·internal"·href="#set-name-name"·id="toc-entry-22">set_name()·name()</a></li> |
57 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-23">swap()</a></li> | 57 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-23">swap()</a></li> |
58 | <li><a·class="reference·internal"·href="#canonicalize"·id="toc-entry-24">canonicalize()</a></li> | 58 | <li><a·class="reference·internal"·href="#canonicalize"·id="toc-entry-24">canonicalize()</a></li> |
59 | <li><a·class="reference·internal"·href="#file- | 59 | <li><a·class="reference·internal"·href="#file-size-root-ptr-pad-file-at-symlink-root-file-name-mtime-file-offset-hash-file-path"·id="toc-entry-25">file_size()·root_ptr()·pad_file_at()·symlink()·root()·file_name()·mtime()·file_offset()·hash()·file_path()</a></li> |
60 | <li><a·class="reference·internal"·href="#file-piece | 60 | <li><a·class="reference·internal"·href="#file-num-pieces-file-piece-range-file-num-blocks"·id="toc-entry-26">file_num_pieces()·file_piece_range()·file_num_blocks()</a></li> |
61 | <li><a·class="reference·internal"·href="#file-first-block-node-file-first-piece-node"·id="toc-entry-27">file_first_block_node()·file_first_piece_node()</a></li> | 61 | <li><a·class="reference·internal"·href="#file-first-block-node-file-first-piece-node"·id="toc-entry-27">file_first_block_node()·file_first_piece_node()</a></li> |
62 | <li><a·class="reference·internal"·href="#file-path-hash"·id="toc-entry-28">file_path_hash()</a></li> | 62 | <li><a·class="reference·internal"·href="#file-path-hash"·id="toc-entry-28">file_path_hash()</a></li> |
63 | <li><a·class="reference·internal"·href="#all-path-hashes"·id="toc-entry-29">all_path_hashes()</a></li> | 63 | <li><a·class="reference·internal"·href="#all-path-hashes"·id="toc-entry-29">all_path_hashes()</a></li> |
64 | <li><a·class="reference·internal"·href="#file-flags"·id="toc-entry-30">file_flags()</a></li> | 64 | <li><a·class="reference·internal"·href="#file-flags"·id="toc-entry-30">file_flags()</a></li> |
65 | <li><a·class="reference·internal"·href="#file-absolute-path"·id="toc-entry-31">file_absolute_path()</a></li> | 65 | <li><a·class="reference·internal"·href="#file-absolute-path"·id="toc-entry-31">file_absolute_path()</a></li> |
66 | <li><a·class="reference·internal"·href="#file-index-at-offset-file-index-at-piece"·id="toc-entry-32">file_index_at_offset()·file_index_at_piece()</a></li> | 66 | <li><a·class="reference·internal"·href="#file-index-at-offset-file-index-at-piece"·id="toc-entry-32">file_index_at_offset()·file_index_at_piece()</a></li> |
67 | <li><a·class="reference·internal"·href="#file-index-for-root"·id="toc-entry-33">file_index_for_root()</a></li> | 67 | <li><a·class="reference·internal"·href="#file-index-for-root"·id="toc-entry-33">file_index_for_root()</a></li> |
Offset 117, 28 lines modified | Offset 117, 28 lines modified | ||
117 | size.·Everything·necessary·to·interpret·a·regular·bittorrent·storage | 117 | size.·Everything·necessary·to·interpret·a·regular·bittorrent·storage |
118 | file·structure.</p> | 118 | file·structure.</p> |
119 | <pre·class="literal-block"> | 119 | <pre·class="literal-block"> |
120 | class·file_storage | 120 | class·file_storage |
121 | { | 121 | { |
122 | ···bool·<strong>is_valid</strong>·()·const; | 122 | ···bool·<strong>is_valid</strong>·()·const; |
123 | ···void·<strong>reserve</strong>·(int·num_files); | 123 | ···void·<strong>reserve</strong>·(int·num_files); |
124 | ···void·<strong>add_file_borrow</strong>·(error_code&·ec,·string_view·filename | ||
125 | ······,·std::string·const&·path,·std::int64_t·file_size | ||
126 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | ||
127 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | ||
128 | ······,·char·const*·root_hash·=·nullptr); | ||
129 | ···void·<strong>add_file</strong>·(std::string·const&·path,·std::int64_t·file_size | 124 | ···void·<strong>add_file</strong>·(std::string·const&·path,·std::int64_t·file_size |
130 | ······,·file_flags_t·file_flags·=·{} | 125 | ······,·file_flags_t·file_flags·=·{} |
131 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 126 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
132 | ······,·char·const*·root_hash·=·nullptr); | 127 | ······,·char·const*·root_hash·=·nullptr); |
133 | ···void·<strong>add_file_borrow</strong>·(string_view·filename | 128 | ···void·<strong>add_file_borrow</strong>·(string_view·filename |
134 | ······,·std::string·const&·path,·std::int64_t·file_size | 129 | ······,·std::string·const&·path,·std::int64_t·file_size |
135 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | 130 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr |
136 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 131 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
137 | ······,·char·const*·root_hash·=·nullptr); | 132 | ······,·char·const*·root_hash·=·nullptr); |
133 | ···void·<strong>add_file_borrow</strong>·(error_code&·ec,·string_view·filename | ||
134 | ······,·std::string·const&·path,·std::int64_t·file_size | ||
135 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | ||
136 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | ||
137 | ······,·char·const*·root_hash·=·nullptr); | ||
138 | ···void·<strong>add_file</strong>·(error_code&·ec,·std::string·const&·path,·std::int64_t·file_size | 138 | ···void·<strong>add_file</strong>·(error_code&·ec,·std::string·const&·path,·std::int64_t·file_size |
139 | ······,·file_flags_t·file_flags·=·{} | 139 | ······,·file_flags_t·file_flags·=·{} |
140 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 140 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
141 | ······,·char·const*·root_hash·=·nullptr); | 141 | ······,·char·const*·root_hash·=·nullptr); |
142 | ···void·<strong>rename_file</strong>·(file_index_t·index,·std::string·const&·new_filename); | 142 | ···void·<strong>rename_file</strong>·(file_index_t·index,·std::string·const&·new_filename); |
143 | ···std::vector<file_slice>·<strong>map_block</strong>·(piece_index_t·piece,·std::int64_t·offset | 143 | ···std::vector<file_slice>·<strong>map_block</strong>·(piece_index_t·piece,·std::int64_t·offset |
144 | ······,·std::int64_t·size)·const; | 144 | ······,·std::int64_t·size)·const; |
Offset 154, 33 lines modified | Offset 154, 33 lines modified | ||
154 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const·noexcept; | 154 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const·noexcept; |
155 | ···void·<strong>set_piece_length</strong>·(int·l); | 155 | ···void·<strong>set_piece_length</strong>·(int·l); |
156 | ···int·<strong>piece_length</strong>·()·const; | 156 | ···int·<strong>piece_length</strong>·()·const; |
157 | ···int·<strong>piece_size</strong>·(piece_index_t·index)·const; | 157 | ···int·<strong>piece_size</strong>·(piece_index_t·index)·const; |
158 | ···int·<strong>piece_size2</strong>·(piece_index_t·index)·const; | 158 | ···int·<strong>piece_size2</strong>·(piece_index_t·index)·const; |
159 | ···int·<strong>blocks_in_piece2</strong>·(piece_index_t·index)·const; | 159 | ···int·<strong>blocks_in_piece2</strong>·(piece_index_t·index)·const; |
160 | ···int·<strong>blocks_per_piece</strong>·()·const; | 160 | ···int·<strong>blocks_per_piece</strong>·()·const; |
161 | ···std::string·const&·<strong>name</strong>·()·const; | ||
162 | ···void·<strong>set_name</strong>·(std::string·const&·n); | 161 | ···void·<strong>set_name</strong>·(std::string·const&·n); |
162 | ···std::string·const&·<strong>name</strong>·()·const; | ||
163 | ···void·<strong>swap</strong>·(file_storage&·ti)·noexcept; | 163 | ···void·<strong>swap</strong>·(file_storage&·ti)·noexcept; |
164 | ···void·<strong>canonicalize</strong>·(); | 164 | ···void·<strong>canonicalize</strong>·(); |
165 | ···std::int64_t·<strong>file_size</strong>·(file_index_t·index)·const; | ||
166 | ··· | 165 | ···bool·<strong>pad_file_at</strong>·(file_index_t·index)·const; |
166 | ···sha1_hash·<strong>hash</strong>·(file_index_t·index)·const; | ||
167 | ···std::string·<strong>symlink</strong>·(file_index_t·index)·const; | 167 | ···std::string·<strong>symlink</strong>·(file_index_t·index)·const; |
168 | ···std::time_t·<strong>mtime</strong>·(file_index_t·index)·const; | 168 | ···std::time_t·<strong>mtime</strong>·(file_index_t·index)·const; |
169 | ···sha1_hash·<strong>hash</strong>·(file_index_t·index)·const; | ||
170 | ···std::int64_t·<strong>file_offset</strong>·(file_index_t·index)·const; | ||
171 | ···char·const*·<strong>root_ptr</strong>·(file_index_t·const·index)·const; | ||
172 | ···std::string·<strong>file_path</strong>·(file_index_t·index,·std::string·const&·save_path·=·"")·const; | 169 | ···std::string·<strong>file_path</strong>·(file_index_t·index,·std::string·const&·save_path·=·"")·const; |
173 | ···sha256_hash·<strong>root</strong>·(file_index_t·index)·const; | 170 | ···sha256_hash·<strong>root</strong>·(file_index_t·index)·const; |
171 | ···std::int64_t·<strong>file_offset</strong>·(file_index_t·index)·const; | ||
172 | ···char·const*·<strong>root_ptr</strong>·(file_index_t·const·index)·const; | ||
173 | ···std::int64_t·<strong>file_size</strong>·(file_index_t·index)·const; | ||
174 | ··· | 174 | ···string_view·<strong>file_name</strong>·(file_index_t·index)·const; |
175 | ···index_range<piece_index_t::diff_type>·<strong>file_piece_range</strong>·(file_index_t)·const; | ||
175 | ···int·<strong>file_num_pieces</strong>·(file_index_t·index)·const; | 176 | ···int·<strong>file_num_pieces</strong>·(file_index_t·index)·const; |
176 | ···int·<strong>file_num_blocks</strong>·(file_index_t·index)·const; | 177 | ···int·<strong>file_num_blocks</strong>·(file_index_t·index)·const; |
177 | ···index_range<piece_index_t::diff_type>·<strong>file_piece_range</strong>·(file_index_t)·const; | ||
178 | ···int·<strong>file_first_block_node</strong>·(file_index_t·index)·const; | ||
179 | ···int·<strong>file_first_piece_node</strong>·(file_index_t·index)·const; | 178 | ···int·<strong>file_first_piece_node</strong>·(file_index_t·index)·const; |
179 | ···int·<strong>file_first_block_node</strong>·(file_index_t·index)·const; | ||
180 | ···std::uint32_t·<strong>file_path_hash</strong>·(file_index_t·index,·std::string·const&·save_path)·const; | 180 | ···std::uint32_t·<strong>file_path_hash</strong>·(file_index_t·index,·std::string·const&·save_path)·const; |
181 | ···void·<strong>all_path_hashes</strong>·(std::unordered_set<std::uint32_t>&·table)·const; | 181 | ···void·<strong>all_path_hashes</strong>·(std::unordered_set<std::uint32_t>&·table)·const; |
182 | ···file_flags_t·<strong>file_flags</strong>·(file_index_t·index)·const; | 182 | ···file_flags_t·<strong>file_flags</strong>·(file_index_t·index)·const; |
183 | ···bool·<strong>file_absolute_path</strong>·(file_index_t·index)·const; | 183 | ···bool·<strong>file_absolute_path</strong>·(file_index_t·index)·const; |
184 | ···file_index_t·<strong>file_index_at_piece</strong>·(piece_index_t·piece)·const; | 184 | ···file_index_t·<strong>file_index_at_piece</strong>·(piece_index_t·piece)·const; |
185 | ···file_index_t·<strong>file_index_at_offset</strong>·(std::int64_t·offset)·const; | 185 | ···file_index_t·<strong>file_index_at_offset</strong>·(std::int64_t·offset)·const; |
186 | ···file_index_t·<strong>file_index_for_root</strong>·(sha256_hash·const&·root_hash)·const; | 186 | ···file_index_t·<strong>file_index_for_root</strong>·(sha256_hash·const&·root_hash)·const; |
Offset 208, 33 lines modified | Offset 208, 33 lines modified | ||
208 | <h2>reserve()</h2> | 208 | <h2>reserve()</h2> |
209 | <pre·class="literal-block"> | 209 | <pre·class="literal-block"> |
210 | void·<strong>reserve</strong>·(int·num_files); | 210 | void·<strong>reserve</strong>·(int·num_files); |
211 | </pre> | 211 | </pre> |
212 | <p>allocates·space·for·<tt·class="docutils·literal">num_files</tt>·in·the·internal·file·list.·This·can | 212 | <p>allocates·space·for·<tt·class="docutils·literal">num_files</tt>·in·the·internal·file·list.·This·can |
213 | be·used·to·avoid·reallocating·the·internal·file·list·when·the·number | 213 | be·used·to·avoid·reallocating·the·internal·file·list·when·the·number |
214 | of·files·to·be·added·is·known·up-front.</p> | 214 | of·files·to·be·added·is·known·up-front.</p> |
215 | <a·name="add_file()"></a> | 215 | <a·name="add_file_borrow()"></a> |
216 | <a·name="add_file | 216 | <a·name="add_file()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:file_storage%3A%3A%5Badd_file_borrow%28%29+add_file%28%29%5D&labels=documentation&body=Documentation+under+heading+%22file_storage%3A%3A%5Badd_file_borro[·...·truncated·by·diffoscope;·len:·16,·SHA:·435a3e5ce06d720dfa073e06260e7b3f596bf0344a1b10d09ee5dc03a980e6b3·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
217 | <div·class="section"·id="add-file-add-file | 217 | <div·class="section"·id="add-file-borrow-add-file"> |
218 | <h2>add_file()·add_file | 218 | <h2>add_file_borrow()·add_file()</h2> |
219 | <pre·class="literal-block"> | 219 | <pre·class="literal-block"> |
220 | void·<strong>add_file_borrow</strong>·(error_code&·ec,·string_view·filename | ||
221 | ······,·std::string·const&·path,·std::int64_t·file_size | ||
222 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | ||
Max diff block lines reached; 14167/25594 bytes (55.35%) of diff not shown. |
Offset 3, 37 lines modified | Offset 3, 37 lines modified | ||
3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 | 3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 |
4 | _\x8h_\x8o_\x8m_\x8e | 4 | _\x8h_\x8o_\x8m_\x8e |
5 | Table·of·contents | 5 | Table·of·contents |
6 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8l_\x8i_\x8c_\x8e | 6 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8l_\x8i_\x8c_\x8e |
7 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e | 7 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e |
8 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) | 8 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) |
9 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8(_\x8) | 9 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8(_\x8) |
10 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8 | 10 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8__.b_.o_.r_.r_.o_.w_.(_.)_.·_.a_.d_.d_.__.f_.i_.l_.e_\x8(_\x8) |
11 | ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 11 | ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
12 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8) | 12 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8) |
13 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 13 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
14 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 14 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
15 | ··········o·_\x8e_\x8n_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 15 | ··········o·_\x8e_\x8n_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
16 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) | 16 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) |
17 | ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) | 17 | ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) |
18 | ··········o·_\x8 | 18 | ··········o·_\x8n_.u_.m_.__.p_.i_.e_.c_.e_.s_.(_.)_.·_.s_.e_.t_.__\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8) |
19 | ··········o·_\x8e_\x8n_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 19 | ··········o·_\x8e_\x8n_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
20 | ··········o·_\x8l_\x8a_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 20 | ··········o·_\x8l_\x8a_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
21 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) | 21 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) |
22 | ··········o·_\x8 | 22 | ··········o·_\x8p_.i_.e_.c_.e_.__.l_.e_.n_.g_.t_.h_.(_.)_.·_.s_.e_.t_.__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8) |
23 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) | 23 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) |
24 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x82_\x8(_\x8) | 24 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x82_\x8(_\x8) |
25 | ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8i_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x82_\x8(_\x8) | 25 | ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8i_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x82_\x8(_\x8) |
26 | ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 26 | ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
27 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8n_\x8a_\x8m_\x8e_\x8(_\x8) | 27 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8n_\x8a_\x8m_\x8e_\x8(_\x8) |
28 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) | 28 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) |
29 | ··········o·_\x8c_\x8a_\x8n_\x8o_\x8n_\x8i_\x8c_\x8a_\x8l_\x8i_\x8z_\x8e_\x8(_\x8) | 29 | ··········o·_\x8c_\x8a_\x8n_\x8o_\x8n_\x8i_\x8c_\x8a_\x8l_\x8i_\x8z_\x8e_\x8(_\x8) |
30 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8)_\x8·_\x8r_\x8o_\x8o_\x8t_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8p_\x8a_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8a_\x8t_\x8(_\x8)_\x8·_\x8m_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) | ||
31 | ············_\x8f_\x8i_\x8l_\x8e_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8s_\x8y_\x8m_\x8l_\x8i_\x8n_\x8k_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8h_\x8(_\x8)_\x8·_\x8r_\x8o_\x8o_\x8t_\x8__\x8p_\x8t_\x8r_\x8(_\x8) | ||
32 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8 | 30 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_.i_.z_.e_.(_.)_.·_.r_.o_.o_.t_.__.p_.t_.r_.(_.)_.·_.p_.a_.d_.__.f_.i_.l_.e_.__.a_.t_.(_.)_.·_.s_.y_.m_.l_.i_.n_.k_.(_.)_.·_.r_.o_.o_.t_.(_.)_.·_.f_.i_.l_.e_.__.n_.a_.m_.e_\x8(_\x8) |
31 | ············_\x8m_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8h_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8) | ||
32 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8u_\x8m_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8(_\x8) | ||
33 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) | 33 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) |
34 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) | 34 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) |
35 | ··········o·_\x8a_\x8l_\x8l_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8) | 35 | ··········o·_\x8a_\x8l_\x8l_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8) |
36 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8) | 36 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8) |
37 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8a_\x8b_\x8s_\x8o_\x8l_\x8u_\x8t_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8) | 37 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8a_\x8b_\x8s_\x8o_\x8l_\x8u_\x8t_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8) |
38 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 38 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
39 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8f_\x8o_\x8r_\x8__\x8r_\x8o_\x8o_\x8t_\x8(_\x8) | 39 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8f_\x8o_\x8r_\x8__\x8r_\x8o_\x8o_\x8t_\x8(_\x8) |
Offset 77, 28 lines modified | Offset 77, 28 lines modified | ||
77 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8._\x8h_\x8p_\x8p" | 77 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8._\x8h_\x8p_\x8p" |
78 | The·file_storage·class·represents·a·file·list·and·the·piece·size.·Everything | 78 | The·file_storage·class·represents·a·file·list·and·the·piece·size.·Everything |
79 | necessary·to·interpret·a·regular·bittorrent·storage·file·structure. | 79 | necessary·to·interpret·a·regular·bittorrent·storage·file·structure. |
80 | class·file_storage | 80 | class·file_storage |
81 | { | 81 | { |
82 | ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const; | 82 | ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const; |
83 | ···void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·num_files); | 83 | ···void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·num_files); |
84 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w·(error_code&·ec,·string_view·filename | ||
85 | ······,·std::string·const&·path,·std::int64_t·file_size | ||
86 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | ||
87 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | ||
88 | ······,·char·const*·root_hash·=·nullptr); | ||
89 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(std::string·const&·path,·std::int64_t·file_size | 84 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(std::string·const&·path,·std::int64_t·file_size |
90 | ······,·file_flags_t·file_flags·=·{} | 85 | ······,·file_flags_t·file_flags·=·{} |
91 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 86 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
92 | ······,·char·const*·root_hash·=·nullptr); | 87 | ······,·char·const*·root_hash·=·nullptr); |
93 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w·(string_view·filename | 88 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w·(string_view·filename |
94 | ······,·std::string·const&·path,·std::int64_t·file_size | 89 | ······,·std::string·const&·path,·std::int64_t·file_size |
95 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | 90 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr |
96 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 91 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
97 | ······,·char·const*·root_hash·=·nullptr); | 92 | ······,·char·const*·root_hash·=·nullptr); |
93 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w·(error_code&·ec,·string_view·filename | ||
94 | ······,·std::string·const&·path,·std::int64_t·file_size | ||
95 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | ||
96 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | ||
97 | ······,·char·const*·root_hash·=·nullptr); | ||
98 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(error_code&·ec,·std::string·const&·path,·std::int64_t | 98 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(error_code&·ec,·std::string·const&·path,·std::int64_t |
99 | file_size | 99 | file_size |
100 | ······,·file_flags_t·file_flags·=·{} | 100 | ······,·file_flags_t·file_flags·=·{} |
101 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 101 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
102 | ······,·char·const*·root_hash·=·nullptr); | 102 | ······,·char·const*·root_hash·=·nullptr); |
103 | ···void·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·index,·std::string·const&·new_filename); | 103 | ···void·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·index,·std::string·const&·new_filename); |
104 | ···std::vector<file_slice>·m\x8ma\x8ap\x8p_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·piece,·std::int64_t·offset | 104 | ···std::vector<file_slice>·m\x8ma\x8ap\x8p_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·piece,·std::int64_t·offset |
Offset 116, 34 lines modified | Offset 116, 34 lines modified | ||
116 | ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; | 116 | ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; |
117 | ···void·s\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·(int·l); | 117 | ···void·s\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·(int·l); |
118 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | 118 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; |
119 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·index)·const; | 119 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·index)·const; |
120 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e2\x82·(piece_index_t·index)·const; | 120 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e2\x82·(piece_index_t·index)·const; |
121 | ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_i\x8in\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e2\x82·(piece_index_t·index)·const; | 121 | ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_i\x8in\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e2\x82·(piece_index_t·index)·const; |
122 | ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_p\x8pe\x8er\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; | 122 | ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_p\x8pe\x8er\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; |
123 | ···std::string·const&·n\x8na\x8am\x8me\x8e·()·const; | ||
124 | ···void·s\x8se\x8et\x8t_\x8_n\x8na\x8am\x8me\x8e·(std::string·const&·n); | 123 | ···void·s\x8se\x8et\x8t_\x8_n\x8na\x8am\x8me\x8e·(std::string·const&·n); |
124 | ···std::string·const&·n\x8na\x8am\x8me\x8e·()·const; | ||
125 | ···void·s\x8sw\x8wa\x8ap\x8p·(file_storage&·ti)·noexcept; | 125 | ···void·s\x8sw\x8wa\x8ap\x8p·(file_storage&·ti)·noexcept; |
126 | ···void·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8li\x8iz\x8ze\x8e·(); | 126 | ···void·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8li\x8iz\x8ze\x8e·(); |
127 | ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(file_index_t·index)·const; | ||
128 | ··· | 127 | ···bool·p.pa.ad.d_._f.fi.il.le.e_._a.at.t·(file_index_t·index)·const; |
128 | ···sha1_hash·h\x8ha\x8as\x8sh\x8h·(file_index_t·index)·const; | ||
129 | ···std::string·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8k·(file_index_t·index)·const; | 129 | ···std::string·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8k·(file_index_t·index)·const; |
130 | ···std::time_t·m\x8mt\x8ti\x8im\x8me\x8e·(file_index_t·index)·const; | 130 | ···std::time_t·m\x8mt\x8ti\x8im\x8me\x8e·(file_index_t·index)·const; |
131 | ···sha1_hash·h\x8ha\x8as\x8sh\x8h·(file_index_t·index)·const; | ||
132 | ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·(file_index_t·index)·const; | ||
133 | ···char·const*·r\x8ro\x8oo\x8ot\x8t_\x8_p\x8pt\x8tr\x8r·(file_index_t·const·index)·const; | ||
134 | ···std::string·f\x8fi\x8il\x8le\x8e_\x8_p\x8pa\x8at\x8th\x8h·(file_index_t·index,·std::string·const&·save_path·= | 131 | ···std::string·f\x8fi\x8il\x8le\x8e_\x8_p\x8pa\x8at\x8th\x8h·(file_index_t·index,·std::string·const&·save_path·= |
135 | "")·const; | 132 | "")·const; |
136 | ···sha256_hash·r\x8ro\x8oo\x8ot\x8t·(file_index_t·index)·const; | 133 | ···sha256_hash·r\x8ro\x8oo\x8ot\x8t·(file_index_t·index)·const; |
137 | ··· | 134 | ···std::int64_t·f.fi.il.le.e_._o.of.ff.fs.se.et\x8t·(file_index_t·index)·const; |
135 | ···char·const*·r\x8ro\x8oo\x8ot\x8t_\x8_p\x8pt\x8tr\x8r·(file_index_t·const·index)·const; | ||
136 | ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(file_index_t·index)·const; | ||
137 | ···string_view·f\x8fi\x8il\x8le\x8e_\x8_n\x8na\x8am\x8me\x8e·(file_index_t·index)·const; | ||
138 | ···index_range<piece_index_t::diff_type>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·(file_index_t)·const; | ||
138 | ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(file_index_t·index)·const; | 139 | ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(file_index_t·index)·const; |
139 | ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·(file_index_t·index)·const; | 140 | ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·(file_index_t·index)·const; |
140 | ···index_range<piece_index_t::diff_type>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·(file_index_t)·const; | ||
141 | ···int·f\x8fi\x8il\x8le\x8e_\x8_f\x8fi\x8ir\x8rs\x8st\x8t_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_n\x8no\x8od\x8de\x8e·(file_index_t·index)·const; | ||
142 | ···int·f\x8fi\x8il\x8le\x8e_\x8_f\x8fi\x8ir\x8rs\x8st\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_n\x8no\x8od\x8de\x8e·(file_index_t·index)·const; | 141 | ···int·f\x8fi\x8il\x8le\x8e_\x8_f\x8fi\x8ir\x8rs\x8st\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_n\x8no\x8od\x8de\x8e·(file_index_t·index)·const; |
142 | ···int·f\x8fi\x8il\x8le\x8e_\x8_f\x8fi\x8ir\x8rs\x8st\x8t_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_n\x8no\x8od\x8de\x8e·(file_index_t·index)·const; | ||
143 | ···std::uint32_t·f\x8fi\x8il\x8le\x8e_\x8_p\x8pa\x8at\x8th\x8h_\x8_h\x8ha\x8as\x8sh\x8h·(file_index_t·index,·std::string·const& | 143 | ···std::uint32_t·f\x8fi\x8il\x8le\x8e_\x8_p\x8pa\x8at\x8th\x8h_\x8_h\x8ha\x8as\x8sh\x8h·(file_index_t·index,·std::string·const& |
144 | save_path)·const; | 144 | save_path)·const; |
145 | ···void·a\x8al\x8ll\x8l_\x8_p\x8pa\x8at\x8th\x8h_\x8_h\x8ha\x8as\x8sh\x8he\x8es\x8s·(std::unordered_set<std::uint32_t>&·table)·const; | 145 | ···void·a\x8al\x8ll\x8l_\x8_p\x8pa\x8at\x8th\x8h_\x8_h\x8ha\x8as\x8sh\x8he\x8es\x8s·(std::unordered_set<std::uint32_t>&·table)·const; |
146 | ···file_flags_t·f\x8fi\x8il\x8le\x8e_\x8_f\x8fl\x8la\x8ag\x8gs\x8s·(file_index_t·index)·const; | 146 | ···file_flags_t·f\x8fi\x8il\x8le\x8e_\x8_f\x8fl\x8la\x8ag\x8gs\x8s·(file_index_t·index)·const; |
147 | ···bool·f\x8fi\x8il\x8le\x8e_\x8_a\x8ab\x8bs\x8so\x8ol\x8lu\x8ut\x8te\x8e_\x8_p\x8pa\x8at\x8th\x8h·(file_index_t·index)·const; | 147 | ···bool·f\x8fi\x8il\x8le\x8e_\x8_a\x8ab\x8bs\x8so\x8ol\x8lu\x8ut\x8te\x8e_\x8_p\x8pa\x8at\x8th\x8h·(file_index_t·index)·const; |
148 | ···file_index_t·f\x8fi\x8il\x8le\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_a\x8at\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const; | 148 | ···file_index_t·f\x8fi\x8il\x8le\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_a\x8at\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const; |
149 | ···file_index_t·f\x8fi\x8il\x8le\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_a\x8at\x8t_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·(std::int64_t·offset)·const; | 149 | ···file_index_t·f\x8fi\x8il\x8le\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_a\x8at\x8t_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·(std::int64_t·offset)·const; |
Offset 166, 29 lines modified | Offset 166, 29 lines modified | ||
166 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 166 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
167 | *\x8**\x8**\x8**\x8**\x8*·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 167 | *\x8**\x8**\x8**\x8**\x8*·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
168 | void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·num_files); | 168 | void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·num_files); |
169 | allocates·space·for·num_files·in·the·internal·file·list.·This·can·be·used·to | 169 | allocates·space·for·num_files·in·the·internal·file·list.·This·can·be·used·to |
170 | avoid·reallocating·the·internal·file·list·when·the·number·of·files·to·be·added | 170 | avoid·reallocating·the·internal·file·list·when·the·number·of·files·to·be·added |
171 | is·known·up-front. | 171 | is·known·up-front. |
172 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 172 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
173 | *\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w(\x8()\x8)·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
173 | *\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e(\x8()\x8)·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
174 | void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w·(error_code&·ec,·string_view·filename | ||
175 | ······,·std::string·const&·path,·std::int64_t·file_size | ||
Max diff block lines reached; 9285/19003 bytes (48.86%) of diff not shown. |
Offset 39, 52 lines modified | Offset 39, 52 lines modified | ||
39 | </li> | 39 | </li> |
40 | <li><a·class="reference·internal"·href="#partial-piece-info"·id="toc-entry-4">partial_piece_info</a></li> | 40 | <li><a·class="reference·internal"·href="#partial-piece-info"·id="toc-entry-4">partial_piece_info</a></li> |
41 | <li><a·class="reference·internal"·href="#torrent-handle"·id="toc-entry-5">torrent_handle</a><ul> | 41 | <li><a·class="reference·internal"·href="#torrent-handle"·id="toc-entry-5">torrent_handle</a><ul> |
42 | <li><a·class="reference·internal"·href="#torrent-handle-1"·id="toc-entry-6">torrent_handle()</a></li> | 42 | <li><a·class="reference·internal"·href="#torrent-handle-1"·id="toc-entry-6">torrent_handle()</a></li> |
43 | <li><a·class="reference·internal"·href="#add-piece"·id="toc-entry-7">add_piece()</a></li> | 43 | <li><a·class="reference·internal"·href="#add-piece"·id="toc-entry-7">add_piece()</a></li> |
44 | <li><a·class="reference·internal"·href="#read-piece"·id="toc-entry-8">read_piece()</a></li> | 44 | <li><a·class="reference·internal"·href="#read-piece"·id="toc-entry-8">read_piece()</a></li> |
45 | <li><a·class="reference·internal"·href="#have-piece"·id="toc-entry-9">have_piece()</a></li> | 45 | <li><a·class="reference·internal"·href="#have-piece"·id="toc-entry-9">have_piece()</a></li> |
46 | <li><a·class="reference·internal"·href="# | 46 | <li><a·class="reference·internal"·href="#post-peer-info-get-peer-info"·id="toc-entry-10">post_peer_info()·get_peer_info()</a></li> |
47 | <li><a·class="reference·internal"·href="#status-post-status"·id="toc-entry-11">status()·post_status()</a></li> | 47 | <li><a·class="reference·internal"·href="#status-post-status"·id="toc-entry-11">status()·post_status()</a></li> |
48 | <li><a·class="reference·internal"·href="# | 48 | <li><a·class="reference·internal"·href="#post-download-queue-get-download-queue"·id="toc-entry-12">post_download_queue()·get_download_queue()</a></li> |
49 | <li><a·class="reference·internal"·href="# | 49 | <li><a·class="reference·internal"·href="#reset-piece-deadline-clear-piece-deadlines-set-piece-deadline"·id="toc-entry-13">reset_piece_deadline()·clear_piece_deadlines()·set_piece_deadline()</a></li> |
50 | <li><a·class="reference·internal"·href="#file-progress-post-file-progress"·id="toc-entry-14">file_progress()·post_file_progress()</a></li> | 50 | <li><a·class="reference·internal"·href="#file-progress-post-file-progress"·id="toc-entry-14">file_progress()·post_file_progress()</a></li> |
51 | <li><a·class="reference·internal"·href="#file-status"·id="toc-entry-15">file_status()</a></li> | 51 | <li><a·class="reference·internal"·href="#file-status"·id="toc-entry-15">file_status()</a></li> |
52 | <li><a·class="reference·internal"·href="#clear-error"·id="toc-entry-16">clear_error()</a></li> | 52 | <li><a·class="reference·internal"·href="#clear-error"·id="toc-entry-16">clear_error()</a></li> |
53 | <li><a·class="reference·internal"·href="# | 53 | <li><a·class="reference·internal"·href="#replace-trackers-trackers-add-tracker-post-trackers"·id="toc-entry-17">replace_trackers()·trackers()·add_tracker()·post_trackers()</a></li> |
54 | <li><a·class="reference·internal"·href="#url-seed | 54 | <li><a·class="reference·internal"·href="#add-url-seed-remove-url-seed-url-seeds"·id="toc-entry-18">add_url_seed()·remove_url_seed()·url_seeds()</a></li> |
55 | <li><a·class="reference·internal"·href="#add-http-seed-remove-http-seed-http-seeds"·id="toc-entry-19">add_http_seed()·remove_http_seed()·http_seeds()</a></li> | 55 | <li><a·class="reference·internal"·href="#add-http-seed-remove-http-seed-http-seeds"·id="toc-entry-19">add_http_seed()·remove_http_seed()·http_seeds()</a></li> |
56 | <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-20">add_extension()</a></li> | 56 | <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-20">add_extension()</a></li> |
57 | <li><a·class="reference·internal"·href="#set-metadata"·id="toc-entry-21">set_metadata()</a></li> | 57 | <li><a·class="reference·internal"·href="#set-metadata"·id="toc-entry-21">set_metadata()</a></li> |
58 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-22">is_valid()</a></li> | 58 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-22">is_valid()</a></li> |
59 | <li><a·class="reference·internal"·href="#resume-pause"·id="toc-entry-23">resume()·pause()</a></li> | 59 | <li><a·class="reference·internal"·href="#resume-pause"·id="toc-entry-23">resume()·pause()</a></li> |
60 | <li><a·class="reference·internal"·href="#set-flags- | 60 | <li><a·class="reference·internal"·href="#unset-flags-flags-set-flags"·id="toc-entry-24">unset_flags()·flags()·set_flags()</a></li> |
61 | <li><a·class="reference·internal"·href="#flush-cache"·id="toc-entry-25">flush_cache()</a></li> | 61 | <li><a·class="reference·internal"·href="#flush-cache"·id="toc-entry-25">flush_cache()</a></li> |
62 | <li><a·class="reference·internal"·href="#force-recheck"·id="toc-entry-26">force_recheck()</a></li> | 62 | <li><a·class="reference·internal"·href="#force-recheck"·id="toc-entry-26">force_recheck()</a></li> |
63 | <li><a·class="reference·internal"·href="#save-resume-data"·id="toc-entry-27">save_resume_data()</a></li> | 63 | <li><a·class="reference·internal"·href="#save-resume-data"·id="toc-entry-27">save_resume_data()</a></li> |
64 | <li><a·class="reference·internal"·href="#need-save-resume-data"·id="toc-entry-28">need_save_resume_data()</a></li> | 64 | <li><a·class="reference·internal"·href="#need-save-resume-data"·id="toc-entry-28">need_save_resume_data()</a></li> |
65 | <li><a·class="reference·internal"·href="#queue-position- | 65 | <li><a·class="reference·internal"·href="#queue-position-queue-position-up-queue-position-down-queue-position-bottom-queue-position-top"·id="toc-entry-29">queue_position()·queue_position_up()·queue_position_down()·queue_position_bottom()·queue_position_top()</a></li> |
66 | <li><a·class="reference·internal"·href="#queue-position-set"·id="toc-entry-30">queue_position_set()</a></li> | 66 | <li><a·class="reference·internal"·href="#queue-position-set"·id="toc-entry-30">queue_position_set()</a></li> |
67 | <li><a·class="reference·internal"·href="#set-ssl-certificate-set-ssl-certificat | 67 | <li><a·class="reference·internal"·href="#set-ssl-certificate-buffer-set-ssl-certificate"·id="toc-entry-31">set_ssl_certificate_buffer()·set_ssl_certificate()</a></li> |
68 | <li><a·class="reference·internal"·href="#torrent-file-t | 68 | <li><a·class="reference·internal"·href="#torrent-file-with-hashes-torrent-file"·id="toc-entry-32">torrent_file_with_hashes()·torrent_file()</a></li> |
69 | <li><a·class="reference·internal"·href="#piece-layers"·id="toc-entry-33">piece_layers()</a></li> | 69 | <li><a·class="reference·internal"·href="#piece-layers"·id="toc-entry-33">piece_layers()</a></li> |
70 | <li><a·class="reference·internal"·href="#p | 70 | <li><a·class="reference·internal"·href="#piece-availability-post-piece-availability"·id="toc-entry-34">piece_availability()·post_piece_availability()</a></li> |
71 | <li><a·class="reference·internal"·href="#priorit | 71 | <li><a·class="reference·internal"·href="#piece-priority-prioritize-pieces-get-piece-priorities"·id="toc-entry-35">piece_priority()·prioritize_pieces()·get_piece_priorities()</a></li> |
72 | <li><a·class="reference·internal"·href="# | 72 | <li><a·class="reference·internal"·href="#prioritize-files-get-file-priorities-file-priority"·id="toc-entry-36">prioritize_files()·get_file_priorities()·file_priority()</a></li> |
73 | <li><a·class="reference·internal"·href="#force-lsd-announce-force- | 73 | <li><a·class="reference·internal"·href="#force-lsd-announce-force-dht-announce-force-reannounce"·id="toc-entry-37">force_lsd_announce()·force_dht_announce()·force_reannounce()</a></li> |
74 | <li><a·class="reference·internal"·href="#scrape-tracker"·id="toc-entry-38">scrape_tracker()</a></li> | 74 | <li><a·class="reference·internal"·href="#scrape-tracker"·id="toc-entry-38">scrape_tracker()</a></li> |
75 | <li><a·class="reference·internal"·href="# | 75 | <li><a·class="reference·internal"·href="#set-upload-limit-download-limit-set-download-limit-upload-limit"·id="toc-entry-39">set_upload_limit()·download_limit()·set_download_limit()·upload_limit()</a></li> |
76 | <li><a·class="reference·internal"·href="#connect-peer"·id="toc-entry-40">connect_peer()</a></li> | 76 | <li><a·class="reference·internal"·href="#connect-peer"·id="toc-entry-40">connect_peer()</a></li> |
77 | <li><a·class="reference·internal"·href="#clear-peers"·id="toc-entry-41">clear_peers()</a></li> | 77 | <li><a·class="reference·internal"·href="#clear-peers"·id="toc-entry-41">clear_peers()</a></li> |
78 | <li><a·class="reference·internal"·href="#max-upload | 78 | <li><a·class="reference·internal"·href="#set-max-uploads-max-uploads"·id="toc-entry-42">set_max_uploads()·max_uploads()</a></li> |
79 | <li><a·class="reference·internal"·href="#max-connections-set-max-connections"·id="toc-entry-43">max_connections()·set_max_connections()</a></li> | 79 | <li><a·class="reference·internal"·href="#max-connections-set-max-connections"·id="toc-entry-43">max_connections()·set_max_connections()</a></li> |
80 | <li><a·class="reference·internal"·href="#move-storage"·id="toc-entry-44">move_storage()</a></li> | 80 | <li><a·class="reference·internal"·href="#move-storage"·id="toc-entry-44">move_storage()</a></li> |
81 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-45">rename_file()</a></li> | 81 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-45">rename_file()</a></li> |
82 | <li><a·class="reference·internal"·href="#info-hashes-info-hash"·id="toc-entry-46">info_hashes()·info_hash()</a></li> | 82 | <li><a·class="reference·internal"·href="#info-hashes-info-hash"·id="toc-entry-46">info_hashes()·info_hash()</a></li> |
83 | <li><a·class="reference·internal"·href="#operator-operator-operator"·id="toc-entry-47">operator!=()·operator | 83 | <li><a·class="reference·internal"·href="#operator-operator-operator"·id="toc-entry-47">operator!=()·operator<()·operator==()</a></li> |
84 | <li><a·class="reference·internal"·href="#id"·id="toc-entry-48">id()</a></li> | 84 | <li><a·class="reference·internal"·href="#id"·id="toc-entry-48">id()</a></li> |
85 | <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-49">native_handle()</a></li> | 85 | <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-49">native_handle()</a></li> |
86 | <li><a·class="reference·internal"·href="#userdata"·id="toc-entry-50">userdata()</a></li> | 86 | <li><a·class="reference·internal"·href="#userdata"·id="toc-entry-50">userdata()</a></li> |
87 | <li><a·class="reference·internal"·href="#in-session"·id="toc-entry-51">in_session()</a></li> | 87 | <li><a·class="reference·internal"·href="#in-session"·id="toc-entry-51">in_session()</a></li> |
88 | </ul> | 88 | </ul> |
89 | </li> | 89 | </li> |
90 | <li><a·class="reference·internal"·href="#hash-value"·id="toc-entry-52">hash_value()</a></li> | 90 | <li><a·class="reference·internal"·href="#hash-value"·id="toc-entry-52">hash_value()</a></li> |
Offset 263, 109 lines modified | Offset 263, 109 lines modified | ||
263 | handle·will·remain·valid·between·two·calls.</p> | 263 | handle·will·remain·valid·between·two·calls.</p> |
264 | </div> | 264 | </div> |
265 | <pre·class="literal-block"> | 265 | <pre·class="literal-block"> |
266 | struct·torrent_handle | 266 | struct·torrent_handle |
267 | { | 267 | { |
268 | ···friend·std::size_t·<strong>hash_value</strong>·(torrent_handle·const&·th); | 268 | ···friend·std::size_t·<strong>hash_value</strong>·(torrent_handle·const&·th); |
269 | ···<strong>torrent_handle</strong>·()·noexcept·=·default; | 269 | ···<strong>torrent_handle</strong>·()·noexcept·=·default; |
270 | ···void·<strong>add_piece</strong>·(piece_index_t·piece,·std::vector<char>·data,·add_piece_flags_t·flags·=·{})·const; | ||
271 | ···void·<strong>add_piece</strong>·(piece_index_t·piece,·char·const*·data,·add_piece_flags_t·flags·=·{})·const; | 270 | ···void·<strong>add_piece</strong>·(piece_index_t·piece,·char·const*·data,·add_piece_flags_t·flags·=·{})·const; |
271 | ···void·<strong>add_piece</strong>·(piece_index_t·piece,·std::vector<char>·data,·add_piece_flags_t·flags·=·{})·const; | ||
272 | ···void·<strong>read_piece</strong>·(piece_index_t·piece)·const; | 272 | ···void·<strong>read_piece</strong>·(piece_index_t·piece)·const; |
273 | ···bool·<strong>have_piece</strong>·(piece_index_t·piece)·const; | 273 | ···bool·<strong>have_piece</strong>·(piece_index_t·piece)·const; |
274 | ···void·<strong>get_peer_info</strong>·(std::vector<peer_info>&·v)·const; | 274 | ···void·<strong>get_peer_info</strong>·(std::vector<peer_info>&·v)·const; |
275 | ···void·<strong>post_peer_info</strong>·()·const; | 275 | ···void·<strong>post_peer_info</strong>·()·const; |
276 | ···void·<strong>post_status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const; | ||
277 | ···torrent_status·<strong>status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const; | 276 | ···torrent_status·<strong>status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const; |
278 | ···void·<strong> | 277 | ···void·<strong>post_status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const; |
279 | ···void·<strong>post_download_queue</strong>·()·const; | 278 | ···void·<strong>post_download_queue</strong>·()·const; |
279 | ···void·<strong>get_download_queue</strong>·(std::vector<partial_piece_info>&·queue)·const; | ||
280 | ···std::vector<partial_piece_info>·<strong>get_download_queue</strong>·()·const; | 280 | ···std::vector<partial_piece_info>·<strong>get_download_queue</strong>·()·const; |
281 | ···void·<strong>set_piece_deadline</strong>·(piece_index_t·index,·int·deadline,·deadline_flags_t·flags·=·{})·const; | 281 | ···void·<strong>set_piece_deadline</strong>·(piece_index_t·index,·int·deadline,·deadline_flags_t·flags·=·{})·const; |
282 | ···void·<strong>clear_piece_deadlines</strong>·()·const; | ||
283 | ···void·<strong>reset_piece_deadline</strong>·(piece_index_t·index)·const; | 282 | ···void·<strong>reset_piece_deadline</strong>·(piece_index_t·index)·const; |
284 | ···void·<strong> | 283 | ···void·<strong>clear_piece_deadlines</strong>·()·const; |
285 | ···std::vector<std::int64_t>·<strong>file_progress</strong>·(file_progress_flags_t·flags·=·{})·const; | 284 | ···std::vector<std::int64_t>·<strong>file_progress</strong>·(file_progress_flags_t·flags·=·{})·const; |
285 | ···void·<strong>post_file_progress</strong>·(file_progress_flags_t·flags)·const; | ||
286 | ···void·<strong>file_progress</strong>·(std::vector<std::int64_t>&·progress,·file_progress_flags_t·flags·=·{})·const; | 286 | ···void·<strong>file_progress</strong>·(std::vector<std::int64_t>&·progress,·file_progress_flags_t·flags·=·{})·const; |
287 | ···std::vector<open_file_state>·<strong>file_status</strong>·()·const; | 287 | ···std::vector<open_file_state>·<strong>file_status</strong>·()·const; |
288 | ···void·<strong>clear_error</strong>·()·const; | 288 | ···void·<strong>clear_error</strong>·()·const; |
289 | ···void·<strong>post_trackers</strong>·()·const; | ||
290 | ···std::vector<announce_entry>·<strong>trackers</strong>·()·const; | 289 | ···std::vector<announce_entry>·<strong>trackers</strong>·()·const; |
291 | ···void·<strong>replace_trackers</strong>·(std::vector<announce_entry>·const&)·const; | 290 | ···void·<strong>replace_trackers</strong>·(std::vector<announce_entry>·const&)·const; |
292 | ···void·<strong>add_tracker</strong>·(announce_entry·const&)·const; | 291 | ···void·<strong>add_tracker</strong>·(announce_entry·const&)·const; |
293 | ···void·<strong> | 292 | ···void·<strong>post_trackers</strong>·()·const; |
294 | ···void·<strong>add_url_seed</strong>·(std::string·const&·url)·const; | 293 | ···void·<strong>add_url_seed</strong>·(std::string·const&·url)·const; |
295 | ···std::set<std::string>·<strong>url_seeds</strong>·()·const; | 294 | ···std::set<std::string>·<strong>url_seeds</strong>·()·const; |
296 | ··· | 295 | ···void·<strong>remove_url_seed</strong>·(std::string·const&·url)·const; |
297 | ···void·<strong>add_http_seed</strong>·(std::string·const&·url)·const; | 296 | ···void·<strong>add_http_seed</strong>·(std::string·const&·url)·const; |
298 | ···void·<strong>remove_http_seed</strong>·(std::string·const&·url)·const; | 297 | ···void·<strong>remove_http_seed</strong>·(std::string·const&·url)·const; |
298 | ···std::set<std::string>·<strong>http_seeds</strong>·()·const; | ||
299 | ···void·<strong>add_extension</strong>·( | 299 | ···void·<strong>add_extension</strong>·( |
300 | ······std::function<std::shared_ptr<torrent_plugin>(torrent_handle·const&,·client_data_t)>·const&·ext | 300 | ······std::function<std::shared_ptr<torrent_plugin>(torrent_handle·const&,·client_data_t)>·const&·ext |
301 | ······,·client_data_t·userdata·=·client_data_t{}); | 301 | ······,·client_data_t·userdata·=·client_data_t{}); |
302 | ···bool·<strong>set_metadata</strong>·(span<char·const>·metadata)·const; | 302 | ···bool·<strong>set_metadata</strong>·(span<char·const>·metadata)·const; |
303 | ···bool·<strong>is_valid</strong>·()·const; | 303 | ···bool·<strong>is_valid</strong>·()·const; |
304 | ···void·<strong>pause</strong>·(pause_flags_t·flags·=·{})·const; | 304 | ···void·<strong>pause</strong>·(pause_flags_t·flags·=·{})·const; |
305 | ···void·<strong>resume</strong>·()·const; | 305 | ···void·<strong>resume</strong>·()·const; |
306 | ···torrent_flags_t·<strong>flags</strong>·()·const; | ||
307 | ···void·<strong>set_flags</strong>·(torrent_flags_t·flags)·const; | ||
308 | ···void·<strong>unset_flags</strong>·(torrent_flags_t·flags)·const; | 306 | ···void·<strong>unset_flags</strong>·(torrent_flags_t·flags)·const; |
307 | ···void·<strong>set_flags</strong>·(torrent_flags_t·flags)·const; | ||
308 | ···torrent_flags_t·<strong>flags</strong>·()·const; | ||
309 | ···void·<strong>set_flags</strong>·(torrent_flags_t·flags,·torrent_flags_t·mask)·const; | 309 | ···void·<strong>set_flags</strong>·(torrent_flags_t·flags,·torrent_flags_t·mask)·const; |
310 | ···void·<strong>flush_cache</strong>·()·const; | 310 | ···void·<strong>flush_cache</strong>·()·const; |
311 | ···void·<strong>force_recheck</strong>·()·const; | 311 | ···void·<strong>force_recheck</strong>·()·const; |
312 | ···void·<strong>save_resume_data</strong>·(resume_data_flags_t·flags·=·{})·const; | 312 | ···void·<strong>save_resume_data</strong>·(resume_data_flags_t·flags·=·{})·const; |
313 | ···bool·<strong>need_save_resume_data</strong>·()·const; | ||
314 | ···bool·<strong>need_save_resume_data</strong>·(resume_data_flags_t·flags)·const; | 313 | ···bool·<strong>need_save_resume_data</strong>·(resume_data_flags_t·flags)·const; |
314 | ···bool·<strong>need_save_resume_data</strong>·()·const; | ||
315 | ···void·<strong>queue_position_down</strong>·()·const; | ||
316 | ···queue_position_t·<strong>queue_position</strong>·()·const; | ||
317 | ···void·<strong>queue_position_up</strong>·()·const; | 315 | ···void·<strong>queue_position_up</strong>·()·const; |
318 | ···void·<strong>queue_position_ | 316 | ···void·<strong>queue_position_down</strong>·()·const; |
319 | ···void·<strong>queue_position_bottom</strong>·()·const; | 317 | ···void·<strong>queue_position_bottom</strong>·()·const; |
318 | ···void·<strong>queue_position_top</strong>·()·const; | ||
319 | ···queue_position_t·<strong>queue_position</strong>·()·const; | ||
320 | ···void·<strong>queue_position_set</strong>·(queue_position_t·p)·const; | 320 | ···void·<strong>queue_position_set</strong>·(queue_position_t·p)·const; |
321 | ···void·<strong>set_ssl_certificate_buffer</strong>·(std::string·const&·certificate | 321 | ···void·<strong>set_ssl_certificate_buffer</strong>·(std::string·const&·certificate |
322 | ······,·std::string·const&·private_key | 322 | ······,·std::string·const&·private_key |
323 | ······,·std::string·const&·dh_params); | 323 | ······,·std::string·const&·dh_params); |
324 | ···void·<strong>set_ssl_certificate</strong>·(std::string·const&·certificate | 324 | ···void·<strong>set_ssl_certificate</strong>·(std::string·const&·certificate |
325 | ······,·std::string·const&·private_key | 325 | ······,·std::string·const&·private_key |
326 | ······,·std::string·const&·dh_params | 326 | ······,·std::string·const&·dh_params |
327 | ······,·std::string·const&·passphrase·=·""); | 327 | ······,·std::string·const&·passphrase·=·""); |
Max diff block lines reached; 52461/66924 bytes (78.39%) of diff not shown. |
Offset 8, 54 lines modified | Offset 8, 54 lines modified | ||
8 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8__\x8t | 8 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8__\x8t |
9 | ····*·_\x8p_\x8a_\x8r_\x8t_\x8i_\x8a_\x8l_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o | 9 | ····*·_\x8p_\x8a_\x8r_\x8t_\x8i_\x8a_\x8l_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o |
10 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e | 10 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e |
11 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8) | 11 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8) |
12 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 12 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
13 | ··········o·_\x8r_\x8e_\x8a_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 13 | ··········o·_\x8r_\x8e_\x8a_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
14 | ··········o·_\x8h_\x8a_\x8v_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 14 | ··········o·_\x8h_\x8a_\x8v_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
15 | ··········o·_\x8 | 15 | ··········o·_\x8p_.o_.s_.t_.__.p_.e_.e_.r_.__.i_.n_.f_.o_.(_.)_.·_.g_.e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8) |
16 | ··········o·_\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) | 16 | ··········o·_\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) |
17 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8q_\x8u_\x8e_\x8u_\x8e_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\x8t_\x8__\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8q_\x8u_\x8e_\x8u_\x8e_\x8(_\x8) | ||
18 | ··········o·_\x8 | 17 | ··········o·_\x8p_.o_.s_.t_.__.d_.o_.w_.n_.l_.o_.a_.d_.__.q_.u_.e_.u_.e_.(_.)_.·_.g_.e_.t_.__.d_.o_.w_.n_.l_.o_.a_.d_.__.q_.u_.e_.u_\x8e_\x8(_\x8) |
18 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8(_\x8)_\x8·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8(_\x8) | ||
19 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8o_\x8g_\x8r_\x8e_\x8s_\x8s_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8o_\x8g_\x8r_\x8e_\x8s_\x8s_\x8(_\x8) | 19 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8o_\x8g_\x8r_\x8e_\x8s_\x8s_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8o_\x8g_\x8r_\x8e_\x8s_\x8s_\x8(_\x8) |
20 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) | 20 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) |
21 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8(_\x8) | 21 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8(_\x8) |
22 | ··········o·_\x8 | 22 | ··········o·_\x8r_.e_.p_.l_.a_.c_.e_.__.t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\x8t_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8) |
23 | ··········o·_\x8u_.r_.l_.__.s_.e_.e_.d | 23 | ··········o·_\x8a_.d_.d_.__.u_.r_.l_.__.s_.e_.e_.d_.(_.)_.·_.r_.e_.m_.o_.v_.e_.__.u_.r_.l_.__.s_.e_.e_.d_.(_.)_.·_.u_.r_.l_.__.s_.e_.e_.d_.s_\x8(_\x8) |
24 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8) | 24 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8) |
25 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 25 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
26 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8m_\x8e_\x8t_\x8a_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | 26 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8m_\x8e_\x8t_\x8a_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) |
27 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) | 27 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) |
28 | ··········o·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)_\x8·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8) | 28 | ··········o·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)_\x8·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8) |
29 | ··········o·_\x8s_.e_.t_.__.f_.l_.a_.g_.s_.(_.)_.· | 29 | ··········o·_\x8u_.n_.s_.e_.t_.__.f_.l_.a_.g_.s_.(_.)_.·_.f_.l_.a_.g_.s_.(_.)_.·_.s_.e_.t_.__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8) |
30 | ··········o·_\x8f_\x8l_\x8u_\x8s_\x8h_\x8__\x8c_\x8a_\x8c_\x8h_\x8e_\x8(_\x8) | 30 | ··········o·_\x8f_\x8l_\x8u_\x8s_\x8h_\x8__\x8c_\x8a_\x8c_\x8h_\x8e_\x8(_\x8) |
31 | ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8r_\x8e_\x8c_\x8h_\x8e_\x8c_\x8k_\x8(_\x8) | 31 | ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8r_\x8e_\x8c_\x8h_\x8e_\x8c_\x8k_\x8(_\x8) |
32 | ··········o·_\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | 32 | ··········o·_\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) |
33 | ··········o·_\x8n_\x8e_\x8e_\x8d_\x8__\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | 33 | ··········o·_\x8n_\x8e_\x8e_\x8d_\x8__\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) |
34 | ··········o·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8 | 34 | ··········o·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_.__.u_.p_.(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_.__.d_.o_.w_.n_\x8(_\x8) |
35 | ············_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_.__. | 35 | ············_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__.b_.o_.t_.t_.o_.m_.(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_.__.t_.o_.p_\x8(_\x8) |
36 | ··········o·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8s_\x8e_\x8t_\x8(_\x8) | 36 | ··········o·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8s_\x8e_\x8t_\x8(_\x8) |
37 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8e_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8) | ||
38 | ··········o·_\x8t_. | 37 | ··········o·_\x8s_.e_.t_.__.s_.s_.l_.__.c_.e_.r_.t_.i_.f_.i_.c_.a_.t_.e_.__.b_.u_.f_.f_.e_.r_.(_.)_.·_.s_.e_.t_.__.s_.s_.l_.__.c_.e_.r_.t_.i_.f_.i_.c_.a_.t_.e_\x8(_\x8) |
38 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | ||
39 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8a_\x8y_\x8e_\x8r_\x8s_\x8(_\x8) | 39 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8a_\x8y_\x8e_\x8r_\x8s_\x8(_\x8) |
40 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8(_\x8)_\x8·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8(_\x8) | ||
41 | ··········o·_\x8p_\x8 | 40 | ··········o·_\x8p_\x8i_.e_.c_.e_.__.a_.v_.a_.i_.l_.a_.b_.i_.l_.i_.t_.y_.(_.)_.·_.p_.o_.s_.t_.__.p_.i_.e_.c_.e_.__.a_.v_.a_.i_.l_.a_.b_.i_.l_.i_.t_.y_\x8(_\x8) |
41 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8)_\x8·_\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8e_\x8s_\x8(_\x8) | ||
42 | ··········o·_\x8 | 42 | ··········o·_\x8p_.r_.i_.o_.r_.i_.t_.i_.z_.e_.__.f_.i_.l_.e_.s_.(_.)_.·_.g_.e_.t_.__.f_.i_.l_.e_.__.p_.r_.i_.o_.r_.i_.t_.i_.e_.s_.(_.)_.·_.f_.i_.l_.e_.__.p_.r_.i_.o_.r_.i_.t_.y_\x8(_\x8) |
43 | ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8l_\x8s_\x8d_\x8__\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8)_\x8·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8 | 43 | ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8l_\x8s_\x8d_\x8__\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8)_\x8·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8d_.h_.t_.__.a_.n_.n_.o_.u_.n_.c_.e_.(_.)_.·_.f_.o_.r_.c_.e_.__.r_.e_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8) |
44 | ··········o·_\x8s_\x8c_\x8r_\x8a_\x8p_\x8e_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8) | 44 | ··········o·_\x8s_\x8c_\x8r_\x8a_\x8p_\x8e_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8) |
45 | ··········o·_\x8 | 45 | ··········o·_\x8s_.e_.t_.__.u_.p_.l_.o_.a_.d_.__.l_.i_.m_.i_.t_.(_.)_.·_.d_.o_.w_.n_.l_.o_.a_.d_.__.l_.i_.m_.i_.t_.(_.)_.·_.s_.e_.t_.__.d_.o_.w_.n_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8) |
46 | ············_\x8 | 46 | ············_\x8u_.p_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8) |
47 | ··········o·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) | 47 | ··········o·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) |
48 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8) | 48 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8) |
49 | ··········o·_\x8 | 49 | ··········o·_\x8s_.e_.t_.__.m_.a_.x_.__.u_.p_.l_.o_.a_.d_.s_.(_.)_.·_\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8) |
50 | ··········o·_\x8m_\x8a_\x8x_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8m_\x8a_\x8x_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8) | 50 | ··········o·_\x8m_\x8a_\x8x_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8m_\x8a_\x8x_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8) |
51 | ··········o·_\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8) | 51 | ··········o·_\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8) |
52 | ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 52 | ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
53 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)_\x8·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) | 53 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)_\x8·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) |
54 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8!_\x8=_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8 | 54 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8!_\x8=_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_.=_\x8(_\x8) |
55 | ··········o·_\x8i_\x8d_\x8(_\x8) | 55 | ··········o·_\x8i_\x8d_\x8(_\x8) |
56 | ··········o·_\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8) | 56 | ··········o·_\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8) |
57 | ··········o·_\x8u_\x8s_\x8e_\x8r_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | 57 | ··········o·_\x8u_\x8s_\x8e_\x8r_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) |
58 | ··········o·_\x8i_\x8n_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 58 | ··········o·_\x8i_\x8n_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
59 | ····*·_\x8h_\x8a_\x8s_\x8h_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8) | 59 | ····*·_\x8h_\x8a_\x8s_\x8h_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8) |
60 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 60 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
61 | *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8* | 61 | *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8* |
Offset 175, 119 lines modified | Offset 175, 119 lines modified | ||
175 | the·handle·is·no·longer·referring·to·a·torrent.·There·is·one·exception·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d | 175 | the·handle·is·no·longer·referring·to·a·torrent.·There·is·one·exception·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d |
176 | _\x8(_\x8)·will·never·throw.·Since·the·torrents·are·processed·by·a·background·thread, | 176 | _\x8(_\x8)·will·never·throw.·Since·the·torrents·are·processed·by·a·background·thread, |
177 | there·is·no·guarantee·that·a·handle·will·remain·valid·between·two·calls. | 177 | there·is·no·guarantee·that·a·handle·will·remain·valid·between·two·calls. |
178 | struct·torrent_handle | 178 | struct·torrent_handle |
179 | { | 179 | { |
180 | ···friend·std::size_t·h\x8ha\x8as\x8sh\x8h_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(torrent_handle·const&·th); | 180 | ···friend·std::size_t·h\x8ha\x8as\x8sh\x8h_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(torrent_handle·const&·th); |
181 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·()·noexcept·=·default; | 181 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·()·noexcept·=·default; |
182 | ···void·a\x8ad\x8dd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece,·std::vector<char>·data, | ||
183 | add_piece_flags_t·flags·=·{})·const; | ||
184 | ···void·a\x8ad\x8dd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece,·char·const*·data,·add_piece_flags_t | 182 | ···void·a\x8ad\x8dd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece,·char·const*·data,·add_piece_flags_t |
185 | flags·=·{})·const; | 183 | flags·=·{})·const; |
184 | ···void·a\x8ad\x8dd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece,·std::vector<char>·data, | ||
185 | add_piece_flags_t·flags·=·{})·const; | ||
186 | ···void·r\x8re\x8ea\x8ad\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const; | 186 | ···void·r\x8re\x8ea\x8ad\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const; |
187 | ···bool·h\x8ha\x8av\x8ve\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const; | 187 | ···bool·h\x8ha\x8av\x8ve\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const; |
188 | ···void·g\x8ge\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·(std::vector<peer_info>&·v)·const; | 188 | ···void·g\x8ge\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·(std::vector<peer_info>&·v)·const; |
189 | ···void·p\x8po\x8os\x8st\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·()·const; | 189 | ···void·p\x8po\x8os\x8st\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·()·const; |
190 | ···void·p\x8po\x8os\x8st\x8t_\x8_s\x8st\x8ta\x8at\x8tu\x8us\x8s·(status_flags_t·flags·=·status_flags_t::all())·const; | ||
191 | ···torrent_status·s\x8st\x8ta\x8at\x8tu\x8us\x8s·(status_flags_t·flags·=·status_flags_t::all())·const; | 190 | ···torrent_status·s\x8st\x8ta\x8at\x8tu\x8us\x8s·(status_flags_t·flags·=·status_flags_t::all())·const; |
192 | ···void· | 191 | ···void·p.po.os.st.t_._s.st.ta.at.tu.us.s·(status_flags_t·flags·=·status_flags_t::all())·const; |
193 | ···void·p\x8po\x8os\x8st\x8t_\x8_d\x8do\x8ow\x8wn\x8nl\x8lo\x8oa\x8ad\x8d_\x8_q\x8qu\x8ue\x8eu\x8ue\x8e·()·const; | 192 | ···void·p\x8po\x8os\x8st\x8t_\x8_d\x8do\x8ow\x8wn\x8nl\x8lo\x8oa\x8ad\x8d_\x8_q\x8qu\x8ue\x8eu\x8ue\x8e·()·const; |
193 | ···void·g\x8ge\x8et\x8t_\x8_d\x8do\x8ow\x8wn\x8nl\x8lo\x8oa\x8ad\x8d_\x8_q\x8qu\x8ue\x8eu\x8ue\x8e·(std::vector<partial_piece_info>&·queue)·const; | ||
194 | ···std::vector<partial_piece_info>·g\x8ge\x8et\x8t_\x8_d\x8do\x8ow\x8wn\x8nl\x8lo\x8oa\x8ad\x8d_\x8_q\x8qu\x8ue\x8eu\x8ue\x8e·()·const; | 194 | ···std::vector<partial_piece_info>·g\x8ge\x8et\x8t_\x8_d\x8do\x8ow\x8wn\x8nl\x8lo\x8oa\x8ad\x8d_\x8_q\x8qu\x8ue\x8eu\x8ue\x8e·()·const; |
195 | ···void·s\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_d\x8de\x8ea\x8ad\x8dl\x8li\x8in\x8ne\x8e·(piece_index_t·index,·int·deadline,·deadline_flags_t | 195 | ···void·s\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_d\x8de\x8ea\x8ad\x8dl\x8li\x8in\x8ne\x8e·(piece_index_t·index,·int·deadline,·deadline_flags_t |
196 | flags·=·{})·const; | 196 | flags·=·{})·const; |
197 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_d\x8de\x8ea\x8ad\x8dl\x8li\x8in\x8ne\x8es\x8s·()·const; | ||
198 | ···void·r\x8re\x8es\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_d\x8de\x8ea\x8ad\x8dl\x8li\x8in\x8ne\x8e·(piece_index_t·index)·const; | 197 | ···void·r\x8re\x8es\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_d\x8de\x8ea\x8ad\x8dl\x8li\x8in\x8ne\x8e·(piece_index_t·index)·const; |
199 | ···void· | 198 | ···void·c.cl.le.ea.ar.r_._p.pi.ie.ec.ce.e_._d.de.ea.ad.dl.li.in.ne.es.s·()·const; |
200 | ···std::vector<std::int64_t>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(file_progress_flags_t·flags·=·{}) | 199 | ···std::vector<std::int64_t>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(file_progress_flags_t·flags·=·{}) |
201 | const; | 200 | const; |
201 | ···void·p\x8po\x8os\x8st\x8t_\x8_f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(file_progress_flags_t·flags)·const; | ||
202 | ···void·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(std::vector<std::int64_t>&·progress, | 202 | ···void·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(std::vector<std::int64_t>&·progress, |
203 | file_progress_flags_t·flags·=·{})·const; | 203 | file_progress_flags_t·flags·=·{})·const; |
204 | ···std::vector<open_file_state>·f\x8fi\x8il\x8le\x8e_\x8_s\x8st\x8ta\x8at\x8tu\x8us\x8s·()·const; | 204 | ···std::vector<open_file_state>·f\x8fi\x8il\x8le\x8e_\x8_s\x8st\x8ta\x8at\x8tu\x8us\x8s·()·const; |
205 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_e\x8er\x8rr\x8ro\x8or\x8r·()·const; | 205 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_e\x8er\x8rr\x8ro\x8or\x8r·()·const; |
206 | ···void·p\x8po\x8os\x8st\x8t_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const; | ||
207 | ···std::vector<announce_entry>·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const; | 206 | ···std::vector<announce_entry>·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const; |
208 | ···void·r\x8re\x8ep\x8pl\x8la\x8ac\x8ce\x8e_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·(std::vector<announce_entry>·const&)·const; | 207 | ···void·r\x8re\x8ep\x8pl\x8la\x8ac\x8ce\x8e_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·(std::vector<announce_entry>·const&)·const; |
209 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(announce_entry·const&)·const; | 208 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(announce_entry·const&)·const; |
210 | ···void· | 209 | ···void·p.po.os.st.t_._t.tr.ra.ac.ck.ke.er.rs.s·()·const; |
211 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; | 210 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; |
212 | ···std::set<std::string>·u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; | 211 | ···std::set<std::string>·u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; |
213 | ··· | 212 | ···void·r.re.em.mo.ov.ve.e_._u.ur.rl.l_._s.se.ee.ed.d·(std::string·const&·url)·const; |
214 | ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; | 213 | ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; |
215 | ···void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; | 214 | ···void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; |
215 | ···std::set<std::string>·h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; | ||
216 | ···void·a\x8ad\x8dd\x8d_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8n·( | 216 | ···void·a\x8ad\x8dd\x8d_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8n·( |
217 | ······std::function<std::shared_ptr<torrent_plugin>(torrent_handle·const&, | 217 | ······std::function<std::shared_ptr<torrent_plugin>(torrent_handle·const&, |
218 | client_data_t)>·const&·ext | 218 | client_data_t)>·const&·ext |
219 | ······,·client_data_t·userdata·=·client_data_t{}); | 219 | ······,·client_data_t·userdata·=·client_data_t{}); |
220 | ···bool·s\x8se\x8et\x8t_\x8_m\x8me\x8et\x8ta\x8ad\x8da\x8at\x8ta\x8a·(span<char·const>·metadata)·const; | 220 | ···bool·s\x8se\x8et\x8t_\x8_m\x8me\x8et\x8ta\x8ad\x8da\x8at\x8ta\x8a·(span<char·const>·metadata)·const; |
221 | ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const; | 221 | ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const; |
222 | ···void·p\x8pa\x8au\x8us\x8se\x8e·(pause_flags_t·flags·=·{})·const; | 222 | ···void·p\x8pa\x8au\x8us\x8se\x8e·(pause_flags_t·flags·=·{})·const; |
223 | ···void·r\x8re\x8es\x8su\x8um\x8me\x8e·()·const; | 223 | ···void·r\x8re\x8es\x8su\x8um\x8me\x8e·()·const; |
224 | ···torrent_flags_t·f\x8fl\x8la\x8ag\x8gs\x8s·()·const; | ||
225 | ···void·s\x8se\x8et\x8t_\x8_f\x8fl\x8la\x8ag\x8gs\x8s·(torrent_flags_t·flags)·const; | ||
226 | ···void·u\x8un\x8ns\x8se\x8et\x8t_\x8_f\x8fl\x8la\x8ag\x8gs\x8s·(torrent_flags_t·flags)·const; | 224 | ···void·u\x8un\x8ns\x8se\x8et\x8t_\x8_f\x8fl\x8la\x8ag\x8gs\x8s·(torrent_flags_t·flags)·const; |
225 | ···void·s\x8se\x8et\x8t_\x8_f\x8fl\x8la\x8ag\x8gs\x8s·(torrent_flags_t·flags)·const; | ||
226 | ···torrent_flags_t·f\x8fl\x8la\x8ag\x8gs\x8s·()·const; | ||
227 | ···void·s\x8se\x8et\x8t_\x8_f\x8fl\x8la\x8ag\x8gs\x8s·(torrent_flags_t·flags,·torrent_flags_t·mask)·const; | 227 | ···void·s\x8se\x8et\x8t_\x8_f\x8fl\x8la\x8ag\x8gs\x8s·(torrent_flags_t·flags,·torrent_flags_t·mask)·const; |
228 | ···void·f\x8fl\x8lu\x8us\x8sh\x8h_\x8_c\x8ca\x8ac\x8ch\x8he\x8e·()·const; | 228 | ···void·f\x8fl\x8lu\x8us\x8sh\x8h_\x8_c\x8ca\x8ac\x8ch\x8he\x8e·()·const; |
229 | ···void·f\x8fo\x8or\x8rc\x8ce\x8e_\x8_r\x8re\x8ec\x8ch\x8he\x8ec\x8ck\x8k·()·const; | 229 | ···void·f\x8fo\x8or\x8rc\x8ce\x8e_\x8_r\x8re\x8ec\x8ch\x8he\x8ec\x8ck\x8k·()·const; |
230 | ···void·s\x8sa\x8av\x8ve\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(resume_data_flags_t·flags·=·{})·const; | 230 | ···void·s\x8sa\x8av\x8ve\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(resume_data_flags_t·flags·=·{})·const; |
231 | ···bool·n\x8ne\x8ee\x8ed\x8d_\x8_s\x8sa\x8av\x8ve\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·()·const; | ||
232 | ···bool·n\x8ne\x8ee\x8ed\x8d_\x8_s\x8sa\x8av\x8ve\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(resume_data_flags_t·flags)·const; | 231 | ···bool·n\x8ne\x8ee\x8ed\x8d_\x8_s\x8sa\x8av\x8ve\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(resume_data_flags_t·flags)·const; |
232 | ···bool·n\x8ne\x8ee\x8ed\x8d_\x8_s\x8sa\x8av\x8ve\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·()·const; | ||
233 | ···void·q\x8qu\x8ue\x8eu\x8ue\x8e_\x8_p\x8po\x8os\x8si\x8it\x8ti\x8io\x8on\x8n_\x8_d\x8do\x8ow\x8wn\x8n·()·const; | ||
234 | ···queue_position_t·q\x8qu\x8ue\x8eu\x8ue\x8e_\x8_p\x8po\x8os\x8si\x8it\x8ti\x8io\x8on\x8n·()·const; | ||
235 | ···void·q\x8qu\x8ue\x8eu\x8ue\x8e_\x8_p\x8po\x8os\x8si\x8it\x8ti\x8io\x8on\x8n_\x8_u\x8up\x8p·()·const; | 233 | ···void·q\x8qu\x8ue\x8eu\x8ue\x8e_\x8_p\x8po\x8os\x8si\x8it\x8ti\x8io\x8on\x8n_\x8_u\x8up\x8p·()·const; |
Max diff block lines reached; 37626/50925 bytes (73.89%) of diff not shown. |
Offset 41, 23 lines modified | Offset 41, 23 lines modified | ||
41 | <li><a·class="reference·internal"·href="#load-torrent-limits"·id="toc-entry-5">load_torrent_limits</a></li> | 41 | <li><a·class="reference·internal"·href="#load-torrent-limits"·id="toc-entry-5">load_torrent_limits</a></li> |
42 | <li><a·class="reference·internal"·href="#torrent-info"·id="toc-entry-6">torrent_info</a><ul> | 42 | <li><a·class="reference·internal"·href="#torrent-info"·id="toc-entry-6">torrent_info</a><ul> |
43 | <li><a·class="reference·internal"·href="#torrent-info-1"·id="toc-entry-7">torrent_info()</a></li> | 43 | <li><a·class="reference·internal"·href="#torrent-info-1"·id="toc-entry-7">torrent_info()</a></li> |
44 | <li><a·class="reference·internal"·href="#torrent-info-2"·id="toc-entry-8">~torrent_info()</a></li> | 44 | <li><a·class="reference·internal"·href="#torrent-info-2"·id="toc-entry-8">~torrent_info()</a></li> |
45 | <li><a·class="reference·internal"·href="#files-orig-files"·id="toc-entry-9">files()·orig_files()</a></li> | 45 | <li><a·class="reference·internal"·href="#files-orig-files"·id="toc-entry-9">files()·orig_files()</a></li> |
46 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-10">rename_file()</a></li> | 46 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-10">rename_file()</a></li> |
47 | <li><a·class="reference·internal"·href="#remap-files"·id="toc-entry-11">remap_files()</a></li> | 47 | <li><a·class="reference·internal"·href="#remap-files"·id="toc-entry-11">remap_files()</a></li> |
48 | <li><a·class="reference·internal"·href="# | 48 | <li><a·class="reference·internal"·href="#clear-trackers-trackers-add-tracker"·id="toc-entry-12">clear_trackers()·trackers()·add_tracker()</a></li> |
49 | <li><a·class="reference·internal"·href="#similar-torren | 49 | <li><a·class="reference·internal"·href="#collections-similar-torrents"·id="toc-entry-13">collections()·similar_torrents()</a></li> |
50 | <li><a·class="reference·internal"·href="# | 50 | <li><a·class="reference·internal"·href="#web-seeds-add-http-seed-add-url-seed-set-web-seeds"·id="toc-entry-14">web_seeds()·add_http_seed()·add_url_seed()·set_web_seeds()</a></li> |
51 | <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-15">total_size()</a></li> | 51 | <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-15">total_size()</a></li> |
52 | <li><a·class="reference·internal"·href="# | 52 | <li><a·class="reference·internal"·href="#piece-length-num-pieces"·id="toc-entry-16">piece_length()·num_pieces()</a></li> |
53 | <li><a·class="reference·internal"·href="#blocks-per-piece"·id="toc-entry-17">blocks_per_piece()</a></li> | 53 | <li><a·class="reference·internal"·href="#blocks-per-piece"·id="toc-entry-17">blocks_per_piece()</a></li> |
54 | <li><a·class="reference·internal"·href="#end-piece-last-piece-piece-range"·id="toc-entry-18">end_piece()·last_piece()·piece_range()</a></li> | 54 | <li><a·class="reference·internal"·href="#end-piece-last-piece-piece-range"·id="toc-entry-18">end_piece()·last_piece()·piece_range()</a></li> |
55 | <li><a·class="reference·internal"·href="#info-hashes-info-hash"·id="toc-entry-19">info_hashes()·info_hash()</a></li> | 55 | <li><a·class="reference·internal"·href="#info-hashes-info-hash"·id="toc-entry-19">info_hashes()·info_hash()</a></li> |
56 | <li><a·class="reference·internal"·href="#v | 56 | <li><a·class="reference·internal"·href="#v1-v2"·id="toc-entry-20">v1()·v2()</a></li> |
57 | <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-21">num_files()</a></li> | 57 | <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-21">num_files()</a></li> |
58 | <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-22">map_block()</a></li> | 58 | <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-22">map_block()</a></li> |
59 | <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-23">map_file()</a></li> | 59 | <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-23">map_file()</a></li> |
60 | <li><a·class="reference·internal"·href="#ssl-cert"·id="toc-entry-24">ssl_cert()</a></li> | 60 | <li><a·class="reference·internal"·href="#ssl-cert"·id="toc-entry-24">ssl_cert()</a></li> |
61 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-25">is_valid()</a></li> | 61 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-25">is_valid()</a></li> |
62 | <li><a·class="reference·internal"·href="#priv"·id="toc-entry-26">priv()</a></li> | 62 | <li><a·class="reference·internal"·href="#priv"·id="toc-entry-26">priv()</a></li> |
63 | <li><a·class="reference·internal"·href="#is-i2p"·id="toc-entry-27">is_i2p()</a></li> | 63 | <li><a·class="reference·internal"·href="#is-i2p"·id="toc-entry-27">is_i2p()</a></li> |
Offset 197, 69 lines modified | Offset 197, 69 lines modified | ||
197 | <div·class="section"·id="torrent-info"> | 197 | <div·class="section"·id="torrent-info"> |
198 | <h1>torrent_info</h1> | 198 | <h1>torrent_info</h1> |
199 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/torrent_info.hpp">libtorrent/torrent_info.hpp</a>"</p> | 199 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/torrent_info.hpp">libtorrent/torrent_info.hpp</a>"</p> |
200 | <p>the·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·class·holds·the·information·found·in·a·.torrent·file.</p> | 200 | <p>the·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·class·holds·the·information·found·in·a·.torrent·file.</p> |
201 | <pre·class="literal-block"> | 201 | <pre·class="literal-block"> |
202 | class·torrent_info | 202 | class·torrent_info |
203 | { | 203 | { |
204 | ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size); | ||
205 | ···<strong>torrent_info</strong>·(torrent_info·const&·t); | ||
206 | ···explicit·<strong>torrent_info</strong>·(span<char·const>·buffer,·from_span_t); | ||
204 | ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&·ec); | 207 | ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&·ec); |
208 | ···<strong>torrent_info</strong>·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
209 | ···explicit·<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file); | ||
205 | ···<strong>torrent_info</strong>·(span<char·const>·buffer,·error_code&·ec,·from_span_t); | 210 | ···<strong>torrent_info</strong>·(span<char·const>·buffer,·error_code&·ec,·from_span_t); |
211 | ···<strong>torrent_info</strong>·(span<char·const>·buffer,·load_torrent_limits·const&·cfg,·from_span_t); | ||
206 | ···<strong>torrent_info</strong>·(std::string·const&·filename,·error_code&·ec); | ||
207 | ···<strong>torrent_info</strong>·(torrent_info·const&·t); | ||
208 | ···explicit·<strong>torrent_info</strong>·(std::string·const&·filename); | ||
209 | ···<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); | 212 | ···<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); |
213 | ···explicit·<strong>torrent_info</strong>·(std::string·const&·filename); | ||
210 | ···explicit·<strong>torrent_info</strong>·(info_hash_t·const&·info_hash); | 214 | ···explicit·<strong>torrent_info</strong>·(info_hash_t·const&·info_hash); |
215 | ···<strong>torrent_info</strong>·(std::string·const&·filename,·error_code&·ec); | ||
211 | ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size); | ||
212 | ···explicit·<strong>torrent_info</strong>·(span<char·const>·buffer,·from_span_t); | ||
213 | ···explicit·<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file); | ||
214 | ···<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·error_code&·ec); | 216 | ···<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·error_code&·ec); |
215 | ···<strong>torrent_info</strong>·(span<char·const>·buffer,·load_torrent_limits·const&·cfg,·from_span_t); | ||
216 | ···<strong>torrent_info</strong>·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
217 | ···<strong>~torrent_info</strong>·(); | 217 | ···<strong>~torrent_info</strong>·(); |
218 | ···file_storage·const&·<strong>orig_files</strong>·()·const; | 218 | ···file_storage·const&·<strong>orig_files</strong>·()·const; |
219 | ···file_storage·const&·<strong>files</strong>·()·const; | 219 | ···file_storage·const&·<strong>files</strong>·()·const; |
220 | ···void·<strong>rename_file</strong>·(file_index_t·index,·std::string·const&·new_filename); | 220 | ···void·<strong>rename_file</strong>·(file_index_t·index,·std::string·const&·new_filename); |
221 | ···void·<strong>remap_files</strong>·(file_storage·const&·f); | 221 | ···void·<strong>remap_files</strong>·(file_storage·const&·f); |
222 | ···void·<strong>clear_trackers</strong>·(); | ||
223 | ···void·<strong>add_tracker</strong>·(std::string·const&·url,·int·tier·=·0); | ||
224 | ···std::vector<announce_entry>·const&·<strong>trackers</strong>·()·const; | ||
222 | ···void·<strong>add_tracker</strong>·(std::string·const&·url,·int·tier | 225 | ···void·<strong>add_tracker</strong>·(std::string·const&·url,·int·tier |
223 | ······,·announce_entry::tracker_source·source); | 226 | ······,·announce_entry::tracker_source·source); |
224 | ···std::vector<announce_entry>·const&·<strong>trackers</strong>·()·const; | ||
225 | ···void·<strong>add_tracker</strong>·(std::string·const&·url,·int·tier·=·0); | ||
226 | ···void·<strong>clear_trackers</strong>·(); | ||
227 | ···std::vector<sha1_hash>·<strong>similar_torrents</strong>·()·const; | ||
228 | ···std::vector<std::string>·<strong>collections</strong>·()·const; | 227 | ···std::vector<std::string>·<strong>collections</strong>·()·const; |
228 | ···std::vector<sha1_hash>·<strong>similar_torrents</strong>·()·const; | ||
229 | ···void·<strong>set_web_seeds</strong>·(std::vector<web_seed_entry>·seeds); | ||
229 | ···void·<strong>add_url_seed</strong>·(std::string·const&·url | 230 | ···void·<strong>add_url_seed</strong>·(std::string·const&·url |
230 | ······,·std::string·const&·ext_auth·=·std::string() | 231 | ······,·std::string·const&·ext_auth·=·std::string() |
231 | ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry::headers_t()); | 232 | ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry::headers_t()); |
232 | ···std::vector<web_seed_entry>·const&·<strong>web_seeds</strong>·()·const; | ||
233 | ···void·<strong>set_web_seeds</strong>·(std::vector<web_seed_entry>·seeds); | ||
234 | ···void·<strong>add_http_seed</strong>·(std::string·const&·url | 233 | ···void·<strong>add_http_seed</strong>·(std::string·const&·url |
235 | ······,·std::string·const&·extern_auth·=·std::string() | 234 | ······,·std::string·const&·extern_auth·=·std::string() |
236 | ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry::headers_t()); | 235 | ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry::headers_t()); |
236 | ···std::vector<web_seed_entry>·const&·<strong>web_seeds</strong>·()·const; | ||
237 | ···std::int64_t·<strong>total_size</strong>·()·const; | 237 | ···std::int64_t·<strong>total_size</strong>·()·const; |
238 | ···int·<strong>piece_length</strong>·()·const; | ||
239 | ···int·<strong>num_pieces</strong>·()·const; | 238 | ···int·<strong>num_pieces</strong>·()·const; |
239 | ···int·<strong>piece_length</strong>·()·const; | ||
240 | ···int·<strong>blocks_per_piece</strong>·()·const; | 240 | ···int·<strong>blocks_per_piece</strong>·()·const; |
241 | ···piece_index_t·<strong>end_piece</strong>·()·const; | 241 | ···piece_index_t·<strong>end_piece</strong>·()·const; |
242 | ···piece_index_t·<strong>last_piece</strong>·()·const; | ||
243 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const; | 242 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const; |
244 | ··· | 243 | ···piece_index_t·<strong>last_piece</strong>·()·const; |
245 | ···sha1_hash·<strong>info_hash</strong>·()·const·noexcept; | 244 | ···sha1_hash·<strong>info_hash</strong>·()·const·noexcept; |
245 | ···info_hash_t·const&·<strong>info_hashes</strong>·()·const; | ||
246 | ···bool·<strong>v1</strong>·()·const; | 246 | ···bool·<strong>v1</strong>·()·const; |
247 | ···bool·<strong>v2</strong>·()·const; | 247 | ···bool·<strong>v2</strong>·()·const; |
248 | ···int·<strong>num_files</strong>·()·const; | 248 | ···int·<strong>num_files</strong>·()·const; |
249 | ···std::vector<file_slice>·<strong>map_block</strong>·(piece_index_t·const·piece | 249 | ···std::vector<file_slice>·<strong>map_block</strong>·(piece_index_t·const·piece |
250 | ······,·std::int64_t·offset,·int·size)·const; | 250 | ······,·std::int64_t·offset,·int·size)·const; |
251 | ···peer_request·<strong>map_file</strong>·(file_index_t·const·file,·std::int64_t·offset,·int·size)·const; | 251 | ···peer_request·<strong>map_file</strong>·(file_index_t·const·file,·std::int64_t·offset,·int·size)·const; |
252 | ···string_view·<strong>ssl_cert</strong>·()·const; | 252 | ···string_view·<strong>ssl_cert</strong>·()·const; |
253 | ···bool·<strong>is_valid</strong>·()·const; | 253 | ···bool·<strong>is_valid</strong>·()·const; |
254 | ···bool·<strong>priv</strong>·()·const; | 254 | ···bool·<strong>priv</strong>·()·const; |
255 | ···bool·<strong>is_i2p</strong>·()·const; | 255 | ···bool·<strong>is_i2p</strong>·()·const; |
256 | ···int·<strong>piece_size</strong>·(piece_index_t·index)·const; | 256 | ···int·<strong>piece_size</strong>·(piece_index_t·index)·const; |
257 | ···sha1_hash·<strong>hash_for_piece</strong>·(piece_index_t·index)·const; | ||
258 | ···char·const*·<strong>hash_for_piece_ptr</strong>·(piece_index_t·const·index)·const; | 257 | ···char·const*·<strong>hash_for_piece_ptr</strong>·(piece_index_t·const·index)·const; |
258 | ···sha1_hash·<strong>hash_for_piece</strong>·(piece_index_t·index)·const; | ||
259 | ···bool·<strong>is_loaded</strong>·()·const; | 259 | ···bool·<strong>is_loaded</strong>·()·const; |
260 | ···const·std::string&·<strong>name</strong>·()·const; | 260 | ···const·std::string&·<strong>name</strong>·()·const; |
261 | ···std::time_t·<strong>creation_date</strong>·()·const; | 261 | ···std::time_t·<strong>creation_date</strong>·()·const; |
262 | ···const·std::string&·<strong>creator</strong>·()·const; | 262 | ···const·std::string&·<strong>creator</strong>·()·const; |
263 | ···const·std::string&·<strong>comment</strong>·()·const; | 263 | ···const·std::string&·<strong>comment</strong>·()·const; |
264 | ···std::vector<std::pair<std::string,·int>>·const&·<strong>nodes</strong>·()·const; | 264 | ···std::vector<std::pair<std::string,·int>>·const&·<strong>nodes</strong>·()·const; |
265 | ···void·<strong>add_node</strong>·(std::pair<std::string,·int>·const&·node); | 265 | ···void·<strong>add_node</strong>·(std::pair<std::string,·int>·const&·node); |
Offset 269, 27 lines modified | Offset 269, 27 lines modified | ||
269 | ···span<char·const>·<strong>piece_layer</strong>·(file_index_t)·const; | 269 | ···span<char·const>·<strong>piece_layer</strong>·(file_index_t)·const; |
270 | ···void·<strong>free_piece_layers</strong>·(); | 270 | ···void·<strong>free_piece_layers</strong>·(); |
271 | }; | 271 | }; |
272 | </pre> | 272 | </pre> |
273 | <a·name="torrent_info()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:torrent_info%3A%3A%5Btorrent_info%28%29%5D&labels=documentation&body=Documentation+under+heading+%22torrent_info%3A%3A%5Btorrent_info%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="torrent-info-1"> | 273 | <a·name="torrent_info()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:torrent_info%3A%3A%5Btorrent_info%28%29%5D&labels=documentation&body=Documentation+under+heading+%22torrent_info%3A%3A%5Btorrent_info%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="torrent-info-1"> |
274 | <h2>torrent_info()</h2> | 274 | <h2>torrent_info()</h2> |
275 | <pre·class="literal-block"> | 275 | <pre·class="literal-block"> |
276 | <strong>torrent_info</strong>·(char·const*·buffer,·int·size); | ||
277 | <strong>torrent_info</strong>·(torrent_info·const&·t); | ||
278 | explicit·<strong>torrent_info</strong>·(span<char·const>·buffer,·from_span_t); | ||
276 | <strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&·ec); | 279 | <strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&·ec); |
280 | <strong>torrent_info</strong>·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
281 | explicit·<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file); | ||
277 | <strong>torrent_info</strong>·(span<char·const>·buffer,·error_code&·ec,·from_span_t); | 282 | <strong>torrent_info</strong>·(span<char·const>·buffer,·error_code&·ec,·from_span_t); |
283 | <strong>torrent_info</strong>·(span<char·const>·buffer,·load_torrent_limits·const&·cfg,·from_span_t); | ||
278 | <strong>torrent_info</strong>·(std::string·const&·filename,·error_code&·ec); | ||
Max diff block lines reached; 15887/26777 bytes (59.33%) of diff not shown. |
Offset 10, 23 lines modified | Offset 10, 23 lines modified | ||
10 | ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8s | 10 | ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8s |
11 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o | 11 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o |
12 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8) | 12 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8) |
13 | ··········o·_\x8~_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8) | 13 | ··········o·_\x8~_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8) |
14 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8o_\x8r_\x8i_\x8g_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 14 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8o_\x8r_\x8i_\x8g_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
15 | ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 15 | ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
16 | ··········o·_\x8r_\x8e_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 16 | ··········o·_\x8r_\x8e_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
17 | ··········o·_\x8 | 17 | ··········o·_\x8c_.l_.e_.a_.r_.__.t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8) |
18 | ··········o·_\x8s_\x8i_\x8m_\x8i_\x8l_\x8a_\x8r_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s_\x8(_\x8)_\x8·_\x8c_\x8o_\x8l_\x8l_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8) | ||
19 | ··········o·_\x8 | 18 | ··········o·_\x8c_.o_.l_.l_.e_.c_.t_.i_.o_.n_.s_.(_.)_.·_.s_.i_.m_.i_.l_.a_.r_.__.t_.o_.r_.r_.e_.n_.t_.s_\x8(_\x8) |
19 | ··········o·_\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8) | ||
20 | ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) | 20 | ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) |
21 | ··········o·_\x8 | 21 | ··········o·_\x8p_.i_.e_.c_.e_.__.l_.e_.n_.g_.t_.h_.(_.)_.·_.n_.u_.m_.__.p_.i_.e_.c_.e_.s_\x8(_\x8) |
22 | ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 22 | ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
23 | ··········o·_\x8e_\x8n_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)_\x8·_\x8l_\x8a_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)_\x8·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) | 23 | ··········o·_\x8e_\x8n_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)_\x8·_\x8l_\x8a_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)_\x8·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) |
24 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)_\x8·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) | 24 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)_\x8·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) |
25 | ··········o·_\x8v_\x8 | 25 | ··········o·_\x8v_\x81_.(_.)_.·_.v_.2_\x8(_\x8) |
26 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 26 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
27 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8) | 27 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8) |
28 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 28 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
29 | ··········o·_\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8(_\x8) | 29 | ··········o·_\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8(_\x8) |
30 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) | 30 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) |
31 | ··········o·_\x8p_\x8r_\x8i_\x8v_\x8(_\x8) | 31 | ··········o·_\x8p_\x8r_\x8i_\x8v_\x8(_\x8) |
32 | ··········o·_\x8i_\x8s_\x8__\x8i_\x82_\x8p_\x8(_\x8) | 32 | ··········o·_\x8i_\x8s_\x8__\x8i_\x82_\x8p_\x8(_\x8) |
Offset 120, 74 lines modified | Offset 120, 74 lines modified | ||
120 | ······the·max·number·of·bdecode·tokens | 120 | ······the·max·number·of·bdecode·tokens |
121 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 121 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
122 | *\x8**\x8**\x8**\x8**\x8**\x8*·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8* | 122 | *\x8**\x8**\x8**\x8**\x8**\x8*·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8* |
123 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8._\x8h_\x8p_\x8p" | 123 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8._\x8h_\x8p_\x8p" |
124 | the·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·class·holds·the·information·found·in·a·.torrent·file. | 124 | the·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·class·holds·the·information·found·in·a·.torrent·file. |
125 | class·torrent_info | 125 | class·torrent_info |
126 | { | 126 | { |
127 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size); | ||
128 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(torrent_info·const&·t); | ||
129 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·from_span_t); | ||
127 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size,·error_code&·ec); | 130 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size,·error_code&·ec); |
131 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
132 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file); | ||
128 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·error_code&·ec,·from_span_t); | 133 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·error_code&·ec,·from_span_t); |
134 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·load_torrent_limits·const&·cfg, | ||
135 | from_span_t); | ||
129 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·error_code&·ec); | ||
130 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(torrent_info·const&·t); | ||
131 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename); | ||
132 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·load_torrent_limits·const& | 136 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·load_torrent_limits·const& |
133 | cfg); | 137 | cfg); |
138 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename); | ||
134 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(info_hash_t·const&·info_hash); | 139 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(info_hash_t·const&·info_hash); |
140 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·error_code&·ec); | ||
135 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size); | ||
136 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·from_span_t); | ||
137 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file); | ||
138 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·error_code&·ec); | 141 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·error_code&·ec); |
139 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·load_torrent_limits·const&·cfg, | ||
140 | from_span_t); | ||
141 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
142 | ···~\x8~t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(); | 142 | ···~\x8~t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(); |
143 | ···file_storage·const&·o\x8or\x8ri\x8ig\x8g_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const; | 143 | ···file_storage·const&·o\x8or\x8ri\x8ig\x8g_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const; |
144 | ···file_storage·const&·f\x8fi\x8il\x8le\x8es\x8s·()·const; | 144 | ···file_storage·const&·f\x8fi\x8il\x8le\x8es\x8s·()·const; |
145 | ···void·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·index,·std::string·const&·new_filename); | 145 | ···void·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·index,·std::string·const&·new_filename); |
146 | ···void·r\x8re\x8em\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8es\x8s·(file_storage·const&·f); | 146 | ···void·r\x8re\x8em\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8es\x8s·(file_storage·const&·f); |
147 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·(); | ||
148 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(std::string·const&·url,·int·tier·=·0); | ||
149 | ···std::vector<announce_entry>·const&·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const; | ||
147 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(std::string·const&·url,·int·tier | 150 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(std::string·const&·url,·int·tier |
148 | ······,·announce_entry::tracker_source·source); | 151 | ······,·announce_entry::tracker_source·source); |
149 | ···std::vector<announce_entry>·const&·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const; | ||
150 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(std::string·const&·url,·int·tier·=·0); | ||
151 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·(); | ||
152 | ···std::vector<sha1_hash>·s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8ts\x8s·()·const; | ||
153 | ···std::vector<std::string>·c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8ns\x8s·()·const; | 152 | ···std::vector<std::string>·c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8ns\x8s·()·const; |
153 | ···std::vector<sha1_hash>·s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8ts\x8s·()·const; | ||
154 | ···void·s\x8se\x8et\x8t_\x8_w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·(std::vector<web_seed_entry>·seeds); | ||
154 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url | 155 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url |
155 | ······,·std::string·const&·ext_auth·=·std::string() | 156 | ······,·std::string·const&·ext_auth·=·std::string() |
156 | ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry:: | 157 | ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry:: |
157 | headers_t()); | 158 | headers_t()); |
158 | ···std::vector<web_seed_entry>·const&·w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; | ||
159 | ···void·s\x8se\x8et\x8t_\x8_w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·(std::vector<web_seed_entry>·seeds); | ||
160 | ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url | 159 | ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url |
161 | ······,·std::string·const&·extern_auth·=·std::string() | 160 | ······,·std::string·const&·extern_auth·=·std::string() |
162 | ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry:: | 161 | ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry:: |
163 | headers_t()); | 162 | headers_t()); |
163 | ···std::vector<web_seed_entry>·const&·w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; | ||
164 | ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | 164 | ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; |
165 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | ||
166 | ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; | 165 | ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; |
166 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | ||
167 | ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_p\x8pe\x8er\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; | 167 | ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_p\x8pe\x8er\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; |
168 | ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; | 168 | ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; |
169 | ···piece_index_t·l\x8la\x8as\x8st\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; | ||
170 | ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const; | 169 | ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const; |
171 | ··· | 170 | ···piece_index_t·l.la.as.st.t_._p.pi.ie.ec.ce.e·()·const; |
172 | ···sha1_hash·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h·()·const·noexcept; | 171 | ···sha1_hash·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h·()·const·noexcept; |
172 | ···info_hash_t·const&·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8he\x8es\x8s·()·const; | ||
173 | ···bool·v\x8v1\x81·()·const; | 173 | ···bool·v\x8v1\x81·()·const; |
174 | ···bool·v\x8v2\x82·()·const; | 174 | ···bool·v\x8v2\x82·()·const; |
175 | ···int·n\x8nu\x8um\x8m_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const; | 175 | ···int·n\x8nu\x8um\x8m_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const; |
176 | ···std::vector<file_slice>·m\x8ma\x8ap\x8p_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·const·piece | 176 | ···std::vector<file_slice>·m\x8ma\x8ap\x8p_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·const·piece |
177 | ······,·std::int64_t·offset,·int·size)·const; | 177 | ······,·std::int64_t·offset,·int·size)·const; |
178 | ···peer_request·m\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·const·file,·std::int64_t·offset,·int | 178 | ···peer_request·m\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·const·file,·std::int64_t·offset,·int |
179 | size)·const; | 179 | size)·const; |
180 | ···string_view·s\x8ss\x8sl\x8l_\x8_c\x8ce\x8er\x8rt\x8t·()·const; | 180 | ···string_view·s\x8ss\x8sl\x8l_\x8_c\x8ce\x8er\x8rt\x8t·()·const; |
181 | ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const; | 181 | ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const; |
182 | ···bool·p\x8pr\x8ri\x8iv\x8v·()·const; | 182 | ···bool·p\x8pr\x8ri\x8iv\x8v·()·const; |
183 | ···bool·i\x8is\x8s_\x8_i\x8i2\x82p\x8p·()·const; | 183 | ···bool·i\x8is\x8s_\x8_i\x8i2\x82p\x8p·()·const; |
184 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·index)·const; | 184 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·index)·const; |
185 | ···sha1_hash·h\x8ha\x8as\x8sh\x8h_\x8_f\x8fo\x8or\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·index)·const; | ||
186 | ···char·const*·h\x8ha\x8as\x8sh\x8h_\x8_f\x8fo\x8or\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_p\x8pt\x8tr\x8r·(piece_index_t·const·index)·const; | 185 | ···char·const*·h\x8ha\x8as\x8sh\x8h_\x8_f\x8fo\x8or\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_p\x8pt\x8tr\x8r·(piece_index_t·const·index)·const; |
186 | ···sha1_hash·h\x8ha\x8as\x8sh\x8h_\x8_f\x8fo\x8or\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·index)·const; | ||
187 | ···bool·i\x8is\x8s_\x8_l\x8lo\x8oa\x8ad\x8de\x8ed\x8d·()·const; | 187 | ···bool·i\x8is\x8s_\x8_l\x8lo\x8oa\x8ad\x8de\x8ed\x8d·()·const; |
188 | ···const·std::string&·n\x8na\x8am\x8me\x8e·()·const; | 188 | ···const·std::string&·n\x8na\x8am\x8me\x8e·()·const; |
189 | ···std::time_t·c\x8cr\x8re\x8ea\x8at\x8ti\x8io\x8on\x8n_\x8_d\x8da\x8at\x8te\x8e·()·const; | 189 | ···std::time_t·c\x8cr\x8re\x8ea\x8at\x8ti\x8io\x8on\x8n_\x8_d\x8da\x8at\x8te\x8e·()·const; |
190 | ···const·std::string&·c\x8cr\x8re\x8ea\x8at\x8to\x8or\x8r·()·const; | 190 | ···const·std::string&·c\x8cr\x8re\x8ea\x8at\x8to\x8or\x8r·()·const; |
191 | ···const·std::string&·c\x8co\x8om\x8mm\x8me\x8en\x8nt\x8t·()·const; | 191 | ···const·std::string&·c\x8co\x8om\x8mm\x8me\x8en\x8nt\x8t·()·const; |
192 | ···std::vector<std::pair<std::string,·int>>·const&·n\x8no\x8od\x8de\x8es\x8s·()·const; | 192 | ···std::vector<std::pair<std::string,·int>>·const&·n\x8no\x8od\x8de\x8es\x8s·()·const; |
193 | ···void·a\x8ad\x8dd\x8d_\x8_n\x8no\x8od\x8de\x8e·(std::pair<std::string,·int>·const&·node); | 193 | ···void·a\x8ad\x8dd\x8d_\x8_n\x8no\x8od\x8de\x8e·(std::pair<std::string,·int>·const&·node); |
Offset 196, 29 lines modified | Offset 196, 29 lines modified | ||
196 | ···bdecode_node·i\x8in\x8nf\x8fo\x8o·(char·const*·key)·const; | 196 | ···bdecode_node·i\x8in\x8nf\x8fo\x8o·(char·const*·key)·const; |
197 | ···span<char·const>·i\x8in\x8nf\x8fo\x8o_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const; | 197 | ···span<char·const>·i\x8in\x8nf\x8fo\x8o_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const; |
198 | ···span<char·const>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8la\x8ay\x8ye\x8er\x8r·(file_index_t)·const; | 198 | ···span<char·const>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8la\x8ay\x8ye\x8er\x8r·(file_index_t)·const; |
199 | ···void·f\x8fr\x8re\x8ee\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8la\x8ay\x8ye\x8er\x8rs\x8s·(); | 199 | ···void·f\x8fr\x8re\x8ee\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8la\x8ay\x8ye\x8er\x8rs\x8s·(); |
200 | }; | 200 | }; |
201 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 201 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
202 | *\x8**\x8**\x8**\x8**\x8*·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 202 | *\x8**\x8**\x8**\x8**\x8*·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
203 | t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size); | ||
204 | t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(torrent_info·const&·t); | ||
Max diff block lines reached; 10981/20040 bytes (54.80%) of diff not shown. |
Offset 132, 18 lines modified | Offset 132, 18 lines modified | ||
132 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/announce_entry.hpp">libtorrent/announce_entry.hpp</a>"</p> | 132 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/announce_entry.hpp">libtorrent/announce_entry.hpp</a>"</p> |
133 | <p>this·class·holds·information·about·one·bittorrent·tracker,·as·it | 133 | <p>this·class·holds·information·about·one·bittorrent·tracker,·as·it |
134 | relates·to·a·specific·torrent.</p> | 134 | relates·to·a·specific·torrent.</p> |
135 | <pre·class="literal-block"> | 135 | <pre·class="literal-block"> |
136 | struct·announce_entry | 136 | struct·announce_entry |
137 | { | 137 | { |
138 | ···<strong>announce_entry</strong>·(announce_entry·const&); | 138 | ···<strong>announce_entry</strong>·(announce_entry·const&); |
139 | ···announce_entry&·<strong>operator=</strong>·(announce_entry·const&)·&; | ||
140 | ···<strong>announce_entry</strong>·(); | ||
141 | ···<strong>~announce_entry</strong>·(); | 139 | ···<strong>~announce_entry</strong>·(); |
142 | ···explicit·<strong>announce_entry</strong>·(string_view·u); | 140 | ···explicit·<strong>announce_entry</strong>·(string_view·u); |
141 | ···<strong>announce_entry</strong>·(); | ||
142 | ···announce_entry&·<strong>operator=</strong>·(announce_entry·const&)·&; | ||
143 | ···enum·tracker_source | 143 | ···enum·tracker_source |
144 | ···{ | 144 | ···{ |
145 | ······source_torrent, | 145 | ······source_torrent, |
146 | ······source_client, | 146 | ······source_client, |
147 | ······source_magnet_link, | 147 | ······source_magnet_link, |
148 | ······source_tex, | 148 | ······source_tex, |
Offset 160, 18 lines modified | Offset 160, 18 lines modified | ||
160 | </pre> | 160 | </pre> |
161 | <a·name="operator=()"></a> | 161 | <a·name="operator=()"></a> |
162 | <a·name="~announce_entry()"></a> | 162 | <a·name="~announce_entry()"></a> |
163 | <a·name="announce_entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:announce_entry%3A%3A%5Boperator%3D%28%29+~announce_entry%28%29+announce_entry%28%29%5D&labels=documentation&body=Documentation+under+heading+%22announce_entry%3A%3A%5Boperator%3D%28%29+~announce_entry%28%29+announce_entry%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="operator-announce-entry-announce-entry"> | 163 | <a·name="announce_entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:announce_entry%3A%3A%5Boperator%3D%28%29+~announce_entry%28%29+announce_entry%28%29%5D&labels=documentation&body=Documentation+under+heading+%22announce_entry%3A%3A%5Boperator%3D%28%29+~announce_entry%28%29+announce_entry%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="operator-announce-entry-announce-entry"> |
164 | <h2>operator=()·~announce_entry()·announce_entry()</h2> | 164 | <h2>operator=()·~announce_entry()·announce_entry()</h2> |
165 | <pre·class="literal-block"> | 165 | <pre·class="literal-block"> |
166 | <strong>announce_entry</strong>·(announce_entry·const&); | 166 | <strong>announce_entry</strong>·(announce_entry·const&); |
167 | announce_entry&·<strong>operator=</strong>·(announce_entry·const&)·&; | ||
168 | <strong>announce_entry</strong>·(); | ||
169 | <strong>~announce_entry</strong>·(); | 167 | <strong>~announce_entry</strong>·(); |
170 | explicit·<strong>announce_entry</strong>·(string_view·u); | 168 | explicit·<strong>announce_entry</strong>·(string_view·u); |
169 | <strong>announce_entry</strong>·(); | ||
170 | announce_entry&·<strong>operator=</strong>·(announce_entry·const&)·&; | ||
171 | </pre> | 171 | </pre> |
172 | <p>constructs·a·tracker·announce·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>·with·<tt·class="docutils·literal">u</tt>·as·the·URL.</p> | 172 | <p>constructs·a·tracker·announce·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>·with·<tt·class="docutils·literal">u</tt>·as·the·URL.</p> |
173 | <a·name="tracker_source"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+tracker_source&labels=documentation&body=Documentation+under+heading+%22enum+tracker_source%22+could+be+improved">report·issue</a>]</span></div> | 173 | <a·name="tracker_source"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+tracker_source&labels=documentation&body=Documentation+under+heading+%22enum+tracker_source%22+could+be+improved">report·issue</a>]</span></div> |
174 | <div·class="section"·id="enum-tracker-source"> | 174 | <div·class="section"·id="enum-tracker-source"> |
175 | <h2>enum·tracker_source</h2> | 175 | <h2>enum·tracker_source</h2> |
176 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/announce_entry.hpp">libtorrent/announce_entry.hpp</a>"</p> | 176 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/announce_entry.hpp">libtorrent/announce_entry.hpp</a>"</p> |
177 | <table·border="1"·class="docutils"> | 177 | <table·border="1"·class="docutils"> |
Offset 79, 18 lines modified | Offset 79, 18 lines modified | ||
79 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·*\x8**\x8**\x8**\x8**\x8**\x8* | 79 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·*\x8**\x8**\x8**\x8**\x8**\x8* |
80 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p" | 80 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p" |
81 | this·class·holds·information·about·one·bittorrent·tracker,·as·it·relates·to·a | 81 | this·class·holds·information·about·one·bittorrent·tracker,·as·it·relates·to·a |
82 | specific·torrent. | 82 | specific·torrent. |
83 | struct·announce_entry | 83 | struct·announce_entry |
84 | { | 84 | { |
85 | ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&); | 85 | ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&); |
86 | ···announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&; | ||
87 | ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | ||
88 | ···~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | 86 | ···~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); |
89 | ···explicit·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(string_view·u); | 87 | ···explicit·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(string_view·u); |
88 | ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | ||
89 | ···announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&; | ||
90 | ···enum·tracker_source | 90 | ···enum·tracker_source |
91 | ···{ | 91 | ···{ |
92 | ······source_torrent, | 92 | ······source_torrent, |
93 | ······source_client, | 93 | ······source_client, |
94 | ······source_magnet_link, | 94 | ······source_magnet_link, |
95 | ······source_tex, | 95 | ······source_tex, |
Offset 103, 18 lines modified | Offset 103, 18 lines modified | ||
103 | ···std::uint8_t·f\x8fa\x8ai\x8il\x8l_\x8_l\x8li\x8im\x8mi\x8it\x8t··=·0; | 103 | ···std::uint8_t·f\x8fa\x8ai\x8il\x8l_\x8_l\x8li\x8im\x8mi\x8it\x8t··=·0; |
104 | ···std::uint8_t·source:4; | 104 | ···std::uint8_t·source:4; |
105 | ···bool·verified:1; | 105 | ···bool·verified:1; |
106 | }; | 106 | }; |
107 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 107 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
108 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 108 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
109 | a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&); | 109 | a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&); |
110 | announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&; | ||
111 | a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | ||
112 | ~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | 110 | ~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); |
113 | explicit·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(string_view·u); | 111 | explicit·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(string_view·u); |
112 | a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | ||
113 | announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&; | ||
114 | constructs·a·tracker·announce·_\x8e_\x8n_\x8t_\x8r_\x8y·with·u·as·the·URL. | 114 | constructs·a·tracker·announce·_\x8e_\x8n_\x8t_\x8r_\x8y·with·u·as·the·URL. |
115 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 115 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
116 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r_\x8_s\x8so\x8ou\x8ur\x8rc\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8* | 116 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r_\x8_s\x8so\x8ou\x8ur\x8rc\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8* |
117 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p" | 117 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p" |
118 | ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8· | 118 | ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8· |
119 | |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8v\x8v_\x8a\x8a_\x8l\x8l_\x8u\x8u_\x8e\x8e_\x8|_\x8d\x8d_\x8e\x8e_\x8s\x8s_\x8c\x8c_\x8r\x8r_\x8i\x8i_\x8p\x8p_\x8t\x8t_\x8i\x8i_\x8o\x8o_\x8n\x8n_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 119 | |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8v\x8v_\x8a\x8a_\x8l\x8l_\x8u\x8u_\x8e\x8e_\x8|_\x8d\x8d_\x8e\x8e_\x8s\x8s_\x8c\x8c_\x8r\x8r_\x8i\x8i_\x8p\x8p_\x8t\x8t_\x8i\x8i_\x8o\x8o_\x8n\x8n_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
120 | |_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8·_\x8·_\x8·_\x8|_\x81_\x8·_\x8·_\x8·_\x8·_\x8|_\x8t_\x8h_\x8e_\x8·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8·_\x8w_\x8a_\x8s_\x8·_\x8p_\x8a_\x8r_\x8t_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8e_\x8·_\x8._\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 120 | |_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8·_\x8·_\x8·_\x8|_\x81_\x8·_\x8·_\x8·_\x8·_\x8|_\x8t_\x8h_\x8e_\x8·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8·_\x8w_\x8a_\x8s_\x8·_\x8p_\x8a_\x8r_\x8t_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8e_\x8·_\x8._\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
Offset 70, 25 lines modified | Offset 70, 25 lines modified | ||
70 | <h1>bitfield</h1> | 70 | <h1>bitfield</h1> |
71 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/bitfield.hpp">libtorrent/bitfield.hpp</a>"</p> | 71 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/bitfield.hpp">libtorrent/bitfield.hpp</a>"</p> |
72 | <p>The·<a·class="reference·external"·href="reference-Utility.html#bitfield">bitfield</a>·type·stores·any·number·of·bits·as·a·<a·class="reference·external"·href="reference-Utility.html#bitfield">bitfield</a> | 72 | <p>The·<a·class="reference·external"·href="reference-Utility.html#bitfield">bitfield</a>·type·stores·any·number·of·bits·as·a·<a·class="reference·external"·href="reference-Utility.html#bitfield">bitfield</a> |
73 | in·a·heap·allocated·array.</p> | 73 | in·a·heap·allocated·array.</p> |
74 | <pre·class="literal-block"> | 74 | <pre·class="literal-block"> |
75 | struct·bitfield | 75 | struct·bitfield |
76 | { | 76 | { |
77 | ···<strong>bitfield</strong>·(char·const*·b,·int·bits); | ||
78 | ···<strong>bitfield</strong>·(bitfield&&·rhs)·noexcept·=·default; | 77 | ···<strong>bitfield</strong>·(bitfield&&·rhs)·noexcept·=·default; |
79 | ···<strong>bitfield</strong>·(bitfield·const&·rhs); | ||
80 | ···<strong>bitfield</strong>·(int·bits,·bool·val); | 78 | ···<strong>bitfield</strong>·(int·bits,·bool·val); |
81 | ···<strong>bitfield</strong>·()·noexcept·=·default; | 79 | ···<strong>bitfield</strong>·()·noexcept·=·default; |
82 | ···explicit·<strong>bitfield</strong>·(int·bits); | 80 | ···explicit·<strong>bitfield</strong>·(int·bits); |
81 | ···<strong>bitfield</strong>·(char·const*·b,·int·bits); | ||
82 | ···<strong>bitfield</strong>·(bitfield·const&·rhs); | ||
83 | ···void·<strong>assign</strong>·(char·const*·b,·int·const·bits); | 83 | ···void·<strong>assign</strong>·(char·const*·b,·int·const·bits); |
84 | ···bool·<strong>get_bit</strong>·(int·index)·const·noexcept; | ||
85 | ···bool·<strong>operator[]</strong>·(int·index)·const·noexcept; | 84 | ···bool·<strong>operator[]</strong>·(int·index)·const·noexcept; |
86 | ··· | 85 | ···bool·<strong>get_bit</strong>·(int·index)·const·noexcept; |
87 | ···void·<strong>clear_bit</strong>·(int·index)·noexcept; | 86 | ···void·<strong>clear_bit</strong>·(int·index)·noexcept; |
87 | ···void·<strong>set_bit</strong>·(int·index)·noexcept; | ||
88 | ···bool·<strong>all_set</strong>·()·const·noexcept; | 88 | ···bool·<strong>all_set</strong>·()·const·noexcept; |
89 | ···bool·<strong>none_set</strong>·()·const·noexcept; | 89 | ···bool·<strong>none_set</strong>·()·const·noexcept; |
90 | ···int·<strong>size</strong>·()·const·noexcept; | 90 | ···int·<strong>size</strong>·()·const·noexcept; |
91 | ···int·<strong>num_words</strong>·()·const·noexcept; | 91 | ···int·<strong>num_words</strong>·()·const·noexcept; |
92 | ···int·<strong>num_bytes</strong>·()·const·noexcept; | 92 | ···int·<strong>num_bytes</strong>·()·const·noexcept; |
93 | ···bool·<strong>empty</strong>·()·const·noexcept; | 93 | ···bool·<strong>empty</strong>·()·const·noexcept; |
94 | ···char*·<strong>data</strong>·()·noexcept; | 94 | ···char*·<strong>data</strong>·()·noexcept; |
Offset 99, 20 lines modified | Offset 99, 20 lines modified | ||
99 | ···int·<strong>find_last_clear</strong>·()·const·noexcept; | 99 | ···int·<strong>find_last_clear</strong>·()·const·noexcept; |
100 | ···bool·<strong>operator==</strong>·(lt::bitfield·const&·rhs)·const; | 100 | ···bool·<strong>operator==</strong>·(lt::bitfield·const&·rhs)·const; |
101 | }; | 101 | }; |
102 | </pre> | 102 | </pre> |
103 | <a·name="bitfield()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bitfield%3A%3A%5Bbitfield%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bitfield%3A%3A%5Bbitfield%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="bitfield-1"> | 103 | <a·name="bitfield()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bitfield%3A%3A%5Bbitfield%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bitfield%3A%3A%5Bbitfield%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="bitfield-1"> |
104 | <h2>bitfield()</h2> | 104 | <h2>bitfield()</h2> |
105 | <pre·class="literal-block"> | 105 | <pre·class="literal-block"> |
106 | <strong>bitfield</strong>·(char·const*·b,·int·bits); | ||
107 | <strong>bitfield</strong>·(bitfield&&·rhs)·noexcept·=·default; | 106 | <strong>bitfield</strong>·(bitfield&&·rhs)·noexcept·=·default; |
108 | <strong>bitfield</strong>·(bitfield·const&·rhs); | ||
109 | <strong>bitfield</strong>·(int·bits,·bool·val); | 107 | <strong>bitfield</strong>·(int·bits,·bool·val); |
110 | <strong>bitfield</strong>·()·noexcept·=·default; | 108 | <strong>bitfield</strong>·()·noexcept·=·default; |
111 | explicit·<strong>bitfield</strong>·(int·bits); | 109 | explicit·<strong>bitfield</strong>·(int·bits); |
110 | <strong>bitfield</strong>·(char·const*·b,·int·bits); | ||
111 | <strong>bitfield</strong>·(bitfield·const&·rhs); | ||
112 | </pre> | 112 | </pre> |
113 | <p>constructs·a·new·<a·class="reference·external"·href="reference-Utility.html#bitfield">bitfield</a>.·The·default·constructor·creates·an·empty | 113 | <p>constructs·a·new·<a·class="reference·external"·href="reference-Utility.html#bitfield">bitfield</a>.·The·default·constructor·creates·an·empty |
114 | <a·class="reference·external"·href="reference-Utility.html#bitfield">bitfield</a>.·<tt·class="docutils·literal">bits</tt>·is·the·size·of·the·<a·class="reference·external"·href="reference-Utility.html#bitfield">bitfield</a>·(specified·in·bits). | 114 | <a·class="reference·external"·href="reference-Utility.html#bitfield">bitfield</a>.·<tt·class="docutils·literal">bits</tt>·is·the·size·of·the·<a·class="reference·external"·href="reference-Utility.html#bitfield">bitfield</a>·(specified·in·bits). |
115 | <tt·class="docutils·literal">val</tt>·is·the·value·to·initialize·the·bits·to.·If·not·specified | 115 | <tt·class="docutils·literal">val</tt>·is·the·value·to·initialize·the·bits·to.·If·not·specified |
116 | all·bits·are·initialized·to·0.</p> | 116 | all·bits·are·initialized·to·0.</p> |
117 | <p>The·constructor·taking·a·pointer·<tt·class="docutils·literal">b</tt>·and·<tt·class="docutils·literal">bits</tt>·copies·a·<a·class="reference·external"·href="reference-Utility.html#bitfield">bitfield</a> | 117 | <p>The·constructor·taking·a·pointer·<tt·class="docutils·literal">b</tt>·and·<tt·class="docutils·literal">bits</tt>·copies·a·<a·class="reference·external"·href="reference-Utility.html#bitfield">bitfield</a> |
118 | from·the·specified·buffer,·and·<tt·class="docutils·literal">bits</tt>·number·of·bits·(rounded·up·to | 118 | from·the·specified·buffer,·and·<tt·class="docutils·literal">bits</tt>·number·of·bits·(rounded·up·to |
Offset 126, 25 lines modified | Offset 126, 25 lines modified | ||
126 | <p>copy·<a·class="reference·external"·href="reference-Utility.html#bitfield">bitfield</a>·from·buffer·<tt·class="docutils·literal">b</tt>·of·<tt·class="docutils·literal">bits</tt>·number·of·bits,·rounded·up·to | 126 | <p>copy·<a·class="reference·external"·href="reference-Utility.html#bitfield">bitfield</a>·from·buffer·<tt·class="docutils·literal">b</tt>·of·<tt·class="docutils·literal">bits</tt>·number·of·bits,·rounded·up·to |
127 | the·nearest·byte·boundary.</p> | 127 | the·nearest·byte·boundary.</p> |
128 | <a·name="get_bit()"></a> | 128 | <a·name="get_bit()"></a> |
129 | <a·name="operator[]()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bitfield%3A%3A%5Bget_bit%28%29+operator%5B%5D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bitfield%3A%3A%5Bget_bit%28%29+operator%5B%5D%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 129 | <a·name="operator[]()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bitfield%3A%3A%5Bget_bit%28%29+operator%5B%5D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bitfield%3A%3A%5Bget_bit%28%29+operator%5B%5D%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
130 | <div·class="section"·id="get-bit-operator"> | 130 | <div·class="section"·id="get-bit-operator"> |
131 | <h2>get_bit()·operator[]()</h2> | 131 | <h2>get_bit()·operator[]()</h2> |
132 | <pre·class="literal-block"> | 132 | <pre·class="literal-block"> |
133 | bool·<strong>get_bit</strong>·(int·index)·const·noexcept; | ||
134 | bool·<strong>operator[]</strong>·(int·index)·const·noexcept; | 133 | bool·<strong>operator[]</strong>·(int·index)·const·noexcept; |
134 | bool·<strong>get_bit</strong>·(int·index)·const·noexcept; | ||
135 | </pre> | 135 | </pre> |
136 | <p>query·bit·at·<tt·class="docutils·literal">index</tt>.·Returns·true·if·bit·is·1,·otherwise·false.</p> | 136 | <p>query·bit·at·<tt·class="docutils·literal">index</tt>.·Returns·true·if·bit·is·1,·otherwise·false.</p> |
137 | <a·name="clear_bit()"></a> | 137 | <a·name="clear_bit()"></a> |
138 | <a·name="set_bit()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bitfield%3A%3A%5Bclear_bit%28%29+set_bit%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bitfield%3A%3A%5Bclear_bit%28%29+set_bit%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 138 | <a·name="set_bit()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bitfield%3A%3A%5Bclear_bit%28%29+set_bit%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bitfield%3A%3A%5Bclear_bit%28%29+set_bit%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
139 | <div·class="section"·id="clear-bit-set-bit"> | 139 | <div·class="section"·id="clear-bit-set-bit"> |
140 | <h2>clear_bit()·set_bit()</h2> | 140 | <h2>clear_bit()·set_bit()</h2> |
141 | <pre·class="literal-block"> | 141 | <pre·class="literal-block"> |
142 | void·<strong>set_bit</strong>·(int·index)·noexcept; | ||
143 | void·<strong>clear_bit</strong>·(int·index)·noexcept; | 142 | void·<strong>clear_bit</strong>·(int·index)·noexcept; |
143 | void·<strong>set_bit</strong>·(int·index)·noexcept; | ||
144 | </pre> | 144 | </pre> |
145 | <p>set·bit·at·<tt·class="docutils·literal">index</tt>·to·0·(clear_bit)·or·1·(set_bit).</p> | 145 | <p>set·bit·at·<tt·class="docutils·literal">index</tt>·to·0·(clear_bit)·or·1·(set_bit).</p> |
146 | <a·name="all_set()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bitfield%3A%3A%5Ball_set%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bitfield%3A%3A%5Ball_set%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 146 | <a·name="all_set()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bitfield%3A%3A%5Ball_set%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bitfield%3A%3A%5Ball_set%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
147 | <div·class="section"·id="all-set"> | 147 | <div·class="section"·id="all-set"> |
148 | <h2>all_set()</h2> | 148 | <h2>all_set()</h2> |
149 | <pre·class="literal-block"> | 149 | <pre·class="literal-block"> |
150 | bool·<strong>all_set</strong>·()·const·noexcept; | 150 | bool·<strong>all_set</strong>·()·const·noexcept; |
Offset 242, 31 lines modified | Offset 242, 31 lines modified | ||
242 | <p>The·built-in·software·version·of·sha1-algorithm·was·implemented | 242 | <p>The·built-in·software·version·of·sha1-algorithm·was·implemented |
243 | by·Steve·Reid·and·released·as·public·domain. | 243 | by·Steve·Reid·and·released·as·public·domain. |
244 | For·more·info,·see·<tt·class="docutils·literal">src/sha1.cpp</tt>.</p> | 244 | For·more·info,·see·<tt·class="docutils·literal">src/sha1.cpp</tt>.</p> |
245 | <pre·class="literal-block"> | 245 | <pre·class="literal-block"> |
246 | class·hasher | 246 | class·hasher |
247 | { | 247 | { |
248 | ···<strong>hasher</strong>·(); | 248 | ···<strong>hasher</strong>·(); |
249 | ···<strong>hasher</strong>·(hasher·const&); | ||
249 | ···hasher&·<strong>operator=</strong>·(hasher·const&)·&; | 250 | ···hasher&·<strong>operator=</strong>·(hasher·const&)·&; |
250 | ···<strong>hasher</strong>·(char·const*·data,·int·len); | 251 | ···<strong>hasher</strong>·(char·const*·data,·int·len); |
251 | ···<strong>hasher</strong>·(hasher·const&); | ||
252 | ···explicit·<strong>hasher</strong>·(span<char·const>·data); | 252 | ···explicit·<strong>hasher</strong>·(span<char·const>·data); |
253 | ···hasher&·<strong>update</strong>·(span<char·const>·data); | 253 | ···hasher&·<strong>update</strong>·(span<char·const>·data); |
254 | ···hasher&·<strong>update</strong>·(char·const*·data,·int·len); | 254 | ···hasher&·<strong>update</strong>·(char·const*·data,·int·len); |
255 | ···sha1_hash·<strong>final</strong>·(); | 255 | ···sha1_hash·<strong>final</strong>·(); |
256 | ···void·<strong>reset</strong>·(); | 256 | ···void·<strong>reset</strong>·(); |
257 | }; | 257 | }; |
258 | </pre> | 258 | </pre> |
259 | <a·name="operator=()"></a> | 259 | <a·name="operator=()"></a> |
260 | <a·name="hasher()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher%3A%3A%5Boperator%3D%28%29+hasher%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher%3A%3A%5Boperator%3D%28%29+hasher%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="operator-hasher"> | 260 | <a·name="hasher()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher%3A%3A%5Boperator%3D%28%29+hasher%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher%3A%3A%5Boperator%3D%28%29+hasher%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="operator-hasher"> |
261 | <h2>operator=()·hasher()</h2> | 261 | <h2>operator=()·hasher()</h2> |
262 | <pre·class="literal-block"> | 262 | <pre·class="literal-block"> |
263 | <strong>hasher</strong>·(hasher·const&); | ||
263 | hasher&·<strong>operator=</strong>·(hasher·const&)·&; | 264 | hasher&·<strong>operator=</strong>·(hasher·const&)·&; |
264 | <strong>hasher</strong>·(char·const*·data,·int·len); | 265 | <strong>hasher</strong>·(char·const*·data,·int·len); |
265 | <strong>hasher</strong>·(hasher·const&); | ||
266 | explicit·<strong>hasher</strong>·(span<char·const>·data); | 266 | explicit·<strong>hasher</strong>·(span<char·const>·data); |
267 | </pre> | 267 | </pre> |
268 | <p>this·is·the·same·as·default·constructing·followed·by·a·call·to | 268 | <p>this·is·the·same·as·default·constructing·followed·by·a·call·to |
269 | <tt·class="docutils·literal">update(data,·len)</tt>.</p> | 269 | <tt·class="docutils·literal">update(data,·len)</tt>.</p> |
270 | <a·name="update()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher%3A%3A%5Bupdate%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher%3A%3A%5Bupdate%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 270 | <a·name="update()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher%3A%3A%5Bupdate%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher%3A%3A%5Bupdate%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
271 | <div·class="section"·id="update"> | 271 | <div·class="section"·id="update"> |
272 | <h2>update()</h2> | 272 | <h2>update()</h2> |
Offset 296, 33 lines modified | Offset 296, 33 lines modified | ||
296 | <div·class="section"·id="hasher256"> | 296 | <div·class="section"·id="hasher256"> |
297 | <h1>hasher256</h1> | 297 | <h1>hasher256</h1> |
298 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/hasher.hpp">libtorrent/hasher.hpp</a>"</p> | 298 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/hasher.hpp">libtorrent/hasher.hpp</a>"</p> |
299 | <pre·class="literal-block"> | 299 | <pre·class="literal-block"> |
300 | class·hasher256 | 300 | class·hasher256 |
301 | { | 301 | { |
302 | ···<strong>hasher256</strong>·(); | 302 | ···<strong>hasher256</strong>·(); |
303 | ···explicit·<strong>hasher256</strong>·(span<char·const>·data); | ||
304 | ···hasher256&·<strong>operator=</strong>·(hasher256·const&)·&; | ||
305 | ···<strong>hasher256</strong>·(hasher256·const&); | 303 | ···<strong>hasher256</strong>·(hasher256·const&); |
306 | ···<strong>hasher256</strong>·(char·const*·data,·int·len); | 304 | ···<strong>hasher256</strong>·(char·const*·data,·int·len); |
305 | ···explicit·<strong>hasher256</strong>·(span<char·const>·data); | ||
306 | ···hasher256&·<strong>operator=</strong>·(hasher256·const&)·&; | ||
Max diff block lines reached; 1577/10079 bytes (15.65%) of diff not shown. |
Offset 32, 25 lines modified | Offset 32, 25 lines modified | ||
32 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 32 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
33 | *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·*\x8**\x8**\x8**\x8**\x8**\x8* | 33 | *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·*\x8**\x8**\x8**\x8**\x8**\x8* |
34 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8._\x8h_\x8p_\x8p" | 34 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8._\x8h_\x8p_\x8p" |
35 | The·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d·type·stores·any·number·of·bits·as·a·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d·in·a·heap·allocated | 35 | The·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d·type·stores·any·number·of·bits·as·a·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d·in·a·heap·allocated |
36 | array. | 36 | array. |
37 | struct·bitfield | 37 | struct·bitfield |
38 | { | 38 | { |
39 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(char·const*·b,·int·bits); | ||
40 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield&&·rhs)·noexcept·=·default; | 39 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield&&·rhs)·noexcept·=·default; |
41 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield·const&·rhs); | ||
42 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits,·bool·val); | 40 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits,·bool·val); |
43 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·()·noexcept·=·default; | 41 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·()·noexcept·=·default; |
44 | ···explicit·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits); | 42 | ···explicit·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits); |
43 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(char·const*·b,·int·bits); | ||
44 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield·const&·rhs); | ||
45 | ···void·a\x8as\x8ss\x8si\x8ig\x8gn\x8n·(char·const*·b,·int·const·bits); | 45 | ···void·a\x8as\x8ss\x8si\x8ig\x8gn\x8n·(char·const*·b,·int·const·bits); |
46 | ···bool·g\x8ge\x8et\x8t_\x8_b\x8bi\x8it\x8t·(int·index)·const·noexcept; | ||
47 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·index)·const·noexcept; | 46 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·index)·const·noexcept; |
48 | ··· | 47 | ···bool·g.ge.et.t_._b.bi.it.t·(int·index)·const·noexcept; |
49 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_b\x8bi\x8it\x8t·(int·index)·noexcept; | 48 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_b\x8bi\x8it\x8t·(int·index)·noexcept; |
49 | ···void·s\x8se\x8et\x8t_\x8_b\x8bi\x8it\x8t·(int·index)·noexcept; | ||
50 | ···bool·a\x8al\x8ll\x8l_\x8_s\x8se\x8et\x8t·()·const·noexcept; | 50 | ···bool·a\x8al\x8ll\x8l_\x8_s\x8se\x8et\x8t·()·const·noexcept; |
51 | ···bool·n\x8no\x8on\x8ne\x8e_\x8_s\x8se\x8et\x8t·()·const·noexcept; | 51 | ···bool·n\x8no\x8on\x8ne\x8e_\x8_s\x8se\x8et\x8t·()·const·noexcept; |
52 | ···int·s\x8si\x8iz\x8ze\x8e·()·const·noexcept; | 52 | ···int·s\x8si\x8iz\x8ze\x8e·()·const·noexcept; |
53 | ···int·n\x8nu\x8um\x8m_\x8_w\x8wo\x8or\x8rd\x8ds\x8s·()·const·noexcept; | 53 | ···int·n\x8nu\x8um\x8m_\x8_w\x8wo\x8or\x8rd\x8ds\x8s·()·const·noexcept; |
54 | ···int·n\x8nu\x8um\x8m_\x8_b\x8by\x8yt\x8te\x8es\x8s·()·const·noexcept; | 54 | ···int·n\x8nu\x8um\x8m_\x8_b\x8by\x8yt\x8te\x8es\x8s·()·const·noexcept; |
55 | ···bool·e\x8em\x8mp\x8pt\x8ty\x8y·()·const·noexcept; | 55 | ···bool·e\x8em\x8mp\x8pt\x8ty\x8y·()·const·noexcept; |
56 | ···char*·d\x8da\x8at\x8ta\x8a·()·noexcept; | 56 | ···char*·d\x8da\x8at\x8ta\x8a·()·noexcept; |
Offset 59, 40 lines modified | Offset 59, 40 lines modified | ||
59 | ···int·c\x8co\x8ou\x8un\x8nt\x8t·()·const·noexcept; | 59 | ···int·c\x8co\x8ou\x8un\x8nt\x8t·()·const·noexcept; |
60 | ···int·f\x8fi\x8in\x8nd\x8d_\x8_f\x8fi\x8ir\x8rs\x8st\x8t_\x8_s\x8se\x8et\x8t·()·const·noexcept; | 60 | ···int·f\x8fi\x8in\x8nd\x8d_\x8_f\x8fi\x8ir\x8rs\x8st\x8t_\x8_s\x8se\x8et\x8t·()·const·noexcept; |
61 | ···int·f\x8fi\x8in\x8nd\x8d_\x8_l\x8la\x8as\x8st\x8t_\x8_c\x8cl\x8le\x8ea\x8ar\x8r·()·const·noexcept; | 61 | ···int·f\x8fi\x8in\x8nd\x8d_\x8_l\x8la\x8as\x8st\x8t_\x8_c\x8cl\x8le\x8ea\x8ar\x8r·()·const·noexcept; |
62 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(lt::bitfield·const&·rhs)·const; | 62 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(lt::bitfield·const&·rhs)·const; |
63 | }; | 63 | }; |
64 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 64 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
65 | *\x8**\x8**\x8**\x8**\x8*·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 65 | *\x8**\x8**\x8**\x8**\x8*·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
66 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(char·const*·b,·int·bits); | ||
67 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield&&·rhs)·noexcept·=·default; | 66 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield&&·rhs)·noexcept·=·default; |
68 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield·const&·rhs); | ||
69 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits,·bool·val); | 67 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits,·bool·val); |
70 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·()·noexcept·=·default; | 68 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·()·noexcept·=·default; |
71 | explicit·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits); | 69 | explicit·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits); |
70 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(char·const*·b,·int·bits); | ||
71 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield·const&·rhs); | ||
72 | constructs·a·new·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d.·The·default·constructor·creates·an·empty·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d. | 72 | constructs·a·new·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d.·The·default·constructor·creates·an·empty·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d. |
73 | bits·is·the·size·of·the·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d·(specified·in·bits).·val·is·the·value·to | 73 | bits·is·the·size·of·the·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d·(specified·in·bits).·val·is·the·value·to |
74 | initialize·the·bits·to.·If·not·specified·all·bits·are·initialized·to·0. | 74 | initialize·the·bits·to.·If·not·specified·all·bits·are·initialized·to·0. |
75 | The·constructor·taking·a·pointer·b·and·bits·copies·a·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d·from·the | 75 | The·constructor·taking·a·pointer·b·and·bits·copies·a·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d·from·the |
76 | specified·buffer,·and·bits·number·of·bits·(rounded·up·to·the·nearest·byte | 76 | specified·buffer,·and·bits·number·of·bits·(rounded·up·to·the·nearest·byte |
77 | boundary). | 77 | boundary). |
78 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 78 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
79 | *\x8**\x8**\x8**\x8**\x8*·a\x8as\x8ss\x8si\x8ig\x8gn\x8n(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 79 | *\x8**\x8**\x8**\x8**\x8*·a\x8as\x8ss\x8si\x8ig\x8gn\x8n(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
80 | void·a\x8as\x8ss\x8si\x8ig\x8gn\x8n·(char·const*·b,·int·const·bits); | 80 | void·a\x8as\x8ss\x8si\x8ig\x8gn\x8n·(char·const*·b,·int·const·bits); |
81 | copy·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d·from·buffer·b·of·bits·number·of·bits,·rounded·up·to·the·nearest | 81 | copy·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d·from·buffer·b·of·bits·number·of·bits,·rounded·up·to·the·nearest |
82 | byte·boundary. | 82 | byte·boundary. |
83 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 83 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
84 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t_\x8_b\x8bi\x8it\x8t(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8](\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 84 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t_\x8_b\x8bi\x8it\x8t(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8](\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
85 | bool·g\x8ge\x8et\x8t_\x8_b\x8bi\x8it\x8t·(int·index)·const·noexcept; | ||
86 | bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·index)·const·noexcept; | 85 | bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·index)·const·noexcept; |
86 | bool·g\x8ge\x8et\x8t_\x8_b\x8bi\x8it\x8t·(int·index)·const·noexcept; | ||
87 | query·bit·at·index.·Returns·true·if·bit·is·1,·otherwise·false. | 87 | query·bit·at·index.·Returns·true·if·bit·is·1,·otherwise·false. |
88 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 88 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
89 | *\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_b\x8bi\x8it\x8t(\x8()\x8)·s\x8se\x8et\x8t_\x8_b\x8bi\x8it\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 89 | *\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_b\x8bi\x8it\x8t(\x8()\x8)·s\x8se\x8et\x8t_\x8_b\x8bi\x8it\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
90 | void·s\x8se\x8et\x8t_\x8_b\x8bi\x8it\x8t·(int·index)·noexcept; | ||
91 | void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_b\x8bi\x8it\x8t·(int·index)·noexcept; | 90 | void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_b\x8bi\x8it\x8t·(int·index)·noexcept; |
91 | void·s\x8se\x8et\x8t_\x8_b\x8bi\x8it\x8t·(int·index)·noexcept; | ||
92 | set·bit·at·index·to·0·(clear_bit)·or·1·(set_bit). | 92 | set·bit·at·index·to·0·(clear_bit)·or·1·(set_bit). |
93 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 93 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
94 | *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8ll\x8l_\x8_s\x8se\x8et\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 94 | *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8ll\x8l_\x8_s\x8se\x8et\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
95 | bool·a\x8al\x8ll\x8l_\x8_s\x8se\x8et\x8t·()·const·noexcept; | 95 | bool·a\x8al\x8ll\x8l_\x8_s\x8se\x8et\x8t·()·const·noexcept; |
96 | returns·true·if·all·bits·in·the·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d·are·set | 96 | returns·true·if·all·bits·in·the·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d·are·set |
97 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 97 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
98 | *\x8**\x8**\x8**\x8**\x8*·n\x8no\x8on\x8ne\x8e_\x8_s\x8se\x8et\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 98 | *\x8**\x8**\x8**\x8**\x8*·n\x8no\x8on\x8ne\x8e_\x8_s\x8se\x8et\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
Offset 151, 28 lines modified | Offset 151, 28 lines modified | ||
151 | If·you·want·to·reuse·the·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·object·once·you·have·created·a·hash,·you·have | 151 | If·you·want·to·reuse·the·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·object·once·you·have·created·a·hash,·you·have |
152 | to·call·reset()·to·reinitialize·it. | 152 | to·call·reset()·to·reinitialize·it. |
153 | The·built-in·software·version·of·sha1-algorithm·was·implemented·by·Steve·Reid | 153 | The·built-in·software·version·of·sha1-algorithm·was·implemented·by·Steve·Reid |
154 | and·released·as·public·domain.·For·more·info,·see·src/sha1.cpp. | 154 | and·released·as·public·domain.·For·more·info,·see·src/sha1.cpp. |
155 | class·hasher | 155 | class·hasher |
156 | { | 156 | { |
157 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(); | 157 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(); |
158 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&); | ||
158 | ···hasher&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher·const&)·&; | 159 | ···hasher&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher·const&)·&; |
159 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(char·const*·data,·int·len); | 160 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(char·const*·data,·int·len); |
160 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&); | ||
161 | ···explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r·(span<char·const>·data); | 161 | ···explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r·(span<char·const>·data); |
162 | ···hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); | 162 | ···hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); |
163 | ···hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); | 163 | ···hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); |
164 | ···sha1_hash·f\x8fi\x8in\x8na\x8al\x8l·(); | 164 | ···sha1_hash·f\x8fi\x8in\x8na\x8al\x8l·(); |
165 | ···void·r\x8re\x8es\x8se\x8et\x8t·(); | 165 | ···void·r\x8re\x8es\x8se\x8et\x8t·(); |
166 | }; | 166 | }; |
167 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 167 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
168 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·h\x8ha\x8as\x8sh\x8he\x8er\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 168 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·h\x8ha\x8as\x8sh\x8he\x8er\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
169 | h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&); | ||
169 | hasher&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher·const&)·&; | 170 | hasher&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher·const&)·&; |
170 | h\x8ha\x8as\x8sh\x8he\x8er\x8r·(char·const*·data,·int·len); | 171 | h\x8ha\x8as\x8sh\x8he\x8er\x8r·(char·const*·data,·int·len); |
171 | h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&); | ||
172 | explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r·(span<char·const>·data); | 172 | explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r·(span<char·const>·data); |
173 | this·is·the·same·as·default·constructing·followed·by·a·call·to·update(data, | 173 | this·is·the·same·as·default·constructing·followed·by·a·call·to·update(data, |
174 | len). | 174 | len). |
175 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 175 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
176 | *\x8**\x8**\x8**\x8**\x8*·u\x8up\x8pd\x8da\x8at\x8te\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 176 | *\x8**\x8**\x8**\x8**\x8*·u\x8up\x8pd\x8da\x8at\x8te\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
177 | hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); | 177 | hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); |
178 | hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); | 178 | hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); |
Offset 189, 30 lines modified | Offset 189, 30 lines modified | ||
189 | constructed. | 189 | constructed. |
190 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 190 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
191 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·*\x8**\x8**\x8**\x8**\x8**\x8* | 191 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·*\x8**\x8**\x8**\x8**\x8**\x8* |
192 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" | 192 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" |
193 | class·hasher256 | 193 | class·hasher256 |
194 | { | 194 | { |
195 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(); | 195 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(); |
196 | ···explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(span<char·const>·data); | ||
197 | ···hasher256&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher256·const&)·&; | ||
198 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(hasher256·const&); | 196 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(hasher256·const&); |
199 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(char·const*·data,·int·len); | 197 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(char·const*·data,·int·len); |
198 | ···explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(span<char·const>·data); | ||
199 | ···hasher256&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher256·const&)·&; | ||
200 | ···hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); | 200 | ···hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); |
201 | ···hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); | 201 | ···hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); |
202 | ···sha256_hash·f\x8fi\x8in\x8na\x8al\x8l·(); | 202 | ···sha256_hash·f\x8fi\x8in\x8na\x8al\x8l·(); |
203 | ···void·r\x8re\x8es\x8se\x8et\x8t·(); | 203 | ···void·r\x8re\x8es\x8se\x8et\x8t·(); |
204 | ···~\x8~h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(); | 204 | ···~\x8~h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(); |
205 | }; | 205 | }; |
206 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 206 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
207 | *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 207 | *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
208 | explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(span<char·const>·data); | ||
Max diff block lines reached; 533/7239 bytes (7.36%) of diff not shown. |
Offset 25, 32 lines modified | Offset 25, 32 lines modified | ||
25 | <div·class="main-toc·docutils·container"> | 25 | <div·class="main-toc·docutils·container"> |
26 | <p·class="rubric">Session</p> | 26 | <p·class="rubric">Session</p> |
27 | <div·class="line-block"> | 27 | <div·class="line-block"> |
28 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_params">session_params</a></div> | 28 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_params">session_params</a></div> |
29 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_proxy">session_proxy</a></div> | 29 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_proxy">session_proxy</a></div> |
30 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session">session</a></div> | 30 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session">session</a></div> |
31 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_handle">session_handle</a></div> | 31 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_handle">session_handle</a></div> |
32 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#read_session_params()">read_session_params()</a></div> | ||
32 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params_buf()">write_session_params_buf()</a></div> | 33 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params_buf()">write_session_params_buf()</a></div> |
33 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params()">write_session_params()</a></div> | 34 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params()">write_session_params()</a></div> |
34 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#read_session_params()">read_session_params()</a></div> | ||
35 | </div> | 35 | </div> |
36 | <p·class="rubric">Torrent·Info</p> | 36 | <p·class="rubric">Torrent·Info</p> |
37 | <div·class="line-block"> | 37 | <div·class="line-block"> |
38 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#web_seed_entry">web_seed_entry</a></div> | 38 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#web_seed_entry">web_seed_entry</a></div> |
39 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#load_torrent_limits">load_torrent_limits</a></div> | 39 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#load_torrent_limits">load_torrent_limits</a></div> |
40 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a></div> | 40 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a></div> |
41 | </div> | 41 | </div> |
42 | <p·class="rubric">Core</p> | 42 | <p·class="rubric">Core</p> |
43 | <div·class="line-block"> | 43 | <div·class="line-block"> |
44 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_info">peer_info</a></div> | 44 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_info">peer_info</a></div> |
45 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#info_hash_t">info_hash_t</a></div> | 45 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#info_hash_t">info_hash_t</a></div> |
46 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#piece_block">piece_block</a></div> | 46 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#piece_block">piece_block</a></div> |
47 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_request">peer_request</a></div> | 47 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_request">peer_request</a></div> |
48 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_parsed()">load_torrent_parsed()</a></div> | ||
49 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_buffer()">load_torrent_buffer()</a></div> | 48 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_buffer()">load_torrent_buffer()</a></div> |
49 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_parsed()">load_torrent_parsed()</a></div> | ||
50 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_file()">load_torrent_file()</a></div> | 50 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_file()">load_torrent_file()</a></div> |
51 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#make_magnet_uri()">make_magnet_uri()</a></div> | 51 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#make_magnet_uri()">make_magnet_uri()</a></div> |
52 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#parse_magnet_uri()">parse_magnet_uri()</a></div> | 52 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#parse_magnet_uri()">parse_magnet_uri()</a></div> |
53 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#torrent_peer_equal()">torrent_peer_equal()</a></div> | 53 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#torrent_peer_equal()">torrent_peer_equal()</a></div> |
54 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#truncate_files()">truncate_files()</a></div> | 54 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#truncate_files()">truncate_files()</a></div> |
55 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#version()">version()</a></div> | 55 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#version()">version()</a></div> |
56 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#socket_type_t">socket_type_t</a></div> | 56 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#socket_type_t">socket_type_t</a></div> |
Offset 99, 16 lines modified | Offset 99, 16 lines modified | ||
99 | <p·class="rubric">Settings</p> | 99 | <p·class="rubric">Settings</p> |
100 | <div·class="line-block"> | 100 | <div·class="line-block"> |
101 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#overview">overview</a></div> | 101 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#overview">overview</a></div> |
102 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a></div> | 102 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a></div> |
103 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#generate_fingerprint()">generate_fingerprint()</a></div> | 103 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#generate_fingerprint()">generate_fingerprint()</a></div> |
104 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#high_performance_seed()">high_performance_seed()</a></div> | 104 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#high_performance_seed()">high_performance_seed()</a></div> |
105 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#min_memory_usage()">min_memory_usage()</a></div> | 105 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#min_memory_usage()">min_memory_usage()</a></div> |
106 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#setting_by_name()">setting_by_name()</a></div> | ||
107 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#name_for_setting()">name_for_setting()</a></div> | 106 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#name_for_setting()">name_for_setting()</a></div> |
107 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#setting_by_name()">setting_by_name()</a></div> | ||
108 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#default_settings()">default_settings()</a></div> | 108 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#default_settings()">default_settings()</a></div> |
109 | </div> | 109 | </div> |
110 | <p·class="rubric">DHT</p> | 110 | <p·class="rubric">DHT</p> |
111 | <div·class="line-block"> | 111 | <div·class="line-block"> |
112 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_state">dht_state</a></div> | 112 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_state">dht_state</a></div> |
113 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_storage_counters">dht_storage_counters</a></div> | 113 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_storage_counters">dht_storage_counters</a></div> |
114 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_storage_interface">dht_storage_interface</a></div> | 114 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_storage_interface">dht_storage_interface</a></div> |
Offset 3, 28 lines modified | Offset 3, 28 lines modified | ||
3 | *\x8**\x8**\x8**\x8**\x8**\x8*·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·d\x8do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8* | 3 | *\x8**\x8**\x8**\x8**\x8**\x8*·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·d\x8do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8* |
4 | _\x8s_\x8i_\x8n_\x8g_\x8l_\x8e_\x8-_\x8p_\x8a_\x8g_\x8e_\x8·_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n | 4 | _\x8s_\x8i_\x8n_\x8g_\x8l_\x8e_\x8-_\x8p_\x8a_\x8g_\x8e_\x8·_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n |
5 | Session | 5 | Session |
6 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s | 6 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s |
7 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y | 7 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y |
8 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n | 8 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n |
9 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e | 9 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e |
10 | _\x8r_\x8e_\x8a_\x8d_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | ||
10 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8__\x8b_\x8u_\x8f_\x8(_\x8) | 11 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8__\x8b_\x8u_\x8f_\x8(_\x8) |
11 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | 12 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) |
12 | _\x8r_\x8e_\x8a_\x8d_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | ||
13 | Torrent·Info | 13 | Torrent·Info |
14 | _\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8__\x8e_\x8n_\x8t_\x8r_\x8y | 14 | _\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8__\x8e_\x8n_\x8t_\x8r_\x8y |
15 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8s | 15 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8s |
16 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o | 16 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o |
17 | Core | 17 | Core |
18 | _\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o | 18 | _\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o |
19 | _\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t | 19 | _\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t |
20 | _\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k | 20 | _\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k |
21 | _\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t | 21 | _\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t |
22 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8s_\x8e_\x8d_\x8(_\x8) | ||
23 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8) | 22 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8) |
23 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8s_\x8e_\x8d_\x8(_\x8) | ||
24 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 24 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
25 | _\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | 25 | _\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) |
26 | _\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | 26 | _\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) |
27 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) | 27 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) |
28 | _\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 28 | _\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
29 | _\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 29 | _\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
30 | _\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 30 | _\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
Offset 61, 16 lines modified | Offset 61, 16 lines modified | ||
61 | _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y | 61 | _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y |
62 | Settings | 62 | Settings |
63 | _\x8o_\x8v_\x8e_\x8r_\x8v_\x8i_\x8e_\x8w | 63 | _\x8o_\x8v_\x8e_\x8r_\x8v_\x8i_\x8e_\x8w |
64 | _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k | 64 | _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k |
65 | _\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8n_\x8g_\x8e_\x8r_\x8p_\x8r_\x8i_\x8n_\x8t_\x8(_\x8) | 65 | _\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8n_\x8g_\x8e_\x8r_\x8p_\x8r_\x8i_\x8n_\x8t_\x8(_\x8) |
66 | _\x8h_\x8i_\x8g_\x8h_\x8__\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8) | 66 | _\x8h_\x8i_\x8g_\x8h_\x8__\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8) |
67 | _\x8m_\x8i_\x8n_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8u_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) | 67 | _\x8m_\x8i_\x8n_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8u_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) |
68 | _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8y_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8) | ||
69 | _\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8o_\x8r_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8(_\x8) | 68 | _\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8o_\x8r_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8(_\x8) |
69 | _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8y_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8) | ||
70 | _\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) | 70 | _\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) |
71 | DHT | 71 | DHT |
72 | _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e | 72 | _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e |
73 | _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s | 73 | _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s |
74 | _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | 74 | _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e |
75 | _\x8s_\x8i_\x8g_\x8n_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) | 75 | _\x8s_\x8i_\x8g_\x8n_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) |
76 | _\x8d_\x8h_\x8t_\x8__\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) | 76 | _\x8d_\x8h_\x8t_\x8__\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) |
Offset 55, 85 lines modified | Offset 55, 85 lines modified | ||
55 | <li><a·class="reference·internal"·href="#enum-error-code-enum-3"·id="toc-entry-19">enum·error_code_enum</a></li> | 55 | <li><a·class="reference·internal"·href="#enum-error-code-enum-3"·id="toc-entry-19">enum·error_code_enum</a></li> |
56 | <li><a·class="reference·internal"·href="#session-params"·id="toc-entry-20">session_params</a><ul> | 56 | <li><a·class="reference·internal"·href="#session-params"·id="toc-entry-20">session_params</a><ul> |
57 | <li><a·class="reference·internal"·href="#session-params-1"·id="toc-entry-21">session_params()</a></li> | 57 | <li><a·class="reference·internal"·href="#session-params-1"·id="toc-entry-21">session_params()</a></li> |
58 | <li><a·class="reference·internal"·href="#session-params-2"·id="toc-entry-22">session_params()</a></li> | 58 | <li><a·class="reference·internal"·href="#session-params-2"·id="toc-entry-22">session_params()</a></li> |
59 | </ul> | 59 | </ul> |
60 | </li> | 60 | </li> |
61 | <li><a·class="reference·internal"·href="#session-proxy"·id="toc-entry-23">session_proxy</a><ul> | 61 | <li><a·class="reference·internal"·href="#session-proxy"·id="toc-entry-23">session_proxy</a><ul> |
62 | <li><a·class="reference·internal"·href="# | 62 | <li><a·class="reference·internal"·href="#session-proxy-session-proxy-operator"·id="toc-entry-24">session_proxy()·~session_proxy()·operator=()</a></li> |
63 | </ul> | 63 | </ul> |
64 | </li> | 64 | </li> |
65 | <li><a·class="reference·internal"·href="#session"·id="toc-entry-25">session</a><ul> | 65 | <li><a·class="reference·internal"·href="#session"·id="toc-entry-25">session</a><ul> |
66 | <li><a·class="reference·internal"·href="#session-1"·id="toc-entry-26">session()</a></li> | 66 | <li><a·class="reference·internal"·href="#session-1"·id="toc-entry-26">session()</a></li> |
67 | <li><a·class="reference·internal"·href="#session-2"·id="toc-entry-27">session()</a></li> | 67 | <li><a·class="reference·internal"·href="#session-2"·id="toc-entry-27">session()</a></li> |
68 | <li><a·class="reference·internal"·href="#session-3"·id="toc-entry-28">~session()</a></li> | 68 | <li><a·class="reference·internal"·href="#session-3"·id="toc-entry-28">~session()</a></li> |
69 | <li><a·class="reference·internal"·href="#abort"·id="toc-entry-29">abort()</a></li> | 69 | <li><a·class="reference·internal"·href="#abort"·id="toc-entry-29">abort()</a></li> |
70 | </ul> | 70 | </ul> |
71 | </li> | 71 | </li> |
72 | <li><a·class="reference·internal"·href="#session-handle"·id="toc-entry-30">session_handle</a><ul> | 72 | <li><a·class="reference·internal"·href="#session-handle"·id="toc-entry-30">session_handle</a><ul> |
73 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-31">is_valid()</a></li> | 73 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-31">is_valid()</a></li> |
74 | <li><a·class="reference·internal"·href="#session-state"·id="toc-entry-32">session_state()</a></li> | 74 | <li><a·class="reference·internal"·href="#session-state"·id="toc-entry-32">session_state()</a></li> |
75 | <li><a·class="reference·internal"·href="# | 75 | <li><a·class="reference·internal"·href="#get-torrent-status-refresh-torrent-status"·id="toc-entry-33">get_torrent_status()·refresh_torrent_status()</a></li> |
76 | <li><a·class="reference·internal"·href="#post-torrent-updates"·id="toc-entry-34">post_torrent_updates()</a></li> | 76 | <li><a·class="reference·internal"·href="#post-torrent-updates"·id="toc-entry-34">post_torrent_updates()</a></li> |
77 | <li><a·class="reference·internal"·href="#post-session-stats"·id="toc-entry-35">post_session_stats()</a></li> | 77 | <li><a·class="reference·internal"·href="#post-session-stats"·id="toc-entry-35">post_session_stats()</a></li> |
78 | <li><a·class="reference·internal"·href="#post-dht-stats"·id="toc-entry-36">post_dht_stats()</a></li> | 78 | <li><a·class="reference·internal"·href="#post-dht-stats"·id="toc-entry-36">post_dht_stats()</a></li> |
79 | <li><a·class="reference·internal"·href="#set-dht-state"·id="toc-entry-37">set_dht_state()</a></li> | 79 | <li><a·class="reference·internal"·href="#set-dht-state"·id="toc-entry-37">set_dht_state()</a></li> |
80 | <li><a·class="reference·internal"·href="# | 80 | <li><a·class="reference·internal"·href="#find-torrent-get-torrents"·id="toc-entry-38">find_torrent()·get_torrents()</a></li> |
81 | <li><a·class="reference·internal"·href="#async-add-torrent-add-torrent"·id="toc-entry-39">async_add_torrent()·add_torrent()</a></li> | 81 | <li><a·class="reference·internal"·href="#async-add-torrent-add-torrent"·id="toc-entry-39">async_add_torrent()·add_torrent()</a></li> |
82 | <li><a·class="reference·internal"·href="# | 82 | <li><a·class="reference·internal"·href="#resume-is-paused-pause"·id="toc-entry-40">resume()·is_paused()·pause()</a></li> |
83 | <li><a·class="reference·internal"·href="#is-dht-running"·id="toc-entry-41">is_dht_running()</a></li> | 83 | <li><a·class="reference·internal"·href="#is-dht-running"·id="toc-entry-41">is_dht_running()</a></li> |
84 | <li><a·class="reference·internal"·href="#set-dht-storage"·id="toc-entry-42">set_dht_storage()</a></li> | 84 | <li><a·class="reference·internal"·href="#set-dht-storage"·id="toc-entry-42">set_dht_storage()</a></li> |
85 | <li><a·class="reference·internal"·href="#add-dht-node"·id="toc-entry-43">add_dht_node()</a></li> | 85 | <li><a·class="reference·internal"·href="#add-dht-node"·id="toc-entry-43">add_dht_node()</a></li> |
86 | <li><a·class="reference·internal"·href="#dht-get-item"·id="toc-entry-44">dht_get_item()</a></li> | 86 | <li><a·class="reference·internal"·href="#dht-get-item"·id="toc-entry-44">dht_get_item()</a></li> |
87 | <li><a·class="reference·internal"·href="#dht-get-item-1"·id="toc-entry-45">dht_get_item()</a></li> | 87 | <li><a·class="reference·internal"·href="#dht-get-item-1"·id="toc-entry-45">dht_get_item()</a></li> |
88 | <li><a·class="reference·internal"·href="#dht-put-item"·id="toc-entry-46">dht_put_item()</a></li> | 88 | <li><a·class="reference·internal"·href="#dht-put-item"·id="toc-entry-46">dht_put_item()</a></li> |
89 | <li><a·class="reference·internal"·href="#dht-put-item-1"·id="toc-entry-47">dht_put_item()</a></li> | 89 | <li><a·class="reference·internal"·href="#dht-put-item-1"·id="toc-entry-47">dht_put_item()</a></li> |
90 | <li><a·class="reference·internal"·href="#dht- | 90 | <li><a·class="reference·internal"·href="#dht-announce-dht-get-peers"·id="toc-entry-48">dht_announce()·dht_get_peers()</a></li> |
91 | <li><a·class="reference·internal"·href="#dht-live-nodes"·id="toc-entry-49">dht_live_nodes()</a></li> | 91 | <li><a·class="reference·internal"·href="#dht-live-nodes"·id="toc-entry-49">dht_live_nodes()</a></li> |
92 | <li><a·class="reference·internal"·href="#dht-sample-infohashes"·id="toc-entry-50">dht_sample_infohashes()</a></li> | 92 | <li><a·class="reference·internal"·href="#dht-sample-infohashes"·id="toc-entry-50">dht_sample_infohashes()</a></li> |
93 | <li><a·class="reference·internal"·href="#dht-direct-request"·id="toc-entry-51">dht_direct_request()</a></li> | 93 | <li><a·class="reference·internal"·href="#dht-direct-request"·id="toc-entry-51">dht_direct_request()</a></li> |
94 | <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-52">add_extension()</a></li> | 94 | <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-52">add_extension()</a></li> |
95 | <li><a·class="reference·internal"·href="#set-ip-filter-get-ip-filter"·id="toc-entry-53">set_ip_filter()·get_ip_filter()</a></li> | 95 | <li><a·class="reference·internal"·href="#set-ip-filter-get-ip-filter"·id="toc-entry-53">set_ip_filter()·get_ip_filter()</a></li> |
96 | <li><a·class="reference·internal"·href="#set-port-filter"·id="toc-entry-54">set_port_filter()</a></li> | 96 | <li><a·class="reference·internal"·href="#set-port-filter"·id="toc-entry-54">set_port_filter()</a></li> |
97 | <li><a·class="reference·internal"·href="#listen-port-is-listening | 97 | <li><a·class="reference·internal"·href="#ssl-listen-port-is-listening-listen-port"·id="toc-entry-55">ssl_listen_port()·is_listening()·listen_port()</a></li> |
98 | <li><a·class="reference·internal"·href="#set-peer-class-filter-get-peer-class-filter"·id="toc-entry-56">set_peer_class_filter()·get_peer_class_filter()</a></li> | 98 | <li><a·class="reference·internal"·href="#set-peer-class-filter-get-peer-class-filter"·id="toc-entry-56">set_peer_class_filter()·get_peer_class_filter()</a></li> |
99 | <li><a·class="reference·internal"·href="# | 99 | <li><a·class="reference·internal"·href="#set-peer-class-type-filter-get-peer-class-type-filter"·id="toc-entry-57">set_peer_class_type_filter()·get_peer_class_type_filter()</a></li> |
100 | <li><a·class="reference·internal"·href="#create-peer-class"·id="toc-entry-58">create_peer_class()</a></li> | 100 | <li><a·class="reference·internal"·href="#create-peer-class"·id="toc-entry-58">create_peer_class()</a></li> |
101 | <li><a·class="reference·internal"·href="#delete-peer-class"·id="toc-entry-59">delete_peer_class()</a></li> | 101 | <li><a·class="reference·internal"·href="#delete-peer-class"·id="toc-entry-59">delete_peer_class()</a></li> |
102 | <li><a·class="reference·internal"·href="# | 102 | <li><a·class="reference·internal"·href="#get-peer-class-set-peer-class"·id="toc-entry-60">get_peer_class()·set_peer_class()</a></li> |
103 | <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-61">remove_torrent()</a></li> | 103 | <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-61">remove_torrent()</a></li> |
104 | <li><a·class="reference·internal"·href="#get-settings-apply-settings"·id="toc-entry-62">get_settings()·apply_settings()</a></li> | 104 | <li><a·class="reference·internal"·href="#get-settings-apply-settings"·id="toc-entry-62">get_settings()·apply_settings()</a></li> |
105 | <li><a·class="reference·internal"·href="#wait-for-alert- | 105 | <li><a·class="reference·internal"·href="#wait-for-alert-set-alert-notify-pop-alerts"·id="toc-entry-63">wait_for_alert()·set_alert_notify()·pop_alerts()</a></li> |
106 | <li><a·class="reference·internal"·href="#add-port-mapping-delete-port-mapping"·id="toc-entry-64">add_port_mapping()·delete_port_mapping()</a></li> | 106 | <li><a·class="reference·internal"·href="#add-port-mapping-delete-port-mapping"·id="toc-entry-64">add_port_mapping()·delete_port_mapping()</a></li> |
107 | <li><a·class="reference·internal"·href="#reopen-network-sockets"·id="toc-entry-65">reopen_network_sockets()</a></li> | 107 | <li><a·class="reference·internal"·href="#reopen-network-sockets"·id="toc-entry-65">reopen_network_sockets()</a></li> |
108 | <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-66">native_handle()</a></li> | 108 | <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-66">native_handle()</a></li> |
109 | </ul> | 109 | </ul> |
110 | </li> | 110 | </li> |
111 | <li><a·class="reference·internal"·href="#write-session-params- | 111 | <li><a·class="reference·internal"·href="#write-session-params-write-session-params-buf-read-session-params"·id="toc-entry-67">write_session_params()·write_session_params_buf()·read_session_params()</a></li> |
112 | <li><a·class="reference·internal"·href="#web-seed-entry"·id="toc-entry-68">web_seed_entry</a><ul> | 112 | <li><a·class="reference·internal"·href="#web-seed-entry"·id="toc-entry-68">web_seed_entry</a><ul> |
113 | <li><a·class="reference·internal"·href="#operator"·id="toc-entry-69">operator==()</a></li> | 113 | <li><a·class="reference·internal"·href="#operator"·id="toc-entry-69">operator==()</a></li> |
114 | <li><a·class="reference·internal"·href="#operator-1"·id="toc-entry-70">operator<()</a></li> | 114 | <li><a·class="reference·internal"·href="#operator-1"·id="toc-entry-70">operator<()</a></li> |
115 | <li><a·class="reference·internal"·href="#enum-type-t"·id="toc-entry-71">enum·type_t</a></li> | 115 | <li><a·class="reference·internal"·href="#enum-type-t"·id="toc-entry-71">enum·type_t</a></li> |
116 | </ul> | 116 | </ul> |
117 | </li> | 117 | </li> |
118 | <li><a·class="reference·internal"·href="#load-torrent-limits"·id="toc-entry-72">load_torrent_limits</a></li> | 118 | <li><a·class="reference·internal"·href="#load-torrent-limits"·id="toc-entry-72">load_torrent_limits</a></li> |
119 | <li><a·class="reference·internal"·href="#torrent-info"·id="toc-entry-73">torrent_info</a><ul> | 119 | <li><a·class="reference·internal"·href="#torrent-info"·id="toc-entry-73">torrent_info</a><ul> |
120 | <li><a·class="reference·internal"·href="#torrent-info-1"·id="toc-entry-74">torrent_info()</a></li> | 120 | <li><a·class="reference·internal"·href="#torrent-info-1"·id="toc-entry-74">torrent_info()</a></li> |
121 | <li><a·class="reference·internal"·href="#torrent-info-2"·id="toc-entry-75">~torrent_info()</a></li> | 121 | <li><a·class="reference·internal"·href="#torrent-info-2"·id="toc-entry-75">~torrent_info()</a></li> |
122 | <li><a·class="reference·internal"·href="#orig-files-files"·id="toc-entry-76">orig_files()·files()</a></li> | 122 | <li><a·class="reference·internal"·href="#orig-files-files"·id="toc-entry-76">orig_files()·files()</a></li> |
123 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-77">rename_file()</a></li> | 123 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-77">rename_file()</a></li> |
124 | <li><a·class="reference·internal"·href="#remap-files"·id="toc-entry-78">remap_files()</a></li> | 124 | <li><a·class="reference·internal"·href="#remap-files"·id="toc-entry-78">remap_files()</a></li> |
125 | <li><a·class="reference·internal"·href="#trackers- | 125 | <li><a·class="reference·internal"·href="#trackers-add-tracker-clear-trackers"·id="toc-entry-79">trackers()·add_tracker()·clear_trackers()</a></li> |
126 | <li><a·class="reference·internal"·href="#similar-torren | 126 | <li><a·class="reference·internal"·href="#collections-similar-torrents"·id="toc-entry-80">collections()·similar_torrents()</a></li> |
127 | <li><a·class="reference·internal"·href="# | 127 | <li><a·class="reference·internal"·href="#add-http-seed-set-web-seeds-add-url-seed-web-seeds"·id="toc-entry-81">add_http_seed()·set_web_seeds()·add_url_seed()·web_seeds()</a></li> |
128 | <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-82">total_size()</a></li> | 128 | <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-82">total_size()</a></li> |
129 | <li><a·class="reference·internal"·href="#piec | 129 | <li><a·class="reference·internal"·href="#num-pieces-piece-length"·id="toc-entry-83">num_pieces()·piece_length()</a></li> |
130 | <li><a·class="reference·internal"·href="#blocks-per-piece"·id="toc-entry-84">blocks_per_piece()</a></li> | 130 | <li><a·class="reference·internal"·href="#blocks-per-piece"·id="toc-entry-84">blocks_per_piece()</a></li> |
131 | <li><a·class="reference·internal"·href="#piece- | 131 | <li><a·class="reference·internal"·href="#end-piece-last-piece-piece-range"·id="toc-entry-85">end_piece()·last_piece()·piece_range()</a></li> |
132 | <li><a·class="reference·internal"·href="#info-hash | 132 | <li><a·class="reference·internal"·href="#info-hash-info-hashes"·id="toc-entry-86">info_hash()·info_hashes()</a></li> |
133 | <li><a·class="reference·internal"·href="#v1-v2"·id="toc-entry-87">v1()·v2()</a></li> | 133 | <li><a·class="reference·internal"·href="#v1-v2"·id="toc-entry-87">v1()·v2()</a></li> |
134 | <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-88">num_files()</a></li> | 134 | <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-88">num_files()</a></li> |
135 | <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-89">map_block()</a></li> | 135 | <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-89">map_block()</a></li> |
136 | <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-90">map_file()</a></li> | 136 | <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-90">map_file()</a></li> |
137 | <li><a·class="reference·internal"·href="#ssl-cert"·id="toc-entry-91">ssl_cert()</a></li> | 137 | <li><a·class="reference·internal"·href="#ssl-cert"·id="toc-entry-91">ssl_cert()</a></li> |
138 | <li><a·class="reference·internal"·href="#is-valid-1"·id="toc-entry-92">is_valid()</a></li> | 138 | <li><a·class="reference·internal"·href="#is-valid-1"·id="toc-entry-92">is_valid()</a></li> |
139 | <li><a·class="reference·internal"·href="#priv"·id="toc-entry-93">priv()</a></li> | 139 | <li><a·class="reference·internal"·href="#priv"·id="toc-entry-93">priv()</a></li> |
Offset 155, 26 lines modified | Offset 155, 26 lines modified | ||
155 | </li> | 155 | </li> |
156 | <li><a·class="reference·internal"·href="#peer-info"·id="toc-entry-108">peer_info</a><ul> | 156 | <li><a·class="reference·internal"·href="#peer-info"·id="toc-entry-108">peer_info</a><ul> |
157 | <li><a·class="reference·internal"·href="#i2p-destination"·id="toc-entry-109">i2p_destination()</a></li> | 157 | <li><a·class="reference·internal"·href="#i2p-destination"·id="toc-entry-109">i2p_destination()</a></li> |
158 | </ul> | 158 | </ul> |
159 | </li> | 159 | </li> |
160 | <li><a·class="reference·internal"·href="#info-hash-t"·id="toc-entry-110">info_hash_t</a><ul> | 160 | <li><a·class="reference·internal"·href="#info-hash-t"·id="toc-entry-110">info_hash_t</a><ul> |
161 | <li><a·class="reference·internal"·href="#info-hash-t-1"·id="toc-entry-111">info_hash_t()</a></li> | 161 | <li><a·class="reference·internal"·href="#info-hash-t-1"·id="toc-entry-111">info_hash_t()</a></li> |
162 | <li><a·class="reference·internal"·href="#has- | 162 | <li><a·class="reference·internal"·href="#has-has-v2-has-v1"·id="toc-entry-112">has()·has_v2()·has_v1()</a></li> |
163 | <li><a·class="reference·internal"·href="#get"·id="toc-entry-113">get()</a></li> | 163 | <li><a·class="reference·internal"·href="#get"·id="toc-entry-113">get()</a></li> |
164 | <li><a·class="reference·internal"·href="#get-best"·id="toc-entry-114">get_best()</a></li> | 164 | <li><a·class="reference·internal"·href="#get-best"·id="toc-entry-114">get_best()</a></li> |
165 | <li><a·class="reference·internal"·href="#for-each"·id="toc-entry-115">for_each()</a></li> | 165 | <li><a·class="reference·internal"·href="#for-each"·id="toc-entry-115">for_each()</a></li> |
166 | </ul> | 166 | </ul> |
167 | </li> | 167 | </li> |
168 | <li><a·class="reference·internal"·href="#piece-block"·id="toc-entry-116">piece_block</a></li> | 168 | <li><a·class="reference·internal"·href="#piece-block"·id="toc-entry-116">piece_block</a></li> |
169 | <li><a·class="reference·internal"·href="#peer-request"·id="toc-entry-117">peer_request</a><ul> | 169 | <li><a·class="reference·internal"·href="#peer-request"·id="toc-entry-117">peer_request</a><ul> |
170 | <li><a·class="reference·internal"·href="#operator-2"·id="toc-entry-118">operator==()</a></li> | 170 | <li><a·class="reference·internal"·href="#operator-2"·id="toc-entry-118">operator==()</a></li> |
171 | </ul> | 171 | </ul> |
172 | </li> | 172 | </li> |
173 | <li><a·class="reference·internal"·href="#load-torrent- | 173 | <li><a·class="reference·internal"·href="#load-torrent-parsed-load-torrent-buffer-load-torrent-file"·id="toc-entry-119">load_torrent_parsed()·load_torrent_buffer()·load_torrent_file()</a></li> |
174 | <li><a·class="reference·internal"·href="#make-magnet-uri"·id="toc-entry-120">make_magnet_uri()</a></li> | 174 | <li><a·class="reference·internal"·href="#make-magnet-uri"·id="toc-entry-120">make_magnet_uri()</a></li> |
175 | <li><a·class="reference·internal"·href="#parse-magnet-uri"·id="toc-entry-121">parse_magnet_uri()</a></li> | 175 | <li><a·class="reference·internal"·href="#parse-magnet-uri"·id="toc-entry-121">parse_magnet_uri()</a></li> |
176 | <li><a·class="reference·internal"·href="#torrent-peer-equal"·id="toc-entry-122">torrent_peer_equal()</a></li> | 176 | <li><a·class="reference·internal"·href="#torrent-peer-equal"·id="toc-entry-122">torrent_peer_equal()</a></li> |
177 | <li><a·class="reference·internal"·href="#truncate-files"·id="toc-entry-123">truncate_files()</a></li> | 177 | <li><a·class="reference·internal"·href="#truncate-files"·id="toc-entry-123">truncate_files()</a></li> |
178 | <li><a·class="reference·internal"·href="#version"·id="toc-entry-124">version()</a></li> | 178 | <li><a·class="reference·internal"·href="#version"·id="toc-entry-124">version()</a></li> |
179 | <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-125">enum·socket_type_t</a></li> | 179 | <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-125">enum·socket_type_t</a></li> |
180 | <li><a·class="reference·internal"·href="#enum-protocol-version"·id="toc-entry-126">enum·protocol_version</a></li> | 180 | <li><a·class="reference·internal"·href="#enum-protocol-version"·id="toc-entry-126">enum·protocol_version</a></li> |
Offset 202, 37 lines modified | Offset 202, 37 lines modified | ||
202 | <li><a·class="reference·internal"·href="#on-tick"·id="toc-entry-148">on_tick()</a></li> | 202 | <li><a·class="reference·internal"·href="#on-tick"·id="toc-entry-148">on_tick()</a></li> |
203 | <li><a·class="reference·internal"·href="#get-unchoke-priority"·id="toc-entry-149">get_unchoke_priority()</a></li> | 203 | <li><a·class="reference·internal"·href="#get-unchoke-priority"·id="toc-entry-149">get_unchoke_priority()</a></li> |
204 | <li><a·class="reference·internal"·href="#load-state"·id="toc-entry-150">load_state()</a></li> | 204 | <li><a·class="reference·internal"·href="#load-state"·id="toc-entry-150">load_state()</a></li> |
205 | </ul> | 205 | </ul> |
206 | </li> | 206 | </li> |
207 | <li><a·class="reference·internal"·href="#torrent-plugin"·id="toc-entry-151">torrent_plugin</a><ul> | 207 | <li><a·class="reference·internal"·href="#torrent-plugin"·id="toc-entry-151">torrent_plugin</a><ul> |
208 | <li><a·class="reference·internal"·href="#new-connection"·id="toc-entry-152">new_connection()</a></li> | 208 | <li><a·class="reference·internal"·href="#new-connection"·id="toc-entry-152">new_connection()</a></li> |
209 | <li><a·class="reference·internal"·href="#on-piece- | 209 | <li><a·class="reference·internal"·href="#on-piece-pass-on-piece-failed"·id="toc-entry-153">on_piece_pass()·on_piece_failed()</a></li> |
210 | <li><a·class="reference·internal"·href="#tick"·id="toc-entry-154">tick()</a></li> | 210 | <li><a·class="reference·internal"·href="#tick"·id="toc-entry-154">tick()</a></li> |
211 | <li><a·class="reference·internal"·href="#on-resume-on-pause"·id="toc-entry-155">on_resume()·on_pause()</a></li> | 211 | <li><a·class="reference·internal"·href="#on-resume-on-pause"·id="toc-entry-155">on_resume()·on_pause()</a></li> |
212 | <li><a·class="reference·internal"·href="#on-files-checked"·id="toc-entry-156">on_files_checked()</a></li> | 212 | <li><a·class="reference·internal"·href="#on-files-checked"·id="toc-entry-156">on_files_checked()</a></li> |
213 | <li><a·class="reference·internal"·href="#on-state"·id="toc-entry-157">on_state()</a></li> | 213 | <li><a·class="reference·internal"·href="#on-state"·id="toc-entry-157">on_state()</a></li> |
214 | <li><a·class="reference·internal"·href="#on-add-peer"·id="toc-entry-158">on_add_peer()</a></li> | 214 | <li><a·class="reference·internal"·href="#on-add-peer"·id="toc-entry-158">on_add_peer()</a></li> |
215 | </ul> | 215 | </ul> |
Max diff block lines reached; 318061/332623 bytes (95.62%) of diff not shown. |
Offset 22, 77 lines modified | Offset 22, 77 lines modified | ||
22 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e | 22 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e |
23 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8c_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s | 23 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8c_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s |
24 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m | 24 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m |
25 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s | 25 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s |
26 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | 26 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) |
27 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | 27 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) |
28 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y | 28 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y |
29 | ··········o·_\x8 | 29 | ··········o·_\x8s_.e_.s_.s_.i_.o_.n_.__.p_.r_.o_.x_.y_.(_.)_.·_.~_.s_.e_.s_.s_.i_.o_.n_.__.p_.r_.o_.x_.y_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_\x8(_\x8) |
30 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n | 30 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n |
31 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 31 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
32 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 32 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
33 | ··········o·_\x8~_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 33 | ··········o·_\x8~_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
34 | ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8) | 34 | ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8) |
35 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e | 35 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e |
36 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) | 36 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) |
37 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) | 37 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) |
38 | ··········o·_\x8 | 38 | ··········o·_\x8g_.e_.t_.__.t_.o_.r_.r_.e_.n_.t_.__.s_.t_.a_.t_.u_.s_.(_.)_.·_.r_.e_.f_.r_.e_.s_.h_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) |
39 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8s_\x8(_\x8) | 39 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8s_\x8(_\x8) |
40 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8) | 40 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8) |
41 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8) | 41 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8) |
42 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) | 42 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) |
43 | ··········o·_\x8 | 43 | ··········o·_\x8f_.i_.n_.d_.__.t_.o_.r_.r_.e_.n_.t_.(_.)_.·_.g_.e_.t_.__.t_.o_.r_.r_.e_.n_.t_.s_\x8(_\x8) |
44 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 44 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
45 | ··········o·_\x8 | 45 | ··········o·_\x8r_.e_.s_.u_.m_.e_.(_.)_.·_.i_.s_.__.p_.a_.u_.s_.e_.d_.(_.)_.·_.p_.a_.u_.s_\x8e_\x8(_\x8) |
46 | ··········o·_\x8i_\x8s_\x8__\x8d_\x8h_\x8t_\x8__\x8r_\x8u_\x8n_\x8n_\x8i_\x8n_\x8g_\x8(_\x8) | 46 | ··········o·_\x8i_\x8s_\x8__\x8d_\x8h_\x8t_\x8__\x8r_\x8u_\x8n_\x8n_\x8i_\x8n_\x8g_\x8(_\x8) |
47 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8) | 47 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8) |
48 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8d_\x8h_\x8t_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) | 48 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8d_\x8h_\x8t_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) |
49 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) | 49 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) |
50 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) | 50 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) |
51 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) | 51 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) |
52 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) | 52 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) |
53 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8 | 53 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8a_.n_.n_.o_.u_.n_.c_.e_.(_.)_.·_.d_.h_.t_.__.g_.e_.t_.__.p_.e_.e_.r_.s_\x8(_\x8) |
54 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8l_\x8i_\x8v_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) | 54 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8l_\x8i_\x8v_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) |
55 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8) | 55 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8) |
56 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8) | 56 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8) |
57 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 57 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
58 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) | 58 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) |
59 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) | 59 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) |
60 | ··········o·_\x8l_.i_.s_.t_.e_.n_.__.p_.o_.r_.t_.(_.)_.·_.i_.s_.__.l_.i_.s_.t_.e_.n_.i_.n_.g_.(_.)_.· | 60 | ··········o·_\x8s_.s_.l_.__.l_.i_.s_.t_.e_.n_.__.p_.o_.r_.t_.(_.)_.·_.i_.s_.__.l_.i_.s_.t_.e_.n_.i_.n_.g_.(_.)_.·_\x8l_\x8i_\x8s_\x8t_\x8e_\x8n_\x8__\x8p_\x8o_\x8r_\x8t_\x8(_\x8) |
61 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) | 61 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) |
62 | ··········o·_\x8 | 62 | ··········o·_\x8s_.e_.t_.__.p_.e_.e_.r_.__.c_.l_.a_.s_.s_.__.t_.y_.p_.e_.__.f_.i_.l_.t_.e_.r_.(_.)_.·_.g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) |
63 | ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) | 63 | ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) |
64 | ··········o·_\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) | 64 | ··········o·_\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) |
65 | ··········o·_\x8 | 65 | ··········o·_\x8g_.e_.t_.__.p_.e_.e_.r_.__.c_.l_.a_.s_.s_.(_.)_.·_.s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) |
66 | ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 66 | ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
67 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8)_\x8·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) | 67 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8)_\x8·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) |
68 | ··········o·_\x8w_\x8a_\x8i_\x8t_\x8__\x8f_\x8o_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8(_\x8)_\x8·_\x8 | 68 | ··········o·_\x8w_\x8a_\x8i_\x8t_\x8__\x8f_\x8o_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8(_\x8)_\x8·_\x8s_.e_.t_.__.a_.l_.e_.r_.t_.__.n_.o_.t_.i_.f_.y_.(_.)_.·_.p_.o_.p_.__.a_.l_.e_.r_.t_.s_\x8(_\x8) |
69 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8m_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8(_\x8)_\x8·_\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8m_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8(_\x8) | 69 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8m_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8(_\x8)_\x8·_\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8m_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8(_\x8) |
70 | ··········o·_\x8r_\x8e_\x8o_\x8p_\x8e_\x8n_\x8__\x8n_\x8e_\x8t_\x8w_\x8o_\x8r_\x8k_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8s_\x8(_\x8) | 70 | ··········o·_\x8r_\x8e_\x8o_\x8p_\x8e_\x8n_\x8__\x8n_\x8e_\x8t_\x8w_\x8o_\x8r_\x8k_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8s_\x8(_\x8) |
71 | ··········o·_\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8) | 71 | ··········o·_\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8) |
72 | ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8 | 72 | ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_.)_.·_.w_.r_.i_.t_.e_.__.s_.e_.s_.s_.i_.o_.n_.__.p_.a_.r_.a_.m_.s_.__.b_.u_.f_.(_.)_.·_.r_.e_.a_.d_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) |
73 | ····*·_\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8__\x8e_\x8n_\x8t_\x8r_\x8y | 73 | ····*·_\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8__\x8e_\x8n_\x8t_\x8r_\x8y |
74 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) | 74 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) |
75 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8(_\x8) | 75 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8(_\x8) |
76 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 76 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
77 | ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8s | 77 | ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8s |
78 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o | 78 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o |
79 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8) | 79 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8) |
80 | ··········o·_\x8~_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8) | 80 | ··········o·_\x8~_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8) |
81 | ··········o·_\x8o_\x8r_\x8i_\x8g_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 81 | ··········o·_\x8o_\x8r_\x8i_\x8g_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
82 | ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 82 | ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
83 | ··········o·_\x8r_\x8e_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 83 | ··········o·_\x8r_\x8e_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
84 | ··········o·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8) | ||
85 | ··········o·_\x8s_\x8i_\x8m_\x8i_\x8l_\x8a_\x8r_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s_\x8(_\x8)_\x8·_\x8c_\x8o_\x8l_\x8l_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8) | ||
86 | ··········o·_\x8 | 84 | ··········o·_\x8t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_.a_.d_.d_.__.t_.r_.a_.c_.k_.e_.r_.(_.)_.·_.c_.l_.e_.a_.r_.__.t_.r_.a_.c_.k_.e_.r_\x8s_\x8(_\x8) |
85 | ··········o·_\x8c_\x8o_\x8l_\x8l_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8)_\x8·_\x8s_\x8i_\x8m_\x8i_\x8l_\x8a_\x8r_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s_\x8(_\x8) | ||
86 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8) | ||
87 | ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) | 87 | ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) |
88 | ··········o·_\x8 | 88 | ··········o·_\x8n_.u_.m_.__.p_.i_.e_.c_.e_.s_.(_.)_.·_.p_.i_.e_.c_.e_.__.l_.e_.n_.g_.t_.h_\x8(_\x8) |
89 | ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 89 | ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
90 | ··········o·_\x8 | 90 | ··········o·_\x8e_.n_.d_.__.p_.i_.e_.c_.e_.(_.)_.·_.l_.a_.s_.t_.__.p_.i_.e_.c_.e_.(_.)_.·_.p_.i_.e_.c_.e_.__.r_.a_.n_.g_\x8e_\x8(_\x8) |
91 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8 | 91 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_.)_.·_.i_.n_.f_.o_.__.h_.a_.s_.h_.e_.s_\x8(_\x8) |
92 | ··········o·_\x8v_\x81_\x8(_\x8)_\x8·_\x8v_\x82_\x8(_\x8) | 92 | ··········o·_\x8v_\x81_\x8(_\x8)_\x8·_\x8v_\x82_\x8(_\x8) |
93 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 93 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
94 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8) | 94 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8) |
95 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 95 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
96 | ··········o·_\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8(_\x8) | 96 | ··········o·_\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8(_\x8) |
97 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) | 97 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) |
98 | ··········o·_\x8p_\x8r_\x8i_\x8v_\x8(_\x8) | 98 | ··········o·_\x8p_\x8r_\x8i_\x8v_\x8(_\x8) |
Offset 110, 22 lines modified | Offset 110, 22 lines modified | ||
110 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) | 110 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) |
111 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8a_\x8y_\x8e_\x8r_\x8(_\x8) | 111 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8a_\x8y_\x8e_\x8r_\x8(_\x8) |
112 | ··········o·_\x8f_\x8r_\x8e_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8a_\x8y_\x8e_\x8r_\x8s_\x8(_\x8) | 112 | ··········o·_\x8f_\x8r_\x8e_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8a_\x8y_\x8e_\x8r_\x8s_\x8(_\x8) |
113 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o | 113 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o |
114 | ··········o·_\x8i_\x82_\x8p_\x8__\x8d_\x8e_\x8s_\x8t_\x8i_\x8n_\x8a_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) | 114 | ··········o·_\x8i_\x82_\x8p_\x8__\x8d_\x8e_\x8s_\x8t_\x8i_\x8n_\x8a_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) |
115 | ····*·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t | 115 | ····*·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t |
116 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t_\x8(_\x8) | 116 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t_\x8(_\x8) |
117 | ··········o·_\x8h_\x8a_\x8s_\x8 | 117 | ··········o·_\x8h_\x8a_\x8s_\x8(_.)_.·_.h_.a_.s_.__.v_.2_.(_.)_.·_.h_.a_.s_.__.v_.1_\x8(_\x8) |
118 | ··········o·_\x8g_\x8e_\x8t_\x8(_\x8) | 118 | ··········o·_\x8g_\x8e_\x8t_\x8(_\x8) |
119 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8e_\x8s_\x8t_\x8(_\x8) | 119 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8e_\x8s_\x8t_\x8(_\x8) |
120 | ··········o·_\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8(_\x8) | 120 | ··········o·_\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8(_\x8) |
121 | ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k | 121 | ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k |
122 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t | 122 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t |
123 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) | 123 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) |
124 | ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8 | 124 | ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_.a_.r_.s_.e_.d_.(_.)_.·_.l_.o_.a_.d_.__.t_.o_.r_.r_.e_.n_.t_.__.b_.u_.f_.f_.e_.r_.(_.)_.·_.l_.o_.a_.d_.__.t_.o_.r_.r_.e_.n_.t_.__.f_.i_.l_.e_\x8(_\x8) |
125 | ····*·_\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | 125 | ····*·_\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) |
126 | ····*·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | 126 | ····*·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) |
127 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) | 127 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) |
128 | ····*·_\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 128 | ····*·_\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
129 | ····*·_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 129 | ····*·_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
130 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 130 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
131 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n | 131 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n |
Offset 151, 74 lines modified | Offset 151, 74 lines modified | ||
151 | ··········o·_\x8o_\x8n_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8(_\x8) | 151 | ··········o·_\x8o_\x8n_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8(_\x8) |
152 | ··········o·_\x8o_\x8n_\x8__\x8u_\x8n_\x8k_\x8n_\x8o_\x8w_\x8n_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 152 | ··········o·_\x8o_\x8n_\x8__\x8u_\x8n_\x8k_\x8n_\x8o_\x8w_\x8n_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
153 | ··········o·_\x8o_\x8n_\x8__\x8t_\x8i_\x8c_\x8k_\x8(_\x8) | 153 | ··········o·_\x8o_\x8n_\x8__\x8t_\x8i_\x8c_\x8k_\x8(_\x8) |
154 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8u_\x8n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8) | 154 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8u_\x8n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8) |
155 | ··········o·_\x8l_\x8o_\x8a_\x8d_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) | 155 | ··········o·_\x8l_\x8o_\x8a_\x8d_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) |
156 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n | 156 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n |
157 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) | 157 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) |
158 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8 | 158 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_.a_.s_.s_.(_.)_.·_.o_.n_.__.p_.i_.e_.c_.e_.__.f_.a_.i_.l_.e_.d_\x8(_\x8) |
159 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) | 159 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) |
160 | ··········o·_\x8o_\x8n_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8) | 160 | ··········o·_\x8o_\x8n_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8) |
161 | ··········o·_\x8o_\x8n_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8__\x8c_\x8h_\x8e_\x8c_\x8k_\x8e_\x8d_\x8(_\x8) | 161 | ··········o·_\x8o_\x8n_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8__\x8c_\x8h_\x8e_\x8c_\x8k_\x8e_\x8d_\x8(_\x8) |
162 | ··········o·_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) | 162 | ··········o·_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) |
163 | ··········o·_\x8o_\x8n_\x8__\x8a_\x8d_\x8d_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) | 163 | ··········o·_\x8o_\x8n_\x8__\x8a_\x8d_\x8d_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) |
164 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n | 164 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n |
165 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) | 165 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) |
166 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) | 166 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) |
167 | ··········o·_\x8o_\x8n_\x8__\x8d_\x8i_\x8s_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8(_\x8) | 167 | ··········o·_\x8o_\x8n_\x8__\x8d_\x8i_\x8s_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8(_\x8) |
168 | ··········o·_\x8o_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8e_\x8d_\x8(_\x8) | 168 | ··········o·_\x8o_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8e_\x8d_\x8(_\x8) |
169 | ··········o·_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) | 169 | ··········o·_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) |
170 | ··········o·_\x8o_\x8n_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) | 170 | ··········o·_\x8o_\x8n_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) |
171 | ··········o·_\x8o_\x8n_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8d_\x8o_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8a_\x8l_\x8l_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8) | ||
172 | ············_\x8o_\x8n_\x8__\x8n_\x8o_\x8t_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8u_\x8n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e | ||
173 | ··········· | 171 | ··········o·_.o_.n_.__.h_.a_.v_.e_.(_.)_.·_.o_.n_.__.c_.h_.o_.k_.e_.(_.)_.·_.o_.n_.__.b_.i_.t_.f_.i_.e_.l_.d_.(_.)_.·_.o_.n_.__.u_.n_.c_.h_.o_.k_.e_.(_.)_.·_.o_.n_.__.r_.e_.q_.u_.e_.s_.t_\x8(_\x8) |
172 | ············_\x8o_\x8n_\x8__\x8n_\x8o_\x8t_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8d_\x8o_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8a_\x8l_\x8l_\x8(_\x8) | ||
Max diff block lines reached; 232639/244771 bytes (95.04%) of diff not shown. |