Offset 1, 7 lines modified | Offset 1, 7 lines modified | ||
1 | ·d2aebf0b6af3b7c2831340258780e4f9·365484·libdevel·optional·libtorrent-rasterbar-dev_2.0.10-1.1_arm64.deb | 1 | ·d2aebf0b6af3b7c2831340258780e4f9·365484·libdevel·optional·libtorrent-rasterbar-dev_2.0.10-1.1_arm64.deb |
2 | · | 2 | ·57926f0135473e8b92089712071f884c·1669376·doc·optional·libtorrent-rasterbar-doc_2.0.10-1.1_all.deb |
3 | ·4ea688e25f1c7b76b7a31ebc104b4765·50636260·debug·optional·libtorrent-rasterbar2.0t64-dbgsym_2.0.10-1.1_arm64.deb | 3 | ·4ea688e25f1c7b76b7a31ebc104b4765·50636260·debug·optional·libtorrent-rasterbar2.0t64-dbgsym_2.0.10-1.1_arm64.deb |
4 | ·9a967de069a0f601ae35feaf1a8d2a9e·1486764·libs·optional·libtorrent-rasterbar2.0t64_2.0.10-1.1_arm64.deb | 4 | ·9a967de069a0f601ae35feaf1a8d2a9e·1486764·libs·optional·libtorrent-rasterbar2.0t64_2.0.10-1.1_arm64.deb |
5 | ·96a308414668e11da31373169f1d29b9·13139796·debug·optional·python3-libtorrent-dbgsym_2.0.10-1.1_arm64.deb | 5 | ·96a308414668e11da31373169f1d29b9·13139796·debug·optional·python3-libtorrent-dbgsym_2.0.10-1.1_arm64.deb |
6 | ·d0f5c37d6287cebd8e8adf297479e49a·673992·python·optional·python3-libtorrent_2.0.10-1.1_arm64.deb | 6 | ·d0f5c37d6287cebd8e8adf297479e49a·673992·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·····3632·2024-02-28·20:35:15.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····3632·2024-02-28·20:35:15.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··16655 | 3 | -rw-r--r--···0········0········0··1665552·2024-02-28·20:35:15.000000·data.tar.xz |
Offset 30, 15 lines modified | Offset 30, 15 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="#client-data-t"·id="toc-entry-1">client_data_t</a><ul> | 35 | <li><a·class="reference·internal"·href="#client-data-t"·id="toc-entry-1">client_data_t</a><ul> |
36 | <li><a·class="reference·internal"·href="#client-data-t-1"·id="toc-entry-2">client_data_t()</a></li> | 36 | <li><a·class="reference·internal"·href="#client-data-t-1"·id="toc-entry-2">client_data_t()</a></li> |
37 | <li><a·class="reference·internal"·href="#void-operator | 37 | <li><a·class="reference·internal"·href="#const-void-operator"·id="toc-entry-3">const*()·void*()·operator=()</a></li> |
38 | </ul> | 38 | </ul> |
39 | </li> | 39 | </li> |
40 | <li><a·class="reference·internal"·href="#add-torrent-params"·id="toc-entry-4">add_torrent_params</a></li> | 40 | <li><a·class="reference·internal"·href="#add-torrent-params"·id="toc-entry-4">add_torrent_params</a></li> |
41 | </ul> | 41 | </ul> |
42 | </div> | 42 | </div> |
43 | <a·name="client_data_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+client_data_t&labels=documentation&body=Documentation+under+heading+%22class+client_data_t%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="client-data-t"> | 43 | <a·name="client_data_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+client_data_t&labels=documentation&body=Documentation+under+heading+%22class+client_data_t%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="client-data-t"> |
44 | <h1>client_data_t</h1> | 44 | <h1>client_data_t</h1> |
Offset 50, 38 lines modified | Offset 50, 38 lines modified | ||
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; | 55 | ···T*·<strong>get</strong>·()·const; |
56 | ···explicit·operator·<strong>T</strong>·()·const; | 56 | ···explicit·operator·<strong>T</strong>·()·const; |
57 | ···operator·void·<strong>const*</strong>·()·const·=·delete; | ||
58 | ···client_data_t&·<strong>operator=</strong>·(void·const*)·=·delete; | ||
59 | ···operator·<strong>void*</strong>·()·const·=·delete; | 57 | ···operator·<strong>void*</strong>·()·const·=·delete; |
58 | ···client_data_t&·<strong>operator=</strong>·(void·const*)·=·delete; | ||
60 | ···client_data_t&·<strong>operator=</strong>·(void*)·=·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"> |
67 | <strong>client_data_t</strong>·()·=·default; | 67 | <strong>client_data_t</strong>·()·=·default; |
68 | </pre> | 68 | </pre> |
69 | <p>construct·a·nullptr·client·data</p> | 69 | <p>construct·a·nullptr·client·data</p> |
70 | <a·name="const*()"></a> | ||
70 | <a·name="void*()"></a> | 71 | <a·name="void*()"></a> |
71 | <a·name="operator=()"></a> | ||
72 | <a·name=" | 72 | <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:client_data_t%3A%3A%5Bconst%2A%28%29+void%2A%28%29+operator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22client_data_t%3[·...·truncated·by·diffoscope;·len:·47,·SHA:·85c8f8e8398e7323669f59f922becaeaf40ea6c6a45d9b1afbda5050cb125eab·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
73 | <div·class="section"·id="void-operator | 73 | <div·class="section"·id="const-void-operator"> |
74 | <h2>void*()·operator= | 74 | <h2>const*()·void*()·operator=()</h2> |
75 | <pre·class="literal-block"> | 75 | <pre·class="literal-block"> |
76 | operator·void·<strong>const*</strong>·()·const·=·delete; | ||
77 | client_data_t&·<strong>operator=</strong>·(void·const*)·=·delete; | ||
78 | operator·<strong>void*</strong>·()·const·=·delete; | 76 | operator·<strong>void*</strong>·()·const·=·delete; |
77 | client_data_t&·<strong>operator=</strong>·(void·const*)·=·delete; | ||
79 | client_data_t&·<strong>operator=</strong>·(void*)·=·delete; | 78 | client_data_t&·<strong>operator=</strong>·(void*)·=·delete; |
79 | operator·void·<strong>const*</strong>·()·const·=·delete; | ||
80 | </pre> | 80 | </pre> |
81 | <p>we·don't·allow·type-unsafe·operations</p> | 81 | <p>we·don't·allow·type-unsafe·operations</p> |
82 | <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> | 82 | <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 | </div> | 83 | </div> |
84 | <div·class="section"·id="add-torrent-params"> | 84 | <div·class="section"·id="add-torrent-params"> |
85 | <h1>add_torrent_params</h1> | 85 | <h1>add_torrent_params</h1> |
86 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/add_torrent_params.hpp">libtorrent/add_torrent_params.hpp</a>"</p> | 86 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/add_torrent_params.hpp">libtorrent/add_torrent_params.hpp</a>"</p> |
Offset 1, 47 lines modified | Offset 1, 47 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_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t | 6 | ····*·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t |
7 | ··········o·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8(_\x8) | 7 | ··········o·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8(_\x8) |
8 | ··········o·_\x8 | 8 | ··········o·_\x8c_.o_.n_.s_.t_.*_.(_.)_.·_.v_.o_.i_.d_.*_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_\x8(_\x8) |
9 | ····*·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s | 9 | ····*·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s |
10 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 10 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
11 | *\x8**\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* | 11 | *\x8**\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* |
12 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p" | 12 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p" |
13 | A·thin·wrapper·around·a·void·pointer·used·as·"user·data".·i.e.·an·opaque·cookie | 13 | A·thin·wrapper·around·a·void·pointer·used·as·"user·data".·i.e.·an·opaque·cookie |
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; | 21 | ···T*·g\x8ge\x8et\x8t·()·const; |
22 | ···explicit·operator·T\x8T·()·const; | 22 | ···explicit·operator·T\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·const*)·=·delete; | ||
25 | ···operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; | 23 | ···operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; |
24 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; | ||
26 | ···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*)·=·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*· | 35 | *\x8**\x8**\x8**\x8**\x8*·c.co.on.ns.st.t*.*(.().)·v.vo.oi.id.d*.*(.().)·o.op.pe.er.ra.at.to.or.r=.=(\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·const*)·=·delete; | ||
38 | operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; | 36 | operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; |
37 | client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; | ||
39 | 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*)·=·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 94, 15 lines modified | Offset 94, 15 lines modified | ||
94 | <li><a·class="reference·internal"·href="#piece-finished-alert"·id="toc-entry-42">piece_finished_alert</a></li> | 94 | <li><a·class="reference·internal"·href="#piece-finished-alert"·id="toc-entry-42">piece_finished_alert</a></li> |
95 | <li><a·class="reference·internal"·href="#request-dropped-alert"·id="toc-entry-43">request_dropped_alert</a></li> | 95 | <li><a·class="reference·internal"·href="#request-dropped-alert"·id="toc-entry-43">request_dropped_alert</a></li> |
96 | <li><a·class="reference·internal"·href="#block-timeout-alert"·id="toc-entry-44">block_timeout_alert</a></li> | 96 | <li><a·class="reference·internal"·href="#block-timeout-alert"·id="toc-entry-44">block_timeout_alert</a></li> |
97 | <li><a·class="reference·internal"·href="#block-finished-alert"·id="toc-entry-45">block_finished_alert</a></li> | 97 | <li><a·class="reference·internal"·href="#block-finished-alert"·id="toc-entry-45">block_finished_alert</a></li> |
98 | <li><a·class="reference·internal"·href="#block-downloading-alert"·id="toc-entry-46">block_downloading_alert</a></li> | 98 | <li><a·class="reference·internal"·href="#block-downloading-alert"·id="toc-entry-46">block_downloading_alert</a></li> |
99 | <li><a·class="reference·internal"·href="#unwanted-block-alert"·id="toc-entry-47">unwanted_block_alert</a></li> | 99 | <li><a·class="reference·internal"·href="#unwanted-block-alert"·id="toc-entry-47">unwanted_block_alert</a></li> |
100 | <li><a·class="reference·internal"·href="#storage-moved-alert"·id="toc-entry-48">storage_moved_alert</a><ul> | 100 | <li><a·class="reference·internal"·href="#storage-moved-alert"·id="toc-entry-48">storage_moved_alert</a><ul> |
101 | <li><a·class="reference·internal"·href="# | 101 | <li><a·class="reference·internal"·href="#old-path-storage-path"·id="toc-entry-49">old_path()·storage_path()</a></li> |
102 | </ul> | 102 | </ul> |
103 | </li> | 103 | </li> |
104 | <li><a·class="reference·internal"·href="#storage-moved-failed-alert"·id="toc-entry-50">storage_moved_failed_alert</a><ul> | 104 | <li><a·class="reference·internal"·href="#storage-moved-failed-alert"·id="toc-entry-50">storage_moved_failed_alert</a><ul> |
105 | <li><a·class="reference·internal"·href="#file-path"·id="toc-entry-51">file_path()</a></li> | 105 | <li><a·class="reference·internal"·href="#file-path"·id="toc-entry-51">file_path()</a></li> |
106 | </ul> | 106 | </ul> |
107 | </li> | 107 | </li> |
108 | <li><a·class="reference·internal"·href="#torrent-deleted-alert"·id="toc-entry-52">torrent_deleted_alert</a></li> | 108 | <li><a·class="reference·internal"·href="#torrent-deleted-alert"·id="toc-entry-52">torrent_deleted_alert</a></li> |
Offset 199, 15 lines modified | Offset 199, 15 lines modified | ||
199 | </ul> | 199 | </ul> |
200 | </li> | 200 | </li> |
201 | <li><a·class="reference·internal"·href="#dht-get-peers-reply-alert"·id="toc-entry-117">dht_get_peers_reply_alert</a></li> | 201 | <li><a·class="reference·internal"·href="#dht-get-peers-reply-alert"·id="toc-entry-117">dht_get_peers_reply_alert</a></li> |
202 | <li><a·class="reference·internal"·href="#dht-direct-response-alert"·id="toc-entry-118">dht_direct_response_alert</a></li> | 202 | <li><a·class="reference·internal"·href="#dht-direct-response-alert"·id="toc-entry-118">dht_direct_response_alert</a></li> |
203 | <li><a·class="reference·internal"·href="#picker-log-alert"·id="toc-entry-119">picker_log_alert</a></li> | 203 | <li><a·class="reference·internal"·href="#picker-log-alert"·id="toc-entry-119">picker_log_alert</a></li> |
204 | <li><a·class="reference·internal"·href="#session-error-alert"·id="toc-entry-120">session_error_alert</a></li> | 204 | <li><a·class="reference·internal"·href="#session-error-alert"·id="toc-entry-120">session_error_alert</a></li> |
205 | <li><a·class="reference·internal"·href="#dht-live-nodes-alert"·id="toc-entry-121">dht_live_nodes_alert</a><ul> | 205 | <li><a·class="reference·internal"·href="#dht-live-nodes-alert"·id="toc-entry-121">dht_live_nodes_alert</a><ul> |
206 | <li><a·class="reference·internal"·href="#n | 206 | <li><a·class="reference·internal"·href="#num-nodes-nodes"·id="toc-entry-122">num_nodes()·nodes()</a></li> |
207 | </ul> | 207 | </ul> |
208 | </li> | 208 | </li> |
209 | <li><a·class="reference·internal"·href="#session-stats-header-alert"·id="toc-entry-123">session_stats_header_alert</a></li> | 209 | <li><a·class="reference·internal"·href="#session-stats-header-alert"·id="toc-entry-123">session_stats_header_alert</a></li> |
210 | <li><a·class="reference·internal"·href="#dht-sample-infohashes-alert"·id="toc-entry-124">dht_sample_infohashes_alert</a><ul> | 210 | <li><a·class="reference·internal"·href="#dht-sample-infohashes-alert"·id="toc-entry-124">dht_sample_infohashes_alert</a><ul> |
211 | <li><a·class="reference·internal"·href="#num-samples-samples"·id="toc-entry-125">num_samples()·samples()</a></li> | 211 | <li><a·class="reference·internal"·href="#num-samples-samples"·id="toc-entry-125">num_samples()·samples()</a></li> |
212 | <li><a·class="reference·internal"·href="#num-nodes"·id="toc-entry-126">num_nodes()</a></li> | 212 | <li><a·class="reference·internal"·href="#num-nodes"·id="toc-entry-126">num_nodes()</a></li> |
213 | <li><a·class="reference·internal"·href="#nodes"·id="toc-entry-127">nodes()</a></li> | 213 | <li><a·class="reference·internal"·href="#nodes"·id="toc-entry-127">nodes()</a></li> |
Offset 1293, 17 lines modified | Offset 1293, 17 lines modified | ||
1293 | ···std::string·<strong>message</strong>·()·const·override; | 1293 | ···std::string·<strong>message</strong>·()·const·override; |
1294 | ···char·const*·<strong>old_path</strong>·()·const; | 1294 | ···char·const*·<strong>old_path</strong>·()·const; |
1295 | ···char·const*·<strong>storage_path</strong>·()·const; | 1295 | ···char·const*·<strong>storage_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=" | 1299 | <a·name="old_path()"></a> |
1300 | <a·name="o | 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[·...·truncated·by·diffoscope;·len:·133,·SHA:·f03c2d670d1e08a07d33846dab9b8fed189c204ce90def8a9d82cde57dba7c37·...·]-path"> |
1301 | <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; | 1303 | char·const*·<strong>old_path</strong>·()·const; |
1304 | char·const*·<strong>storage_path</strong>·()·const; | 1304 | char·const*·<strong>storage_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> |
Offset 2944, 27 lines modified | Offset 2944, 27 lines modified | ||
2944 | <p>posted·in·response·to·a·call·to·session::dht_live_nodes().·It·contains·the | 2944 | <p>posted·in·response·to·a·call·to·session::dht_live_nodes().·It·contains·the |
2945 | live·nodes·from·the·DHT·routing·table·of·one·of·the·DHT·nodes·running | 2945 | live·nodes·from·the·DHT·routing·table·of·one·of·the·DHT·nodes·running |
2946 | locally.</p> | 2946 | locally.</p> |
2947 | <pre·class="literal-block"> | 2947 | <pre·class="literal-block"> |
2948 | struct·dht_live_nodes_alert·final·:·alert | 2948 | struct·dht_live_nodes_alert·final·:·alert |
2949 | { | 2949 | { |
2950 | ···std::string·<strong>message</strong>·()·const·override; | 2950 | ···std::string·<strong>message</strong>·()·const·override; |
2951 | ···std::vector<std::pair<sha1_hash,·udp::endpoint>>·<strong>nodes</strong>·()·const; | ||
2952 | ···int·<strong>num_nodes</strong>·()·const; | 2951 | ···int·<strong>num_nodes</strong>·()·const; |
2952 | ···std::vector<std::pair<sha1_hash,·udp::endpoint>>·<strong>nodes</strong>·()·const; | ||
2953 | ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::dht; | 2953 | ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::dht; |
2954 | ···sha1_hash·node_id; | 2954 | ···sha1_hash·node_id; |
2955 | }; | 2955 | }; |
2956 | </pre> | 2956 | </pre> |
2957 | <a·name="nodes()"></a> | 2957 | <a·name="num_nodes()"></a> |
2958 | <a·name="n | 2958 | <a·name="nodes()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_live_nodes_alert%3A%3A%5Bnum_nodes%28%29+nodes%28%29%5D&labels=documentation&body=Documentation+under+heading+%22dht_live_nodes_alert%3A%3A%5Bnum[·...·truncated·by·diffoscope;·len:·108,·SHA:·6c1f184c8446b4a39160756aa8259980f752dfdf6a3363a228465839611b6390·...·]-nodes"> |
2959 | <h2>nodes()· | 2959 | <h2>num_nodes()·nodes()</h2> |
2960 | <pre·class="literal-block"> | 2960 | <pre·class="literal-block"> |
2961 | std::vector<std::pair<sha1_hash,·udp::endpoint>>·<strong>nodes</strong>·()·const; | ||
2962 | int·<strong>num_nodes</strong>·()·const; | 2961 | int·<strong>num_nodes</strong>·()·const; |
2962 | std::vector<std::pair<sha1_hash,·udp::endpoint>>·<strong>nodes</strong>·()·const; | ||
2963 | </pre> | 2963 | </pre> |
2964 | <p>the·number·of·nodes·in·the·routing·table·and·the·actual·nodes.</p> | 2964 | <p>the·number·of·nodes·in·the·routing·table·and·the·actual·nodes.</p> |
2965 | <a·name="node_id"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_live_nodes_alert%3A%3A%5Bnode_id%5D&labels=documentation&body=Documentation+under+heading+%22dht_live_nodes_alert%3A%3A%5Bnode_id%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | 2965 | <a·name="node_id"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_live_nodes_alert%3A%3A%5Bnode_id%5D&labels=documentation&body=Documentation+under+heading+%22dht_live_nodes_alert%3A%3A%5Bnode_id%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> |
2966 | <dt>node_id</dt> | 2966 | <dt>node_id</dt> |
2967 | <dd>the·local·DHT·node's·node-ID·this·routing·table·belongs·to</dd> | 2967 | <dd>the·local·DHT·node's·node-ID·this·routing·table·belongs·to</dd> |
2968 | </dl> | 2968 | </dl> |
2969 | <a·name="session_stats_header_alert"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+session_stats_header_alert&labels=documentation&body=Documentation+under+heading+%22class+session_stats_header_alert%22+could+be+improved">report·issue</a>]</span></div> | 2969 | <a·name="session_stats_header_alert"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+session_stats_header_alert&labels=documentation&body=Documentation+under+heading+%22class+session_stats_header_alert%22+could+be+improved">report·issue</a>]</span></div> |
Offset 3299, 16 lines modified | Offset 3299, 16 lines modified | ||
3299 | <dd>list·of·trackers·and·their·status·for·the·torrent</dd> | 3299 | <dd>list·of·trackers·and·their·status·for·the·torrent</dd> |
3300 | </dl> | 3300 | </dl> |
3301 | <a·name="alert_cast()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:alert_cast%28%29&labels=documentation&body=Documentation+under+heading+%22alert_cast%28%29%22+could+be+improved">report·issue</a>]</span></div> | 3301 | <a·name="alert_cast()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:alert_cast%28%29&labels=documentation&body=Documentation+under+heading+%22alert_cast%28%29%22+could+be+improved">report·issue</a>]</span></div> |
3302 | <div·class="section"·id="alert-cast"> | 3302 | <div·class="section"·id="alert-cast"> |
3303 | <h1>alert_cast()</h1> | 3303 | <h1>alert_cast()</h1> |
3304 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/alert.hpp">libtorrent/alert.hpp</a>"</p> | 3304 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/alert.hpp">libtorrent/alert.hpp</a>"</p> |
3305 | <pre·class="literal-block"> | 3305 | <pre·class="literal-block"> |
3306 | template·<typename·T>·T*·<strong>alert_cast</strong>·(alert*·a); | ||
3307 | template·<typename·T>·T·const*·<strong>alert_cast</strong>·(alert·const*·a); | 3306 | template·<typename·T>·T·const*·<strong>alert_cast</strong>·(alert·const*·a); |
3307 | template·<typename·T>·T*·<strong>alert_cast</strong>·(alert*·a); | ||
3308 | </pre> | 3308 | </pre> |
3309 | <p>When·you·get·an·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>,·you·can·use·<tt·class="docutils·literal">alert_cast<></tt>·to·attempt·to·cast·the | 3309 | <p>When·you·get·an·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>,·you·can·use·<tt·class="docutils·literal">alert_cast<></tt>·to·attempt·to·cast·the |
3310 | pointer·to·a·specific·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>·type,·in·order·to·query·it·for·more | 3310 | pointer·to·a·specific·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>·type,·in·order·to·query·it·for·more |
3311 | information.</p> | 3311 | information.</p> |
3312 | <div·class="admonition·note"> | 3312 | <div·class="admonition·note"> |
3313 | <p·class="first·admonition-title">Note</p> | 3313 | <p·class="first·admonition-title">Note</p> |
3314 | <p·class="last"><tt·class="docutils·literal">alert_cast<></tt>·can·only·cast·to·an·exact·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>·type,·not·a·base·class</p> | 3314 | <p·class="last"><tt·class="docutils·literal">alert_cast<></tt>·can·only·cast·to·an·exact·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>·type,·not·a·base·class</p> |
Offset 47, 15 lines modified | Offset 47, 15 lines modified | ||
47 | ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8f_\x8i_\x8n_\x8i_\x8s_\x8h_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 47 | ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8f_\x8i_\x8n_\x8i_\x8s_\x8h_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
48 | ····*·_\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8__\x8d_\x8r_\x8o_\x8p_\x8p_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 48 | ····*·_\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8__\x8d_\x8r_\x8o_\x8p_\x8p_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
49 | ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8t_\x8i_\x8m_\x8e_\x8o_\x8u_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 49 | ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8t_\x8i_\x8m_\x8e_\x8o_\x8u_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
50 | ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8f_\x8i_\x8n_\x8i_\x8s_\x8h_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 50 | ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8f_\x8i_\x8n_\x8i_\x8s_\x8h_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
51 | ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 51 | ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
52 | ····*·_\x8u_\x8n_\x8w_\x8a_\x8n_\x8t_\x8e_\x8d_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 52 | ····*·_\x8u_\x8n_\x8w_\x8a_\x8n_\x8t_\x8e_\x8d_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
53 | ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8m_\x8o_\x8v_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 53 | ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8m_\x8o_\x8v_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
54 | ··········o·_\x8 | 54 | ··········o·_\x8o_.l_.d_.__.p_.a_.t_.h_.(_.)_.·_.s_.t_.o_.r_.a_.g_.e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8) |
55 | ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8m_\x8o_\x8v_\x8e_\x8d_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 55 | ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8m_\x8o_\x8v_\x8e_\x8d_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
56 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8) | 56 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8) |
57 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 57 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
58 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 58 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
59 | ····*·_\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 59 | ····*·_\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
60 | ····*·_\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 60 | ····*·_\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
61 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 61 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
Offset 120, 15 lines modified | Offset 120, 15 lines modified | ||
120 | ··········o·_\x8p_\x8k_\x8t_\x8__\x8b_\x8u_\x8f_\x8(_\x8) | 120 | ··········o·_\x8p_\x8k_\x8t_\x8__\x8b_\x8u_\x8f_\x8(_\x8) |
121 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t | 121 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t |
122 | ····*·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8__\x8r_\x8e_\x8p_\x8l_\x8y_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 122 | ····*·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8__\x8r_\x8e_\x8p_\x8l_\x8y_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
123 | ····*·_\x8d_\x8h_\x8t_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8__\x8r_\x8e_\x8s_\x8p_\x8o_\x8n_\x8s_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 123 | ····*·_\x8d_\x8h_\x8t_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8__\x8r_\x8e_\x8s_\x8p_\x8o_\x8n_\x8s_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
124 | ····*·_\x8p_\x8i_\x8c_\x8k_\x8e_\x8r_\x8__\x8l_\x8o_\x8g_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 124 | ····*·_\x8p_\x8i_\x8c_\x8k_\x8e_\x8r_\x8__\x8l_\x8o_\x8g_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
125 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 125 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
126 | ····*·_\x8d_\x8h_\x8t_\x8__\x8l_\x8i_\x8v_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 126 | ····*·_\x8d_\x8h_\x8t_\x8__\x8l_\x8i_\x8v_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
127 | ··········o·_\x8n_\x8 | 127 | ··········o·_\x8n_\x8u_.m_.__.n_.o_.d_.e_.s_.(_.)_.·_\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) |
128 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8h_\x8e_\x8a_\x8d_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 128 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8h_\x8e_\x8a_\x8d_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
129 | ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 129 | ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
130 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s_\x8(_\x8) | 130 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s_\x8(_\x8) |
131 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) | 131 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) |
132 | ··········o·_\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) | 132 | ··········o·_\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) |
133 | ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 133 | ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
134 | ····*·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8__\x8d_\x8r_\x8o_\x8p_\x8p_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 134 | ····*·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8__\x8d_\x8r_\x8o_\x8p_\x8p_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
Offset 1042, 15 lines modified | Offset 1042, 15 lines modified | ||
1042 | ···char·const*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h·()·const; | 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; | 1043 | ···char·const*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\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*· | 1048 | *\x8**\x8**\x8**\x8**\x8*·o.ol.ld.d_._p.pa.at.th.h(.().)·s.st.to.or.ra.ag.ge.e_\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; | 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; | 1050 | char·const*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\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 |
Offset 2288, 24 lines modified | Offset 2288, 24 lines modified | ||
2288 | *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8dh\x8ht\x8t_\x8_l\x8li\x8iv\x8ve\x8e_\x8_n\x8no\x8od\x8de\x8es\x8s_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* | 2288 | *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8dh\x8ht\x8t_\x8_l\x8li\x8iv\x8ve\x8e_\x8_n\x8no\x8od\x8de\x8es\x8s_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* |
2289 | 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" | 2289 | 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" |
2290 | posted·in·response·to·a·call·to·session::dht_live_nodes().·It·contains·the·live | 2290 | posted·in·response·to·a·call·to·session::dht_live_nodes().·It·contains·the·live |
2291 | nodes·from·the·DHT·routing·table·of·one·of·the·DHT·nodes·running·locally. | 2291 | nodes·from·the·DHT·routing·table·of·one·of·the·DHT·nodes·running·locally. |
2292 | struct·dht_live_nodes_alert·final·:·alert | 2292 | struct·dht_live_nodes_alert·final·:·alert |
2293 | { | 2293 | { |
2294 | ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override; | 2294 | ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override; |
2295 | ···std::vector<std::pair<sha1_hash,·udp::endpoint>>·n\x8no\x8od\x8de\x8es\x8s·()·const; | ||
2296 | ···int·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s·()·const; | 2295 | ···int·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s·()·const; |
2296 | ···std::vector<std::pair<sha1_hash,·udp::endpoint>>·n\x8no\x8od\x8de\x8es\x8s·()·const; | ||
2297 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category::dht; | 2297 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category::dht; |
2298 | ···sha1_hash·node_id; | 2298 | ···sha1_hash·node_id; |
2299 | }; | 2299 | }; |
2300 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 2300 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
2301 | *\x8**\x8**\x8**\x8**\x8*·n\x8n | 2301 | *\x8**\x8**\x8**\x8**\x8*·n\x8nu.um.m_._n.no.od.de.es.s(.().)·n\x8no\x8od\x8de\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
2302 | std::vector<std::pair<sha1_hash,·udp::endpoint>>·n\x8no\x8od\x8de\x8es\x8s·()·const; | ||
2303 | int·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s·()·const; | 2302 | int·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s·()·const; |
2303 | std::vector<std::pair<sha1_hash,·udp::endpoint>>·n\x8no\x8od\x8de\x8es\x8s·()·const; | ||
2304 | the·number·of·nodes·in·the·routing·table·and·the·actual·nodes. | 2304 | the·number·of·nodes·in·the·routing·table·and·the·actual·nodes. |
2305 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 2305 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
2306 | ··node_id | 2306 | ··node_id |
2307 | ······the·local·DHT·node's·node-ID·this·routing·table·belongs·to | 2307 | ······the·local·DHT·node's·node-ID·this·routing·table·belongs·to |
2308 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 2308 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
2309 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_h\x8he\x8ea\x8ad\x8de\x8er\x8r_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* | 2309 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_h\x8he\x8ea\x8ad\x8de\x8er\x8r_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* |
2310 | 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" | 2310 | 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" |
Offset 2574, 16 lines modified | Offset 2574, 16 lines modified | ||
2574 | }; | 2574 | }; |
2575 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 2575 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
2576 | ··trackers | 2576 | ··trackers |
2577 | ······list·of·trackers·and·their·status·for·the·torrent | 2577 | ······list·of·trackers·and·their·status·for·the·torrent |
2578 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 2578 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
2579 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8le\x8er\x8rt\x8t_\x8_c\x8ca\x8as\x8st\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | 2579 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8le\x8er\x8rt\x8t_\x8_c\x8ca\x8as\x8st\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
2580 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8._\x8h_\x8p_\x8p" | 2580 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8._\x8h_\x8p_\x8p" |
2581 | template·<typename·T>·T*·a\x8al\x8le\x8er\x8rt\x8t_\x8_c\x8ca\x8as\x8st\x8t·(alert*·a); | ||
2582 | template·<typename·T>·T·const*·a\x8al\x8le\x8er\x8rt\x8t_\x8_c\x8ca\x8as\x8st\x8t·(alert·const*·a); | 2581 | template·<typename·T>·T·const*·a\x8al\x8le\x8er\x8rt\x8t_\x8_c\x8ca\x8as\x8st\x8t·(alert·const*·a); |
2582 | template·<typename·T>·T*·a\x8al\x8le\x8er\x8rt\x8t_\x8_c\x8ca\x8as\x8st\x8t·(alert*·a); | ||
2583 | When·you·get·an·_\x8a_\x8l_\x8e_\x8r_\x8t,·you·can·use·alert_cast<>·to·attempt·to·cast·the·pointer | 2583 | When·you·get·an·_\x8a_\x8l_\x8e_\x8r_\x8t,·you·can·use·alert_cast<>·to·attempt·to·cast·the·pointer |
2584 | to·a·specific·_\x8a_\x8l_\x8e_\x8r_\x8t·type,·in·order·to·query·it·for·more·information. | 2584 | to·a·specific·_\x8a_\x8l_\x8e_\x8r_\x8t·type,·in·order·to·query·it·for·more·information. |
2585 | Note | 2585 | Note |
2586 | alert_cast<>·can·only·cast·to·an·exact·_\x8a_\x8l_\x8e_\x8r_\x8t·type,·not·a·base·class | 2586 | alert_cast<>·can·only·cast·to·an·exact·_\x8a_\x8l_\x8e_\x8r_\x8t·type,·not·a·base·class |
2587 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 2587 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
2588 | *\x8**\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8ti\x8io\x8on\x8n_\x8_n\x8na\x8am\x8me\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | 2588 | *\x8**\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8ti\x8io\x8on\x8n_\x8_n\x8na\x8am\x8me\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
2589 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8h_\x8p_\x8p" | 2589 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8h_\x8p_\x8p" |
Offset 30, 23 lines modified | Offset 30, 23 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="#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="# | 37 | <li><a·class="reference·internal"·href="#bdecode-node-operator"·id="toc-entry-3">bdecode_node()·operator=()</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-at-list-string-value-at-list-i | 42 | <li><a·class="reference·internal"·href="#list-at-list-string-value-at-list-size-list-int-value-at"·id="toc-entry-8">list_at()·list_string_value_at()·list_size()·list_int_value_at()</a></li> |
43 | <li><a·class="reference·internal"·href="#dict- | 43 | <li><a·class="reference·internal"·href="#dict-at-dict-size-dict-find-dict-dict-find-string-dict-find-list-dict-at-node-dict-find-int-dict-find-int-value-dict-find-string-value-dict-find"·id="toc-entry-9">dict_at()·dict_size()·dict_find_dict()·dict_find_string()·dict_find_list()·dict_at_node()·dict_fin[·...·truncated·by·diffoscope;·len:·64,·SHA:·c8310f96889ae6a4a9693c738444ecc1eb00c90ef82c61c59470bca7a8123574·...·]()</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-ptr-string-offset-string-length-string-value"·id="toc-entry-11">string_ptr()·string_offset()·string_length()·string_value()</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, 45 lines modified | Offset 62, 45 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·const&)·&; | ||
70 | ···bdecode_node&·<strong>operator=</strong>·(bdecode_node&&)·&·=·default; | ||
71 | ···<strong>bdecode_node</strong>·(bdecode_node&&)·noexcept; | ||
72 | ···<strong>bdecode_node</strong>·(bdecode_node·const&); | 69 | ···<strong>bdecode_node</strong>·(bdecode_node·const&); |
70 | ···<strong>bdecode_node</strong>·(bdecode_node&&)·noexcept; | ||
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; | 76 | ···span<char·const>·<strong>data_section</strong>·()·const·noexcept; |
77 | ···std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept; | 77 | ···std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept; |
78 | ···int·<strong>list_size</strong>·()·const; | ||
79 | ···bdecode_node·<strong>list_at</strong>·(int·i)·const; | ||
80 | ···string_view·<strong>list_string_value_at</strong>·(int·i | 78 | ···string_view·<strong>list_string_value_at</strong>·(int·i |
81 | ······,·string_view·default_val·=·string_view())·const; | 79 | ······,·string_view·default_val·=·string_view())·const; |
80 | ···int·<strong>list_size</strong>·()·const; | ||
81 | ···bdecode_node·<strong>list_at</strong>·(int·i)·const; | ||
82 | ···std::int64_t·<strong>list_int_value_at</strong>·(int·i | 82 | ···std::int64_t·<strong>list_int_value_at</strong>·(int·i |
83 | ······,·std::int64_t·default_val·=·0)·const; | 83 | ······,·std::int64_t·default_val·=·0)·const; |
84 | ···std::int64_t·<strong>dict_find_int_value</strong>·(string_view·key | ||
85 | ······,·std::int64_t·default_val·=·0)·const; | ||
86 | ···bdecode_node·<strong>dict_find_string</strong>·(string_view·key)·const; | ||
87 | ···std::pair<bdecode_node,·bdecode_node>·<strong>dict_at_node</strong>·(int·i)·const; | ||
88 | ···std::pair<string_view,·bdecode_node>·<strong>dict_at</strong>·(int·i)·const; | ||
89 | ···bdecode_node·<strong>dict_find_dict</strong>·(string_view·key)·const; | 84 | ···bdecode_node·<strong>dict_find_dict</strong>·(string_view·key)·const; |
90 | ··· | 85 | ···int·<strong>dict_size</strong>·()·const; |
91 | ···bdecode_node·<strong>dict_find_list</strong>·(string_view·key)·const; | 86 | ···bdecode_node·<strong>dict_find_list</strong>·(string_view·key)·const; |
92 | ···string_view·<strong>dict_find_string_value</strong>·(string_view·key | 87 | ···string_view·<strong>dict_find_string_value</strong>·(string_view·key |
93 | ······,·string_view·default_value·=·string_view())·const; | 88 | ······,·string_view·default_value·=·string_view())·const; |
94 | ··· | 89 | ···bdecode_node·<strong>dict_find_string</strong>·(string_view·key)·const; |
90 | ···std::pair<string_view,·bdecode_node>·<strong>dict_at</strong>·(int·i)·const; | ||
95 | ···bdecode_node·<strong>dict_find</strong>·(string_view·key)·const; | 91 | ···bdecode_node·<strong>dict_find</strong>·(string_view·key)·const; |
92 | ···bdecode_node·<strong>dict_find_int</strong>·(string_view·key)·const; | ||
93 | ···std::pair<bdecode_node,·bdecode_node>·<strong>dict_at_node</strong>·(int·i)·const; | ||
94 | ···std::int64_t·<strong>dict_find_int_value</strong>·(string_view·key | ||
95 | ······,·std::int64_t·default_val·=·0)·const; | ||
96 | ···std::int64_t·<strong>int_value</strong>·()·const; | 96 | ···std::int64_t·<strong>int_value</strong>·()·const; |
97 | ···string_view·<strong>string_value</strong>·()·const; | ||
98 | ···int·<strong>string_length</strong>·()·const; | ||
99 | ···std::ptrdiff_t·<strong>string_offset</strong>·()·const; | 97 | ···std::ptrdiff_t·<strong>string_offset</strong>·()·const; |
98 | ···int·<strong>string_length</strong>·()·const; | ||
99 | ···string_view·<strong>string_value</strong>·()·const; | ||
100 | ···char·const*·<strong>string_ptr</strong>·()·const; | 100 | ···char·const*·<strong>string_ptr</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; |
Offset 116, 23 lines modified | Offset 116, 23 lines modified | ||
116 | </pre> | 116 | </pre> |
117 | <a·name="bdecode_node()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bbdecode_node%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bbdecode_node%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="bdecode-node-1"> | 117 | <a·name="bdecode_node()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bbdecode_node%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bbdecode_node%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="bdecode-node-1"> |
118 | <h2>bdecode_node()</h2> | 118 | <h2>bdecode_node()</h2> |
119 | <pre·class="literal-block"> | 119 | <pre·class="literal-block"> |
120 | <strong>bdecode_node</strong>·()·=·default; | 120 | <strong>bdecode_node</strong>·()·=·default; |
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=" | 123 | <a·name="bdecode_node()"></a> |
124 | <a·name=" | 124 | <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bbdecode_node%28%29+operator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bbdeco[·...·truncated·by·diffoscope;·len:·25,·SHA:·d65b5d1521468a18fb0d0bd92a17d94b6035694e7812e764b5ed3f37af9eeab8·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
125 | <div·class="section"·id=" | 125 | <div·class="section"·id="bdecode-node-operator"> |
126 | <h2> | 126 | <h2>bdecode_node()·operator=()</h2> |
127 | <pre·class="literal-block"> | 127 | <pre·class="literal-block"> |
128 | bdecode_node&·<strong>operator=</strong>·(bdecode_node·const&)·&; | ||
129 | bdecode_node&·<strong>operator=</strong>·(bdecode_node&&)·&·=·default; | ||
130 | <strong>bdecode_node</strong>·(bdecode_node&&)·noexcept; | ||
131 | <strong>bdecode_node</strong>·(bdecode_node·const&); | 128 | <strong>bdecode_node</strong>·(bdecode_node·const&); |
129 | <strong>bdecode_node</strong>·(bdecode_node&&)·noexcept; | ||
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 166, 55 lines modified | Offset 166, 55 lines modified | ||
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> | 171 | <a·name="list_at()"></a> |
172 | <a·name="list_string_value_at()"></a> | 172 | <a·name="list_string_value_at()"></a> |
173 | <a·name="list_ | 173 | <a·name="list_size()"></a> |
174 | <a·name="list_ | 174 | <a·name="list_int_value_at()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Blist_at%28%29+list_string_value_at%28%29+list_size%28%29+list_int_value_at%28%29%5D&labels=documentation&body=Documentat[·...·truncated·by·diffoscope;·len:·116,·SHA:·7fd3ee0903b70f17d7e7f8e53fab03604fb30068463f7473f7acf3edd56bc4bc·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
175 | <div·class="section"·id="list-at-list-string-value-at-list-i | 175 | <div·class="section"·id="list-at-list-string-value-at-list-size-list-int-value-at"> |
176 | <h2>list_at()·list_string_value_at()·list_i | 176 | <h2>list_at()·list_string_value_at()·list_size()·list_int_value_at()</h2> |
177 | <pre·class="literal-block"> | 177 | <pre·class="literal-block"> |
178 | int·<strong>list_size</strong>·()·const; | ||
179 | bdecode_node·<strong>list_at</strong>·(int·i)·const; | ||
180 | string_view·<strong>list_string_value_at</strong>·(int·i | 178 | string_view·<strong>list_string_value_at</strong>·(int·i |
181 | ······,·string_view·default_val·=·string_view())·const; | 179 | ······,·string_view·default_val·=·string_view())·const; |
180 | int·<strong>list_size</strong>·()·const; | ||
181 | bdecode_node·<strong>list_at</strong>·(int·i)·const; | ||
Max diff block lines reached; 9027/20694 bytes (43.62%) of diff not shown. |
Offset 1, 25 lines modified | Offset 1, 25 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 | ····*·_\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·_\x8 | 8 | ··········o·_\x8b_.d_.e_.c_.o_.d_.e_.__.n_.o_.d_.e_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_\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__\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__\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_.i_.z_.e_.(_.)_.·_.l_.i_.s_.t_.__.i_.n_.t_.__.v_.a_.l_.u_.e_.__.a_.t_\x8(_\x8) |
14 | ··········o·_\x8d_\x8i_\x8c_\x8t_\x8__\x8 | 14 | ··········o·_\x8d_\x8i_\x8c_\x8t_\x8__\x8a_.t_.(_.)_.·_.d_.i_.c_.t_.__.s_.i_.z_.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_.(_.) |
15 | ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8l_\x8i_\x8s_\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__\x8i_\x8n_\x8t_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8i_\x8n_\x8t_\x8__\x8v_\x8a_\x8l_\x8u_\x8e | ||
15 | ············_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8 | 16 | ············_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8s_.t_.r_.i_.n_.g_.__.v_.a_.l_.u_.e_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_\x8(_\x8) |
16 | ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\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__\x8p_.t_.r_.(_.)_.·_.s_.t_.r_.i_.n_.g_.__.o_.f_.f_.s_.e_.t_.(_.)_.·_.s_.t_.r_.i_.n_.g_.__.l_.e_.n_.g_.t_.h_.(_.)_.·_.s_.t_.r_.i_.n_.g_.__.v_.a_.l_.u_.e_\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, 45 lines modified | Offset 30, 45 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·const&)·&; | ||
38 | ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default; | ||
39 | ···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&); | 37 | ···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&&)·noexcept; | ||
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; | 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; | 45 | ···std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept; |
46 | ···int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | ||
47 | ···bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const; | ||
48 | ···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 | 46 | ···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·default_val·=·string_view())·const; | 47 | ······,·string_view·default_val·=·string_view())·const; |
48 | ···int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | ||
49 | ···bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const; | ||
50 | ···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 | 50 | ···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 |
51 | ······,·std::int64_t·default_val·=·0)·const; | 51 | ······,·std::int64_t·default_val·=·0)·const; |
52 | ···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 | ||
53 | ······,·std::int64_t·default_val·=·0)·const; | ||
54 | ···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; | ||
55 | ···std::pair<bdecode_node,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t_\x8_n\x8no\x8od\x8de\x8e·(int·i)·const; | ||
56 | ···std::pair<string_view,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t·(int·i)·const; | ||
57 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_d\x8di\x8ic\x8ct\x8t·(string_view·key)·const; | 52 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_d\x8di\x8ic\x8ct\x8t·(string_view·key)·const; |
58 | ··· | 53 | ···int·d.di.ic.ct.t_._s.si.iz.ze.e·()·const; |
59 | ···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_l\x8li\x8is\x8st\x8t·(string_view·key)·const; |
60 | ···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 | 55 | ···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 |
61 | ······,·string_view·default_value·=·string_view())·const; | 56 | ······,·string_view·default_value·=·string_view())·const; |
62 | ··· | 57 | ···bdecode_node·d.di.ic.ct.t_._f.fi.in.nd.d_._s.st.tr.ri.in.ng.g·(string_view·key)·const; |
58 | ···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·(string_view·key)·const; | 59 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d·(string_view·key)·const; |
60 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_i\x8in\x8nt\x8t·(string_view·key)·const; | ||
61 | ···std::pair<bdecode_node,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t_\x8_n\x8no\x8od\x8de\x8e·(int·i)·const; | ||
62 | ···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 | ||
63 | ······,·std::int64_t·default_val·=·0)·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 | ···string_view·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·()·const; | ||
66 | ···int·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | ||
67 | ···std::ptrdiff_t·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const; | 65 | ···std::ptrdiff_t·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const; |
66 | ···int·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | ||
67 | ···string_view·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·()·const; | ||
68 | ···char·const*·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_p\x8pt\x8tr\x8r·()·const; | 68 | ···char·const*·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_p\x8pt\x8tr\x8r·()·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; |
Offset 82, 19 lines modified | Offset 82, 19 lines modified | ||
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*·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*·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\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·const&)·&; | ||
91 | bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default; | ||
92 | 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&); | 90 | 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&&)·noexcept; | ||
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 112, 41 lines modified | Offset 112, 41 lines modified | ||
112 | std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept; | 112 | std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·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_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* | ||
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_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* | ||
120 | int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | ||
121 | bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const; | ||
122 | 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 | 120 | 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·default_val·=·string_view())·const; | 121 | ······,·string_view·default_val·=·string_view())·const; |
122 | int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | ||
123 | bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const; | ||
124 | 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 | 124 | 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 |
125 | ······,·std::int64_t·default_val·=·0)·const; | 125 | ······,·std::int64_t·default_val·=·0)·const; |
126 | functions·with·the·list_·prefix·operate·on·lists.·These·functions·are·only | 126 | functions·with·the·list_·prefix·operate·on·lists.·These·functions·are·only |
Max diff block lines reached; 5790/15349 bytes (37.72%) 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="#list-string-dict-preformatted-integer"·id="toc-entry-7">list()·string()·dict()·preformatted()·integer()</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 70, 45 lines modified | Offset 70, 45 lines modified | ||
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>·(integer_type); | 76 | ···<strong>entry</strong>·(integer_type); |
77 | ···<strong>entry</strong>·(preformatted_type); | ||
78 | ···<strong>entry</strong>·(span<char·const>); | ||
79 | ···<strong>entry</strong>·(dictionary_type); | ||
80 | ···<strong>entry</strong>·(list_type); | 77 | ···<strong>entry</strong>·(list_type); |
78 | ···<strong>entry</strong>·(dictionary_type); | ||
79 | ···<strong>entry</strong>·(span<char·const>); | ||
80 | ···<strong>entry</strong>·(preformatted_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>·(span<char·const>)·&; | ||
85 | ···entry&·<strong>operator=</strong>·(integer_type)·&; | ||
86 | ···entry&·<strong>operator=</strong>·(preformatted_type)·&; | ||
87 | ···entry&·<strong>operator=</strong>·(bdecode_node·const&)·&; | 84 | ···entry&·<strong>operator=</strong>·(bdecode_node·const&)·&; |
88 | ···entry&·<strong>operator=</strong>·( | 85 | ···entry&·<strong>operator=</strong>·(span<char·const>)·&; |
89 | ···entry&·<strong>operator=</strong>·(list_type)·&; | 86 | ···entry&·<strong>operator=</strong>·(list_type)·&; |
87 | ···entry&·<strong>operator=</strong>·(preformatted_type)·&; | ||
88 | ···entry&·<strong>operator=</strong>·(integer_type)·&; | ||
90 | ···entry&·<strong>operator=</strong>·(entry·const&)·&; | 89 | ···entry&·<strong>operator=</strong>·(entry·const&)·&; |
90 | ···entry&·<strong>operator=</strong>·(dictionary_type)·&; | ||
91 | ···entry&·<strong>operator=</strong>·(entry&&)·&·noexcept; | 91 | ···entry&·<strong>operator=</strong>·(entry&&)·&·noexcept; |
92 | ···entry&·<strong>operator=</strong>·(U·v)·&; | 92 | ···entry&·<strong>operator=</strong>·(U·v)·&; |
93 | ···dictionary_type·const&·<strong>dict</strong>·()·const; | ||
94 | ···string_type&·<strong>string</strong>·(); | ||
95 | ···list_type&·<strong>list</strong>·(); | 93 | ···list_type&·<strong>list</strong>·(); |
96 | ···string_type·const&·<strong>string</strong>·()·const; | ||
97 | ···integer_type&·<strong>integer</strong>·(); | ||
98 | ···integer_type·const&·<strong>integer</strong>·()·const; | ||
99 | ···preformatted_type·const&·<strong>preformatted</strong>·()·const; | ||
100 | ···preformatted_type&·<strong>preformatted</strong>·(); | 94 | ···preformatted_type&·<strong>preformatted</strong>·(); |
95 | ···integer_type·const&·<strong>integer</strong>·()·const; | ||
101 | ···list_type·const&·<strong>list</strong>·()·const; | 96 | ···list_type·const&·<strong>list</strong>·()·const; |
97 | ···integer_type&·<strong>integer</strong>·(); | ||
98 | ···string_type·const&·<strong>string</strong>·()·const; | ||
99 | ···dictionary_type·const&·<strong>dict</strong>·()·const; | ||
102 | ···dictionary_type&·<strong>dict</strong>·(); | 100 | ···dictionary_type&·<strong>dict</strong>·(); |
101 | ···preformatted_type·const&·<strong>preformatted</strong>·()·const; | ||
102 | ···string_type&·<strong>string</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; | ||
107 | ···entry*·<strong>find_key</strong>·(string_view·key); | 106 | ···entry*·<strong>find_key</strong>·(string_view·key); |
107 | ···entry·const*·<strong>find_key</strong>·(string_view·key)·const; | ||
108 | ···std::string·<strong>to_string</strong>·(bool·single_line·=·false)·const; | 108 | ···std::string·<strong>to_string</strong>·(bool·single_line·=·false)·const; |
109 | ···enum·data_type | 109 | ···enum·data_type |
110 | ···{ | 110 | ···{ |
111 | ······int_t, | 111 | ······int_t, |
112 | ······string_t, | 112 | ······string_t, |
113 | ······list_t, | 113 | ······list_t, |
Offset 125, 18 lines modified | Offset 125, 18 lines modified | ||
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>·(integer_type); | 131 | <strong>entry</strong>·(integer_type); |
132 | <strong>entry</strong>·(preformatted_type); | ||
133 | <strong>entry</strong>·(span<char·const>); | ||
134 | <strong>entry</strong>·(dictionary_type); | ||
135 | <strong>entry</strong>·(list_type); | 132 | <strong>entry</strong>·(list_type); |
133 | <strong>entry</strong>·(dictionary_type); | ||
134 | <strong>entry</strong>·(span<char·const>); | ||
135 | <strong>entry</strong>·(preformatted_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>·(span<char·const>)·&; | ||
160 | entry&·<strong>operator=</strong>·(integer_type)·&; | ||
161 | entry&·<strong>operator=</strong>·(preformatted_type)·&; | ||
162 | entry&·<strong>operator=</strong>·(bdecode_node·const&)·&; | 159 | entry&·<strong>operator=</strong>·(bdecode_node·const&)·&; |
163 | entry&·<strong>operator=</strong>·( | 160 | entry&·<strong>operator=</strong>·(span<char·const>)·&; |
164 | entry&·<strong>operator=</strong>·(list_type)·&; | 161 | entry&·<strong>operator=</strong>·(list_type)·&; |
162 | entry&·<strong>operator=</strong>·(preformatted_type)·&; | ||
163 | entry&·<strong>operator=</strong>·(integer_type)·&; | ||
165 | entry&·<strong>operator=</strong>·(entry·const&)·&; | 164 | entry&·<strong>operator=</strong>·(entry·const&)·&; |
165 | entry&·<strong>operator=</strong>·(dictionary_type)·&; | ||
166 | entry&·<strong>operator=</strong>·(entry&&)·&·noexcept; | 166 | entry&·<strong>operator=</strong>·(entry&&)·&·noexcept; |
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="dict()"></a> | ||
171 | <a·name="list()"></a> | 170 | <a·name="list()"></a> |
172 | <a·name="string()"></a> | 171 | <a·name="string()"></a> |
173 | <a·name="i | 172 | <a·name="dict()"></a> |
173 | <a·name="preformatted()"></a> | ||
174 | <a·name=" | 174 | <a·name="integer()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Blist%28%29+string%28%29+dict%28%29+preformatted%28%29+integer%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entr[·...·truncated·by·diffoscope;·len:·71,·SHA:·171402e67e8881d5960d4b024fb4a00fff2ef502c71dc0e91fe3fb04934cef98·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
175 | <div·class="section"·id=" | 175 | <div·class="section"·id="list-string-dict-preformatted-integer"> |
176 | <h2> | 176 | <h2>list()·string()·dict()·preformatted()·integer()</h2> |
177 | <pre·class="literal-block"> | 177 | <pre·class="literal-block"> |
Max diff block lines reached; 2896/11769 bytes (24.61%) 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·_\x8l_.i_.s_.t_.(_.)_.·_.s_.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_\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 36, 45 lines modified | Offset 36, 45 lines modified | ||
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·(integer_type); | 42 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type); |
43 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type); | ||
44 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>); | ||
45 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); | ||
46 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(list_type); | 43 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(list_type); |
44 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); | ||
45 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>); | ||
46 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_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=·(span<char·const>)·&; | ||
51 | ···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=·(preformatted_type)·&; | ||
53 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; | 50 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; |
54 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·( | 51 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&; |
55 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_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=·(preformatted_type)·&; | ||
54 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&; | ||
56 | ···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=·(entry·const&)·&; |
56 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&; | ||
57 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept; | 57 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept; |
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 | ···dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; | ||
60 | ···string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(); | ||
61 | ···list_type&·l\x8li\x8is\x8st\x8t·(); | 59 | ···list_type&·l\x8li\x8is\x8st\x8t·(); |
62 | ···string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const; | ||
63 | ···integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·(); | ||
64 | ···integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const; | ||
65 | ···preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const; | ||
66 | ···preformatted_type&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·(); | 60 | ···preformatted_type&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·(); |
61 | ···integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const; | ||
67 | ···list_type·const&·l\x8li\x8is\x8st\x8t·()·const; | 62 | ···list_type·const&·l\x8li\x8is\x8st\x8t·()·const; |
63 | ···integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·(); | ||
64 | ···string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const; | ||
65 | ···dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; | ||
68 | ···dictionary_type&·d\x8di\x8ic\x8ct\x8t·(); | 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; | ||
68 | ···string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(); | ||
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; | ||
73 | ···entry*·f\x8fi\x8in\x8nd\x8d_\x8_k\x8ke\x8ey\x8y·(string_view·key); | 72 | ···entry*·f\x8fi\x8in\x8nd\x8d_\x8_k\x8ke\x8ey\x8y·(string_view·key); |
73 | ···entry·const*·f\x8fi\x8in\x8nd\x8d_\x8_k\x8ke\x8ey\x8y·(string_view·key)·const; | ||
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; |
75 | ···enum·data_type | 75 | ···enum·data_type |
76 | ···{ | 76 | ···{ |
77 | ······int_t, | 77 | ······int_t, |
78 | ······string_t, | 78 | ······string_t, |
79 | ······list_t, | 79 | ······list_t, |
Offset 86, 51 lines modified | Offset 86, 51 lines modified | ||
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·(integer_type); | 92 | e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type); |
93 | e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type); | ||
94 | e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>); | ||
95 | e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); | ||
96 | e\x8en\x8nt\x8tr\x8ry\x8y·(list_type); | 93 | e\x8en\x8nt\x8tr\x8ry\x8y·(list_type); |
94 | e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); | ||
95 | e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>); | ||
96 | e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_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=·(span<char·const>)·&; | ||
110 | 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=·(preformatted_type)·&; | ||
112 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; | 109 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; |
113 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·( | 110 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&; |
114 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_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=·(preformatted_type)·&; | ||
113 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&; | ||
115 | 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=·(entry·const&)·&; |
115 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&; | ||
116 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept; | 116 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept; |
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*·l.li.is.st.t(.().)·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(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
120 | dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; | ||
121 | string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(); | ||
122 | list_type&·l\x8li\x8is\x8st\x8t·(); | 120 | list_type&·l\x8li\x8is\x8st\x8t·(); |
123 | string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const; | ||
124 | integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·(); | ||
125 | integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const; | ||
126 | preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const; | ||
127 | preformatted_type&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·(); | 121 | preformatted_type&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·(); |
122 | integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const; | ||
128 | list_type·const&·l\x8li\x8is\x8st\x8t·()·const; | 123 | list_type·const&·l\x8li\x8is\x8st\x8t·()·const; |
124 | integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·(); | ||
125 | string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const; | ||
Max diff block lines reached; 1674/8329 bytes (20.10%) 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- | 41 | <li><a·class="reference·internal"·href="#has-has-v2-has-v1"·id="toc-entry-5">has()·has_v2()·has_v1()</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-f | 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 566, 19 lines modified | Offset 566, 19 lines modified | ||
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 | ···explicit·<strong>info_hash_t</strong>·(sha256_hash·h2)·noexcept; | 572 | ···explicit·<strong>info_hash_t</strong>·(sha256_hash·h2)·noexcept; |
573 | ···<strong>info_hash_t</strong>·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
573 | ···<strong>info_hash_t</strong>·()·noexcept·=·default; | 574 | ···<strong>info_hash_t</strong>·()·noexcept·=·default; |
574 | ···explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept; | 575 | ···explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept; |
575 | ···<strong>info_hash_t</strong>·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
576 | ···bool·<strong>has_v2</strong>·()·const; | ||
577 | ···bool·<strong>has_v1</strong>·()·const; | 576 | ···bool·<strong>has_v1</strong>·()·const; |
577 | ···bool·<strong>has_v2</strong>·()·const; | ||
578 | ···bool·<strong>has</strong>·(protocol_version·v)·const; | 578 | ···bool·<strong>has</strong>·(protocol_version·v)·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; |
Offset 588, 31 lines modified | Offset 588, 31 lines modified | ||
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 | explicit·<strong>info_hash_t</strong>·(sha256_hash·h2)·noexcept; | 594 | explicit·<strong>info_hash_t</strong>·(sha256_hash·h2)·noexcept; |
595 | <strong>info_hash_t</strong>·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
595 | <strong>info_hash_t</strong>·()·noexcept·=·default; | 596 | <strong>info_hash_t</strong>·()·noexcept·=·default; |
596 | explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept; | 597 | explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept; |
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 | 604 | <a·name="has()"></a> |
605 | <a·name="has_v2()"></a> | 605 | <a·name="has_v2()"></a> |
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 | 606 | <a·name="has_v1()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:info_hash_t%3A%3A%5Bhas%28%29+has_v2%28%29+has_v1%28%29%5D&labels=documentation&body=Documentation+under+heading+%22info_hash_t%3A%3A%5Bhas%28%29+has_[·...·truncated·by·diffoscope;·len:·15,·SHA:·f2890d064346ffbe33effb483fe32525d73f0b1ecb99c27ee0944f448cfc7da9·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
607 | <div·class="section"·id="has- | 607 | <div·class="section"·id="has-has-v2-has-v1"> |
608 | <h2>has | 608 | <h2>has()·has_v2()·has_v1()</h2> |
609 | <pre·class="literal-block"> | 609 | <pre·class="literal-block"> |
610 | bool·<strong>has_v2</strong>·()·const; | ||
611 | bool·<strong>has_v1</strong>·()·const; | 610 | bool·<strong>has_v1</strong>·()·const; |
611 | bool·<strong>has_v2</strong>·()·const; | ||
612 | bool·<strong>has</strong>·(protocol_version·v)·const; | 612 | bool·<strong>has</strong>·(protocol_version·v)·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> |
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_f | 696 | <a·name="load_torrent_buffer()"></a> |
697 | <a·name="load_torrent_parsed()"></a> | 697 | <a·name="load_torrent_parsed()"></a> |
698 | <a·name="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_buf[·...·truncated·by·diffoscope;·len:·53,·SHA:·c2f17a7739e73da84c7b8814b8e999acf8c64846627d7b76c6f16a7a8f383b36·...·]%28%29%22+could+be+improved">report·issue</a>]</span></div> |
699 | </div> | 699 | </div> |
700 | <div·class="section"·id="load-torrent-f | 700 | <div·class="section"·id="load-torrent-buffer-load-torrent-parsed-load-torrent-file"> |
701 | <h1>load_torrent_f | 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_parsed</strong>·( | 704 | add_torrent_params·<strong>load_torrent_parsed</strong>·( |
705 | ···bdecode_node·const&·torrent_file); | ||
706 | add_torrent_params·<strong>load_torrent_parsed</strong>·( | ||
707 | ···bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); | 705 | ···bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); |
708 | add_torrent_params·<strong>load_torrent_ | 706 | add_torrent_params·<strong>load_torrent_parsed</strong>·( |
709 | ··· | 707 | ···bdecode_node·const&·torrent_file); |
710 | add_torrent_params·<strong>load_torrent_buffer</strong>·( | 708 | add_torrent_params·<strong>load_torrent_buffer</strong>·( |
711 | ···span<char·const>·buffer); | 709 | ···span<char·const>·buffer); |
710 | add_torrent_params·<strong>load_torrent_file</strong>·( | ||
711 | ···std::string·const&·filename); | ||
712 | add_torrent_params·<strong>load_torrent_buffer</strong>·( | 712 | add_torrent_params·<strong>load_torrent_buffer</strong>·( |
713 | ···span<char·const>·buffer,·load_torrent_limits·const&·cfg); | 713 | ···span<char·const>·buffer,·load_torrent_limits·const&·cfg); |
714 | add_torrent_params·<strong>load_torrent_file</strong>·( | 714 | add_torrent_params·<strong>load_torrent_file</strong>·( |
715 | ···std::string·const&·filename); | 715 | ···std::string·const&·filename,·load_torrent_limits·const&·cfg); |
716 | </pre> | 716 | </pre> |
717 | <p>These·functions·load·the·content·of·a·.torrent·file·into·an | 717 | <p>These·functions·load·the·content·of·a·.torrent·file·into·an |
718 | <a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·object. | 718 | <a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·object. |
719 | The·immutable·part·of·a·torrent·file·(the·info-dictionary)·is·stored·in | 719 | The·immutable·part·of·a·torrent·file·(the·info-dictionary)·is·stored·in |
720 | the·<tt·class="docutils·literal">ti</tt>·field·in·the·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·object·(as·a·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a> | 720 | the·<tt·class="docutils·literal">ti</tt>·field·in·the·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·object·(as·a·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a> |
721 | object). | 721 | object). |
722 | The·returned·object·is·suitable·to·be:</p> | 722 | The·returned·object·is·suitable·to·be:</p> |
Offset 728, 17 lines modified | Offset 728, 17 lines modified | ||
728 | </ul> | 728 | </ul> |
729 | </blockquote> | 729 | </blockquote> |
730 | <a·name="make_magnet_uri()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:make_magnet_uri%28%29&labels=documentation&body=Documentation+under+heading+%22make_magnet_uri%28%29%22+could+be+improved">report·issue</a>]</span></div> | 730 | <a·name="make_magnet_uri()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:make_magnet_uri%28%29&labels=documentation&body=Documentation+under+heading+%22make_magnet_uri%28%29%22+could+be+improved">report·issue</a>]</span></div> |
731 | <div·class="section"·id="make-magnet-uri"> | 731 | <div·class="section"·id="make-magnet-uri"> |
732 | <h1>make_magnet_uri()</h1> | 732 | <h1>make_magnet_uri()</h1> |
733 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/magnet_uri.hpp">libtorrent/magnet_uri.hpp</a>"</p> | 733 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/magnet_uri.hpp">libtorrent/magnet_uri.hpp</a>"</p> |
734 | <pre·class="literal-block"> | 734 | <pre·class="literal-block"> |
Max diff block lines reached; 789/11197 bytes (7.05%) 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 | 10 | ··········o·_\x8h_\x8a_\x8s_\x8(_.)_.·_.h_.a_.s_.__.v_.2_.(_.)_.·_.h_.a_.s_.__.v_.1_\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__\x8f_. | 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_.(_.)_.·_.l_.o_.a_.d_.__.t_.o_.r_.r_.e_.n_.t_.__.f_.i_.l_.e_\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 414, 19 lines modified | Offset 414, 19 lines modified | ||
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 | ···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; |
421 | ···i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
421 | ···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; |
422 | ···explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept; | 423 | ···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·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
424 | ···bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const; | ||
425 | ···bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const; | 424 | ···bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const; |
425 | ···bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const; | ||
426 | ···bool·h\x8ha\x8as\x8s·(protocol_version·v)·const; | 426 | ···bool·h\x8ha\x8as\x8s·(protocol_version·v)·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; |
Offset 435, 25 lines modified | Offset 435, 25 lines modified | ||
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 | 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; |
441 | i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
441 | 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; |
442 | explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept; | 443 | 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·(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 | 449 | *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8s(.().)·h.ha.as.s_._v.v2.2(.().)·h.ha.as.s_._v.v1.1(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
450 | bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const; | ||
451 | bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const; | 450 | bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const; |
451 | bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const; | ||
452 | bool·h\x8ha\x8as\x8s·(protocol_version·v)·const; | 452 | bool·h\x8ha\x8as\x8s·(protocol_version·v)·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] |
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_f.f | 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(.().)·l.lo.oa.ad.d_._t.to.or.rr.re.en.nt.t_._f.fi.il.le.e(\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_p\x8pa\x8ar\x8rs\x8se\x8ed\x8d·( | 515 | 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·( |
516 | ···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·( | ||
518 | ···bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); | 516 | ···bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); |
519 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_ | 517 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_p.pa.ar.rs.se.ed.d·( |
520 | ··· | 518 | ···bdecode_node·const&·torrent_file); |
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·( | 519 | 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); | 520 | ···span<char·const>·buffer); |
521 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·( | ||
522 | ···std::string·const&·filename); | ||
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·( | 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,·load_torrent_limits·const&·cfg); | 524 | ···span<char·const>·buffer,·load_torrent_limits·const&·cfg); |
525 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·( | 525 | add_torrent_params·l\x8lo\x8oa\x8ad\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·( |
526 | ···std::string·const&·filename); | 526 | ···std::string·const&·filename,·load_torrent_limits·const&·cfg); |
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* |
536 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8._\x8h_\x8p_\x8p" | 536 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8._\x8h_\x8p_\x8p" |
537 | std::string·m\x8ma\x8ak\x8ke\x8e_\x8_m\x8ma\x8ag\x8gn\x8ne\x8et\x8t_\x8_u\x8ur\x8ri\x8i·(torrent_info·const&·info); | ||
538 | std::string·m\x8ma\x8ak\x8ke\x8e_\x8_m\x8ma\x8ag\x8gn\x8ne\x8et\x8t_\x8_u\x8ur\x8ri\x8i·(add_torrent_params·const&·atp); | ||
539 | std::string·m\x8ma\x8ak\x8ke\x8e_\x8_m\x8ma\x8ag\x8gn\x8ne\x8et\x8t_\x8_u\x8ur\x8ri\x8i·(torrent_handle·const&·handle); | 537 | std::string·m\x8ma\x8ak\x8ke\x8e_\x8_m\x8ma\x8ag\x8gn\x8ne\x8et\x8t_\x8_u\x8ur\x8ri\x8i·(torrent_handle·const&·handle); |
538 | std::string·m\x8ma\x8ak\x8ke\x8e_\x8_m\x8ma\x8ag\x8gn\x8ne\x8et\x8t_\x8_u\x8ur\x8ri\x8i·(add_torrent_params·const&·atp); | ||
539 | std::string·m\x8ma\x8ak\x8ke\x8e_\x8_m\x8ma\x8ag\x8gn\x8ne\x8et\x8t_\x8_u\x8ur\x8ri\x8i·(torrent_info·const&·info); | ||
540 | Generates·a·magnet·URI·from·the·specified·torrent. | 540 | Generates·a·magnet·URI·from·the·specified·torrent. |
541 | Several·fields·from·the·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·objects·are·recorded·in·the·magnet | 541 | Several·fields·from·the·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·objects·are·recorded·in·the·magnet |
542 | link.·In·order·to·not·include·them,·they·have·to·be·cleared·before·calling | 542 | link.·In·order·to·not·include·them,·they·have·to·be·cleared·before·calling |
543 | _\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8).·These·fields·are·used: | 543 | _\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8).·These·fields·are·used: |
544 | ·····ti,·info_hashes,·url_seeds,·dht_nodes,·file_priorities,·trackers, | 544 | ·····ti,·info_hashes,·url_seeds,·dht_nodes,·file_priorities,·trackers, |
545 | ·····name,·peers. | 545 | ·····name,·peers. |
546 | Depending·on·what·the·use·case·for·the·resulting·magnet·link·is,·clearing·peers | 546 | Depending·on·what·the·use·case·for·the·resulting·magnet·link·is,·clearing·peers |
Offset 30, 33 lines modified | Offset 30, 33 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- | 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="#priv-set-priv"·id="toc-entry-14">priv()·set_priv()</a></li> | 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-size-piece-length"·id="toc-entry-20">piece_size()·piece_length()</a></li> |
55 | <li><a·class="reference·internal"·href="#add- | 55 | <li><a·class="reference·internal"·href="#add-similar-torrent-add-collection"·id="toc-entry-21">add_similar_torrent()·add_collection()</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> |
62 | <p>This·section·describes·the·functions·and·classes·that·are·used | 62 | <p>This·section·describes·the·functions·and·classes·that·are·used |
Offset 123, 25 lines modified | Offset 123, 25 lines modified | ||
123 | ···void·<strong>add_http_seed</strong>·(string_view·url); | 123 | ···void·<strong>add_http_seed</strong>·(string_view·url); |
124 | ···void·<strong>add_url_seed</strong>·(string_view·url); | 124 | ···void·<strong>add_url_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; | 128 | ···bool·<strong>priv</strong>·()·const; |
129 | ···void·<strong>set_priv</strong>·(bool·p); | 129 | ···void·<strong>set_priv</strong>·(bool·p); |
130 | ···bool·<strong>is_v2_only</strong>·()·const; | ||
131 | ···bool·<strong>is_v1_only</strong>·()·const; | 130 | ···bool·<strong>is_v1_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_size</strong>·(piece_index_t·i)·const; | ||
140 | ···int·<strong>piece_length</strong>·()·const; | 139 | ···int·<strong>piece_length</strong>·()·const; |
140 | ···int·<strong>piece_size</strong>·(piece_index_t·i)·const; | ||
141 | ···void·<strong>add_collection</strong>·(string_view·c); | 141 | ···void·<strong>add_collection</strong>·(string_view·c); |
142 | ···void·<strong>add_similar_torrent</strong>·(sha1_hash·ih); | 142 | ···void·<strong>add_similar_torrent</strong>·(sha1_hash·ih); |
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; |
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 | std::vector<char>·<strong>generate_buf</strong>·()·const; | 185 | std::vector<char>·<strong>generate_buf</strong>·()·const; |
186 | entry·<strong>generate</strong>·()·const; | 186 | entry·<strong>generate</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 270, 18 lines modified | Offset 270, 18 lines modified | ||
270 | 16·kiB·blocks.·Note·that·piece·sizes·must·be·powers-of-2,·so·all | 270 | 16·kiB·blocks.·Note·that·piece·sizes·must·be·powers-of-2,·so·all |
271 | per-piece·merkle·trees·are·complete. | 271 | per-piece·merkle·trees·are·complete. |
272 | A·SHA-256·hash·of·all·zeros·is·internally·used·to·indicate·a·hash | 272 | A·SHA-256·hash·of·all·zeros·is·internally·used·to·indicate·a·hash |
273 | that·has·not·been·set.·Setting·such·hash·will·not·be·considered·set | 273 | that·has·not·been·set.·Setting·such·hash·will·not·be·considered·set |
274 | when·calling·<a·class="reference·external"·href="reference-Create_Torrents.html#generate()">generate()</a>. | 274 | when·calling·<a·class="reference·external"·href="reference-Create_Torrents.html#generate()">generate()</a>. |
275 | This·function·will·throw·<tt·class="docutils·literal"><span·class="pre">std::system_error</span></tt>·if·it·is·called·on·an | 275 | This·function·will·throw·<tt·class="docutils·literal"><span·class="pre">std::system_error</span></tt>·if·it·is·called·on·an |
276 | object·constructed·with·the·v1_only·flag.</p> | 276 | object·constructed·with·the·v1_only·flag.</p> |
277 | <a·name="add_ | 277 | <a·name="add_http_seed()"></a> |
278 | <a·name="add_ | 278 | <a·name="add_url_seed()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Badd_http_seed%28%29+add_url_seed%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5B[·...·truncated·by·diffoscope;·len:·27,·SHA:·c2f6ab073ec583a3e638139795b02ee07974718cbc77ec52778b80d1fb7b0ee9·...·]_seed%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
279 | <div·class="section"·id="add- | 279 | <div·class="section"·id="add-http-seed-add-url-seed"> |
280 | <h2>add_ | 280 | <h2>add_http_seed()·add_url_seed()</h2> |
281 | <pre·class="literal-block"> | 281 | <pre·class="literal-block"> |
282 | void·<strong>add_http_seed</strong>·(string_view·url); | 282 | void·<strong>add_http_seed</strong>·(string_view·url); |
283 | void·<strong>add_url_seed</strong>·(string_view·url); | 283 | void·<strong>add_url_seed</strong>·(string_view·url); |
284 | </pre> | 284 | </pre> |
285 | <p>This·adds·a·url·seed·to·the·torrent.·You·can·have·any·number·of·url·seeds.·For·a | 285 | <p>This·adds·a·url·seed·to·the·torrent.·You·can·have·any·number·of·url·seeds.·For·a |
286 | single·file·torrent,·this·should·be·an·HTTP·url,·pointing·to·a·file·with·identical | 286 | single·file·torrent,·this·should·be·an·HTTP·url,·pointing·to·a·file·with·identical |
287 | content·as·the·file·of·the·torrent.·For·a·multi-file·torrent,·it·should·point·to | 287 | content·as·the·file·of·the·torrent.·For·a·multi-file·torrent,·it·should·point·to |
Offset 367, 29 lines modified | Offset 367, 29 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_size()"></a> |
375 | <a·name="piece_ | 375 | <a·name="piece_length()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bpiece_size%28%29+piece_length%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bpiece[·...·truncated·by·diffoscope;·len:·24,·SHA:·eb51e9b56a11981c9696662474215a998e65db07963ce80783aa9b4f462f5ab9·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
376 | <div·class="section"·id="piece- | 376 | <div·class="section"·id="piece-size-piece-length"> |
377 | <h2>piece_ | 377 | <h2>piece_size()·piece_length()</h2> |
378 | <pre·class="literal-block"> | 378 | <pre·class="literal-block"> |
379 | int·<strong>piece_size</strong>·(piece_index_t·i)·const; | ||
380 | int·<strong>piece_length</strong>·()·const; | 379 | int·<strong>piece_length</strong>·()·const; |
380 | int·<strong>piece_size</strong>·(piece_index_t·i)·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_ | 385 | <a·name="add_similar_torrent()"></a> |
386 | <a·name="add_ | 386 | <a·name="add_collection()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Badd_similar_torrent%28%29+add_collection%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torren[·...·truncated·by·diffoscope;·len:·50,·SHA:·e64cd0210d364c77b35ec5796603d99acefbd50db757c6510eecbc83d28ad792·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
387 | <div·class="section"·id="add- | 387 | <div·class="section"·id="add-similar-torrent-add-collection"> |
388 | <h2>add_ | 388 | <h2>add_similar_torrent()·add_collection()</h2> |
389 | <pre·class="literal-block"> | 389 | <pre·class="literal-block"> |
390 | void·<strong>add_collection</strong>·(string_view·c); | 390 | void·<strong>add_collection</strong>·(string_view·c); |
391 | void·<strong>add_similar_torrent</strong>·(sha1_hash·ih); | 391 | void·<strong>add_similar_torrent</strong>·(sha1_hash·ih); |
392 | </pre> | 392 | </pre> |
Max diff block lines reached; 4977/17146 bytes (29.03%) of diff not shown. |
Offset 1, 33 lines modified | Offset 1, 33 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__\x8 | 15 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_.t_.t_.p_.__.s_.e_.e_.d_.(_.)_.·_.a_.d_.d_.__.u_.r_.l_\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·_\x8p_\x8r_\x8i_\x8v_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8p_\x8r_\x8i_\x8v_\x8(_\x8) | 19 | ··········o·_\x8p_\x8r_\x8i_\x8v_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\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__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8)_\x8·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) | ||
26 | ··········o·_\x8 | 25 | ··········o·_\x8p_.i_.e_.c_.e_.__.s_.i_.z_.e_.(_.)_.·_.p_.i_.e_.c_.e_.__.l_.e_.n_.g_.t_.h_\x8(_\x8) |
26 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8s_\x8i_\x8m_\x8i_\x8l_\x8a_\x8r_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8c_\x8o_\x8l_\x8l_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\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. |
33 | ···2.·the·torrent·properties·are·set,·such·as·tracker·url,·web·seeds,·DHT·nodes | 33 | ···2.·the·torrent·properties·are·set,·such·as·tracker·url,·web·seeds,·DHT·nodes |
Offset 85, 25 lines modified | Offset 85, 25 lines modified | ||
85 | ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url); | 85 | ···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_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url); | 86 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\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; | 90 | ···bool·p\x8pr\x8ri\x8iv\x8v·()·const; |
91 | ···void·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v·(bool·p); | 91 | ···void·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v·(bool·p); |
92 | ···bool·i\x8is\x8s_\x8_v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y·()·const; | ||
93 | ···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; | ||
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_s\x8si\x8iz\x8ze\x8e·(piece_index_t·i)·const; | ||
102 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·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; | ||
103 | ···void·a\x8ad\x8dd\x8d_\x8_c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8n·(string_view·c); | 103 | ···void·a\x8ad\x8dd\x8d_\x8_c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8n·(string_view·c); |
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); | 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); |
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; |
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 | std::vector<char>·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_\x8_b\x8bu\x8uf\x8f·()·const; | 138 | std::vector<char>·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_\x8_b\x8bu\x8uf\x8f·()·const; |
139 | entry·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e·()·const; | 139 | entry·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e·()·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 197, 15 lines modified | Offset 197, 15 lines modified | ||
197 | the·merkle·tree·formed·by·the·piece's·16·kiB·blocks.·Note·that·piece·sizes·must | 197 | the·merkle·tree·formed·by·the·piece's·16·kiB·blocks.·Note·that·piece·sizes·must |
198 | be·powers-of-2,·so·all·per-piece·merkle·trees·are·complete.·A·SHA-256·hash·of | 198 | be·powers-of-2,·so·all·per-piece·merkle·trees·are·complete.·A·SHA-256·hash·of |
199 | all·zeros·is·internally·used·to·indicate·a·hash·that·has·not·been·set.·Setting | 199 | all·zeros·is·internally·used·to·indicate·a·hash·that·has·not·been·set.·Setting |
200 | such·hash·will·not·be·considered·set·when·calling·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8(_\x8).·This·function | 200 | such·hash·will·not·be·considered·set·when·calling·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8(_\x8).·This·function |
201 | will·throw·std::system_error·if·it·is·called·on·an·object·constructed·with·the | 201 | will·throw·std::system_error·if·it·is·called·on·an·object·constructed·with·the |
202 | v1_only·flag. | 202 | v1_only·flag. |
203 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 203 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
204 | *\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_ | 204 | *\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_h.ht.tt.tp.p_._s.se.ee.ed.d(.().)·a.ad.dd.d_._u.ur.rl.l_\x8_s\x8se\x8ee\x8ed\x8d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
205 | void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url); | 205 | void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url); |
206 | void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url); | 206 | void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url); |
207 | This·adds·a·url·seed·to·the·torrent.·You·can·have·any·number·of·url·seeds.·For | 207 | This·adds·a·url·seed·to·the·torrent.·You·can·have·any·number·of·url·seeds.·For |
208 | a·single·file·torrent,·this·should·be·an·HTTP·url,·pointing·to·a·file·with | 208 | a·single·file·torrent,·this·should·be·an·HTTP·url,·pointing·to·a·file·with |
209 | identical·content·as·the·file·of·the·torrent.·For·a·multi-file·torrent,·it | 209 | identical·content·as·the·file·of·the·torrent.·For·a·multi-file·torrent,·it |
210 | should·point·to·a·directory·containing·a·directory·with·the·same·name·as·this | 210 | should·point·to·a·directory·containing·a·directory·with·the·same·name·as·this |
211 | torrent,·and·all·the·files·of·the·torrent·in·it. | 211 | torrent,·and·all·the·files·of·the·torrent·in·it. |
Offset 262, 22 lines modified | Offset 262, 22 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_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* | ||
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* | ||
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; | 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; | ||
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_ | 276 | *\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_s.si.im.mi.il.la.ar.r_._t.to.or.rr.re.en.nt.t(.().)·a.ad.dd.d_._c.co.ol.ll.le.ec.ct.ti.io.on.n(\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); | 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); | 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); |
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. |
Offset 329, 17 lines modified | Offset 329, 17 lines modified | ||
329 | ······behavior·deviates·from·the·specification·but·was·the·way·libtorrent | 329 | ······behavior·deviates·from·the·specification·but·was·the·way·libtorrent |
330 | ······created·torrents·in·version·up·to·and·including·2.0.7.·This·flag·is·here | 330 | ······created·torrents·in·version·up·to·and·including·2.0.7.·This·flag·is·here |
331 | ······for·backwards·compatibility. | 331 | ······for·backwards·compatibility. |
332 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 332 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
333 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | 333 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
334 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8._\x8h_\x8p_\x8p" | 334 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8._\x8h_\x8p_\x8p" |
335 | void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8es\x8s·(file_storage&·fs,·std::string·const&·file | 335 | void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8es\x8s·(file_storage&·fs,·std::string·const&·file |
Max diff block lines reached; 3266/12363 bytes (26.42%) of diff not shown. |
Offset 32, 15 lines modified | Offset 32, 15 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="#open-file-state"·id="toc-entry-1">open_file_state</a></li> | 35 | <li><a·class="reference·internal"·href="#open-file-state"·id="toc-entry-1">open_file_state</a></li> |
36 | <li><a·class="reference·internal"·href="#disk-interface"·id="toc-entry-2">disk_interface</a><ul> | 36 | <li><a·class="reference·internal"·href="#disk-interface"·id="toc-entry-2">disk_interface</a><ul> |
37 | <li><a·class="reference·internal"·href="#new-torrent"·id="toc-entry-3">new_torrent()</a></li> | 37 | <li><a·class="reference·internal"·href="#new-torrent"·id="toc-entry-3">new_torrent()</a></li> |
38 | <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-4">remove_torrent()</a></li> | 38 | <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-4">remove_torrent()</a></li> |
39 | <li><a·class="reference·internal"·href="#async-r | 39 | <li><a·class="reference·internal"·href="#async-write-async-read"·id="toc-entry-5">async_write()·async_read()</a></li> |
40 | <li><a·class="reference·internal"·href="#async-hash"·id="toc-entry-6">async_hash()</a></li> | 40 | <li><a·class="reference·internal"·href="#async-hash"·id="toc-entry-6">async_hash()</a></li> |
41 | <li><a·class="reference·internal"·href="#async-hash2"·id="toc-entry-7">async_hash2()</a></li> | 41 | <li><a·class="reference·internal"·href="#async-hash2"·id="toc-entry-7">async_hash2()</a></li> |
42 | <li><a·class="reference·internal"·href="#async-move-storage"·id="toc-entry-8">async_move_storage()</a></li> | 42 | <li><a·class="reference·internal"·href="#async-move-storage"·id="toc-entry-8">async_move_storage()</a></li> |
43 | <li><a·class="reference·internal"·href="#async-release-files"·id="toc-entry-9">async_release_files()</a></li> | 43 | <li><a·class="reference·internal"·href="#async-release-files"·id="toc-entry-9">async_release_files()</a></li> |
44 | <li><a·class="reference·internal"·href="#async-check-files"·id="toc-entry-10">async_check_files()</a></li> | 44 | <li><a·class="reference·internal"·href="#async-check-files"·id="toc-entry-10">async_check_files()</a></li> |
45 | <li><a·class="reference·internal"·href="#async-stop-torrent"·id="toc-entry-11">async_stop_torrent()</a></li> | 45 | <li><a·class="reference·internal"·href="#async-stop-torrent"·id="toc-entry-11">async_stop_torrent()</a></li> |
46 | <li><a·class="reference·internal"·href="#async-rename-file"·id="toc-entry-12">async_rename_file()</a></li> | 46 | <li><a·class="reference·internal"·href="#async-rename-file"·id="toc-entry-12">async_rename_file()</a></li> |
Offset 199, 18 lines modified | Offset 199, 18 lines modified | ||
199 | <h2>remove_torrent()</h2> | 199 | <h2>remove_torrent()</h2> |
200 | <pre·class="literal-block"> | 200 | <pre·class="literal-block"> |
201 | virtual·void·<strong>remove_torrent</strong>·(storage_index_t)·=·0; | 201 | virtual·void·<strong>remove_torrent</strong>·(storage_index_t)·=·0; |
202 | </pre> | 202 | </pre> |
203 | <p>remove·the·storage·with·the·specified·index.·This·is·not·expected·to | 203 | <p>remove·the·storage·with·the·specified·index.·This·is·not·expected·to |
204 | delete·any·files·from·disk,·just·to·clean·up·any·resources·associated | 204 | delete·any·files·from·disk,·just·to·clean·up·any·resources·associated |
205 | with·the·specified·storage.</p> | 205 | with·the·specified·storage.</p> |
206 | <a·name="async_r | 206 | <a·name="async_write()"></a> |
207 | <a·name="async_ | 207 | <a·name="async_read()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:disk_interface%3A%3A%5Basync_write%28%29+async_read%28%29%5D&labels=documentation&body=Documentation+under+heading+%22disk_interface%3A%3A%5Basync_wr[·...·truncated·by·diffoscope;·len:·20,·SHA:·bbb3030f237567ec63dd2cae9f643540d1fc96d73fc73c42eca6960ee862da40·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
208 | <div·class="section"·id="async-r | 208 | <div·class="section"·id="async-write-async-read"> |
209 | <h2>async_r | 209 | <h2>async_write()·async_read()</h2> |
210 | <pre·class="literal-block"> | 210 | <pre·class="literal-block"> |
211 | virtual·void·<strong>async_read</strong>·(storage_index_t·storage,·peer_request·const&·r | 211 | virtual·void·<strong>async_read</strong>·(storage_index_t·storage,·peer_request·const&·r |
212 | ······,·std::function<void(disk_buffer_holder,·storage_error·const&)>·handler | 212 | ······,·std::function<void(disk_buffer_holder,·storage_error·const&)>·handler |
213 | ······,·disk_job_flags_t·flags·=·{})·=·0; | 213 | ······,·disk_job_flags_t·flags·=·{})·=·0; |
214 | virtual·bool·<strong>async_write</strong>·(storage_index_t·storage,·peer_request·const&·r | 214 | virtual·bool·<strong>async_write</strong>·(storage_index_t·storage,·peer_request·const&·r |
215 | ······,·char·const*·buf,·std::shared_ptr<disk_observer>·o | 215 | ······,·char·const*·buf,·std::shared_ptr<disk_observer>·o |
216 | ······,·std::function<void(storage_error·const&)>·handler | 216 | ······,·std::function<void(storage_error·const&)>·handler |
Offset 469, 17 lines modified | Offset 469, 17 lines modified | ||
469 | internal·libtorrent·torrent·object·to·tie·the·storage·object·allocated | 469 | internal·libtorrent·torrent·object·to·tie·the·storage·object·allocated |
470 | for·a·torrent·to·the·lifetime·of·the·internal·torrent·object.·When·a | 470 | for·a·torrent·to·the·lifetime·of·the·internal·torrent·object.·When·a |
471 | torrent·is·removed·from·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>,·this·holder·is·destructed·and·will | 471 | torrent·is·removed·from·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>,·this·holder·is·destructed·and·will |
472 | inform·the·disk·object.</p> | 472 | inform·the·disk·object.</p> |
473 | <pre·class="literal-block"> | 473 | <pre·class="literal-block"> |
474 | struct·storage_holder | 474 | struct·storage_holder |
475 | { | 475 | { |
476 | ···<strong>storage_holder</strong>·(storage_index_t·idx,·disk_interface&·disk_io); | ||
477 | ···<strong>~storage_holder</strong>·(); | 476 | ···<strong>~storage_holder</strong>·(); |
478 | ···<strong>storage_holder</strong>·()·=·default; | 477 | ···<strong>storage_holder</strong>·()·=·default; |
478 | ···<strong>storage_holder</strong>·(storage_index_t·idx,·disk_interface&·disk_io); | ||
479 | ···explicit·operator·<strong>bool</strong>·()·const; | 479 | ···explicit·operator·<strong>bool</strong>·()·const; |
480 | ···operator·<strong>storage_index_t</strong>·()·const; | 480 | ···operator·<strong>storage_index_t</strong>·()·const; |
481 | ···void·<strong>reset</strong>·(); | 481 | ···void·<strong>reset</strong>·(); |
482 | ···<strong>storage_holder</strong>·(storage_holder·const&)·=·delete; | 482 | ···<strong>storage_holder</strong>·(storage_holder·const&)·=·delete; |
483 | ···storage_holder&·<strong>operator=</strong>·(storage_holder·const&)·=·delete; | 483 | ···storage_holder&·<strong>operator=</strong>·(storage_holder·const&)·=·delete; |
484 | ···<strong>storage_holder</strong>·(storage_holder&&·rhs)·noexcept; | 484 | ···<strong>storage_holder</strong>·(storage_holder&&·rhs)·noexcept; |
485 | ···storage_holder&·<strong>operator=</strong>·(storage_holder&&·rhs)·noexcept; | 485 | ···storage_holder&·<strong>operator=</strong>·(storage_holder&&·rhs)·noexcept; |
Offset 524, 16 lines modified | Offset 524, 16 lines modified | ||
524 | <p>The·disk·buffer·holder·acts·like·a·<tt·class="docutils·literal">unique_ptr</tt>·that·frees·a·disk·buffer | 524 | <p>The·disk·buffer·holder·acts·like·a·<tt·class="docutils·literal">unique_ptr</tt>·that·frees·a·disk·buffer |
525 | when·it's·destructed</p> | 525 | when·it's·destructed</p> |
526 | <p>If·this·buffer·holder·is·moved-from,·default·constructed·or·reset, | 526 | <p>If·this·buffer·holder·is·moved-from,·default·constructed·or·reset, |
527 | <tt·class="docutils·literal">data()</tt>·will·return·nullptr.</p> | 527 | <tt·class="docutils·literal">data()</tt>·will·return·nullptr.</p> |
528 | <pre·class="literal-block"> | 528 | <pre·class="literal-block"> |
529 | struct·disk_buffer_holder | 529 | struct·disk_buffer_holder |
530 | { | 530 | { |
531 | ···disk_buffer_holder&·<strong>operator=</strong>·(disk_buffer_holder&&)·&·noexcept; | ||
532 | ···<strong>disk_buffer_holder</strong>·(disk_buffer_holder&&)·noexcept; | 531 | ···<strong>disk_buffer_holder</strong>·(disk_buffer_holder&&)·noexcept; |
532 | ···disk_buffer_holder&·<strong>operator=</strong>·(disk_buffer_holder&&)·&·noexcept; | ||
533 | ···<strong>disk_buffer_holder</strong>·(disk_buffer_holder·const&)·=·delete; | 533 | ···<strong>disk_buffer_holder</strong>·(disk_buffer_holder·const&)·=·delete; |
534 | ···disk_buffer_holder&·<strong>operator=</strong>·(disk_buffer_holder·const&)·=·delete; | 534 | ···disk_buffer_holder&·<strong>operator=</strong>·(disk_buffer_holder·const&)·=·delete; |
535 | ···<strong>disk_buffer_holder</strong>·(buffer_allocator_interface&·alloc | 535 | ···<strong>disk_buffer_holder</strong>·(buffer_allocator_interface&·alloc |
536 | ······,·char*·buf,·int·sz)·noexcept; | 536 | ······,·char*·buf,·int·sz)·noexcept; |
537 | ···<strong>disk_buffer_holder</strong>·()·noexcept·=·default; | 537 | ···<strong>disk_buffer_holder</strong>·()·noexcept·=·default; |
538 | ···<strong>~disk_buffer_holder</strong>·(); | 538 | ···<strong>~disk_buffer_holder</strong>·(); |
539 | ···char*·<strong>data</strong>·()·const·noexcept; | 539 | ···char*·<strong>data</strong>·()·const·noexcept; |
Offset 611, 20 lines modified | Offset 611, 20 lines modified | ||
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_bool</strong>·(int·name,·bool·val)·=·0; | 617 | ···virtual·void·<strong>set_bool</strong>·(int·name,·bool·val)·=·0; |
618 | ···virtual·bool·<strong>has_val</strong>·(int·name)·const·=·0; | ||
618 | ···virtual·void·<strong>set_int</strong>·(int·name,·int·val)·=·0; | 619 | ···virtual·void·<strong>set_int</strong>·(int·name,·int·val)·=·0; |
619 | ···virtual·void·<strong>set_str</strong>·(int·name,·std::string·val)·=·0; | 620 | ···virtual·void·<strong>set_str</strong>·(int·name,·std::string·val)·=·0; |
620 | ···virtual·bool·<strong>has_val</strong>·(int·name)·const·=·0; | ||
621 | ···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; |
622 | ···virtual·bool·<strong>get_bool</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 3, 15 lines modified | Offset 3, 15 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 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e | 6 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e |
7 | ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | 7 | ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e |
8 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 8 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
9 | ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 9 | ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
10 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_. | 10 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8w_.r_.i_.t_.e_.(_.)_.·_.a_.s_.y_.n_.c_.__.r_.e_.a_.d_\x8(_\x8) |
11 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) | 11 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) |
12 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8h_\x8a_\x8s_\x8h_\x82_\x8(_\x8) | 12 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8h_\x8a_\x8s_\x8h_\x82_\x8(_\x8) |
13 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8) | 13 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8) |
14 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 14 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
15 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8c_\x8h_\x8e_\x8c_\x8k_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 15 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8c_\x8h_\x8e_\x8c_\x8k_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
16 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 16 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
17 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 17 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
Offset 159, 15 lines modified | Offset 159, 15 lines modified | ||
159 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 159 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
160 | *\x8**\x8**\x8**\x8**\x8*·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 160 | *\x8**\x8**\x8**\x8**\x8*·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
161 | virtual·void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(storage_index_t)·=·0; | 161 | virtual·void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(storage_index_t)·=·0; |
162 | remove·the·storage·with·the·specified·index.·This·is·not·expected·to·delete·any | 162 | remove·the·storage·with·the·specified·index.·This·is·not·expected·to·delete·any |
163 | files·from·disk,·just·to·clean·up·any·resources·associated·with·the·specified | 163 | files·from·disk,·just·to·clean·up·any·resources·associated·with·the·specified |
164 | storage. | 164 | storage. |
165 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 165 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
166 | *\x8**\x8**\x8**\x8**\x8*·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_r.r | 166 | *\x8**\x8**\x8**\x8**\x8*·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_w.wr.ri.it.te.e(.().)·a.as.sy.yn.nc.c_._r.re.ea.ad.d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
167 | virtual·void·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_r\x8re\x8ea\x8ad\x8d·(storage_index_t·storage,·peer_request·const&·r | 167 | virtual·void·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_r\x8re\x8ea\x8ad\x8d·(storage_index_t·storage,·peer_request·const&·r |
168 | ······,·std::function<void(disk_buffer_holder,·storage_error·const&)>·handler | 168 | ······,·std::function<void(disk_buffer_holder,·storage_error·const&)>·handler |
169 | ······,·disk_job_flags_t·flags·=·{})·=·0; | 169 | ······,·disk_job_flags_t·flags·=·{})·=·0; |
170 | virtual·bool·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_w\x8wr\x8ri\x8it\x8te\x8e·(storage_index_t·storage,·peer_request·const&·r | 170 | virtual·bool·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_w\x8wr\x8ri\x8it\x8te\x8e·(storage_index_t·storage,·peer_request·const&·r |
171 | ······,·char·const*·buf,·std::shared_ptr<disk_observer>·o | 171 | ······,·char·const*·buf,·std::shared_ptr<disk_observer>·o |
172 | ······,·std::function<void(storage_error·const&)>·handler | 172 | ······,·std::function<void(storage_error·const&)>·handler |
173 | ······,·disk_job_flags_t·flags·=·{})·=·0; | 173 | ······,·disk_job_flags_t·flags·=·{})·=·0; |
Offset 361, 17 lines modified | Offset 361, 17 lines modified | ||
361 | a·unique,·owning,·reference·to·the·storage·of·a·torrent·in·a·disk·io·subsystem | 361 | a·unique,·owning,·reference·to·the·storage·of·a·torrent·in·a·disk·io·subsystem |
362 | (class·that·implements·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e).·This·is·held·by·the·internal·libtorrent | 362 | (class·that·implements·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e).·This·is·held·by·the·internal·libtorrent |
363 | torrent·object·to·tie·the·storage·object·allocated·for·a·torrent·to·the | 363 | torrent·object·to·tie·the·storage·object·allocated·for·a·torrent·to·the |
364 | lifetime·of·the·internal·torrent·object.·When·a·torrent·is·removed·from·the | 364 | lifetime·of·the·internal·torrent·object.·When·a·torrent·is·removed·from·the |
365 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n,·this·holder·is·destructed·and·will·inform·the·disk·object. | 365 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n,·this·holder·is·destructed·and·will·inform·the·disk·object. |
366 | struct·storage_holder | 366 | struct·storage_holder |
367 | { | 367 | { |
368 | ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_index_t·idx,·disk_interface&·disk_io); | ||
369 | ···~\x8~s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(); | 368 | ···~\x8~s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(); |
370 | ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·()·=·default; | 369 | ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·()·=·default; |
370 | ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_index_t·idx,·disk_interface&·disk_io); | ||
371 | ···explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const; | 371 | ···explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const; |
372 | ···operator·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_t\x8t·()·const; | 372 | ···operator·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_t\x8t·()·const; |
373 | ···void·r\x8re\x8es\x8se\x8et\x8t·(); | 373 | ···void·r\x8re\x8es\x8se\x8et\x8t·(); |
374 | ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_holder·const&)·=·delete; | 374 | ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_holder·const&)·=·delete; |
375 | ···storage_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(storage_holder·const&)·=·delete; | 375 | ···storage_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(storage_holder·const&)·=·delete; |
376 | ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_holder&&·rhs)·noexcept; | 376 | ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_holder&&·rhs)·noexcept; |
377 | ···storage_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(storage_holder&&·rhs)·noexcept; | 377 | ···storage_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(storage_holder&&·rhs)·noexcept; |
Offset 403, 16 lines modified | Offset 403, 16 lines modified | ||
403 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" | 403 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" |
404 | The·disk·buffer·holder·acts·like·a·unique_ptr·that·frees·a·disk·buffer·when | 404 | The·disk·buffer·holder·acts·like·a·unique_ptr·that·frees·a·disk·buffer·when |
405 | it's·destructed | 405 | it's·destructed |
406 | If·this·buffer·holder·is·moved-from,·default·constructed·or·reset,·data()·will | 406 | If·this·buffer·holder·is·moved-from,·default·constructed·or·reset,·data()·will |
407 | return·nullptr. | 407 | return·nullptr. |
408 | struct·disk_buffer_holder | 408 | struct·disk_buffer_holder |
409 | { | 409 | { |
410 | ···disk_buffer_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(disk_buffer_holder&&)·&·noexcept; | ||
411 | ···d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(disk_buffer_holder&&)·noexcept; | 410 | ···d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(disk_buffer_holder&&)·noexcept; |
411 | ···disk_buffer_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(disk_buffer_holder&&)·&·noexcept; | ||
412 | ···d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(disk_buffer_holder·const&)·=·delete; | 412 | ···d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(disk_buffer_holder·const&)·=·delete; |
413 | ···disk_buffer_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(disk_buffer_holder·const&)·=·delete; | 413 | ···disk_buffer_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(disk_buffer_holder·const&)·=·delete; |
414 | ···d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(buffer_allocator_interface&·alloc | 414 | ···d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(buffer_allocator_interface&·alloc |
415 | ······,·char*·buf,·int·sz)·noexcept; | 415 | ······,·char*·buf,·int·sz)·noexcept; |
416 | ···d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·()·noexcept·=·default; | 416 | ···d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·()·noexcept·=·default; |
417 | ···~\x8~d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(); | 417 | ···~\x8~d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(); |
418 | ···char*·d\x8da\x8at\x8ta\x8a·()·const·noexcept; | 418 | ···char*·d\x8da\x8at\x8ta\x8a·()·const·noexcept; |
Offset 461, 20 lines modified | Offset 461, 20 lines modified | ||
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_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·=·0; | 467 | ···virtual·void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·=·0; |
468 | ···virtual·bool·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l·(int·name)·const·=·0; | ||
468 | ···virtual·void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·int·val)·=·0; | 469 | ···virtual·void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·int·val)·=·0; |
469 | ···virtual·void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·=·0; | 470 | ···virtual·void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·=·0; |
470 | ···virtual·bool·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l·(int·name)·const·=·0; | ||
471 | ···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; |
472 | ···virtual·bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(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 | ··· | 63 | ···<strong>ip_filter</strong>·(ip_filter·const&); |
64 | ···<strong>~ip_filter</strong>·(); | ||
64 | ···ip_filter&·<strong>operator=</strong>·(ip_filter·const&); | 65 | ···ip_filter&·<strong>operator=</strong>·(ip_filter·const&); |
65 | ···<strong>ip_filter</strong>·(ip_filter&&); | 66 | ···<strong>ip_filter</strong>·(ip_filter&&); |
67 | ···ip_filter&·<strong>operator=</strong>·(ip_filter&&); | ||
66 | ···<strong>ip_filter</strong>·(); | 68 | ···<strong>ip_filter</strong>·(); |
67 | ···<strong>~ip_filter</strong>·(); | ||
68 | ···<strong>ip_filter</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 154, 19 lines modified | Offset 154, 19 lines modified | ||
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 | ···<strong>port_filter</strong>·(); | 160 | ···<strong>port_filter</strong>·(); |
161 | ···<strong>port_filter</strong>·(port_filter&&); | ||
162 | ···port_filter&·<strong>operator=</strong>·(port_filter&&); | 161 | ···port_filter&·<strong>operator=</strong>·(port_filter&&); |
163 | ···<strong>port_filter</strong>·(port_filter·const&); | 162 | ···<strong>port_filter</strong>·(port_filter·const&); |
164 | ···port_filter&·<strong>operator=</strong>·(port_filter·const&); | ||
165 | ···<strong>~port_filter</strong>·(); | 163 | ···<strong>~port_filter</strong>·(); |
164 | ···port_filter&·<strong>operator=</strong>·(port_filter·const&); | ||
165 | ···<strong>port_filter</strong>·(port_filter&&); | ||
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 | 26 | ···i.ip.p_._f.fi.il.lt.te.er.r·(ip_filter·const&); |
27 | ···~\x8~i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | ||
27 | ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter·const&); | 28 | ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter·const&); |
28 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter&&); | 29 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter&&); |
30 | ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter&&); | ||
29 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | 31 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); |
30 | ···~\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·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 82, 19 lines modified | Offset 82, 19 lines modified | ||
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 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | 88 | ···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&&); | ||
90 | ···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&&); |
91 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(port_filter·const&); | 90 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(port_filter·const&); |
92 | ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter·const&); | ||
93 | ···~\x8~p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | 91 | ···~\x8~p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); |
92 | ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter·const&); | ||
93 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(port_filter&&); | ||
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 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-resume-on-pause"·id="toc-entry-19">on_resume()·on_pause()</a></li> | 55 | <li><a·class="reference·internal"·href="#on-resume-on-pause"·id="toc-entry-19">on_resume()·on_pause()</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-have-none-on-bitfield-on-unchoke-on-not-interested-on-choke-on-have-on-interested-on-have-all-on-request-on-dont-have-on-allowed-fast"·id="toc-entry-30">on_have_none()·on_bitfield()·on_unchoke()·on_not_interested()·on_choke()·on_have()·on_interested()·on_h[·...·truncated·by·diffoscope;·len:·53,·SHA:·72d16324c9b6ebf6c0bee3d3585800f4c41b87a92d0c007bb791ef632427e939·...·]()</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- | 70 | <li><a·class="reference·internal"·href="#sent-not-interested-sent-have-sent-interested-sent-unchoke-sent-piece"·id="toc-entry-32">sent_not_interested()·sent_have()·sent_interested()·sent_unchoke()·sent_piece()</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 376, 18 lines modified | Offset 376, 18 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_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); | 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 |
Offset 475, 42 lines modified | Offset 475, 42 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_ | 482 | ···virtual·bool·<strong>on_not_interested</strong>·(); |
483 | ···virtual·bool·<strong>on_have_all</strong>·(); | ||
484 | ···virtual·bool·<strong>on_request</strong>·(peer_request·const&); | ||
485 | ···virtual·bool·<strong>on_bitfield</strong>·(bitfield·const&·<em>/*bitfield*/</em>); | ||
486 | ···virtual·bool·<strong>on_have</strong>·(piece_index_t); | 483 | ···virtual·bool·<strong>on_have</strong>·(piece_index_t); |
487 | ···virtual·bool·<strong>on_allowed_fast</strong>·(piece_index_t); | ||
488 | ···virtual·bool·<strong>on_have_none</strong>·(); | 484 | ···virtual·bool·<strong>on_have_none</strong>·(); |
489 | ···virtual·bool·<strong>on_interested</strong>·(); | ||
490 | ···virtual·bool·<strong>on_dont_have</strong>·(piece_index_t); | ||
491 | ···virtual·bool·<strong>on_unchoke</strong>·(); | 485 | ···virtual·bool·<strong>on_unchoke</strong>·(); |
486 | ···virtual·bool·<strong>on_dont_have</strong>·(piece_index_t); | ||
487 | ···virtual·bool·<strong>on_choke</strong>·(); | ||
488 | ···virtual·bool·<strong>on_allowed_fast</strong>·(piece_index_t); | ||
489 | ···virtual·bool·<strong>on_request</strong>·(peer_request·const&); | ||
492 | ···virtual·bool·<strong>on_ | 490 | ···virtual·bool·<strong>on_interested</strong>·(); |
491 | ···virtual·bool·<strong>on_bitfield</strong>·(bitfield·const&·<em>/*bitfield*/</em>); | ||
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_cancel</strong>·(peer_request·const&); | 495 | ···virtual·bool·<strong>on_cancel</strong>·(peer_request·const&); |
496 | ···virtual·bool·<strong>on_reject</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_reject</strong>·(peer_request·const&); | ||
498 | ···virtual·void·<strong>sent_choke</strong>·(); | ||
499 | ···virtual·void·<strong>sent_reject_request</strong>·(peer_request·const&); | ||
498 | ···virtual·void·<strong>sent_have_all</strong>·(); | 500 | ···virtual·void·<strong>sent_have_all</strong>·(); |
501 | ···virtual·void·<strong>sent_have_none</strong>·(); | ||
499 | ···virtual·void·<strong>sent_allow_fast</strong>·(piece_index_t); | 502 | ···virtual·void·<strong>sent_allow_fast</strong>·(piece_index_t); |
500 | ···virtual·void·<strong>sent_cancel</strong>·(peer_request·const&); | ||
501 | ···virtual·void·<strong>sent_suggest</strong>·(piece_index_t); | 503 | ···virtual·void·<strong>sent_suggest</strong>·(piece_index_t); |
504 | ···virtual·void·<strong>sent_cancel</strong>·(peer_request·const&); | ||
502 | ···virtual·void·<strong>sent_have_none</strong>·(); | ||
503 | ···virtual·void·<strong>sent_choke</strong>·(); | ||
504 | ···virtual·void·<strong>sent_request</strong>·(peer_request·const&); | 505 | ···virtual·void·<strong>sent_request</strong>·(peer_request·const&); |
505 | ···virtual·void·<strong>sent_reject_request</strong>·(peer_request·const&); | ||
506 | ···virtual·void·<strong>sent_ | 506 | ···virtual·void·<strong>sent_unchoke</strong>·(); |
507 | ···virtual·void·<strong>sent_piece</strong>·(peer_request·const&); | 507 | ···virtual·void·<strong>sent_piece</strong>·(peer_request·const&); |
508 | ···virtual·void·<strong>sent_have</strong>·(piece_index_t); | 508 | ···virtual·void·<strong>sent_have</strong>·(piece_index_t); |
509 | ···virtual·void·<strong>sent_ | 509 | ···virtual·void·<strong>sent_interested</strong>·(); |
510 | ···virtual·void·<strong>sent_not_interested</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>, |
514 | ······span<char·const>·<em>/*body*/</em>); | 514 | ······span<char·const>·<em>/*body*/</em>); |
515 | ···virtual·bool·<strong>on_unknown_message</strong>·(int·<em>/*length*/</em>,·int·<em>/*msg*/</em>, | 515 | ···virtual·bool·<strong>on_unknown_message</strong>·(int·<em>/*length*/</em>,·int·<em>/*msg*/</em>, |
516 | ······span<char·const>·<em>/*body*/</em>); | 516 | ······span<char·const>·<em>/*body*/</em>); |
Offset 569, 39 lines modified | Offset 569, 39 lines modified | ||
569 | virtual·bool·<strong>on_extension_handshake</strong>·(bdecode_node·const&); | 569 | virtual·bool·<strong>on_extension_handshake</strong>·(bdecode_node·const&); |
570 | </pre> | 570 | </pre> |
571 | <p>called·when·the·extension·handshake·from·the·other·end·is·received | 571 | <p>called·when·the·extension·handshake·from·the·other·end·is·received |
572 | if·this·returns·false,·it·means·that·this·extension·isn't | 572 | if·this·returns·false,·it·means·that·this·extension·isn't |
573 | supported·by·this·peer.·It·will·result·in·this·<a·class="reference·external"·href="reference-Plugins.html#peer_plugin">peer_plugin</a> | 573 | supported·by·this·peer.·It·will·result·in·this·<a·class="reference·external"·href="reference-Plugins.html#peer_plugin">peer_plugin</a> |
574 | being·removed·from·the·peer_connection·and·destructed. | 574 | being·removed·from·the·peer_connection·and·destructed. |
575 | this·is·not·called·for·web·seeds</p> | 575 | this·is·not·called·for·web·seeds</p> |
576 | <a·name="on_allowed_fast()"></a> | ||
577 | <a·name="on_have()"></a> | 576 | <a·name="on_have_none()"></a> |
578 | <a·name="on_bitfield()"></a> | 577 | <a·name="on_bitfield()"></a> |
579 | <a·name="on_interested()"></a> | ||
580 | <a·name="on_dont_have()"></a> | ||
581 | <a·name="on_not_interested()"></a> | ||
582 | <a·name="on_unchoke()"></a> | 578 | <a·name="on_unchoke()"></a> |
579 | <a·name="on_not_interested()"></a> | ||
583 | <a·name="on_choke()"></a> | 580 | <a·name="on_choke()"></a> |
Max diff block lines reached; 14270/25340 bytes (56.31%) 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__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8) | 24 | ··········o·_\x8o_\x8n_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8p_\x8a_\x8u_\x8s_\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__\x8a_\x8l_\x8l_\x8o_\x8w_\x8e_\x8d_\x8__\x8f_\x8a_\x8s_\x8t_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8) | ||
36 | ············_\x8o_\x8n_\x8__\x8d_\x8o_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8n_\x8o_\x8t_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8u_\x8n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8) | ||
37 | ·········· | 35 | ··········o·_.o_.n_.__.h_.a_.v_.e_.__.n_.o_.n_.e_.(_.)_.·_.o_.n_.__.b_.i_.t_.f_.i_.e_.l_.d_.(_.)_.·_.o_.n_.__.u_.n_.c_.h_.o_.k_.e_.(_.)_.·_.o_.n_.__.n_.o_.t_.__.i_.n_.t_.e_.r_.e_.s_.t_.e_.d_\x8(_\x8) |
36 | ············_\x8o_\x8n_\x8__\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\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)_\x8·_\x8o_\x8n_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8) | ||
37 | ············_\x8o_\x8n_\x8__\x8d_\x8o_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8a_\x8l_\x8l_\x8o_\x8w_\x8e_\x8d_\x8__\x8f_\x8a_\x8s_\x8t_\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__\x8n_.o_.t_.__.i_.n_.t_.e_.r_.e_.s_.t_.e_.d_.(_.)_.·_.s_.e_.n_.t_.__.h_.a_.v_.e_.(_.)_.·_.s_.e_.n_.t_.__.i_.n_.t_.e_.r_.e_.s_.t_.e_.d_.(_.)_.·_.s_.e_.n_.t_.__.u_.n_.c_.h_.o_.k_\x8e_\x8(_\x8) |
40 | ············_\x8s_\x8e_\x8n_\x8t_\x8__\x8 | 40 | ············_\x8s_\x8e_\x8n_\x8t_\x8__\x8p_.i_.e_.c_.e_\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 285, 15 lines modified | Offset 285, 15 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_ | 292 | *\x8**\x8**\x8**\x8**\x8*·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_p.pa.as.ss.s(.().)·o.on.n_._p.pi.ie.ec.ce.e_._f.fa.ai.il.le.ed.d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
293 | 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); | 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] |
Offset 354, 42 lines modified | Offset 354, 42 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_n\x8no\x8ot\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·(); | ||
361 | ···virtual·bool·o\x8on\x8n_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e·(); | ||
362 | ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_a\x8al\x8ll\x8l·(); | ||
363 | ···virtual·bool·o\x8on\x8n_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t·(peer_request·const&); | ||
364 | ···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/); | ||
365 | ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t); | 362 | ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t); |
366 | ···virtual·bool·o\x8on\x8n_\x8_a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d_\x8_f\x8fa\x8as\x8st\x8t·(piece_index_t); | ||
367 | ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e·(); | 363 | ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e·(); |
368 | ···virtual·bool·o\x8on\x8n_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·(); | ||
369 | ···virtual·bool·o\x8on\x8n_\x8_d\x8do\x8on\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t); | ||
370 | ···virtual·bool·o\x8on\x8n_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e·(); | 364 | ···virtual·bool·o\x8on\x8n_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e·(); |
365 | ···virtual·bool·o\x8on\x8n_\x8_d\x8do\x8on\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t); | ||
366 | ···virtual·bool·o\x8on\x8n_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e·(); | ||
367 | ···virtual·bool·o\x8on\x8n_\x8_a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d_\x8_f\x8fa\x8as\x8st\x8t·(piece_index_t); | ||
368 | ···virtual·bool·o\x8on\x8n_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t·(peer_request·const&); | ||
371 | ···virtual·bool·o\x8on\x8n_\x8_ | 369 | ···virtual·bool·o\x8on\x8n_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·(); |
370 | ···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/); | ||
371 | ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_a\x8al\x8ll\x8l·(); | ||
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_c\x8ca\x8an\x8nc\x8ce\x8el\x8l·(peer_request·const&); | 374 | ···virtual·bool·o\x8on\x8n_\x8_c\x8ca\x8an\x8nc\x8ce\x8el\x8l·(peer_request·const&); |
375 | ···virtual·bool·o\x8on\x8n_\x8_r\x8re\x8ej\x8je\x8ec\x8ct\x8t·(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_r\x8re\x8ej\x8je\x8ec\x8ct\x8t·(peer_request·const&); | ||
377 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e·(); | ||
378 | ···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&); | ||
377 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e_\x8_a\x8al\x8ll\x8l·(); | 379 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e_\x8_a\x8al\x8ll\x8l·(); |
380 | ···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_a\x8al\x8ll\x8lo\x8ow\x8w_\x8_f\x8fa\x8as\x8st\x8t·(piece_index_t); | 381 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_a\x8al\x8ll\x8lo\x8ow\x8w_\x8_f\x8fa\x8as\x8st\x8t·(piece_index_t); |
379 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_c\x8ca\x8an\x8nc\x8ce\x8el\x8l·(peer_request·const&); | ||
380 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_s\x8su\x8ug\x8gg\x8ge\x8es\x8st\x8t·(piece_index_t); | 382 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_s\x8su\x8ug\x8gg\x8ge\x8es\x8st\x8t·(piece_index_t); |
383 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_c\x8ca\x8an\x8nc\x8ce\x8el\x8l·(peer_request·const&); | ||
381 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e·(); | ||
382 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e·(); | ||
383 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t·(peer_request·const&); | 384 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t·(peer_request·const&); |
385 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e·(); | ||
384 | ···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&); | ||
385 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·(); | ||
386 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(peer_request·const&); | 386 | ···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_h\x8ha\x8av\x8ve\x8e·(piece_index_t); | 387 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t); |
388 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_ | 388 | ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_i.in.nt.te.er.re.es.st.te.ed.d·(); |
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·(); | 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/); |
394 | ···virtual·bool·o\x8on\x8n_\x8_u\x8un\x8nk\x8kn\x8no\x8ow\x8wn\x8n_\x8_m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·(int·/\x8/*\x8*l\x8le\x8en\x8ng\x8gt\x8th\x8h*\x8*/\x8/,·int·/\x8/*\x8*m\x8ms\x8sg\x8g*\x8*/\x8/, | 394 | ···virtual·bool·o\x8on\x8n_\x8_u\x8un\x8nk\x8kn\x8no\x8ow\x8wn\x8n_\x8_m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·(int·/\x8/*\x8*l\x8le\x8en\x8ng\x8gt\x8th\x8h*\x8*/\x8/,·int·/\x8/*\x8*m\x8ms\x8sg\x8g*\x8*/\x8/, |
395 | ······span<char·const>·/\x8/*\x8*b\x8bo\x8od\x8dy\x8y*\x8*/\x8/); | 395 | ······span<char·const>·/\x8/*\x8*b\x8bo\x8od\x8dy\x8y*\x8*/\x8/); |
Offset 426, 47 lines modified | Offset 426, 47 lines modified | ||
426 | *\x8**\x8**\x8**\x8**\x8*·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(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 426 | *\x8**\x8**\x8**\x8**\x8*·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(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
427 | 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&); | 427 | 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&); |
428 | called·when·the·extension·handshake·from·the·other·end·is·received·if·this | 428 | called·when·the·extension·handshake·from·the·other·end·is·received·if·this |
429 | returns·false,·it·means·that·this·extension·isn't·supported·by·this·peer.·It | 429 | returns·false,·it·means·that·this·extension·isn't·supported·by·this·peer.·It |
430 | will·result·in·this·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n·being·removed·from·the·peer_connection·and | 430 | will·result·in·this·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n·being·removed·from·the·peer_connection·and |
431 | destructed.·this·is·not·called·for·web·seeds | 431 | destructed.·this·is·not·called·for·web·seeds |
432 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 432 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
433 | *\x8**\x8**\x8**\x8**\x8*·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e(\x8()\x8)·o\x8on\x8n_\x8_b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d(\x8()\x8)·o\x8on\x8n_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e(\x8()\x8)·o\x8on\x8n_\x8_n\x8no\x8ot\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d(\x8()\x8)·o\x8on\x8n_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e(\x8()\x8) | ||
434 | o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e(\x8()\x8)·o\x8on\x8n_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d(\x8()\x8)·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_a\x8al\x8ll\x8l(\x8()\x8)·o\x8on\x8n_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t(\x8()\x8)·o\x8on\x8n_\x8_d\x8do\x8on\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e(\x8()\x8) | ||
435 | o\x8on\x8n_\x8_a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d_\x8_f\x8fa\x8as\x8st\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
436 | virtual·bool·o\x8on\x8n_\x8_n\x8no\x8ot\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·(); | ||
433 | *\x8**\x8**\x8**\x8**\x8*·o\x8on\x8n_\x8_a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d_\x8_f\x8fa\x8as\x8st\x8t(\x8()\x8)·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e(\x8()\x8)·o\x8on\x8n_\x8_b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d(\x8()\x8)·o\x8on\x8n_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d(\x8()\x8)·o\x8on\x8n_\x8_d\x8do\x8on\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e(\x8()\x8) | ||
434 | o\x8on\x8n_\x8_n\x8no\x8ot\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d(\x8()\x8)·o\x8on\x8n_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e(\x8()\x8)·o\x8on\x8n_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e(\x8()\x8)·o\x8on\x8n_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t(\x8()\x8)·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_a\x8al\x8ll\x8l(\x8()\x8) | ||
435 | o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
Max diff block lines reached; 9577/20515 bytes (46.68%) of diff not shown. |
Offset 30, 26 lines modified | Offset 30, 26 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="#read-resume-data"·id="toc-entry-1">read_resume_data()</a></li> | 35 | <li><a·class="reference·internal"·href="#read-resume-data"·id="toc-entry-1">read_resume_data()</a></li> |
36 | <li><a·class="reference·internal"·href="#write-resume-data-write-resume-data-buf"·id="toc-entry-2">write_resume_data()·write_resume_data_buf()</a></li> | 36 | <li><a·class="reference·internal"·href="#write-resume-data-write-resume-data-buf"·id="toc-entry-2">write_resume_data()·write_resume_data_buf()</a></li> |
37 | <li><a·class="reference·internal"·href="#write-torrent-file-write-torrent-file | 37 | <li><a·class="reference·internal"·href="#write-torrent-file-buf-write-torrent-file"·id="toc-entry-3">write_torrent_file_buf()·write_torrent_file()</a></li> |
38 | <li><a·class="reference·internal"·href="#write-torrent-flags-t"·id="toc-entry-4">write_torrent_flags_t</a></li> | 38 | <li><a·class="reference·internal"·href="#write-torrent-flags-t"·id="toc-entry-4">write_torrent_flags_t</a></li> |
39 | </ul> | 39 | </ul> |
40 | </div> | 40 | </div> |
41 | <a·name="read_resume_data()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:read_resume_data%28%29&labels=documentation&body=Documentation+under+heading+%22read_resume_data%28%29%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="read-resume-data"> | 41 | <a·name="read_resume_data()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:read_resume_data%28%29&labels=documentation&body=Documentation+under+heading+%22read_resume_data%28%29%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="read-resume-data"> |
42 | <h1>read_resume_data()</h1> | 42 | <h1>read_resume_data()</h1> |
43 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/read_resume_data.hpp">libtorrent/read_resume_data.hpp</a>"</p> | 43 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/read_resume_data.hpp">libtorrent/read_resume_data.hpp</a>"</p> |
44 | <pre·class="literal-block"> | 44 | <pre·class="literal-block"> |
45 | add_torrent_params·<strong>read_resume_data</strong>·(bdecode_node·const&·rd | ||
46 | ···,·int·piece_limit·=·0x200000); | ||
47 | add_torrent_params·<strong>read_resume_data</strong>·(span<char·const>·buffer | 45 | add_torrent_params·<strong>read_resume_data</strong>·(span<char·const>·buffer |
48 | ···,·load_torrent_limits·const&·cfg·=·{}); | 46 | ···,·load_torrent_limits·const&·cfg·=·{}); |
47 | add_torrent_params·<strong>read_resume_data</strong>·(bdecode_node·const&·rd | ||
48 | ···,·int·piece_limit·=·0x200000); | ||
49 | add_torrent_params·<strong>read_resume_data</strong>·(span<char·const>·buffer | 49 | add_torrent_params·<strong>read_resume_data</strong>·(span<char·const>·buffer |
50 | ···,·error_code&·ec,·load_torrent_limits·const&·cfg·=·{}); | 50 | ···,·error_code&·ec,·load_torrent_limits·const&·cfg·=·{}); |
51 | add_torrent_params·<strong>read_resume_data</strong>·(bdecode_node·const&·rd | 51 | add_torrent_params·<strong>read_resume_data</strong>·(bdecode_node·const&·rd |
52 | ···,·error_code&·ec,·int·piece_limit·=·0x200000); | 52 | ···,·error_code&·ec,·int·piece_limit·=·0x200000); |
53 | </pre> | 53 | </pre> |
54 | <p>these·functions·are·used·to·parse·resume·data·and·populate·the·appropriate | 54 | <p>these·functions·are·used·to·parse·resume·data·and·populate·the·appropriate |
55 | fields·in·an·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·object.·This·object·can·then·be·used·to·add | 55 | fields·in·an·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·object.·This·object·can·then·be·used·to·add |
Offset 67, 23 lines modified | Offset 67, 23 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()"></a> | 68 | <a·name="write_resume_data()"></a> |
69 | <a·name="write_resume_data_buf()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_resume_data%28%29+write_resume_data_buf%28%29&labels=documentation&body=Documentation+under+heading+%22write_resume_data%28%29+write_resume_data_buf%28%29%22+could+be+improved">report·issue</a>]</span></div> | 69 | <a·name="write_resume_data_buf()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_resume_data%28%29+write_resume_data_buf%28%29&labels=documentation&body=Documentation+under+heading+%22write_resume_data%28%29+write_resume_data_buf%28%29%22+could+be+improved">report·issue</a>]</span></div> |
70 | <div·class="section"·id="write-resume-data-write-resume-data-buf"> | 70 | <div·class="section"·id="write-resume-data-write-resume-data-buf"> |
71 | <h1>write_resume_data()·write_resume_data_buf()</h1> | 71 | <h1>write_resume_data()·write_resume_data_buf()</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()"></a> | 79 | <a·name="write_torrent_file_buf()"></a> |
80 | <a·name="write_torrent_file | 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[·...·truncated·by·diffoscope;·len:·5,·SHA:·62e9b8e5a4a17a44eb3b2295880859f800a4b4b37c342acc45f1e59c2619a034·...·]%28%29%22+could+be+improved">report·issue</a>]</span></div> |
81 | <div·class="section"·id="write-torrent-file-write-torrent-file | 81 | <div·class="section"·id="write-torrent-file-buf-write-torrent-file"> |
82 | <h1>write_torrent_file()·write_torrent_file | 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); | 85 | entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&·atp,·write_torrent_flags_t·flags); |
86 | std::vector<char>·<strong>write_torrent_file_buf</strong>·(add_torrent_params·const&·atp | 86 | std::vector<char>·<strong>write_torrent_file_buf</strong>·(add_torrent_params·const&·atp |
87 | ···,·write_torrent_flags_t·flags); | 87 | ···,·write_torrent_flags_t·flags); |
88 | entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&·atp); | 88 | entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&·atp); |
89 | </pre> | 89 | </pre> |
Offset 1, 23 lines modified | Offset 1, 23 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 | ····*·_\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | 6 | ····*·_\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) |
7 | ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8)_\x8·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8b_\x8u_\x8f_\x8(_\x8) | 7 | ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8)_\x8·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8b_\x8u_\x8f_\x8(_\x8) |
8 | ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_.)_.·_.w_.r_.i_.t_.e_.__.t_.o_.r_.r_.e_.n_.t_.__.f_.i_.l_.e | 8 | ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__.b_.u_.f_.(_.)_.·_.w_.r_.i_.t_.e_.__.t_.o_.r_.r_.e_.n_.t_.__.f_.i_.l_.e_\x8(_\x8) |
9 | ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t | 9 | ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t |
10 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 10 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
11 | *\x8**\x8**\x8**\x8**\x8**\x8*·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | 11 | *\x8**\x8**\x8**\x8**\x8**\x8*·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
12 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p" | 12 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p" |
13 | add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(bdecode_node·const&·rd | ||
14 | ···,·int·piece_limit·=·0x200000); | ||
15 | add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(span<char·const>·buffer | 13 | add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(span<char·const>·buffer |
16 | ···,·load_torrent_limits·const&·cfg·=·{}); | 14 | ···,·load_torrent_limits·const&·cfg·=·{}); |
15 | add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(bdecode_node·const&·rd | ||
16 | ···,·int·piece_limit·=·0x200000); | ||
17 | add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(span<char·const>·buffer | 17 | add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(span<char·const>·buffer |
18 | ···,·error_code&·ec,·load_torrent_limits·const&·cfg·=·{}); | 18 | ···,·error_code&·ec,·load_torrent_limits·const&·cfg·=·{}); |
19 | add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(bdecode_node·const&·rd | 19 | add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(bdecode_node·const&·rd |
20 | ···,·error_code&·ec,·int·piece_limit·=·0x200000); | 20 | ···,·error_code&·ec,·int·piece_limit·=·0x200000); |
21 | these·functions·are·used·to·parse·resume·data·and·populate·the·appropriate | 21 | these·functions·are·used·to·parse·resume·data·and·populate·the·appropriate |
22 | fields·in·an·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object.·This·object·can·then·be·used·to·add·the | 22 | fields·in·an·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object.·This·object·can·then·be·used·to·add·the |
23 | actual·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·object·to·and·pass·to·session::add_torrent()·or·session:: | 23 | actual·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·object·to·and·pass·to·session::add_torrent()·or·session:: |
Offset 31, 20 lines modified | Offset 31, 20 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()\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)·*\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()\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)·*\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(.().)·w.wr.ri.it.te.e_._t.to.or.rr.re.en.nt.t_._f.fi.il.le.e | 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_._b.bu.uf.f(.().)·w.wr.ri.it.te.e_._t.to.or.rr.re.en.nt.t_._f.fi.il.le.e(\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 | 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 |
46 | flags); | 46 | flags); |
47 | 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 | 47 | 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 |
48 | ···,·write_torrent_flags_t·flags); | 48 | ···,·write_torrent_flags_t·flags); |
49 | 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); | 49 | 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); |
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 |
Offset 34, 81 lines modified | Offset 34, 81 lines modified | ||
34 | <ul·class="simple"> | 34 | <ul·class="simple"> |
35 | <li><a·class="reference·internal"·href="#session-params"·id="toc-entry-1">session_params</a><ul> | 35 | <li><a·class="reference·internal"·href="#session-params"·id="toc-entry-1">session_params</a><ul> |
36 | <li><a·class="reference·internal"·href="#session-params-1"·id="toc-entry-2">session_params()</a></li> | 36 | <li><a·class="reference·internal"·href="#session-params-1"·id="toc-entry-2">session_params()</a></li> |
37 | <li><a·class="reference·internal"·href="#session-params-2"·id="toc-entry-3">session_params()</a></li> | 37 | <li><a·class="reference·internal"·href="#session-params-2"·id="toc-entry-3">session_params()</a></li> |
38 | </ul> | 38 | </ul> |
39 | </li> | 39 | </li> |
40 | <li><a·class="reference·internal"·href="#session-proxy"·id="toc-entry-4">session_proxy</a><ul> | 40 | <li><a·class="reference·internal"·href="#session-proxy"·id="toc-entry-4">session_proxy</a><ul> |
41 | <li><a·class="reference·internal"·href="# | 41 | <li><a·class="reference·internal"·href="#session-proxy-session-proxy-operator"·id="toc-entry-5">session_proxy()·~session_proxy()·operator=()</a></li> |
42 | </ul> | 42 | </ul> |
43 | </li> | 43 | </li> |
44 | <li><a·class="reference·internal"·href="#session"·id="toc-entry-6">session</a><ul> | 44 | <li><a·class="reference·internal"·href="#session"·id="toc-entry-6">session</a><ul> |
45 | <li><a·class="reference·internal"·href="#session-1"·id="toc-entry-7">session()</a></li> | 45 | <li><a·class="reference·internal"·href="#session-1"·id="toc-entry-7">session()</a></li> |
46 | <li><a·class="reference·internal"·href="#session-2"·id="toc-entry-8">session()</a></li> | 46 | <li><a·class="reference·internal"·href="#session-2"·id="toc-entry-8">session()</a></li> |
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="#get-torrent-status-refresh-torrent-status"·id="toc-entry-14">get_torrent_status()·refresh_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="# | 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="#pause-is-paused | 61 | <li><a·class="reference·internal"·href="#resume-pause-is-paused"·id="toc-entry-21">resume()·pause()·is_paused()</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> |
69 | <li><a·class="reference·internal"·href="#dht-get-peers-dht-announce"·id="toc-entry-29">dht_get_peers()·dht_announce()</a></li> | 69 | <li><a·class="reference·internal"·href="#dht-get-peers-dht-announce"·id="toc-entry-29">dht_get_peers()·dht_announce()</a></li> |
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="#listen-port | 76 | <li><a·class="reference·internal"·href="#ssl-listen-port-listen-port-is-listening"·id="toc-entry-36">ssl_listen_port()·listen_port()·is_listening()</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="# | 83 | <li><a·class="reference·internal"·href="#apply-settings-get-settings"·id="toc-entry-43">apply_settings()·get_settings()</a></li> |
84 | <li><a·class="reference·internal"·href="# | 84 | <li><a·class="reference·internal"·href="#set-alert-notify-pop-alerts-wait-for-alert"·id="toc-entry-44">set_alert_notify()·pop_alerts()·wait_for_alert()</a></li> |
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> | 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="#r | 90 | <li><a·class="reference·internal"·href="#write-session-params-write-session-params-buf-read-session-params"·id="toc-entry-48">write_session_params()·write_session_params_buf()·read_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·const&·sp); | 101 | ···<strong>session_params</strong>·(settings_pack·const&·sp); |
102 | ···<strong>session_params</strong>·(); | 102 | ···<strong>session_params</strong>·(); |
103 | ···<strong>session_params</strong>·(settings_pack&&·sp); | 103 | ···<strong>session_params</strong>·(settings_pack&&·sp); |
104 | ···<strong>session_params</strong>·(settings_pack·const&·sp | ||
105 | ······,·std::vector<std::shared_ptr<plugin>>·exts); | ||
106 | ···<strong>session_params</strong>·(settings_pack&&·sp | 104 | ···<strong>session_params</strong>·(settings_pack&&·sp |
107 | ······,·std::vector<std::shared_ptr<plugin>>·exts); | 105 | ······,·std::vector<std::shared_ptr<plugin>>·exts); |
106 | ···<strong>session_params</strong>·(settings_pack·const&·sp | ||
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; |
110 | ···dht::dht_state·dht_state; | 110 | ···dht::dht_state·dht_state; |
111 | ···dht::dht_storage_constructor_type·dht_storage_constructor; | 111 | ···dht::dht_storage_constructor_type·dht_storage_constructor; |
112 | ···disk_io_constructor_type·disk_io_constructor; | 112 | ···disk_io_constructor_type·disk_io_constructor; |
113 | ···std::map<std::string,·std::string>·ext_state; | 113 | ···std::map<std::string,·std::string>·ext_state; |
Offset 125, 18 lines modified | Offset 125, 18 lines modified | ||
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> |
131 | <pre·class="literal-block"> | 131 | <pre·class="literal-block"> |
132 | <strong>session_params</strong>·(settings_pack·const&·sp | ||
133 | ······,·std::vector<std::shared_ptr<plugin>>·exts); | ||
134 | <strong>session_params</strong>·(settings_pack&&·sp | 132 | <strong>session_params</strong>·(settings_pack&&·sp |
135 | ······,·std::vector<std::shared_ptr<plugin>>·exts); | 133 | ······,·std::vector<std::shared_ptr<plugin>>·exts); |
134 | <strong>session_params</strong>·(settings_pack·const&·sp | ||
135 | ······,·std::vector<std::shared_ptr<plugin>>·exts); | ||
136 | </pre> | 136 | </pre> |
137 | <p>This·constructor·helps·to·configure·the·set·of·initial·plugins | 137 | <p>This·constructor·helps·to·configure·the·set·of·initial·plugins |
138 | to·be·added·to·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·before·it's·started.</p> | 138 | to·be·added·to·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·before·it's·started.</p> |
139 | <a·name="settings"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_params%3A%3A%5Bsettings%5D&labels=documentation&body=Documentation+under+heading+%22session_params%3A%3A%5Bsettings%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | 139 | <a·name="settings"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_params%3A%3A%5Bsettings%5D&labels=documentation&body=Documentation+under+heading+%22session_params%3A%3A%5Bsettings%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> |
140 | <dt>settings</dt> | 140 | <dt>settings</dt> |
141 | <dd>The·settings·to·configure·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·with</dd> | 141 | <dd>The·settings·to·configure·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·with</dd> |
142 | </dl> | 142 | </dl> |
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 | ···session_proxy&·<strong>operator=</strong>·(session_proxy·const&)·&; | ||
186 | ···<strong>session_proxy</strong>·(session_proxy&&)·noexcept; | 185 | ···<strong>session_proxy</strong>·(session_proxy&&)·noexcept; |
187 | ···session_proxy&·<strong>operator=</strong>·(session_proxy | 186 | ···session_proxy&·<strong>operator=</strong>·(session_proxy·const&)·&; |
188 | ···<strong>session_proxy</strong>·(); | 187 | ···<strong>session_proxy</strong>·(); |
189 | ···<strong> | 188 | ···session_proxy&·<strong>operator=</strong>·(session_proxy&&)·&·noexcept; |
190 | ···<strong>session_proxy</strong>·(session_proxy·const&); | 189 | ···<strong>session_proxy</strong>·(session_proxy·const&); |
190 | ···<strong>~session_proxy</strong>·(); | ||
191 | }; | 191 | }; |
192 | </pre> | 192 | </pre> |
193 | <a·name=" | 193 | <a·name="session_proxy()"></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"> | ||
196 | < | 195 | <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_proxy%3A%3A%5Bsession_proxy%28%29+~session_proxy%28%29+operator%3D%28%29%5D&labels=documentation&body=Documentation+under+headin[·...·truncated·by·diffoscope;·len:·197,·SHA:·bcaec098cfc7349e32035b6f6cdbe8add2a3f3e5e41503cbda7f4746cafa4907·...·]> |
196 | <h2>session_proxy()·~session_proxy()·operator=()</h2> | ||
197 | <pre·class="literal-block"> | 197 | <pre·class="literal-block"> |
Max diff block lines reached; 39101/52329 bytes (74.72%) of diff not shown. |
Offset 3, 72 lines modified | Offset 3, 72 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 | ····*·_\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 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | 7 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) |
8 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | 8 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) |
9 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y | 9 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y |
10 | ··········o·_\x8 | 10 | ··········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) |
11 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n | 11 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n |
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·_\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) |
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·_\x8 | 24 | ··········o·_\x8g_.e_.t_.__.t_.o_.r_.r_.e_.n_.t_.s_.(_.)_.·_.f_.i_.n_.d_.__.t_.o_.r_.r_.e_.n_.t_\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·_\x8 | 26 | ··········o·_\x8r_.e_.s_.u_.m_.e_.(_.)_.·_.p_.a_.u_.s_.e_.(_.)_.·_.i_.s_.__.p_.a_.u_.s_.e_.d_\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) |
34 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8d_\x8h_\x8t_\x8__\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8) | 34 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8d_\x8h_\x8t_\x8__\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8) |
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·_\x8 | 41 | ··········o·_\x8s_.s_.l_.__.l_.i_.s_.t_.e_.n_.__.p_.o_.r_.t_.(_.)_.·_\x8l_\x8i_\x8s_\x8t_\x8e_\x8n_\x8__\x8p_\x8o_\x8r_\x8t_\x8(_\x8)_\x8·_\x8i_\x8s_\x8__\x8l_\x8i_\x8s_\x8t_\x8e_\x8n_\x8i_\x8n_\x8g_\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) | ||
49 | ··········o·_\x8 | 48 | ··········o·_\x8a_.p_.p_.l_.y_.__.s_.e_.t_.t_.i_.n_.g_.s_.(_.)_.·_.g_.e_.t_.__.s_.e_.t_.t_.i_.n_.g_\x8s_\x8(_\x8) |
49 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8n_\x8o_\x8t_\x8i_\x8f_\x8y_\x8(_\x8)_\x8·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8)_\x8·_\x8w_\x8a_\x8i_\x8t_\x8__\x8f_\x8o_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8(_\x8) | ||
50 | ··········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) | 50 | ··········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) |
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 | ····*·_\x8r_. | 53 | ····*·_\x8w_.r_.i_.t_.e_.__.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_.(_.)_.·_.r_.e_.a_.d_.__.s_.e_.s_.s_.i_.o_.n_.__.p_.a_.r_.a_.m_.s_\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·const&·sp); | 61 | ···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·(); | 62 | ···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&&·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 | ||
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 | 64 | ···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); | 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·const&·sp | ||
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; |
70 | ···dht::dht_state·dht_state; | 70 | ···dht::dht_state·dht_state; |
71 | ···dht::dht_storage_constructor_type·dht_storage_constructor; | 71 | ···dht::dht_storage_constructor_type·dht_storage_constructor; |
72 | ···disk_io_constructor_type·disk_io_constructor; | 72 | ···disk_io_constructor_type·disk_io_constructor; |
73 | ···std::map<std::string,·std::string>·ext_state; | 73 | ···std::map<std::string,·std::string>·ext_state; |
Offset 80, 18 lines modified | Offset 80, 18 lines modified | ||
80 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(); | 80 | 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&&·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 | ||
88 | ······,·std::vector<std::shared_ptr<plugin>>·exts); | ||
89 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack&&·sp | 87 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack&&·sp |
90 | ······,·std::vector<std::shared_ptr<plugin>>·exts); | 88 | ······,·std::vector<std::shared_ptr<plugin>>·exts); |
89 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack·const&·sp | ||
90 | ······,·std::vector<std::shared_ptr<plugin>>·exts); | ||
91 | This·constructor·helps·to·configure·the·set·of·initial·plugins·to·be·added·to | 91 | This·constructor·helps·to·configure·the·set·of·initial·plugins·to·be·added·to |
92 | the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·before·it's·started. | 92 | the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·before·it's·started. |
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 | ··settings | 94 | ··settings |
95 | ······The·settings·to·configure·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·with | 95 | ······The·settings·to·configure·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·with |
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 | ··extensions | 97 | ··extensions |
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 | ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&; | ||
130 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept; | 129 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept; |
131 | ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy | 130 | ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&; |
132 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); | 131 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); |
133 | ··· | 132 | ···session_proxy&·o.op.pe.er.ra.at.to.or.r=.=·(session_proxy&&)·&·noexcept; |
134 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&); | 133 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&); |
134 | ···~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); | ||
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*· | 137 | *\x8**\x8**\x8**\x8**\x8*·s.se.es.ss.si.io.on.n_._p.pr.ro.ox.xy.y(.().)·~.~s.se.es.ss.si.io.on.n_._p.pr.ro.ox.xy.y(.().)·o.op.pe.er.ra.at.to.or.r=.=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
138 | session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&; | ||
139 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept; | 138 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept; |
140 | session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy | 139 | session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&; |
141 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); | 140 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); |
142 | 141 | session_proxy&·o.op.pe.er.ra.at.to.or.r=.=·(session_proxy&&)·&·noexcept; | |
143 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&); | 142 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&); |
143 | ~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); | ||
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 |
Max diff block lines reached; 27632/38025 bytes (72.67%) of diff not shown. |
Offset 29, 19 lines modified | Offset 29, 19 lines modified | ||
29 | </tbody> | 29 | </tbody> |
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="#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- | 36 | <li><a·class="reference·internal"·href="#set-int-set-str-set-bool"·id="toc-entry-2">set_int()·set_str()·set_bool()</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> |
Offset 4562, 18 lines modified | Offset 4562, 18 lines modified | ||
4562 | i2p_port).</p> | 4562 | i2p_port).</p> |
4563 | <pre·class="literal-block"> | 4563 | <pre·class="literal-block"> |
4564 | struct·settings_pack·final·:·settings_interface | 4564 | struct·settings_pack·final·:·settings_interface |
4565 | { | 4565 | { |
4566 | ···friend··void·<strong>apply_pack_impl</strong>·(settings_pack·const* | 4566 | ···friend··void·<strong>apply_pack_impl</strong>·(settings_pack·const* |
4567 | ······,·aux::session_settings_single_thread& | 4567 | ······,·aux::session_settings_single_thread& |
4568 | ······,·std::vector<void(aux::session_impl::*)()>*); | 4568 | ······,·std::vector<void(aux::session_impl::*)()>*); |
4569 | ···void·<strong>set_int</strong>·(int·name,·int·val)·override; | ||
4570 | ···void·<strong>set_int</strong>·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); | ||
4571 | ···void·<strong>set_bool</strong>·(int·name,·bool·val)·override; | 4569 | ···void·<strong>set_bool</strong>·(int·name,·bool·val)·override; |
4572 | ···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_int</strong>·(int·name,·int·val)·override; | ||
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; | 4576 | ···bool·<strong>get_bool</strong>·(int·name)·const·override; |
4577 | ···int·<strong>get_int</strong>·(int·name)·const·override; | 4577 | ···int·<strong>get_int</strong>·(int·name)·const·override; |
4578 | ···std::string·const&·<strong>get_str</strong>·(int·name)·const·override; | 4578 | ···std::string·const&·<strong>get_str</strong>·(int·name)·const·override; |
4579 | ···void·<strong>for_each</strong>·(Fun&&·f)·const; | 4579 | ···void·<strong>for_each</strong>·(Fun&&·f)·const; |
Offset 4649, 23 lines modified | Offset 4649, 23 lines modified | ||
4649 | ······socks5, | 4649 | ······socks5, |
4650 | ······socks5_pw, | 4650 | ······socks5_pw, |
4651 | ······http, | 4651 | ······http, |
4652 | ······http_pw, | 4652 | ······http_pw, |
4653 | ···}; | 4653 | ···}; |
4654 | }; | 4654 | }; |
4655 | </pre> | 4655 | </pre> |
4656 | <a·name="set_str()"></a> | ||
4657 | <a·name="set_int()"></a> | 4656 | <a·name="set_int()"></a> |
4657 | <a·name="set_str()"></a> | ||
4658 | <a·name="set_bool()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bset_ | 4658 | <a·name="set_bool()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bset_int%28%29+set_str%28%29+set_bool%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bset_int%28%29+set_str%28%29+set_bool%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="set-int-set-str-set-bool"> |
4659 | <h2>set_ | 4659 | <h2>set_int()·set_str()·set_bool()</h2> |
4660 | <pre·class="literal-block"> | 4660 | <pre·class="literal-block"> |
4661 | void·<strong>set_int</strong>·(int·name,·int·val)·override; | ||
4662 | void·<strong>set_int</strong>·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); | ||
4663 | void·<strong>set_bool</strong>·(int·name,·bool·val)·override; | 4661 | void·<strong>set_bool</strong>·(int·name,·bool·val)·override; |
4664 | void·<strong>set_str</strong>·(int·name,·std::string·val)·override; | 4662 | void·<strong>set_str</strong>·(int·name,·std::string·val)·override; |
4663 | void·<strong>set_int</strong>·(int·name,·int·val)·override; | ||
4664 | void·<strong>set_int</strong>·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); | ||
4665 | </pre> | 4665 | </pre> |
4666 | <p>set·a·configuration·option·in·the·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>.·<tt·class="docutils·literal">name</tt>·is·one·of | 4666 | <p>set·a·configuration·option·in·the·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>.·<tt·class="docutils·literal">name</tt>·is·one·of |
4667 | the·enum·values·from·string_types,·int_types·or·bool_types.·They·must | 4667 | the·enum·values·from·string_types,·int_types·or·bool_types.·They·must |
4668 | match·the·respective·type·of·the·set_*·function.</p> | 4668 | match·the·respective·type·of·the·set_*·function.</p> |
4669 | <a·name="has_val()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bhas_val%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bhas_val%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 4669 | <a·name="has_val()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bhas_val%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bhas_val%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
4670 | <div·class="section"·id="has-val"> | 4670 | <div·class="section"·id="has-val"> |
4671 | <h2>has_val()</h2> | 4671 | <h2>has_val()</h2> |
Offset 4685, 19 lines modified | Offset 4685, 19 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; | 4698 | bool·<strong>get_bool</strong>·(int·name)·const·override; |
4699 | int·<strong>get_int</strong>·(int·name)·const·override; | 4699 | int·<strong>get_int</strong>·(int·name)·const·override; |
4700 | std::string·const&·<strong>get_str</strong>·(int·name)·const·override; | 4700 | std::string·const&·<strong>get_str</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 |
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="min_memory_usage()"></a> | 5125 | <a·name="min_memory_usage()"></a> |
5126 | <a·name="high_performance_seed()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:min_memory_usage%28%29+high_performance_seed%28%29&labels=documentation&body=Documentation+under+heading+%22min_memory_usage%28%29+high_performance_seed%28%29%22+could+be+improved">report·issue</a>]</span></div> | 5126 | <a·name="high_performance_seed()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:min_memory_usage%28%29+high_performance_seed%28%29&labels=documentation&body=Documentation+under+heading+%22min_memory_usage%28%29+high_performance_seed%28%29%22+could+be+improved">report·issue</a>]</span></div> |
5127 | <div·class="section"·id="min-memory-usage-high-performance-seed"> | 5127 | <div·class="section"·id="min-memory-usage-high-performance-seed"> |
5128 | <h1>min_memory_usage()·high_performance_seed()</h1> | 5128 | <h1>min_memory_usage()·high_performance_seed()</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 1, 18 lines modified | Offset 1, 18 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 | ····*·_\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__\x8 | 7 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8i_.n_.t_.(_.)_.·_.s_.e_.t_.__.s_.t_.r_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8b_\x8o_\x8o_\x8l_\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 |
Offset 1420, 18 lines modified | Offset 1420, 18 lines modified | ||
1420 | next·time·the·SAM·connection·is·re-established·(by·restarting·or·changing | 1420 | next·time·the·SAM·connection·is·re-established·(by·restarting·or·changing |
1421 | i2p_hostname·or·i2p_port). | 1421 | i2p_hostname·or·i2p_port). |
1422 | struct·settings_pack·final·:·settings_interface | 1422 | struct·settings_pack·final·:·settings_interface |
1423 | { | 1423 | { |
1424 | ···friend··void·a\x8ap\x8pp\x8pl\x8ly\x8y_\x8_p\x8pa\x8ac\x8ck\x8k_\x8_i\x8im\x8mp\x8pl\x8l·(settings_pack·const* | 1424 | ···friend··void·a\x8ap\x8pp\x8pl\x8ly\x8y_\x8_p\x8pa\x8ac\x8ck\x8k_\x8_i\x8im\x8mp\x8pl\x8l·(settings_pack·const* |
1425 | ······,·aux::session_settings_single_thread& | 1425 | ······,·aux::session_settings_single_thread& |
1426 | ······,·std::vector<void(aux::session_impl::*)()>*); | 1426 | ······,·std::vector<void(aux::session_impl::*)()>*); |
1427 | ···void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·int·val)·override; | ||
1428 | ···void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); | ||
1429 | ···void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override; | 1427 | ···void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override; |
1430 | ···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_i\x8in\x8nt\x8t·(int·name,·int·val)·override; | ||
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; | 1434 | ···bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·override; |
1435 | ···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 | ···std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·override; | 1436 | ···std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(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; |
Offset 1507, 19 lines modified | Offset 1507, 19 lines modified | ||
1507 | ······socks5, | 1507 | ······socks5, |
1508 | ······socks5_pw, | 1508 | ······socks5_pw, |
1509 | ······http, | 1509 | ······http, |
1510 | ······http_pw, | 1510 | ······http_pw, |
1511 | ···}; | 1511 | ···}; |
1512 | }; | 1512 | }; |
1513 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1513 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1514 | *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8et\x8t_\x8_ | 1514 | *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8et\x8t_\x8_i.in.nt.t(.().)·s.se.et.t_._s.st.tr.r(\x8()\x8)·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
1515 | void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·int·val)·override; | ||
1516 | void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); | ||
1517 | void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override; | 1515 | void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override; |
1518 | void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·override; | 1516 | void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·override; |
1517 | void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·int·val)·override; | ||
1518 | void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); | ||
1519 | set·a·configuration·option·in·the·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.·name·is·one·of·the·enum·values | 1519 | set·a·configuration·option·in·the·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.·name·is·one·of·the·enum·values |
1520 | from·string_types,·int_types·or·bool_types.·They·must·match·the·respective·type | 1520 | from·string_types,·int_types·or·bool_types.·They·must·match·the·respective·type |
1521 | of·the·set_*·function. | 1521 | of·the·set_*·function. |
1522 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1522 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1523 | *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 1523 | *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
1524 | bool·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l·(int·name)·const·override; | 1524 | bool·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l·(int·name)·const·override; |
1525 | queries·whether·the·specified·configuration·option·has·a·value·set·in·this | 1525 | queries·whether·the·specified·configuration·option·has·a·value·set·in·this |
Offset 1530, 15 lines modified | Offset 1530, 15 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; | 1538 | bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·override; |
1539 | 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 | std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·override; | 1540 | std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(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. |
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*·m\x8mi\x8in\x8n_\x8_m\x8me\x8em\x8mo\x8or\x8ry\x8y_\x8_u\x8us\x8sa\x8ag\x8ge\x8e(\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)·*\x8**\x8**\x8**\x8**\x8**\x8* | 1700 | *\x8**\x8**\x8**\x8**\x8**\x8*·m\x8mi\x8in\x8n_\x8_m\x8me\x8em\x8mo\x8or\x8ry\x8y_\x8_u\x8us\x8sa\x8ag\x8ge\x8e(\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)·*\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 47, 26 lines modified | Offset 47, 26 lines modified | ||
47 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/performance_counters.hpp">libtorrent/performance_counters.hpp</a>"</p> | 47 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/performance_counters.hpp">libtorrent/performance_counters.hpp</a>"</p> |
48 | <pre·class="literal-block"> | 48 | <pre·class="literal-block"> |
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)·; | ||
55 | ···std::int64_t·<strong>operator[]</strong>·(int·i)·const·; | 54 | ···std::int64_t·<strong>operator[]</strong>·(int·i)·const·; |
55 | ···std::int64_t·<strong>inc_stats_counter</strong>·(int·c,·std::int64_t·value·=·1)·; | ||
56 | ···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)·; | 57 | ···void·<strong>set_value</strong>·(int·c,·std::int64_t·value)·; |
58 | }; | 58 | }; |
59 | </pre> | 59 | </pre> |
60 | <a·name="inc_stats_counter()"></a> | 60 | <a·name="inc_stats_counter()"></a> |
61 | <a·name="operator[]()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:counters%3A%3A%5Binc_stats_counter%28%29+operator%5B%5D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22counters%3A%3A%5Binc_stats_counter%28%29+operator%5B%5D%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="inc-stats-counter-operator"> | 61 | <a·name="operator[]()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:counters%3A%3A%5Binc_stats_counter%28%29+operator%5B%5D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22counters%3A%3A%5Binc_stats_counter%28%29+operator%5B%5D%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="inc-stats-counter-operator"> |
62 | <h2>inc_stats_counter()·operator[]()</h2> | 62 | <h2>inc_stats_counter()·operator[]()</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)·; | ||
65 | std::int64_t·<strong>operator[]</strong>·(int·i)·const·; | 64 | std::int64_t·<strong>operator[]</strong>·(int·i)·const·; |
65 | std::int64_t·<strong>inc_stats_counter</strong>·(int·c,·std::int64_t·value·=·1)·; | ||
66 | </pre> | 66 | </pre> |
67 | <p>returns·the·new·value</p> | 67 | <p>returns·the·new·value</p> |
68 | <a·name="stats_metric"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+stats_metric&labels=documentation&body=Documentation+under+heading+%22class+stats_metric%22+could+be+improved">report·issue</a>]</span></div> | 68 | <a·name="stats_metric"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+stats_metric&labels=documentation&body=Documentation+under+heading+%22class+stats_metric%22+could+be+improved">report·issue</a>]</span></div> |
69 | </div> | 69 | </div> |
70 | <div·class="section"·id="stats-metric"> | 70 | <div·class="section"·id="stats-metric"> |
71 | <h1>stats_metric</h1> | 71 | <h1>stats_metric</h1> |
72 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/session_stats.hpp">libtorrent/session_stats.hpp</a>"</p> | 72 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/session_stats.hpp">libtorrent/session_stats.hpp</a>"</p> |
Offset 13, 23 lines modified | Offset 13, 23 lines modified | ||
13 | *\x8**\x8**\x8**\x8**\x8**\x8*·c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8**\x8* | 13 | *\x8**\x8**\x8**\x8**\x8**\x8*·c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8**\x8* |
14 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s_\x8._\x8h_\x8p_\x8p" | 14 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s_\x8._\x8h_\x8p_\x8p" |
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)·; | ||
21 | ···std::int64_t·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·i)·const·; | 20 | ···std::int64_t·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·i)·const·; |
21 | ···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)·; | ||
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)·; | 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)·; | 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*·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8](\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 26 | *\x8**\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)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8](\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)·; | ||
28 | std::int64_t·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·i)·const·; | 27 | std::int64_t·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·i)·const·; |
28 | 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)·; | ||
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] |
31 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8st\x8ta\x8at\x8ts\x8s_\x8_m\x8me\x8et\x8tr\x8ri\x8ic\x8c·*\x8**\x8**\x8**\x8**\x8**\x8* | 31 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8st\x8ta\x8at\x8ts\x8s_\x8_m\x8me\x8et\x8tr\x8ri\x8ic\x8c·*\x8**\x8**\x8**\x8**\x8**\x8* |
32 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8._\x8h_\x8p_\x8p" | 32 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8._\x8h_\x8p_\x8p" |
33 | describes·one·statistics·metric·from·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n.·For·more·information,·see·the | 33 | describes·one·statistics·metric·from·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n.·For·more·information,·see·the |
34 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8·_\x8s_\x8t_\x8a_\x8t_\x8i_\x8s_\x8t_\x8i_\x8c_\x8s·section. | 34 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8·_\x8s_\x8t_\x8a_\x8t_\x8i_\x8s_\x8t_\x8i_\x8c_\x8s·section. |
35 | struct·stats_metric | 35 | struct·stats_metric |
Offset 44, 24 lines modified | Offset 44, 24 lines modified | ||
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="#num-pieces-set-num-pieces"·id="toc-entry-13">num_pieces()·set_num_pieces()</a></li> | 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="#piece-length | 51 | <li><a·class="reference·internal"·href="#set-piece-length-piece-length"·id="toc-entry-17">set_piece_length()·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="#name-set-name"·id="toc-entry-22">name()·set_name()</a></li> | 56 | <li><a·class="reference·internal"·href="#name-set-name"·id="toc-entry-22">name()·set_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="# | 59 | <li><a·class="reference·internal"·href="#root-file-path-file-offset-pad-file-at-symlink-file-size-hash-root-ptr-file-name-mtime"·id="toc-entry-25">root()·file_path()·file_offset()·pad_file_at()·symlink()·file_size()·hash()·root_ptr()·file_name()·mtime()</a></li> |
60 | <li><a·class="reference·internal"·href="#file-num- | 60 | <li><a·class="reference·internal"·href="#file-num-pieces-file-num-blocks-file-piece-range"·id="toc-entry-26">file_num_pieces()·file_num_blocks()·file_piece_range()</a></li> |
61 | <li><a·class="reference·internal"·href="#file-first-piece-node-file-first-block-node"·id="toc-entry-27">file_first_piece_node()·file_first_block_node()</a></li> | 61 | <li><a·class="reference·internal"·href="#file-first-piece-node-file-first-block-node"·id="toc-entry-27">file_first_piece_node()·file_first_block_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-piece-file-index-at-offset"·id="toc-entry-32">file_index_at_piece()·file_index_at_offset()</a></li> | 66 | <li><a·class="reference·internal"·href="#file-index-at-piece-file-index-at-offset"·id="toc-entry-32">file_index_at_piece()·file_index_at_offset()</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 125, 20 lines modified | Offset 125, 20 lines modified | ||
125 | ······,·file_flags_t·file_flags·=·{} | 125 | ······,·file_flags_t·file_flags·=·{} |
126 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 126 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
127 | ······,·char·const*·root_hash·=·nullptr); | 127 | ······,·char·const*·root_hash·=·nullptr); |
128 | ···void·<strong>add_file</strong>·(error_code&·ec,·std::string·const&·path,·std::int64_t·file_size | 128 | ···void·<strong>add_file</strong>·(error_code&·ec,·std::string·const&·path,·std::int64_t·file_size |
129 | ······,·file_flags_t·file_flags·=·{} | 129 | ······,·file_flags_t·file_flags·=·{} |
130 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 130 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
131 | ······,·char·const*·root_hash·=·nullptr); | 131 | ······,·char·const*·root_hash·=·nullptr); |
132 | ···void·<strong>add_file_borrow</strong>·( | 132 | ···void·<strong>add_file_borrow</strong>·(string_view·filename |
133 | ······,·std::string·const&·path,·std::int64_t·file_size | 133 | ······,·std::string·const&·path,·std::int64_t·file_size |
134 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | 134 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr |
135 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 135 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
136 | ······,·char·const*·root_hash·=·nullptr); | 136 | ······,·char·const*·root_hash·=·nullptr); |
137 | ···void·<strong>add_file_borrow</strong>·(string_view·filename | 137 | ···void·<strong>add_file_borrow</strong>·(error_code&·ec,·string_view·filename |
138 | ······,·std::string·const&·path,·std::int64_t·file_size | 138 | ······,·std::string·const&·path,·std::int64_t·file_size |
139 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | 139 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr |
140 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 140 | ······,·std::int64_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 148, 39 lines modified | Offset 148, 39 lines modified | ||
148 | ···index_range<file_index_t>·<strong>file_range</strong>·()·const·noexcept; | 148 | ···index_range<file_index_t>·<strong>file_range</strong>·()·const·noexcept; |
149 | ···std::int64_t·<strong>total_size</strong>·()·const; | 149 | ···std::int64_t·<strong>total_size</strong>·()·const; |
150 | ···int·<strong>num_pieces</strong>·()·const; | 150 | ···int·<strong>num_pieces</strong>·()·const; |
151 | ···void·<strong>set_num_pieces</strong>·(int·n); | 151 | ···void·<strong>set_num_pieces</strong>·(int·n); |
152 | ···piece_index_t·<strong>end_piece</strong>·()·const; | 152 | ···piece_index_t·<strong>end_piece</strong>·()·const; |
153 | ···piece_index_t·<strong>last_piece</strong>·()·const; | 153 | ···piece_index_t·<strong>last_piece</strong>·()·const; |
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); | ||
156 | ···int·<strong>piece_length</strong>·()·const; | 155 | ···int·<strong>piece_length</strong>·()·const; |
156 | ···void·<strong>set_piece_length</strong>·(int·l); | ||
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; | 161 | ···std::string·const&·<strong>name</strong>·()·const; |
162 | ···void·<strong>set_name</strong>·(std::string·const&·n); | 162 | ···void·<strong>set_name</strong>·(std::string·const&·n); |
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_offset</strong>·(file_index_t·index)·const; | ||
166 | ···std::time_t·<strong>mtime</strong>·(file_index_t·index)·const; | ||
167 | ···sha1_hash·<strong>hash</strong>·(file_index_t·index)·const; | ||
168 | ···std::int64_t·<strong>file_size</strong>·(file_index_t·index)·const; | 165 | ···std::int64_t·<strong>file_size</strong>·(file_index_t·index)·const; |
169 | ···sha256_hash·<strong>root</strong>·(file_index_t·index)·const; | ||
170 | ···std::string·<strong>file_path</strong>·(file_index_t·index,·std::string·const&·save_path·=·"")·const; | ||
171 | ···char·const*·<strong>root_ptr</strong>·(file_index_t·const·index)·const; | ||
172 | ···string_view·<strong>file_name</strong>·(file_index_t·index)·const; | ||
173 | ···std::string·<strong>symlink</strong>·(file_index_t·index)·const; | 166 | ···std::string·<strong>symlink</strong>·(file_index_t·index)·const; |
167 | ···std::time_t·<strong>mtime</strong>·(file_index_t·index)·const; | ||
174 | ···bool·<strong>pad_file_at</strong>·(file_index_t·index)·const; | 168 | ···bool·<strong>pad_file_at</strong>·(file_index_t·index)·const; |
169 | ···std::string·<strong>file_path</strong>·(file_index_t·index,·std::string·const&·save_path·=·"")·const; | ||
170 | ···string_view·<strong>file_name</strong>·(file_index_t·index)·const; | ||
171 | ···sha1_hash·<strong>hash</strong>·(file_index_t·index)·const; | ||
172 | ···char·const*·<strong>root_ptr</strong>·(file_index_t·const·index)·const; | ||
173 | ···sha256_hash·<strong>root</strong>·(file_index_t·index)·const; | ||
174 | ···std::int64_t·<strong>file_offset</strong>·(file_index_t·index)·const; | ||
175 | ···int·<strong>file_num_pieces</strong>·(file_index_t·index)·const; | 175 | ···int·<strong>file_num_pieces</strong>·(file_index_t·index)·const; |
176 | ···int·<strong>file_num_blocks</strong>·(file_index_t·index)·const; | 176 | ···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; | 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_offset</strong>·(std::int64_t·offset)·const; | 184 | ···file_index_t·<strong>file_index_at_offset</strong>·(std::int64_t·offset)·const; |
185 | ···file_index_t·<strong>file_index_at_piece</strong>·(piece_index_t·piece)·const; | 185 | ···file_index_t·<strong>file_index_at_piece</strong>·(piece_index_t·piece)·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 221, 20 lines modified | Offset 221, 20 lines modified | ||
221 | ······,·file_flags_t·file_flags·=·{} | 221 | ······,·file_flags_t·file_flags·=·{} |
222 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 222 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
223 | ······,·char·const*·root_hash·=·nullptr); | 223 | ······,·char·const*·root_hash·=·nullptr); |
224 | void·<strong>add_file</strong>·(error_code&·ec,·std::string·const&·path,·std::int64_t·file_size | 224 | void·<strong>add_file</strong>·(error_code&·ec,·std::string·const&·path,·std::int64_t·file_size |
225 | ······,·file_flags_t·file_flags·=·{} | 225 | ······,·file_flags_t·file_flags·=·{} |
226 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 226 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
227 | ······,·char·const*·root_hash·=·nullptr); | 227 | ······,·char·const*·root_hash·=·nullptr); |
228 | void·<strong>add_file_borrow</strong>·( | 228 | void·<strong>add_file_borrow</strong>·(string_view·filename |
229 | ······,·std::string·const&·path,·std::int64_t·file_size | 229 | ······,·std::string·const&·path,·std::int64_t·file_size |
230 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | 230 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr |
231 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 231 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
232 | ······,·char·const*·root_hash·=·nullptr); | 232 | ······,·char·const*·root_hash·=·nullptr); |
233 | void·<strong>add_file_borrow</strong>·(string_view·filename | 233 | void·<strong>add_file_borrow</strong>·(error_code&·ec,·string_view·filename |
234 | ······,·std::string·const&·path,·std::int64_t·file_size | 234 | ······,·std::string·const&·path,·std::int64_t·file_size |
235 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | 235 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr |
236 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 236 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
237 | ······,·char·const*·root_hash·=·nullptr); | 237 | ······,·char·const*·root_hash·=·nullptr); |
238 | </pre> | 238 | </pre> |
239 | <p>Adds·a·file·to·the·file·storage.·The·<tt·class="docutils·literal">add_file_borrow</tt>·version | 239 | <p>Adds·a·file·to·the·file·storage.·The·<tt·class="docutils·literal">add_file_borrow</tt>·version |
240 | expects·that·<tt·class="docutils·literal">filename</tt>·is·the·file·name·(without·a·path)·of | 240 | expects·that·<tt·class="docutils·literal">filename</tt>·is·the·file·name·(without·a·path)·of |
Offset 370, 21 lines modified | Offset 370, 21 lines modified | ||
370 | <h2>piece_range()</h2> | 370 | <h2>piece_range()</h2> |
371 | <pre·class="literal-block"> | 371 | <pre·class="literal-block"> |
372 | index_range<piece_index_t>·<strong>piece_range</strong>·()·const·noexcept; | 372 | index_range<piece_index_t>·<strong>piece_range</strong>·()·const·noexcept; |
373 | </pre> | 373 | </pre> |
374 | <p>returns·an·implementation-defined·type·that·can·be·used·as·the | 374 | <p>returns·an·implementation-defined·type·that·can·be·used·as·the |
375 | container·in·a·range-for·loop.·Where·the·values·are·the·indices·of·all | 375 | container·in·a·range-for·loop.·Where·the·values·are·the·indices·of·all |
376 | pieces·in·the·<a·class="reference·external"·href="reference-Storage.html#file_storage">file_storage</a>.</p> | 376 | pieces·in·the·<a·class="reference·external"·href="reference-Storage.html#file_storage">file_storage</a>.</p> |
377 | <a·name="piece_length()"></a> | 377 | <a·name="set_piece_length()"></a> |
378 | <a·name=" | 378 | <a·name="piece_length()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:file_storage%3A%3A%5Bset_piece_length%28%29+piece_length%28%29%5D&labels=documentation&body=Documentation+under+heading+%22file_storage%3A%3A[·...·truncated·by·diffoscope;·len:·26,·SHA:·d4f031691ea74bac7dc979cc2b9c2550ac6a1649a7c6650dfea7fd37ea480971·...·]piece_length%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
379 | <div·class="section"·id="piece-length | 379 | <div·class="section"·id="set-piece-length-piece-length"> |
380 | <h2>piece_length()· | 380 | <h2>set_piece_length()·piece_length()</h2> |
Max diff block lines reached; 8213/19379 bytes (42.38%) of diff not shown. |
Offset 15, 25 lines modified | Offset 15, 25 lines modified | ||
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·_\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8) | 18 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\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·_\x8s_.e_.t_.__.p_.i_.e_.c_.e_.__.l_.e_.n_.g_.t_.h_.(_.)_.·_\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·_\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8) | 27 | ··········o·_\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\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·_\x8 | 30 | ··········o·_\x8r_.o_.o_.t_.(_.)_.·_.f_.i_.l_.e_.__.p_.a_.t_.h_.(_.)_.·_.f_.i_.l_.e_.__.o_.f_.f_.s_.e_.t_.(_.)_.·_.p_.a_.d_.__.f_.i_.l_.e_.__.a_.t_.(_.)_.·_.s_.y_.m_.l_.i_.n_.k_.(_.)_.·_.f_.i_.l_.e_.__.s_.i_.z_.e |
31 | ············_\x8(_\x8)_\x8·_\x8 | 31 | ············_\x8(_\x8)_\x8·_\x8h_.a_.s_.h_.(_.)_.·_.r_.o_.o_.t_.__.p_.t_.r_.(_.)_.·_.f_.i_.l_.e_.__.n_.a_.m_.e_.(_.)_.·_.m_.t_.i_.m_.e_\x8(_\x8) |
32 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8u_\x8m_\x8__\x8 | 32 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8u_\x8m_\x8__\x8p_.i_.e_.c_.e_.s_.(_.)_.·_.f_.i_.l_.e_.__.n_.u_.m_.__.b_.l_.o_.c_.k_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) |
33 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) | 33 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\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__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8) | 38 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\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) | 39 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8f_\x8o_\x8r_\x8__\x8r_\x8o_\x8o_\x8t_\x8(_\x8) |
Offset 86, 20 lines modified | Offset 86, 20 lines modified | ||
86 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 86 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
87 | ······,·char·const*·root_hash·=·nullptr); | 87 | ······,·char·const*·root_hash·=·nullptr); |
88 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(error_code&·ec,·std::string·const&·path,·std::int64_t | 88 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(error_code&·ec,·std::string·const&·path,·std::int64_t |
89 | file_size | 89 | file_size |
90 | ······,·file_flags_t·file_flags·=·{} | 90 | ······,·file_flags_t·file_flags·=·{} |
91 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 91 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
92 | ······,·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·( | 93 | ···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 | 94 | ······,·std::string·const&·path,·std::int64_t·file_size |
95 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | 95 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr |
96 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 96 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
97 | ······,·char·const*·root_hash·=·nullptr); | 97 | ······,·char·const*·root_hash·=·nullptr); |
98 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w·(string_view·filename | 98 | ···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 |
99 | ······,·std::string·const&·path,·std::int64_t·file_size | 99 | ······,·std::string·const&·path,·std::int64_t·file_size |
100 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | 100 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr |
101 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 101 | ······,·std::int64_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 |
105 | ······,·std::int64_t·size)·const; | 105 | ······,·std::int64_t·size)·const; |
Offset 110, 40 lines modified | Offset 110, 40 lines modified | ||
110 | ···index_range<file_index_t>·f\x8fi\x8il\x8le\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; | 110 | ···index_range<file_index_t>·f\x8fi\x8il\x8le\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; |
111 | ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | 111 | ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; |
112 | ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; | 112 | ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; |
113 | ···void·s\x8se\x8et\x8t_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(int·n); | 113 | ···void·s\x8se\x8et\x8t_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(int·n); |
114 | ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; | 114 | ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; |
115 | ···piece_index_t·l\x8la\x8as\x8st\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; | 115 | ···piece_index_t·l\x8la\x8as\x8st\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; |
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); | ||
118 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | 117 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; |
118 | ···void·s\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·(int·l); | ||
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; | 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); | 124 | ···void·s\x8se\x8et\x8t_\x8_n\x8na\x8am\x8me\x8e·(std::string·const&·n); |
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_o\x8of\x8ff\x8fs\x8se\x8et\x8t·(file_index_t·index)·const; | ||
128 | ···std::time_t·m\x8mt\x8ti\x8im\x8me\x8e·(file_index_t·index)·const; | ||
129 | ···sha1_hash·h\x8ha\x8as\x8sh\x8h·(file_index_t·index)·const; | ||
130 | ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(file_index_t·index)·const; | 127 | ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(file_index_t·index)·const; |
131 | ···s | 128 | ···std::string·s.sy.ym.ml.li.in.nk.k·(file_index_t·index)·const; |
129 | ···std::time_t·m\x8mt\x8ti\x8im\x8me\x8e·(file_index_t·index)·const; | ||
130 | ···bool·p\x8pa\x8ad\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_a\x8at\x8t·(file_index_t·index)·const; | ||
132 | ···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·= |
133 | "")·const; | 132 | "")·const; |
134 | ···char·const*·r\x8ro\x8oo\x8ot\x8t_\x8_p\x8pt\x8tr\x8r·(file_index_t·const·index)·const; | ||
135 | ···string_view·f\x8fi\x8il\x8le\x8e_\x8_n\x8na\x8am\x8me\x8e·(file_index_t·index)·const; | 133 | ···string_view·f\x8fi\x8il\x8le\x8e_\x8_n\x8na\x8am\x8me\x8e·(file_index_t·index)·const; |
136 | ···std::string·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8k·(file_index_t·index)·const; | ||
137 | ··· | 134 | ···sha1_hash·h.ha.as.sh.h·(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 | ···sha256_hash·r\x8ro\x8oo\x8ot\x8t·(file_index_t·index)·const; | ||
137 | ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·(file_index_t·index)·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; | 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_b\x8bl\x8lo\x8oc\x8ck\x8ks\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 | ···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; | 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_o\x8of\x8ff\x8fs\x8se\x8et\x8t·(std::int64_t·offset)·const; | 148 | ···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_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_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const; |
Offset 175, 20 lines modified | Offset 175, 20 lines modified | ||
175 | ······,·file_flags_t·file_flags·=·{} | 175 | ······,·file_flags_t·file_flags·=·{} |
176 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 176 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
177 | ······,·char·const*·root_hash·=·nullptr); | 177 | ······,·char·const*·root_hash·=·nullptr); |
178 | void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(error_code&·ec,·std::string·const&·path,·std::int64_t·file_size | 178 | void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(error_code&·ec,·std::string·const&·path,·std::int64_t·file_size |
179 | ······,·file_flags_t·file_flags·=·{} | 179 | ······,·file_flags_t·file_flags·=·{} |
180 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 180 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
181 | ······,·char·const*·root_hash·=·nullptr); | 181 | ······,·char·const*·root_hash·=·nullptr); |
182 | void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w·( | 182 | void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w·(string_view·filename |
183 | ······,·std::string·const&·path,·std::int64_t·file_size | 183 | ······,·std::string·const&·path,·std::int64_t·file_size |
184 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | 184 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr |
185 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 185 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
186 | ······,·char·const*·root_hash·=·nullptr); | 186 | ······,·char·const*·root_hash·=·nullptr); |
187 | void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w·(string_view·filename | 187 | 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 |
188 | ······,·std::string·const&·path,·std::int64_t·file_size | 188 | ······,·std::string·const&·path,·std::int64_t·file_size |
189 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | 189 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr |
190 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 190 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
191 | ······,·char·const*·root_hash·=·nullptr); | 191 | ······,·char·const*·root_hash·=·nullptr); |
192 | Adds·a·file·to·the·file·storage.·The·add_file_borrow·version·expects·that | 192 | Adds·a·file·to·the·file·storage.·The·add_file_borrow·version·expects·that |
193 | filename·is·the·file·name·(without·a·path)·of·the·file·that's·being·added.·This | 193 | filename·is·the·file·name·(without·a·path)·of·the·file·that's·being·added.·This |
194 | memory·is·b\x8bo\x8or\x8rr\x8ro\x8ow\x8we\x8ed\x8d,·i.e.·it·is·the·caller's·responsibility·to·make·sure·it | 194 | memory·is·b\x8bo\x8or\x8rr\x8ro\x8ow\x8we\x8ed\x8d,·i.e.·it·is·the·caller's·responsibility·to·make·sure·it |
Offset 282, 17 lines modified | Offset 282, 17 lines modified | ||
282 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 282 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
283 | *\x8**\x8**\x8**\x8**\x8*·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 283 | *\x8**\x8**\x8**\x8**\x8*·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
284 | index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; | 284 | index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; |
285 | returns·an·implementation-defined·type·that·can·be·used·as·the·container·in·a | 285 | returns·an·implementation-defined·type·that·can·be·used·as·the·container·in·a |
286 | range-for·loop.·Where·the·values·are·the·indices·of·all·pieces·in·the | 286 | range-for·loop.·Where·the·values·are·the·indices·of·all·pieces·in·the |
287 | _\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e. | 287 | _\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e. |
288 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 288 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
289 | *\x8**\x8**\x8**\x8**\x8*·p.pi.ie.ec.ce.e_._l.le.en.ng.gt.th.h(.().)· | 289 | *\x8**\x8**\x8**\x8**\x8*·s.se.et.t_._p.pi.ie.ec.ce.e_._l.le.en.ng.gt.th.h(.().)·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
290 | void·s\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·(int·l); | ||
291 | int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | 290 | int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; |
291 | void·s\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·(int·l); | ||
Max diff block lines reached; 5348/15474 bytes (34.56%) of diff not shown. |
Offset 29, 62 lines modified | Offset 29, 62 lines modified | ||
29 | </tbody> | 29 | </tbody> |
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="#block-info"·id="toc-entry-1">block_info</a><ul> | 35 | <li><a·class="reference·internal"·href="#block-info"·id="toc-entry-1">block_info</a><ul> |
36 | <li><a·class="reference·internal"·href="# | 36 | <li><a·class="reference·internal"·href="#peer-set-peer"·id="toc-entry-2">peer()·set_peer()</a></li> |
37 | <li><a·class="reference·internal"·href="#enum-block-state-t"·id="toc-entry-3">enum·block_state_t</a></li> | 37 | <li><a·class="reference·internal"·href="#enum-block-state-t"·id="toc-entry-3">enum·block_state_t</a></li> |
38 | </ul> | 38 | </ul> |
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="#get-peer-info-post-peer-info"·id="toc-entry-10">get_peer_info()·post_peer_info()</a></li> | 46 | <li><a·class="reference·internal"·href="#get-peer-info-post-peer-info"·id="toc-entry-10">get_peer_info()·post_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="#get-download-queue-post-download-queue"·id="toc-entry-12">get_download_queue()·post_download_queue()</a></li> |
49 | <li><a·class="reference·internal"·href="#set-piece-deadline-clear-piece-deadlines- | 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-post-trackers-trackers-add-tracker"·id="toc-entry-17">replace_trackers()·post_trackers()·trackers()·add_tracker()</a></li> |
54 | <li><a·class="reference·internal"·href="#url-seeds-add-url-seed-remove-url-seed"·id="toc-entry-18">url_seeds()·add_url_seed()·remove_url_seed()</a></li> | 54 | <li><a·class="reference·internal"·href="#url-seeds-add-url-seed-remove-url-seed"·id="toc-entry-18">url_seeds()·add_url_seed()·remove_url_seed()</a></li> |
55 | <li><a·class="reference·internal"·href="#http-seed | 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="# | 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-flags-unset-flags"·id="toc-entry-24">set_flags()·flags()·unset_flags()</a></li> | 60 | <li><a·class="reference·internal"·href="#set-flags-flags-unset-flags"·id="toc-entry-24">set_flags()·flags()·unset_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-queue-position- | 65 | <li><a·class="reference·internal"·href="#queue-position-bottom-queue-position-down-queue-position-top-queue-position-up-queue-position"·id="toc-entry-29">queue_position_bottom()·queue_position_down()·queue_position_top()·queue_position_up()·queue_position()</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-buffer-set-ssl-certificate"·id="toc-entry-31">set_ssl_certificate_buffer()·set_ssl_certificate()</a></li> | 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-torrent-file-with-hashes"·id="toc-entry-32">torrent_file()·torrent_file_with_hashes()</a></li> | 68 | <li><a·class="reference·internal"·href="#torrent-file-torrent-file-with-hashes"·id="toc-entry-32">torrent_file()·torrent_file_with_hashes()</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="#post-piece-availability-piece-availability"·id="toc-entry-34">post_piece_availability()·piece_availability()</a></li> | 70 | <li><a·class="reference·internal"·href="#post-piece-availability-piece-availability"·id="toc-entry-34">post_piece_availability()·piece_availability()</a></li> |
71 | <li><a·class="reference·internal"·href="#piece-priority-get-piece-priorities-prioritize-pieces"·id="toc-entry-35">piece_priority()·get_piece_priorities()·prioritize_pieces()</a></li> | ||
71 | <li><a·class="reference·internal"·href="#get- | 72 | <li><a·class="reference·internal"·href="#get-file-priorities-file-priority-prioritize-files"·id="toc-entry-36">get_file_priorities()·file_priority()·prioritize_files()</a></li> |
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- | 73 | <li><a·class="reference·internal"·href="#force-dht-announce-force-lsd-announce-force-reannounce"·id="toc-entry-37">force_dht_announce()·force_lsd_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="#set- | 75 | <li><a·class="reference·internal"·href="#set-upload-limit-upload-limit-set-download-limit-download-limit"·id="toc-entry-39">set_upload_limit()·upload_limit()·set_download_limit()·download_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-uploads-set-max-uploads"·id="toc-entry-42">max_uploads()·set_max_uploads()</a></li> | 78 | <li><a·class="reference·internal"·href="#max-uploads-set-max-uploads"·id="toc-entry-42">max_uploads()·set_max_uploads()</a></li> |
79 | <li><a·class="reference·internal"·href="# | 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-hash | 82 | <li><a·class="reference·internal"·href="#info-hash-info-hashes"·id="toc-entry-46">info_hash()·info_hashes()</a></li> |
83 | <li><a·class="reference·internal"·href="#operator-operator-operator"·id="toc-entry-47">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 94, 16 lines modified | Offset 94, 16 lines modified | ||
94 | <h1>block_info</h1> | 94 | <h1>block_info</h1> |
95 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/torrent_handle.hpp">libtorrent/torrent_handle.hpp</a>"</p> | 95 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/torrent_handle.hpp">libtorrent/torrent_handle.hpp</a>"</p> |
96 | <p>holds·the·state·of·a·block·in·a·piece.·Who·we·requested | 96 | <p>holds·the·state·of·a·block·in·a·piece.·Who·we·requested |
97 | it·from·and·how·far·along·we·are·at·downloading·it.</p> | 97 | it·from·and·how·far·along·we·are·at·downloading·it.</p> |
98 | <pre·class="literal-block"> | 98 | <pre·class="literal-block"> |
99 | struct·block_info | 99 | struct·block_info |
100 | { | 100 | { |
101 | ···<a·class="reference·external"·href="tcp::endpoint">tcp::endpoint</a>·<strong>peer</strong>·()·const; | ||
102 | ···void·<strong>set_peer</strong>·(tcp::endpoint·const&·ep); | 101 | ···void·<strong>set_peer</strong>·(tcp::endpoint·const&·ep); |
102 | ···<a·class="reference·external"·href="tcp::endpoint">tcp::endpoint</a>·<strong>peer</strong>·()·const; | ||
103 | ···enum·block_state_t | 103 | ···enum·block_state_t |
104 | ···{ | 104 | ···{ |
105 | ······none, | 105 | ······none, |
106 | ······requested, | 106 | ······requested, |
107 | ······writing, | 107 | ······writing, |
108 | ······finished, | 108 | ······finished, |
Offset 111, 20 lines modified | Offset 111, 20 lines modified | ||
111 | ···unsigned·bytes_progress:15; | 111 | ···unsigned·bytes_progress:15; |
112 | ···unsigned·block_size:15; | 112 | ···unsigned·block_size:15; |
113 | ···unsigned·state:2; | 113 | ···unsigned·state:2; |
114 | ···unsigned·num_peers:14; | 114 | ···unsigned·num_peers:14; |
115 | }; | 115 | }; |
116 | </pre> | 116 | </pre> |
117 | <a·name=" | 117 | <a·name="peer()"></a> |
118 | <a·name="peer()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:block_info%3A%3A%5B | 118 | <a·name="set_peer()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:block_info%3A%3A%5Bpeer%28%29+set_peer%28%29%5D&labels=documentation&body=Documentation+under+heading+%22block_info%3A%3A%5Bpeer%28%29+set_peer%2[·...·truncated·by·diffoscope;·len:·87,·SHA:·be0ec67257c72a3ed3c77561c0bf7fc21f324774daed0263d660b6ab01dafb16·...·]-peer"> |
119 | <h2> | 119 | <h2>peer()·set_peer()</h2> |
120 | <pre·class="literal-block"> | 120 | <pre·class="literal-block"> |
121 | <a·class="reference·external"·href="tcp::endpoint">tcp::endpoint</a>·<strong>peer</strong>·()·const; | ||
122 | void·<strong>set_peer</strong>·(tcp::endpoint·const&·ep); | 121 | void·<strong>set_peer</strong>·(tcp::endpoint·const&·ep); |
122 | <a·class="reference·external"·href="tcp::endpoint">tcp::endpoint</a>·<strong>peer</strong>·()·const; | ||
123 | </pre> | 123 | </pre> |
124 | <p>The·peer·is·the·ip·address·of·the·peer·this·block·was·downloaded·from.</p> | 124 | <p>The·peer·is·the·ip·address·of·the·peer·this·block·was·downloaded·from.</p> |
125 | <a·name="block_state_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+block_state_t&labels=documentation&body=Documentation+under+heading+%22enum+block_state_t%22+could+be+improved">report·issue</a>]</span></div> | 125 | <a·name="block_state_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+block_state_t&labels=documentation&body=Documentation+under+heading+%22enum+block_state_t%22+could+be+improved">report·issue</a>]</span></div> |
126 | <div·class="section"·id="enum-block-state-t"> | 126 | <div·class="section"·id="enum-block-state-t"> |
127 | <h2>enum·block_state_t</h2> | 127 | <h2>enum·block_state_t</h2> |
128 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/torrent_handle.hpp">libtorrent/torrent_handle.hpp</a>"</p> | 128 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/torrent_handle.hpp">libtorrent/torrent_handle.hpp</a>"</p> |
129 | <table·border="1"·class="docutils"> | 129 | <table·border="1"·class="docutils"> |
Offset 267, 103 lines modified | Offset 267, 103 lines modified | ||
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; | 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; | 271 | ···void·<strong>add_piece</strong>·(piece_index_t·piece,·char·const*·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; | ||
275 | ···void·<strong>post_peer_info</strong>·()·const; | 274 | ···void·<strong>post_peer_info</strong>·()·const; |
275 | ···void·<strong>get_peer_info</strong>·(std::vector<peer_info>&·v)·const; | ||
276 | ···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; |
277 | ···void·<strong>post_status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const; | 277 | ···void·<strong>post_status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const; |
278 | ···std::vector<partial_piece_info>·<strong>get_download_queue</strong>·()·const; | 278 | ···std::vector<partial_piece_info>·<strong>get_download_queue</strong>·()·const; |
279 | ···void·<strong>get_download_queue</strong>·(std::vector<partial_piece_info>&·queue)·const; | ||
280 | ···void·<strong>post_download_queue</strong>·()·const; | 279 | ···void·<strong>post_download_queue</strong>·()·const; |
280 | ···void·<strong>get_download_queue</strong>·(std::vector<partial_piece_info>&·queue)·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 | ···void·<strong>file_progress</strong>·(std::vector<std::int64_t>&·progress,·file_progress_flags_t·flags·=·{})·const; | 284 | ···void·<strong>file_progress</strong>·(std::vector<std::int64_t>&·progress,·file_progress_flags_t·flags·=·{})·const; |
286 | ···std::vector<std::int64_t>·<strong>file_progress</strong>·(file_progress_flags_t·flags·=·{})·const; | 285 | ···std::vector<std::int64_t>·<strong>file_progress</strong>·(file_progress_flags_t·flags·=·{})·const; |
286 | ···void·<strong>post_file_progress</strong>·(file_progress_flags_t·flags)·const; | ||
Max diff block lines reached; 50878/64572 bytes (78.79%) of diff not shown. |
Offset 1, 75 lines modified | Offset 1, 75 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 | ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8i_\x8n_\x8f_\x8o | 6 | ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8i_\x8n_\x8f_\x8o |
7 | ··········o·_\x8 | 7 | ··········o·_\x8p_.e_.e_.r_.(_.)_.·_.s_.e_.t_.__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) |
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·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8) | 15 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\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·_\x8 | 17 | ··········o·_\x8g_.e_.t_.__.d_.o_.w_.n_.l_.o_.a_.d_.__.q_.u_.e_.u_.e_.(_.)_.·_.p_.o_.s_\x8t_\x8__\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8q_\x8u_\x8e_\x8u_\x8e_\x8(_\x8) |
18 | ··········o·_\x8s_.e_.t_.__.p_.i_.e_.c_.e_.__.d_.e_.a_.d_.l_.i_.n_.e_.(_.)_.·_.c_.l_.e_.a_.r_.__.p_.i_.e_.c_.e_.__.d_.e_.a_.d_.l_.i_.n_.e_.s_.(_.)_.· | 18 | ··········o·_\x8r_.e_.s_.e_.t_.__.p_.i_.e_.c_.e_.__.d_.e_.a_.d_.l_.i_.n_.e_.(_.)_.·_.c_.l_.e_.a_.r_.__.p_.i_.e_.c_.e_.__.d_.e_.a_.d_.l_.i_.n_.e_.s_.(_.)_.·_\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·_\x8a_. | 22 | ··········o·_\x8r_.e_.p_.l_.a_.c_.e_.__.t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_.p_.o_.s_.t_.__.t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_.t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_.a_.d_.d_.__.t_.r_.a_.c_.k_.e_.r_\x8(_\x8) |
23 | ··········o·_\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8) | 23 | ··········o·_\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8) |
24 | ··········o·_\x8h_.t_.t_.p_.__.s_.e_.e_.d | 24 | ··········o·_\x8a_.d_.d_.__.h_.t_.t_.p_.__.s_.e_.e_.d_.(_.)_.·_.r_.e_.m_.o_.v_.e_.__.h_.t_.t_.p_.__.s_.e_.e_.d_.(_.)_.·_.h_.t_.t_.p_.__.s_.e_.e_.d_.s_\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·_\x8 | 28 | ··········o·_\x8r_.e_.s_.u_.m_.e_.(_.)_.·_.p_.a_.u_.s_\x8e_\x8(_\x8) |
29 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)_\x8·_\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)_\x8·_\x8u_\x8n_\x8s_\x8e_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8) | 29 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)_\x8·_\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)_\x8·_\x8u_\x8n_\x8s_\x8e_\x8t_\x8__\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(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_.__. | 34 | ··········o·_\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_.__.d_.o_.w_.n_.(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_.__.t_.o_\x8p_\x8(_\x8) |
35 | ············_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8 | 35 | ············_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8u_.p_.(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_\x8n_\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__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8e_\x8(_\x8) | 37 | ··········o·_\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)_\x8·_\x8s_\x8e_\x8t_\x8__\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8e_\x8(_\x8) |
38 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)_\x8·_\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) | 38 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)_\x8·_\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) |
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) | 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_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\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)_\x8·_\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8) | ||
41 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8 | 42 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8f_.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_.(_.)_.·_.p_.r_.i_.o_.r_.i_.t_.i_.z_.e_.__.f_.i_.l_\x8e_\x8s_\x8(_\x8) |
43 | ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8d_\x8h_\x8t_\x8__\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8)_\x8·_\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__\x8r_\x8e_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8) | ||
42 | ··········o·_\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8e_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\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__\x8r_\x8e_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8)_\x8·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8d_\x8h_\x8t_\x8__\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·_\x8s_\x8e_\x8t_\x8__\x8 | 45 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8u_.p_.l_.o_.a_.d_.__.l_.i_.m_.i_.t_.(_.)_.·_.u_.p_.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 | ············_\x8d_.o_.w_.n_\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·_\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8) | 49 | ··········o·_\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8) |
50 | ··········o·_\x8 | 50 | ··········o·_\x8m_.a_.x_.__.c_.o_.n_.n_.e_.c_.t_.i_.o_.n_.s_.(_.)_.·_.s_.e_.t_.__\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_\x8 | 53 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_.)_.·_.i_.n_.f_.o_.__.h_.a_.s_.h_.e_.s_\x8(_\x8) |
54 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8 | 54 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8!_.=_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_.=_.(_.)_.·_.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* |
62 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8h_\x8p_\x8p" | 62 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8h_\x8p_\x8p" |
63 | holds·the·state·of·a·block·in·a·piece.·Who·we·requested·it·from·and·how·far | 63 | holds·the·state·of·a·block·in·a·piece.·Who·we·requested·it·from·and·how·far |
64 | along·we·are·at·downloading·it. | 64 | along·we·are·at·downloading·it. |
65 | struct·block_info | 65 | struct·block_info |
66 | { | 66 | { |
67 | ···_\x8t_\x8c_\x8p_\x8:_\x8:_\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t·p\x8pe\x8ee\x8er\x8r·()·const; | ||
68 | ···void·s\x8se\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r·(tcp::endpoint·const&·ep); | 67 | ···void·s\x8se\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r·(tcp::endpoint·const&·ep); |
68 | ···_\x8t_\x8c_\x8p_\x8:_\x8:_\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t·p\x8pe\x8ee\x8er\x8r·()·const; | ||
69 | ···enum·block_state_t | 69 | ···enum·block_state_t |
70 | ···{ | 70 | ···{ |
71 | ······none, | 71 | ······none, |
72 | ······requested, | 72 | ······requested, |
73 | ······writing, | 73 | ······writing, |
74 | ······finished, | 74 | ······finished, |
Offset 77, 17 lines modified | Offset 77, 17 lines modified | ||
77 | ···unsigned·bytes_progress:15; | 77 | ···unsigned·bytes_progress:15; |
78 | ···unsigned·block_size:15; | 78 | ···unsigned·block_size:15; |
79 | ···unsigned·state:2; | 79 | ···unsigned·state:2; |
80 | ···unsigned·num_peers:14; | 80 | ···unsigned·num_peers:14; |
81 | }; | 81 | }; |
82 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 82 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
83 | *\x8**\x8**\x8**\x8**\x8*· | 83 | *\x8**\x8**\x8**\x8**\x8*·p.pe.ee.er.r(.().)·s.se.et.t_._p\x8pe\x8ee\x8er\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
84 | _\x8t_\x8c_\x8p_\x8:_\x8:_\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t·p\x8pe\x8ee\x8er\x8r·()·const; | ||
85 | void·s\x8se\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r·(tcp::endpoint·const&·ep); | 84 | void·s\x8se\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r·(tcp::endpoint·const&·ep); |
85 | _\x8t_\x8c_\x8p_\x8:_\x8:_\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t·p\x8pe\x8ee\x8er\x8r·()·const; | ||
86 | The·peer·is·the·ip·address·of·the·peer·this·block·was·downloaded·from. | 86 | The·peer·is·the·ip·address·of·the·peer·this·block·was·downloaded·from. |
87 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 87 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
88 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_s\x8st\x8ta\x8at\x8te\x8e_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8* | 88 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_s\x8st\x8ta\x8at\x8te\x8e_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8* |
89 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8h_\x8p_\x8p" | 89 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8h_\x8p_\x8p" |
90 | ·_\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· | 90 | ·_\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· |
91 | |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\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·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 91 | |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\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·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
92 | |none·····|0····|This·block·has·not·been·downloaded·or·requested·form·any···| | 92 | |none·····|0····|This·block·has·not·been·downloaded·or·requested·form·any···| |
Offset 181, 111 lines modified | Offset 181, 111 lines modified | ||
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, | 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; | 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 | 184 | ···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; | 185 | 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; | ||
189 | ···void·p\x8po\x8os\x8st\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·()·const; | 188 | ···void·p\x8po\x8os\x8st\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·()·const; |
189 | ···void·g\x8ge\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·(std::vector<peer_info>&·v)·const; | ||
190 | ···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; |
191 | ···void·p\x8po\x8os\x8st\x8t_\x8_s\x8st\x8ta\x8at\x8tu\x8us\x8s·(status_flags_t·flags·=·status_flags_t::all())·const; | 191 | ···void·p\x8po\x8os\x8st\x8t_\x8_s\x8st\x8ta\x8at\x8tu\x8us\x8s·(status_flags_t·flags·=·status_flags_t::all())·const; |
192 | ···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; | 192 | ···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; |
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 | ···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·p\x8po\x8os\x8st\x8t_\x8_d\x8do\x8ow\x8wn\x8nl\x8lo\x8oa\x8ad\x8d_\x8_q\x8qu\x8ue\x8eu\x8ue\x8e·()·const; |
194 | ···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; | ||
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 | ···void·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(std::vector<std::int64_t>&·progress, | 199 | ···void·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(std::vector<std::int64_t>&·progress, |
201 | file_progress_flags_t·flags·=·{})·const; | 200 | file_progress_flags_t·flags·=·{})·const; |
202 | ···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 | ···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·=·{}) |
203 | const; | 202 | const; |
203 | ···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; | ||
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; | ||
Max diff block lines reached; 38478/50398 bytes (76.35%) of diff not shown. |
Offset 41, 32 lines modified | Offset 41, 32 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="#orig-files-files"·id="toc-entry-9">orig_files()·files()</a></li> | 45 | <li><a·class="reference·internal"·href="#orig-files-files"·id="toc-entry-9">orig_files()·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="#add-tracker-trackers-clear-trackers"·id="toc-entry-12">add_tracker()·trackers()·clear_trackers()</a></li> |
49 | <li><a·class="reference·internal"·href="#collections-similar-torrents"·id="toc-entry-13">collections()·similar_torrents()</a></li> | 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="#web-seeds-add- | 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="#last-piece-piece-range-end-piece"·id="toc-entry-18">last_piece()·piece_range()·end_piece()</a></li> | 54 | <li><a·class="reference·internal"·href="#last-piece-piece-range-end-piece"·id="toc-entry-18">last_piece()·piece_range()·end_piece()</a></li> |
55 | <li><a·class="reference·internal"·href="#info-hash | 55 | <li><a·class="reference·internal"·href="#info-hash-info-hashes"·id="toc-entry-19">info_hash()·info_hashes()</a></li> |
56 | <li><a·class="reference·internal"·href="#v2-v1"·id="toc-entry-20">v2()·v1()</a></li> | 56 | <li><a·class="reference·internal"·href="#v2-v1"·id="toc-entry-20">v2()·v1()</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> |
64 | <li><a·class="reference·internal"·href="#piece-size"·id="toc-entry-28">piece_size()</a></li> | 64 | <li><a·class="reference·internal"·href="#piece-size"·id="toc-entry-28">piece_size()</a></li> |
65 | <li><a·class="reference·internal"·href="#hash-for-piece-hash-for-piece | 65 | <li><a·class="reference·internal"·href="#hash-for-piece-ptr-hash-for-piece"·id="toc-entry-29">hash_for_piece_ptr()·hash_for_piece()</a></li> |
66 | <li><a·class="reference·internal"·href="#name"·id="toc-entry-30">name()</a></li> | 66 | <li><a·class="reference·internal"·href="#name"·id="toc-entry-30">name()</a></li> |
67 | <li><a·class="reference·internal"·href="#creation-date"·id="toc-entry-31">creation_date()</a></li> | 67 | <li><a·class="reference·internal"·href="#creation-date"·id="toc-entry-31">creation_date()</a></li> |
68 | <li><a·class="reference·internal"·href="#creator"·id="toc-entry-32">creator()</a></li> | 68 | <li><a·class="reference·internal"·href="#creator"·id="toc-entry-32">creator()</a></li> |
69 | <li><a·class="reference·internal"·href="#comment"·id="toc-entry-33">comment()</a></li> | 69 | <li><a·class="reference·internal"·href="#comment"·id="toc-entry-33">comment()</a></li> |
70 | <li><a·class="reference·internal"·href="#nodes"·id="toc-entry-34">nodes()</a></li> | 70 | <li><a·class="reference·internal"·href="#nodes"·id="toc-entry-34">nodes()</a></li> |
71 | <li><a·class="reference·internal"·href="#add-node"·id="toc-entry-35">add_node()</a></li> | 71 | <li><a·class="reference·internal"·href="#add-node"·id="toc-entry-35">add_node()</a></li> |
72 | <li><a·class="reference·internal"·href="#parse-info-section"·id="toc-entry-36">parse_info_section()</a></li> | 72 | <li><a·class="reference·internal"·href="#parse-info-section"·id="toc-entry-36">parse_info_section()</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>·(torrent_info·const&·t); | ||
205 | ···<strong>torrent_info</strong>·(span<char·const>·buffer,·error_code&·ec,·from_span_t); | ||
206 | ···explicit·<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file); | ||
207 | ···explicit·<strong>torrent_info</strong>·(span<char·const>·buffer,·from_span_t); | 204 | ···explicit·<strong>torrent_info</strong>·(span<char·const>·buffer,·from_span_t); |
208 | ··· | 205 | ···<strong>torrent_info</strong>·(std::string·const&·filename,·load_torrent_limits·const&·cfg); |
209 | ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&·ec); | 206 | ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&·ec); |
207 | ···<strong>torrent_info</strong>·(torrent_info·const&·t); | ||
208 | ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size); | ||
210 | ···<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); | 209 | ···<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); |
210 | ···<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·error_code&·ec); | ||
211 | ···explicit·<strong>torrent_info</strong>·(std::string·const&·filename); | ||
212 | ···explicit·<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file); | ||
213 | ···<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); | 214 | ···<strong>torrent_info</strong>·(span<char·const>·buffer,·load_torrent_limits·const&·cfg,·from_span_t); |
212 | ···<strong>torrent_info</strong>·(std::string·const&·filename,·error_code&·ec); | 215 | ···<strong>torrent_info</strong>·(std::string·const&·filename,·error_code&·ec); |
213 | ···explicit·<strong>torrent_info</strong>·(info_hash_t·const&·info_hash); | 216 | ···explicit·<strong>torrent_info</strong>·(info_hash_t·const&·info_hash); |
214 | ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size); | ||
215 | ···<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·error_code&·ec); | ||
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 | ···std::vector<announce_entry>·const&·<strong>trackers</strong>·()·const; | ||
222 | ···void·<strong>add_tracker</strong>·(std::string·const&·url,·int·tier·=·0); | 223 | ···void·<strong>add_tracker</strong>·(std::string·const&·url,·int·tier·=·0); |
224 | ···void·<strong>clear_trackers</strong>·(); | ||
223 | ···void·<strong>add_tracker</strong>·(std::string·const&·url,·int·tier | 225 | ···void·<strong>add_tracker</strong>·(std::string·const&·url,·int·tier |
224 | ······,·announce_entry::tracker_source·source); | 226 | ······,·announce_entry::tracker_source·source); |
225 | ···void·<strong>clear_trackers</strong>·(); | ||
226 | ···std::vector<announce_entry>·const&·<strong>trackers</strong>·()·const; | ||
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; |
229 | ···std::vector< | 228 | ···std::vector<sha1_hash>·<strong>similar_torrents</strong>·()·const; |
230 | ···void·<strong>add_url_seed</strong>·(std::string·const&·url | 229 | ···void·<strong>add_url_seed</strong>·(std::string·const&·url |
231 | ······,·std::string·const&·ext_auth·=·std::string() | 230 | ······,·std::string·const&·ext_auth·=·std::string() |
232 | ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry::headers_t()); | 231 | ······,·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>add_http_seed</strong>·(std::string·const&·url | 233 | ···void·<strong>add_http_seed</strong>·(std::string·const&·url |
234 | ······,·std::string·const&·extern_auth·=·std::string() | 234 | ······,·std::string·const&·extern_auth·=·std::string() |
235 | ······,·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 | ···void·<strong>set_web_seeds</strong>·(std::vector<web_seed_entry>·seeds); | 236 | ···void·<strong>set_web_seeds</strong>·(std::vector<web_seed_entry>·seeds); |
237 | ···std::int64_t·<strong>total_size</strong>·()·const; | 237 | ···std::int64_t·<strong>total_size</strong>·()·const; |
238 | ···int·<strong>num_pieces</strong>·()·const; | ||
239 | ···int·<strong>piece_length</strong>·()·const; | 238 | ···int·<strong>piece_length</strong>·()·const; |
239 | ···int·<strong>num_pieces</strong>·()·const; | ||
240 | ···int·<strong>blocks_per_piece</strong>·()·const; | 240 | ···int·<strong>blocks_per_piece</strong>·()·const; |
241 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const; | ||
242 | ···piece_index_t·<strong>last_piece</strong>·()·const; | ||
243 | ···piece_index_t·<strong>end_piece</strong>·()·const; | 241 | ···piece_index_t·<strong>end_piece</strong>·()·const; |
244 | ··· | 242 | ···piece_index_t·<strong>last_piece</strong>·()·const; |
243 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const; | ||
245 | ···info_hash_t·const&·<strong>info_hashes</strong>·()·const; | 244 | ···info_hash_t·const&·<strong>info_hashes</strong>·()·const; |
246 | ··· | 245 | ···sha1_hash·<strong>info_hash</strong>·()·const·noexcept; |
247 | ···bool·<strong>v2</strong>·()·const; | 246 | ···bool·<strong>v2</strong>·()·const; |
247 | ···bool·<strong>v1</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>·(torrent_info·const&·t); | ||
277 | <strong>torrent_info</strong>·(span<char·const>·buffer,·error_code&·ec,·from_span_t); | ||
278 | explicit·<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file); | ||
279 | explicit·<strong>torrent_info</strong>·(span<char·const>·buffer,·from_span_t); | 276 | explicit·<strong>torrent_info</strong>·(span<char·const>·buffer,·from_span_t); |
Max diff block lines reached; 16353/27576 bytes (59.30%) of diff not shown. |
Offset 10, 32 lines modified | Offset 10, 32 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·_\x8o_\x8r_\x8i_\x8g_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 14 | ··········o·_\x8o_\x8r_\x8i_\x8g_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)_\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·_\x8a_.d_.d_.__.t_.r_.a_.c_.k_.e_.r_.(_.)_.·_.t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_.c_.l_.e_.a_.r_.__.t_.r_.a_.c_.k_.e_.r_.s_\x8(_\x8) |
18 | ··········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) | 18 | ··········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) |
19 | ··········o·_\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8 | 19 | ··········o·_\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8h_.t_.t_.p_.__.s_.e_.e_.d_.(_.)_.·_.a_.d_.d_.__.u_.r_.l_\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·_\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)_\x8·_\x8e_\x8n_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 23 | ··········o·_\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)_\x8·_\x8e_\x8n_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
24 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8 | 24 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_.)_.·_.i_.n_.f_.o_.__.h_.a_.s_.h_.e_.s_\x8(_\x8) |
25 | ··········o·_\x8v_\x82_\x8(_\x8)_\x8·_\x8v_\x81_\x8(_\x8) | 25 | ··········o·_\x8v_\x82_\x8(_\x8)_\x8·_\x8v_\x81_\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) |
33 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) | 33 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) |
34 | ··········o·_\x8h_\x8a_\x8s_\x8h_\x8__\x8f_\x8o_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8 | 34 | ··········o·_\x8h_\x8a_\x8s_\x8h_\x8__\x8f_\x8o_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__.p_.t_.r_.(_.)_.·_.h_.a_.s_.h_.__.f_.o_.r_.__.p_.i_.e_.c_.e_\x8(_\x8) |
35 | ··········o·_\x8n_\x8a_\x8m_\x8e_\x8(_\x8) | 35 | ··········o·_\x8n_\x8a_\x8m_\x8e_\x8(_\x8) |
36 | ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8d_\x8a_\x8t_\x8e_\x8(_\x8) | 36 | ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8d_\x8a_\x8t_\x8e_\x8(_\x8) |
37 | ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8o_\x8r_\x8(_\x8) | 37 | ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8o_\x8r_\x8(_\x8) |
38 | ··········o·_\x8c_\x8o_\x8m_\x8m_\x8e_\x8n_\x8t_\x8(_\x8) | 38 | ··········o·_\x8c_\x8o_\x8m_\x8m_\x8e_\x8n_\x8t_\x8(_\x8) |
39 | ··········o·_\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) | 39 | ··········o·_\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) |
40 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) | 40 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) |
41 | ··········o·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) | 41 | ··········o·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\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·(torrent_info·const&·t); | ||
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); | ||
129 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file); | ||
130 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·from_span_t); | 127 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·from_span_t); |
131 | ··· | 128 | ···t.to.or.rr.re.en.nt.t_._i.in.nf.fo.o·(std::string·const&·filename,·load_torrent_limits·const&·cfg); |
132 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size,·error_code&·ec); | 129 | ···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·(torrent_info·const&·t); | ||
131 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size); | ||
133 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·load_torrent_limits·const& | 132 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·load_torrent_limits·const& |
134 | cfg); | 133 | cfg); |
134 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·error_code&·ec); | ||
135 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename); | ||
136 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file); | ||
137 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·error_code&·ec,·from_span_t); | ||
135 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·load_torrent_limits·const&·cfg, | 138 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·load_torrent_limits·const&·cfg, |
136 | from_span_t); | 139 | from_span_t); |
137 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·error_code&·ec); | 140 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·error_code&·ec); |
138 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(info_hash_t·const&·info_hash); | 141 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(info_hash_t·const&·info_hash); |
139 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size); | ||
140 | ···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·(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 | ···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·=·0); | 148 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(std::string·const&·url,·int·tier·=·0); |
149 | ···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 | 150 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(std::string·const&·url,·int·tier |
149 | ······,·announce_entry::tracker_source·source); | 151 | ······,·announce_entry::tracker_source·source); |
150 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·(); | ||
151 | ···std::vector<announce_entry>·const&·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const; | ||
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; |
154 | ···std::vector< | 153 | ···std::vector<sha1_hash>·s.si.im.mi.il.la.ar.r_._t.to.or.rr.re.en.nt.ts\x8s·()·const; |
155 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url | 154 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url |
156 | ······,·std::string·const&·ext_auth·=·std::string() | 155 | ······,·std::string·const&·ext_auth·=·std::string() |
157 | ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry:: | 156 | ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry:: |
158 | headers_t()); | 157 | headers_t()); |
158 | ···std::vector<web_seed_entry>·const&·w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; | ||
159 | ···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 |
160 | ······,·std::string·const&·extern_auth·=·std::string() | 160 | ······,·std::string·const&·extern_auth·=·std::string() |
161 | ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry:: | 161 | ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry:: |
162 | headers_t()); | 162 | headers_t()); |
163 | ···void·s\x8se\x8et\x8t_\x8_w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·(std::vector<web_seed_entry>·seeds); | 163 | ···void·s\x8se\x8et\x8t_\x8_w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·(std::vector<web_seed_entry>·seeds); |
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·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; | 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; | ||
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 | ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const; | ||
169 | ···piece_index_t·l\x8la\x8as\x8st\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; | ||
170 | ···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; |
171 | ··· | 169 | ···piece_index_t·l.la.as.st.t_._p.pi.ie.ec.ce.e·()·const; |
170 | ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const; | ||
172 | ···info_hash_t·const&·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8he\x8es\x8s·()·const; | 171 | ···info_hash_t·const&·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8he\x8es\x8s·()·const; |
173 | ··· | 172 | ···sha1_hash·i.in.nf.fo.o_._h.ha.as.sh.h·()·const·noexcept; |
174 | ···bool·v\x8v2\x82·()·const; | 173 | ···bool·v\x8v2\x82·()·const; |
174 | ···bool·v\x8v1\x81·()·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] |
Max diff block lines reached; 10987/20122 bytes (54.60%) of diff not shown. |
Offset 31, 15 lines modified | Offset 31, 15 lines modified | ||
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="#announce-infohash"·id="toc-entry-1">announce_infohash</a></li> | 35 | <li><a·class="reference·internal"·href="#announce-infohash"·id="toc-entry-1">announce_infohash</a></li> |
36 | <li><a·class="reference·internal"·href="#announce-endpoint"·id="toc-entry-2">announce_endpoint</a></li> | 36 | <li><a·class="reference·internal"·href="#announce-endpoint"·id="toc-entry-2">announce_endpoint</a></li> |
37 | <li><a·class="reference·internal"·href="#announce-entry"·id="toc-entry-3">announce_entry</a><ul> | 37 | <li><a·class="reference·internal"·href="#announce-entry"·id="toc-entry-3">announce_entry</a><ul> |
38 | <li><a·class="reference·internal"·href="#announce-entry- | 38 | <li><a·class="reference·internal"·href="#announce-entry-announce-entry-operator"·id="toc-entry-4">announce_entry()·~announce_entry()·operator=()</a></li> |
39 | <li><a·class="reference·internal"·href="#enum-tracker-source"·id="toc-entry-5">enum·tracker_source</a></li> | 39 | <li><a·class="reference·internal"·href="#enum-tracker-source"·id="toc-entry-5">enum·tracker_source</a></li> |
40 | </ul> | 40 | </ul> |
41 | </li> | 41 | </li> |
42 | </ul> | 42 | </ul> |
43 | </div> | 43 | </div> |
44 | <a·name="announce_infohash"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+announce_infohash&labels=documentation&body=Documentation+under+heading+%22class+announce_infohash%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="announce-infohash"> | 44 | <a·name="announce_infohash"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+announce_infohash&labels=documentation&body=Documentation+under+heading+%22class+announce_infohash%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="announce-infohash"> |
45 | <h1>announce_infohash</h1> | 45 | <h1>announce_infohash</h1> |
Offset 131, 19 lines modified | Offset 131, 19 lines modified | ||
131 | <h1>announce_entry</h1> | 131 | <h1>announce_entry</h1> |
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&); | ||
139 | ···<strong>announce_entry</strong>·(); | ||
140 | ···<strong>~announce_entry</strong>·(); | 138 | ···<strong>~announce_entry</strong>·(); |
141 | ··· | 139 | ···<strong>announce_entry</strong>·(announce_entry·const&); |
142 | ···explicit·<strong>announce_entry</strong>·(string_view·u); | 140 | ···explicit·<strong>announce_entry</strong>·(string_view·u); |
141 | ···announce_entry&·<strong>operator=</strong>·(announce_entry·const&)·&; | ||
142 | ···<strong>announce_entry</strong>·(); | ||
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 154, 24 lines modified | Offset 154, 24 lines modified | ||
154 | ···std::vector<announce_endpoint>·endpoints; | 154 | ···std::vector<announce_endpoint>·endpoints; |
155 | ···std::uint8_t·<strong>tier</strong>··=·0; | 155 | ···std::uint8_t·<strong>tier</strong>··=·0; |
156 | ···std::uint8_t·<strong>fail_limit</strong>··=·0; | 156 | ···std::uint8_t·<strong>fail_limit</strong>··=·0; |
157 | ···std::uint8_t·source:4; | 157 | ···std::uint8_t·source:4; |
158 | ···bool·verified:1; | 158 | ···bool·verified:1; |
159 | }; | 159 | }; |
160 | </pre> | 160 | </pre> |
161 | <a·name="announce_entry()"></a> | ||
161 | <a·name="~announce_entry()"></a> | 162 | <a·name="~announce_entry()"></a> |
162 | <a·name="operator=()"></a> | ||
163 | <a·name=" | 163 | <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:announce_entry%3A%3A%5Bannounce_entry%28%29+~announce_entry%28%29+operator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22[·...·truncated·by·diffoscope;·len:·196,·SHA:·259481d8bbb94d6078cf531107b35e866824a9fa841630863124e26eb13ed5f8·...·]"> |
164 | <h2> | 164 | <h2>announce_entry()·~announce_entry()·operator=()</h2> |
165 | <pre·class="literal-block"> | 165 | <pre·class="literal-block"> |
166 | <strong>announce_entry</strong>·(announce_entry·const&); | ||
167 | <strong>announce_entry</strong>·(); | ||
168 | <strong>~announce_entry</strong>·(); | 166 | <strong>~announce_entry</strong>·(); |
169 | 167 | <strong>announce_entry</strong>·(announce_entry·const&); | |
170 | explicit·<strong>announce_entry</strong>·(string_view·u); | 168 | explicit·<strong>announce_entry</strong>·(string_view·u); |
169 | announce_entry&·<strong>operator=</strong>·(announce_entry·const&)·&; | ||
170 | <strong>announce_entry</strong>·(); | ||
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 2, 15 lines modified | Offset 2, 15 lines modified | ||
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 | ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h | 6 | ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h |
7 | ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t | 7 | ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t |
8 | ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y | 8 | ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y |
9 | ··········o·_\x8 | 9 | ··········o·_\x8a_.n_.n_.o_.u_.n_.c_.e_.__.e_.n_.t_.r_.y_.(_.)_.·_.~_.a_.n_.n_.o_.u_.n_.c_.e_.__.e_.n_.t_.r_.y_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_\x8(_\x8) |
10 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 10 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
11 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 11 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
12 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_i\x8in\x8nf\x8fo\x8oh\x8ha\x8as\x8sh\x8h·*\x8**\x8**\x8**\x8**\x8**\x8* | 12 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_i\x8in\x8nf\x8fo\x8oh\x8ha\x8as\x8sh\x8h·*\x8**\x8**\x8**\x8**\x8**\x8* |
13 | 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" | 13 | 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" |
14 | struct·announce_infohash | 14 | struct·announce_infohash |
15 | { | 15 | { |
16 | ···std::string·message; | 16 | ···std::string·message; |
Offset 78, 19 lines modified | Offset 78, 19 lines modified | ||
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**\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&); | ||
86 | ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | ||
87 | ···~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | 85 | ···~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); |
88 | ···a | 86 | ···a.an.nn.no.ou.un.nc.ce.e_._e.en.nt.tr.ry.y·(announce_entry·const&); |
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 | ···announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&; | ||
89 | ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | ||
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 101, 20 lines modified | Offset 101, 20 lines modified | ||
101 | ···std::vector<announce_endpoint>·endpoints; | 101 | ···std::vector<announce_endpoint>·endpoints; |
102 | ···std::uint8_t·t\x8ti\x8ie\x8er\x8r··=·0; | 102 | ···std::uint8_t·t\x8ti\x8ie\x8er\x8r··=·0; |
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*·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y(\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*·~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\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**\x8* | ||
109 | a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&); | ||
110 | a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | ||
111 | ~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | 109 | ~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); |
112 | a | 110 | a.an.nn.no.ou.un.nc.ce.e_._e.en.nt.tr.ry.y·(announce_entry·const&); |
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 | announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&; | ||
113 | a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | ||
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 32, 15 lines modified | Offset 32, 15 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="#bitfield"·id="toc-entry-1">bitfield</a><ul> | 35 | <li><a·class="reference·internal"·href="#bitfield"·id="toc-entry-1">bitfield</a><ul> |
36 | <li><a·class="reference·internal"·href="#bitfield-1"·id="toc-entry-2">bitfield()</a></li> | 36 | <li><a·class="reference·internal"·href="#bitfield-1"·id="toc-entry-2">bitfield()</a></li> |
37 | <li><a·class="reference·internal"·href="#assign"·id="toc-entry-3">assign()</a></li> | 37 | <li><a·class="reference·internal"·href="#assign"·id="toc-entry-3">assign()</a></li> |
38 | <li><a·class="reference·internal"·href="#get-bit-operator"·id="toc-entry-4">get_bit()·operator[]()</a></li> | 38 | <li><a·class="reference·internal"·href="#get-bit-operator"·id="toc-entry-4">get_bit()·operator[]()</a></li> |
39 | <li><a·class="reference·internal"·href="# | 39 | <li><a·class="reference·internal"·href="#clear-bit-set-bit"·id="toc-entry-5">clear_bit()·set_bit()</a></li> |
40 | <li><a·class="reference·internal"·href="#all-set"·id="toc-entry-6">all_set()</a></li> | 40 | <li><a·class="reference·internal"·href="#all-set"·id="toc-entry-6">all_set()</a></li> |
41 | <li><a·class="reference·internal"·href="#none-set"·id="toc-entry-7">none_set()</a></li> | 41 | <li><a·class="reference·internal"·href="#none-set"·id="toc-entry-7">none_set()</a></li> |
42 | <li><a·class="reference·internal"·href="#size"·id="toc-entry-8">size()</a></li> | 42 | <li><a·class="reference·internal"·href="#size"·id="toc-entry-8">size()</a></li> |
43 | <li><a·class="reference·internal"·href="#num-words"·id="toc-entry-9">num_words()</a></li> | 43 | <li><a·class="reference·internal"·href="#num-words"·id="toc-entry-9">num_words()</a></li> |
44 | <li><a·class="reference·internal"·href="#num-bytes"·id="toc-entry-10">num_bytes()</a></li> | 44 | <li><a·class="reference·internal"·href="#num-bytes"·id="toc-entry-10">num_bytes()</a></li> |
45 | <li><a·class="reference·internal"·href="#empty"·id="toc-entry-11">empty()</a></li> | 45 | <li><a·class="reference·internal"·href="#empty"·id="toc-entry-11">empty()</a></li> |
46 | <li><a·class="reference·internal"·href="#data"·id="toc-entry-12">data()</a></li> | 46 | <li><a·class="reference·internal"·href="#data"·id="toc-entry-12">data()</a></li> |
Offset 70, 23 lines modified | Offset 70, 23 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 | ···explicit·<strong>bitfield</strong>·(int·bits); | ||
77 | ···<strong>bitfield</strong>·(bitfield·const&·rhs); | 79 | ···<strong>bitfield</strong>·(bitfield·const&·rhs); |
78 | ···<strong>bitfield</strong>·(bitfield&&·rhs)·noexcept·=·default; | 80 | ···<strong>bitfield</strong>·(bitfield&&·rhs)·noexcept·=·default; |
79 | ···<strong>bitfield</strong>·(int·bits,·bool·val); | 81 | ···<strong>bitfield</strong>·(int·bits,·bool·val); |
80 | ···<strong>bitfield</strong>·()·noexcept·=·default; | 82 | ···<strong>bitfield</strong>·()·noexcept·=·default; |
81 | ···<strong>bitfield</strong>·(char·const*·b,·int·bits); | ||
82 | ···explicit·<strong>bitfield</strong>·(int·bits); | ||
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>operator[]</strong>·(int·index)·const·noexcept; | ||
85 | ···bool·<strong>get_bit</strong>·(int·index)·const·noexcept; | 84 | ···bool·<strong>get_bit</strong>·(int·index)·const·noexcept; |
85 | ···bool·<strong>operator[]</strong>·(int·index)·const·noexcept; | ||
86 | ···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; | 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; |
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 | explicit·<strong>bitfield</strong>·(int·bits); | ||
106 | <strong>bitfield</strong>·(bitfield·const&·rhs); | 108 | <strong>bitfield</strong>·(bitfield·const&·rhs); |
107 | <strong>bitfield</strong>·(bitfield&&·rhs)·noexcept·=·default; | 109 | <strong>bitfield</strong>·(bitfield&&·rhs)·noexcept·=·default; |
108 | <strong>bitfield</strong>·(int·bits,·bool·val); | 110 | <strong>bitfield</strong>·(int·bits,·bool·val); |
109 | <strong>bitfield</strong>·()·noexcept·=·default; | 111 | <strong>bitfield</strong>·()·noexcept·=·default; |
110 | <strong>bitfield</strong>·(char·const*·b,·int·bits); | ||
111 | explicit·<strong>bitfield</strong>·(int·bits); | ||
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, 22 lines modified | Offset 126, 22 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>operator[]</strong>·(int·index)·const·noexcept; | ||
134 | bool·<strong>get_bit</strong>·(int·index)·const·noexcept; | 133 | bool·<strong>get_bit</strong>·(int·index)·const·noexcept; |
134 | bool·<strong>operator[]</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=" | 137 | <a·name="clear_bit()"></a> |
138 | <a·name=" | 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=" | 139 | <div·class="section"·id="clear-bit-set-bit"> |
140 | <h2> | 140 | <h2>clear_bit()·set_bit()</h2> |
141 | <pre·class="literal-block"> | 141 | <pre·class="literal-block"> |
142 | 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; | 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"> |
Offset 242, 32 lines modified | Offset 242, 32 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 | ···<strong>hasher</strong>·(char·const*·data,·int·len); | 250 | ···<strong>hasher</strong>·(char·const*·data,·int·len); |
250 | ···hasher&·<strong>operator=</strong>·(hasher·const&)·&; | 251 | ···hasher&·<strong>operator=</strong>·(hasher·const&)·&; |
251 | ···explicit·<strong>hasher</strong>·(span<char·const>·data); | 252 | ···explicit·<strong>hasher</strong>·(span<char·const>·data); |
252 | ···<strong>hasher</strong>·(hasher·const&); | ||
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="hasher()"></a> | 259 | <a·name="hasher()"></a> |
260 | <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher%3A%3A%5Bhasher%28%29+operator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher%3A%3A%5Bhasher%28%29+operator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="hasher-operator"> | 260 | <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher%3A%3A%5Bhasher%28%29+operator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher%3A%3A%5Bhasher%28%29+operator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="hasher-operator"> |
261 | <h2>hasher()·operator=()</h2> | 261 | <h2>hasher()·operator=()</h2> |
262 | <pre·class="literal-block"> | 262 | <pre·class="literal-block"> |
263 | <strong>hasher</strong>·(hasher·const&); | ||
263 | <strong>hasher</strong>·(char·const*·data,·int·len); | 264 | <strong>hasher</strong>·(char·const*·data,·int·len); |
264 | hasher&·<strong>operator=</strong>·(hasher·const&)·&; | 265 | hasher&·<strong>operator=</strong>·(hasher·const&)·&; |
265 | explicit·<strong>hasher</strong>·(span<char·const>·data); | 266 | explicit·<strong>hasher</strong>·(span<char·const>·data); |
266 | <strong>hasher</strong>·(hasher·const&); | ||
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> |
273 | <pre·class="literal-block"> | 273 | <pre·class="literal-block"> |
Offset 296, 42 lines modified | Offset 296, 42 lines modified | ||
296 | <div·class="section"·id="hasher256"> | 296 | <div·class="section"·id="hasher256"> |
297 | <h1>hasher256</h1> | 297 | <h1>hasher256</h1> |
Max diff block lines reached; 2738/12163 bytes (22.51%) of diff not shown. |
Offset 3, 15 lines modified | Offset 3, 15 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 | ····*·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d | 6 | ····*·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d |
7 | ··········o·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8(_\x8) | 7 | ··········o·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8(_\x8) |
8 | ··········o·_\x8a_\x8s_\x8s_\x8i_\x8g_\x8n_\x8(_\x8) | 8 | ··········o·_\x8a_\x8s_\x8s_\x8i_\x8g_\x8n_\x8(_\x8) |
9 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8i_\x8t_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8) | 9 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8i_\x8t_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8) |
10 | ··········o·_\x8 | 10 | ··········o·_\x8c_.l_.e_.a_.r_.__.b_.i_.t_.(_.)_.·_.s_.e_.t_\x8__\x8b_\x8i_\x8t_\x8(_\x8) |
11 | ··········o·_\x8a_\x8l_\x8l_\x8__\x8s_\x8e_\x8t_\x8(_\x8) | 11 | ··········o·_\x8a_\x8l_\x8l_\x8__\x8s_\x8e_\x8t_\x8(_\x8) |
12 | ··········o·_\x8n_\x8o_\x8n_\x8e_\x8__\x8s_\x8e_\x8t_\x8(_\x8) | 12 | ··········o·_\x8n_\x8o_\x8n_\x8e_\x8__\x8s_\x8e_\x8t_\x8(_\x8) |
13 | ··········o·_\x8s_\x8i_\x8z_\x8e_\x8(_\x8) | 13 | ··········o·_\x8s_\x8i_\x8z_\x8e_\x8(_\x8) |
14 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8w_\x8o_\x8r_\x8d_\x8s_\x8(_\x8) | 14 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8w_\x8o_\x8r_\x8d_\x8s_\x8(_\x8) |
15 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8b_\x8y_\x8t_\x8e_\x8s_\x8(_\x8) | 15 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8b_\x8y_\x8t_\x8e_\x8s_\x8(_\x8) |
16 | ··········o·_\x8e_\x8m_\x8p_\x8t_\x8y_\x8(_\x8) | 16 | ··········o·_\x8e_\x8m_\x8p_\x8t_\x8y_\x8(_\x8) |
17 | ··········o·_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | 17 | ··········o·_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) |
Offset 32, 23 lines modified | Offset 32, 23 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 | ···explicit·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits); | ||
39 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield·const&·rhs); | 41 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield·const&·rhs); |
40 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield&&·rhs)·noexcept·=·default; | 42 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield&&·rhs)·noexcept·=·default; |
41 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits,·bool·val); | 43 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits,·bool·val); |
42 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·()·noexcept·=·default; | 44 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·()·noexcept·=·default; |
43 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(char·const*·b,·int·bits); | ||
44 | ···explicit·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits); | ||
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·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·index)·const·noexcept; | ||
47 | ···bool·g\x8ge\x8et\x8t_\x8_b\x8bi\x8it\x8t·(int·index)·const·noexcept; | 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; | ||
48 | ···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; | 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; |
Offset 59, 38 lines modified | Offset 59, 38 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 | explicit·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits); | ||
66 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield·const&·rhs); | 68 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield·const&·rhs); |
67 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield&&·rhs)·noexcept·=·default; | 69 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield&&·rhs)·noexcept·=·default; |
68 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits,·bool·val); | 70 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits,·bool·val); |
69 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·()·noexcept·=·default; | 71 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·()·noexcept·=·default; |
70 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(char·const*·b,·int·bits); | ||
71 | explicit·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits); | ||
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·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; | 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; | ||
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*· | 89 | *\x8**\x8**\x8**\x8**\x8*·c.cl.le.ea.ar.r_._b.bi.it.t(.().)·s.se.et.t_\x8_b\x8bi\x8it\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
90 | 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; | 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 |
Offset 151, 29 lines modified | Offset 151, 29 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 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(char·const*·data,·int·len); | 159 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(char·const*·data,·int·len); |
159 | ···hasher&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher·const&)·&; | 160 | ···hasher&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher·const&)·&; |
160 | ···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); |
161 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&); | ||
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*·h\x8ha\x8as\x8sh\x8he\x8er\x8r(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 168 | *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8sh\x8he\x8er\x8r(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
169 | h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&); | ||
169 | h\x8ha\x8as\x8sh\x8he\x8er\x8r·(char·const*·data,·int·len); | 170 | h\x8ha\x8as\x8sh\x8he\x8er\x8r·(char·const*·data,·int·len); |
170 | hasher&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher·const&)·&; | 171 | hasher&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher·const&)·&; |
171 | 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); |
172 | h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&); | ||
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); |
179 | append·the·following·bytes·to·what·is·being·hashed | 179 | append·the·following·bytes·to·what·is·being·hashed |
Offset 189, 36 lines modified | Offset 189, 36 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 | ···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·(hasher256·const&); | 196 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(hasher256·const&); |
198 | ···hasher256&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher256·const&)·&; | 197 | ···hasher256&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher256·const&)·&; |
Max diff block lines reached; 1430/8105 bytes (17.64%) of diff not shown. |
Offset 84, 18 lines modified | Offset 84, 18 lines modified | ||
84 | </pre> | 84 | </pre> |
85 | <p>Verifies·the·signature·on·the·given·message·using·<tt·class="docutils·literal">pk</tt></p> | 85 | <p>Verifies·the·signature·on·the·given·message·using·<tt·class="docutils·literal">pk</tt></p> |
86 | <a·name="ed25519_add_scalar()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:ed25519_add_scalar%28%29&labels=documentation&body=Documentation+under+heading+%22ed25519_add_scalar%28%29%22+could+be+improved">report·issue</a>]</span></div> | 86 | <a·name="ed25519_add_scalar()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:ed25519_add_scalar%28%29&labels=documentation&body=Documentation+under+heading+%22ed25519_add_scalar%28%29%22+could+be+improved">report·issue</a>]</span></div> |
87 | <div·class="section"·id="ed25519-add-scalar"> | 87 | <div·class="section"·id="ed25519-add-scalar"> |
88 | <h1>ed25519_add_scalar()</h1> | 88 | <h1>ed25519_add_scalar()</h1> |
89 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/kademlia/ed25519.hpp">libtorrent/kademlia/ed25519.hpp</a>"</p> | 89 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/kademlia/ed25519.hpp">libtorrent/kademlia/ed25519.hpp</a>"</p> |
90 | <pre·class="literal-block"> | 90 | <pre·class="literal-block"> |
91 | public_key·<strong>ed25519_add_scalar</strong>·(public_key·const&·pk | ||
92 | ···,·std::array<char,·32>·const&·scalar); | ||
93 | secret_key·<strong>ed25519_add_scalar</strong>·(secret_key·const&·sk | 91 | secret_key·<strong>ed25519_add_scalar</strong>·(secret_key·const&·sk |
94 | ···,·std::array<char,·32>·const&·scalar); | 92 | ···,·std::array<char,·32>·const&·scalar); |
93 | public_key·<strong>ed25519_add_scalar</strong>·(public_key·const&·pk | ||
94 | ···,·std::array<char,·32>·const&·scalar); | ||
95 | </pre> | 95 | </pre> |
96 | <p>Adds·a·scalar·to·the·given·key·pair·where·scalar·is·a·32·byte·buffer | 96 | <p>Adds·a·scalar·to·the·given·key·pair·where·scalar·is·a·32·byte·buffer |
97 | (possibly·generated·with·<cite>ed25519_create_seed</cite>),·generating·a·new·key·pair.</p> | 97 | (possibly·generated·with·<cite>ed25519_create_seed</cite>),·generating·a·new·key·pair.</p> |
98 | <p>You·can·calculate·the·public·key·sum·without·knowing·the·private·key·and | 98 | <p>You·can·calculate·the·public·key·sum·without·knowing·the·private·key·and |
99 | vice·versa·by·passing·in·null·for·the·key·you·don't·know.·This·is·useful | 99 | vice·versa·by·passing·in·null·for·the·key·you·don't·know.·This·is·useful |
100 | when·a·third·party·(an·authoritative·server·for·example)·needs·to·enforce | 100 | when·a·third·party·(an·authoritative·server·for·example)·needs·to·enforce |
101 | randomness·on·a·key·pair·while·only·knowing·the·public·key·of·the·other | 101 | randomness·on·a·key·pair·while·only·knowing·the·public·key·of·the·other |
Offset 39, 18 lines modified | Offset 39, 18 lines modified | ||
39 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8e_\x8d_\x82_\x85_\x85_\x81_\x89_\x8._\x8h_\x8p_\x8p" | 39 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8e_\x8d_\x82_\x85_\x85_\x81_\x89_\x8._\x8h_\x8p_\x8p" |
40 | bool·e\x8ed\x8d2\x825\x855\x851\x819\x89_\x8_v\x8ve\x8er\x8ri\x8if\x8fy\x8y·(signature·const&·sig | 40 | bool·e\x8ed\x8d2\x825\x855\x851\x819\x89_\x8_v\x8ve\x8er\x8ri\x8if\x8fy\x8y·(signature·const&·sig |
41 | ···,·span<char·const>·msg,·public_key·const&·pk); | 41 | ···,·span<char·const>·msg,·public_key·const&·pk); |
42 | Verifies·the·signature·on·the·given·message·using·pk | 42 | Verifies·the·signature·on·the·given·message·using·pk |
43 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 43 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
44 | *\x8**\x8**\x8**\x8**\x8**\x8*·e\x8ed\x8d2\x825\x855\x851\x819\x89_\x8_a\x8ad\x8dd\x8d_\x8_s\x8sc\x8ca\x8al\x8la\x8ar\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | 44 | *\x8**\x8**\x8**\x8**\x8**\x8*·e\x8ed\x8d2\x825\x855\x851\x819\x89_\x8_a\x8ad\x8dd\x8d_\x8_s\x8sc\x8ca\x8al\x8la\x8ar\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
45 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8e_\x8d_\x82_\x85_\x85_\x81_\x89_\x8._\x8h_\x8p_\x8p" | 45 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8e_\x8d_\x82_\x85_\x85_\x81_\x89_\x8._\x8h_\x8p_\x8p" |
46 | public_key·e\x8ed\x8d2\x825\x855\x851\x819\x89_\x8_a\x8ad\x8dd\x8d_\x8_s\x8sc\x8ca\x8al\x8la\x8ar\x8r·(public_key·const&·pk | ||
47 | ···,·std::array<char,·32>·const&·scalar); | ||
48 | secret_key·e\x8ed\x8d2\x825\x855\x851\x819\x89_\x8_a\x8ad\x8dd\x8d_\x8_s\x8sc\x8ca\x8al\x8la\x8ar\x8r·(secret_key·const&·sk | 46 | secret_key·e\x8ed\x8d2\x825\x855\x851\x819\x89_\x8_a\x8ad\x8dd\x8d_\x8_s\x8sc\x8ca\x8al\x8la\x8ar\x8r·(secret_key·const&·sk |
49 | ···,·std::array<char,·32>·const&·scalar); | 47 | ···,·std::array<char,·32>·const&·scalar); |
48 | public_key·e\x8ed\x8d2\x825\x855\x851\x819\x89_\x8_a\x8ad\x8dd\x8d_\x8_s\x8sc\x8ca\x8al\x8la\x8ar\x8r·(public_key·const&·pk | ||
49 | ···,·std::array<char,·32>·const&·scalar); | ||
50 | Adds·a·scalar·to·the·given·key·pair·where·scalar·is·a·32·byte·buffer·(possibly | 50 | Adds·a·scalar·to·the·given·key·pair·where·scalar·is·a·32·byte·buffer·(possibly |
51 | generated·withed25519_create_seed),·generating·a·new·key·pair. | 51 | generated·withed25519_create_seed),·generating·a·new·key·pair. |
52 | You·can·calculate·the·public·key·sum·without·knowing·the·private·key·and·vice | 52 | You·can·calculate·the·public·key·sum·without·knowing·the·private·key·and·vice |
53 | versa·by·passing·in·null·for·the·key·you·don't·know.·This·is·useful·when·a | 53 | versa·by·passing·in·null·for·the·key·you·don't·know.·This·is·useful·when·a |
54 | third·party·(an·authoritative·server·for·example)·needs·to·enforce·randomness | 54 | third·party·(an·authoritative·server·for·example)·needs·to·enforce·randomness |
55 | on·a·key·pair·while·only·knowing·the·public·key·of·the·other·side. | 55 | on·a·key·pair·while·only·knowing·the·public·key·of·the·other·side. |
56 | Warning:·the·last·bit·of·the·scalar·is·ignored·-·if·comparing·scalars·make·sure | 56 | Warning:·the·last·bit·of·the·scalar·is·ignored·-·if·comparing·scalars·make·sure |
Offset 25, 33 lines modified | Offset 25, 33 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> | ||
33 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params()">write_session_params()</a></div> | 32 | <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_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> |
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_file()">load_torrent_file()</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_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> | ||
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> |
57 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#protocol_version">protocol_version</a></div> | 57 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#protocol_version">protocol_version</a></div> |
Offset 117, 16 lines modified | Offset 117, 16 lines modified | ||
117 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#announce_flags_t">announce_flags_t</a></div> | 117 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#announce_flags_t">announce_flags_t</a></div> |
118 | </div> | 118 | </div> |
119 | <p·class="rubric">Resume·Data</p> | 119 | <p·class="rubric">Resume·Data</p> |
120 | <div·class="line-block"> | 120 | <div·class="line-block"> |
121 | <div·class="line"><a·class="reference·external"·href="reference-Resume_Data.html#read_resume_data()">read_resume_data()</a></div> | 121 | <div·class="line"><a·class="reference·external"·href="reference-Resume_Data.html#read_resume_data()">read_resume_data()</a></div> |
122 | <div·class="line"><a·class="reference·external"·href="reference-Resume_Data.html#write_resume_data()">write_resume_data()</a></div> | 122 | <div·class="line"><a·class="reference·external"·href="reference-Resume_Data.html#write_resume_data()">write_resume_data()</a></div> |
123 | <div·class="line"><a·class="reference·external"·href="reference-Resume_Data.html#write_resume_data_buf()">write_resume_data_buf()</a></div> | 123 | <div·class="line"><a·class="reference·external"·href="reference-Resume_Data.html#write_resume_data_buf()">write_resume_data_buf()</a></div> |
124 | <div·class="line"><a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_file()">write_torrent_file()</a></div> | ||
125 | <div·class="line"><a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_file_buf()">write_torrent_file_buf()</a></div> | 124 | <div·class="line"><a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_file_buf()">write_torrent_file_buf()</a></div> |
125 | <div·class="line"><a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_file()">write_torrent_file()</a></div> | ||
126 | <div·class="line"><a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_flags_t">write_torrent_flags_t</a></div> | 126 | <div·class="line"><a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_flags_t">write_torrent_flags_t</a></div> |
127 | </div> | 127 | </div> |
128 | </div> | 128 | </div> |
129 | <div·class="main-toc·docutils·container"> | 129 | <div·class="main-toc·docutils·container"> |
130 | <p·class="rubric">Error·Codes</p> | 130 | <p·class="rubric">Error·Codes</p> |
131 | <div·class="line-block"> | 131 | <div·class="line-block"> |
132 | <div·class="line"><a·class="reference·external"·href="reference-Error_Codes.html#storage_error">storage_error</a></div> | 132 | <div·class="line"><a·class="reference·external"·href="reference-Error_Codes.html#storage_error">storage_error</a></div> |
Offset 3, 29 lines modified | Offset 3, 29 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) | ||
11 | _\x8w_\x8r_\x8i_\x8t_\x8e_\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(_\x8) |
12 | _\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) |
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__\x8f_\x8i_\x8l_\x8e_\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__\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) | ||
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 |
31 | _\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n | 31 | _\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n |
Offset 75, 16 lines modified | Offset 75, 16 lines modified | ||
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) |
77 | _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t | 77 | _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t |
78 | Resume·Data | 78 | Resume·Data |
79 | _\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | 79 | _\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) |
80 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | 80 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) |
81 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8b_\x8u_\x8f_\x8(_\x8) | 81 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8b_\x8u_\x8f_\x8(_\x8) |
82 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | ||
83 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8b_\x8u_\x8f_\x8(_\x8) | 82 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8b_\x8u_\x8f_\x8(_\x8) |
83 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | ||
84 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t | 84 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t |
85 | Error·Codes | 85 | Error·Codes |
86 | _\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r | 86 | _\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r |
87 | _\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | 87 | _\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
88 | _\x8h_\x8t_\x8t_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | 88 | _\x8h_\x8t_\x8t_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
89 | _\x8g_\x8z_\x8i_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | 89 | _\x8g_\x8z_\x8i_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
90 | _\x8u_\x8p_\x8n_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | 90 | _\x8u_\x8p_\x8n_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
Offset 55, 15 lines modified | Offset 55, 15 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="#operator-session-proxy-session-proxy"·id="toc-entry-24">operator=()· | 62 | <li><a·class="reference·internal"·href="#operator-session-proxy-session-proxy"·id="toc-entry-24">operator=()·session_proxy()·~session_proxy()</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> |
Offset 73, 77 lines modified | Offset 73, 77 lines modified | ||
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="#refresh-torrent-status-get-torrent-status"·id="toc-entry-33">refresh_torrent_status()·get_torrent_status()</a></li> | 75 | <li><a·class="reference·internal"·href="#refresh-torrent-status-get-torrent-status"·id="toc-entry-33">refresh_torrent_status()·get_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="#get-torrents-find-torrent"·id="toc-entry-38">get_torrents()·find_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> | 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="#pause-is-paused-resume"·id="toc-entry-40">pause()·is_paused()·resume()</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-announce-dht-get-peers"·id="toc-entry-48">dht_announce()·dht_get_peers()</a></li> | 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="# | 95 | <li><a·class="reference·internal"·href="#get-ip-filter-set-ip-filter"·id="toc-entry-53">get_ip_filter()·set_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="# | 97 | <li><a·class="reference·internal"·href="#ssl-listen-port-listen-port-is-listening"·id="toc-entry-55">ssl_listen_port()·listen_port()·is_listening()</a></li> |
98 | <li><a·class="reference·internal"·href="# | 98 | <li><a·class="reference·internal"·href="#get-peer-class-filter-set-peer-class-filter"·id="toc-entry-56">get_peer_class_filter()·set_peer_class_filter()</a></li> |
99 | <li><a·class="reference·internal"·href="#get-peer-class-type-filter-set-peer-class-type-filter"·id="toc-entry-57">get_peer_class_type_filter()·set_peer_class_type_filter()</a></li> | 99 | <li><a·class="reference·internal"·href="#get-peer-class-type-filter-set-peer-class-type-filter"·id="toc-entry-57">get_peer_class_type_filter()·set_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="#get-peer-class-set-peer-class"·id="toc-entry-60">get_peer_class()·set_peer_class()</a></li> | 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="#apply-settings-get-settings"·id="toc-entry-62">apply_settings()·get_settings()</a></li> | 104 | <li><a·class="reference·internal"·href="#apply-settings-get-settings"·id="toc-entry-62">apply_settings()·get_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="# | 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="# | 111 | <li><a·class="reference·internal"·href="#read-session-params-write-session-params-buf-write-session-params"·id="toc-entry-67">read_session_params()·write_session_params_buf()·write_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="#clear-trackers- | 125 | <li><a·class="reference·internal"·href="#clear-trackers-trackers-add-tracker"·id="toc-entry-79">clear_trackers()·trackers()·add_tracker()</a></li> |
126 | <li><a·class="reference·internal"·href="# | 126 | <li><a·class="reference·internal"·href="#similar-torrents-collections"·id="toc-entry-80">similar_torrents()·collections()</a></li> |
127 | <li><a·class="reference·internal"·href="# | 127 | <li><a·class="reference·internal"·href="#add-http-seed-set-web-seeds-web-seeds-add-url-seed"·id="toc-entry-81">add_http_seed()·set_web_seeds()·web_seeds()·add_url_seed()</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="#piece-length-num-pieces"·id="toc-entry-83">piece_length()·num_pieces()</a></li> | 129 | <li><a·class="reference·internal"·href="#piece-length-num-pieces"·id="toc-entry-83">piece_length()·num_pieces()</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="#end-piece-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-info-hashes"·id="toc-entry-86">info_hash()·info_hashes()</a></li> | 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="#v | 133 | <li><a·class="reference·internal"·href="#v2-v1"·id="toc-entry-87">v2()·v1()</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> |
140 | <li><a·class="reference·internal"·href="#is-i2p"·id="toc-entry-94">is_i2p()</a></li> | 140 | <li><a·class="reference·internal"·href="#is-i2p"·id="toc-entry-94">is_i2p()</a></li> |
141 | <li><a·class="reference·internal"·href="#piece-size"·id="toc-entry-95">piece_size()</a></li> | 141 | <li><a·class="reference·internal"·href="#piece-size"·id="toc-entry-95">piece_size()</a></li> |
142 | <li><a·class="reference·internal"·href="#hash-for-piece-hash-for-piece | 142 | <li><a·class="reference·internal"·href="#hash-for-piece-ptr-hash-for-piece"·id="toc-entry-96">hash_for_piece_ptr()·hash_for_piece()</a></li> |
143 | <li><a·class="reference·internal"·href="#name"·id="toc-entry-97">name()</a></li> | 143 | <li><a·class="reference·internal"·href="#name"·id="toc-entry-97">name()</a></li> |
144 | <li><a·class="reference·internal"·href="#creation-date"·id="toc-entry-98">creation_date()</a></li> | 144 | <li><a·class="reference·internal"·href="#creation-date"·id="toc-entry-98">creation_date()</a></li> |
145 | <li><a·class="reference·internal"·href="#creator"·id="toc-entry-99">creator()</a></li> | 145 | <li><a·class="reference·internal"·href="#creator"·id="toc-entry-99">creator()</a></li> |
146 | <li><a·class="reference·internal"·href="#comment"·id="toc-entry-100">comment()</a></li> | 146 | <li><a·class="reference·internal"·href="#comment"·id="toc-entry-100">comment()</a></li> |
147 | <li><a·class="reference·internal"·href="#nodes"·id="toc-entry-101">nodes()</a></li> | 147 | <li><a·class="reference·internal"·href="#nodes"·id="toc-entry-101">nodes()</a></li> |
148 | <li><a·class="reference·internal"·href="#add-node"·id="toc-entry-102">add_node()</a></li> | 148 | <li><a·class="reference·internal"·href="#add-node"·id="toc-entry-102">add_node()</a></li> |
149 | <li><a·class="reference·internal"·href="#parse-info-section"·id="toc-entry-103">parse_info_section()</a></li> | 149 | <li><a·class="reference·internal"·href="#parse-info-section"·id="toc-entry-103">parse_info_section()</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-file-load-torrent-buffer"·id="toc-entry-119">load_torrent_parsed()·load_torrent_file()·load_torrent_buffer()</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 217, 17 lines modified | Offset 217, 17 lines modified | ||
217 | <li><a·class="reference·internal"·href="#peer-plugin"·id="toc-entry-159">peer_plugin</a><ul> | 217 | <li><a·class="reference·internal"·href="#peer-plugin"·id="toc-entry-159">peer_plugin</a><ul> |
218 | <li><a·class="reference·internal"·href="#type"·id="toc-entry-160">type()</a></li> | 218 | <li><a·class="reference·internal"·href="#type"·id="toc-entry-160">type()</a></li> |
219 | <li><a·class="reference·internal"·href="#add-handshake"·id="toc-entry-161">add_handshake()</a></li> | 219 | <li><a·class="reference·internal"·href="#add-handshake"·id="toc-entry-161">add_handshake()</a></li> |
220 | <li><a·class="reference·internal"·href="#on-disconnect"·id="toc-entry-162">on_disconnect()</a></li> | 220 | <li><a·class="reference·internal"·href="#on-disconnect"·id="toc-entry-162">on_disconnect()</a></li> |
221 | <li><a·class="reference·internal"·href="#on-connected"·id="toc-entry-163">on_connected()</a></li> | 221 | <li><a·class="reference·internal"·href="#on-connected"·id="toc-entry-163">on_connected()</a></li> |
222 | <li><a·class="reference·internal"·href="#on-handshake"·id="toc-entry-164">on_handshake()</a></li> | 222 | <li><a·class="reference·internal"·href="#on-handshake"·id="toc-entry-164">on_handshake()</a></li> |
Max diff block lines reached; 307961/322629 bytes (95.45%) of diff not shown. |
Offset 22, 87 lines modified | Offset 22, 87 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·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)_\x8·_\x8 | 29 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)_\x8·_\x8s_.e_.s_.s_.i_.o_.n_.__.p_.r_.o_.x_.y_.(_.)_.·_.~_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y_\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·_\x8r_\x8e_\x8f_\x8r_\x8e_\x8s_\x8h_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) | 38 | ··········o·_\x8r_\x8e_\x8f_\x8r_\x8e_\x8s_\x8h_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\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·_\x8g_.e_.t_.__.t_.o_.r_.r_.e_.n_.t_.s_.(_.)_.·_.f_.i_.n_.d_.__.t_.o_.r_.r_.e_.n_.t_\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·_\x8p_.a_.u_.s_.e_.(_.)_.·_.i_.s_.__.p_.a_.u_.s_.e_.d_.(_.)_.·_.r_.e_.s_.u_.m_\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__\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8)_\x8·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8) | 53 | ··········o·_\x8d_\x8h_\x8t_\x8__\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8)_\x8·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\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·_\x8 | 58 | ··········o·_\x8g_.e_.t_.__.i_.p_.__.f_.i_.l_.t_.e_.r_.(_.)_.·_.s_\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·_\x8 | 60 | ··········o·_\x8s_.s_.l_.__.l_.i_.s_.t_.e_.n_.__.p_.o_.r_.t_.(_.)_.·_.l_.i_.s_.t_.e_.n_.__.p_.o_.r_.t_.(_.)_.·_.i_.s_.__.l_.i_.s_.t_.e_.n_.i_.n_.g_\x8(_\x8) |
61 | ··········o·_\x8 | 61 | ··········o·_\x8g_.e_.t_.__.p_.e_.e_.r_.__.c_.l_.a_.s_.s_.__.f_.i_.l_.t_.e_.r_.(_.)_.·_.s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) |
62 | ··········o·_\x8g_\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)_\x8·_\x8s_\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) | 62 | ··········o·_\x8g_\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)_\x8·_\x8s_\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·_\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) | 65 | ··········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) |
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·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) | 67 | ··········o·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\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·_\x8 | 69 | ··········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) |
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 | ····*·_\x8 | 72 | ····*·_\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_.__.s_.e_.s_.s_.i_.o_.n_.__.p_.a_.r_.a_.m_.s_\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·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8 | 84 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_.a_.d_.d_.__.t_.r_.a_.c_.k_.e_.r_\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·_\x8 | 85 | ··········o·_\x8s_.i_.m_.i_.l_.a_.r_.__.t_.o_.r_.r_.e_.n_.t_.s_.(_.)_.·_.c_.o_.l_.l_.e_.c_.t_.i_.o_.n_.s_\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·_\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) | ||
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·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8)_\x8·_\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8) | 88 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8)_\x8·_\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\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·_\x8e_\x8n_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)_\x8·_\x8 | 90 | ··········o·_\x8e_\x8n_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)_\x8·_\x8l_.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(_\x8)_\x8·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8) | 91 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)_\x8·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8) |
92 | ··········o·_\x8v_\x8 | 92 | ··········o·_\x8v_\x82_.(_.)_.·_.v_.1_\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) |
99 | ··········o·_\x8i_\x8s_\x8__\x8i_\x82_\x8p_\x8(_\x8) | 99 | ··········o·_\x8i_\x8s_\x8__\x8i_\x82_\x8p_\x8(_\x8) |
100 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) | 100 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) |
101 | ··········o·_\x8h_\x8a_\x8s_\x8h_\x8__\x8f_\x8o_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8 | 101 | ··········o·_\x8h_\x8a_\x8s_\x8h_\x8__\x8f_\x8o_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__.p_.t_.r_.(_.)_.·_.h_.a_.s_.h_.__.f_.o_.r_.__.p_.i_.e_.c_.e_\x8(_\x8) |
102 | ··········o·_\x8n_\x8a_\x8m_\x8e_\x8(_\x8) | 102 | ··········o·_\x8n_\x8a_\x8m_\x8e_\x8(_\x8) |
103 | ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8d_\x8a_\x8t_\x8e_\x8(_\x8) | 103 | ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8d_\x8a_\x8t_\x8e_\x8(_\x8) |
104 | ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8o_\x8r_\x8(_\x8) | 104 | ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8o_\x8r_\x8(_\x8) |
105 | ··········o·_\x8c_\x8o_\x8m_\x8m_\x8e_\x8n_\x8t_\x8(_\x8) | 105 | ··········o·_\x8c_\x8o_\x8m_\x8m_\x8e_\x8n_\x8t_\x8(_\x8) |
106 | ··········o·_\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) | 106 | ··········o·_\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) |
107 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) | 107 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) |
108 | ··········o·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) | 108 | ··········o·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\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_.__.f_.i_.l_.e_.(_.)_.·_.l_.o_.a_.d_.__.t_.o_.r_.r_.e_.n_.t_.__.b_.u_.f_.f_.e_.r_\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 164, 20 lines modified | Offset 164, 20 lines modified | ||
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__\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__\x8h_\x8a_\x8v_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8d_\x8o_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8) | ||
172 | ············_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8n_\x8o_\x8n_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8a_\x8l_\x8l_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d | ||
173 | ··········· | 171 | ··········o·_.o_.n_.__.i_.n_.t_.e_.r_.e_.s_.t_.e_.d_.(_.)_.·_.o_.n_.__.u_.n_.c_.h_.o_.k_.e_.(_.)_.·_.o_.n_.__.a_.l_.l_.o_.w_.e_.d_.__.f_.a_.s_.t_.(_.)_.·_.o_.n_.__.c_.h_.o_.k_.e_\x8(_\x8) |
172 | ············_\x8o_\x8n_\x8__\x8d_\x8o_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\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_\x8__\x8n_\x8o_\x8n_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8) | ||
173 | ············_\x8o_\x8n_\x8__\x8n_\x8o_\x8t_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8a_\x8l_\x8l_\x8(_\x8) | ||
174 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 174 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
175 | ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8 | 175 | ··········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_.__.h_.a_.v_.e_.(_.)_.·_.s_.e_.n_.t_.__.n_.o_\x8t_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8) |
176 | ············_\x8s_\x8e_\x8n_\x8t_\x8__\x8 | 176 | ············_\x8s_\x8e_\x8n_\x8t_\x8__\x8i_.n_.t_.e_.r_.e_.s_.t_.e_.d_\x8(_\x8) |
Max diff block lines reached; 227860/240034 bytes (94.93%) of diff not shown. |