Offset 1, 7 lines modified | Offset 1, 7 lines modified | ||
1 | ·5a311fe4a3d81dab4d15b346b06af4d6·365488·libdevel·optional·libtorrent-rasterbar-dev_2.0.10-1.1_amd64.deb | 1 | ·5a311fe4a3d81dab4d15b346b06af4d6·365488·libdevel·optional·libtorrent-rasterbar-dev_2.0.10-1.1_amd64.deb |
2 | · | 2 | ·58ac0ac04c03f67f7330bdd8a5d7eba8·1672168·doc·optional·libtorrent-rasterbar-doc_2.0.10-1.1_all.deb |
3 | ·943a82559e45e6ee8ff2c4cc4c51dea4·51335356·debug·optional·libtorrent-rasterbar2.0t64-dbgsym_2.0.10-1.1_amd64.deb | 3 | ·943a82559e45e6ee8ff2c4cc4c51dea4·51335356·debug·optional·libtorrent-rasterbar2.0t64-dbgsym_2.0.10-1.1_amd64.deb |
4 | ·d7c0c1b95d399d101e24e3b8212d459c·1668276·libs·optional·libtorrent-rasterbar2.0t64_2.0.10-1.1_amd64.deb | 4 | ·d7c0c1b95d399d101e24e3b8212d459c·1668276·libs·optional·libtorrent-rasterbar2.0t64_2.0.10-1.1_amd64.deb |
5 | ·f8e30f43ee4ba858dc9a7d43bf9a2627·13346960·debug·optional·python3-libtorrent-dbgsym_2.0.10-1.1_amd64.deb | 5 | ·f8e30f43ee4ba858dc9a7d43bf9a2627·13346960·debug·optional·python3-libtorrent-dbgsym_2.0.10-1.1_amd64.deb |
6 | ·86ca7ad6dab026f3e7ea1fb1ed814b57·707696·python·optional·python3-libtorrent_2.0.10-1.1_amd64.deb | 6 | ·86ca7ad6dab026f3e7ea1fb1ed814b57·707696·python·optional·python3-libtorrent_2.0.10-1.1_amd64.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·····36 | 2 | -rw-r--r--···0········0········0·····3628·2024-02-28·20:35:15.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··166 | 3 | -rw-r--r--···0········0········0··1668348·2024-02-28·20:35:15.000000·data.tar.xz |
Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | Package:·libtorrent-rasterbar-doc | 1 | Package:·libtorrent-rasterbar-doc |
2 | Source:·libtorrent-rasterbar | 2 | Source:·libtorrent-rasterbar |
3 | Version:·2.0.10-1.1 | 3 | Version:·2.0.10-1.1 |
4 | Architecture:·all | 4 | Architecture:·all |
5 | Maintainer:·Christian·Marillat·<marillat@debian.org> | 5 | Maintainer:·Christian·Marillat·<marillat@debian.org> |
6 | Installed-Size:·5 | 6 | Installed-Size:·5936 |
7 | Section:·doc | 7 | Section:·doc |
8 | Priority:·optional | 8 | Priority:·optional |
9 | Multi-Arch:·foreign | 9 | Multi-Arch:·foreign |
10 | Homepage:·https://libtorrent.org/ | 10 | Homepage:·https://libtorrent.org/ |
11 | Description:·Documentation·for·libtorrent-rasterbar | 11 | Description:·Documentation·for·libtorrent-rasterbar |
12 | ·Bittorrent·library·by·Rasterbar·Software·(Arvid·Norberg). | 12 | ·Bittorrent·library·by·Rasterbar·Software·(Arvid·Norberg). |
13 | ·libtorrent-rasterbar·is·a·C++·library·that·aims·to·be·a·good·alternative·to | 13 | ·libtorrent-rasterbar·is·a·C++·library·that·aims·to·be·a·good·alternative·to |
Offset 73, 43 lines modified | Offset 73, 43 lines modified | ||
73 | -rw-r--r--···0·root·········(0)·root·········(0)···428298·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/img/troubleshooting.png | 73 | -rw-r--r--···0·root·········(0)·root·········(0)···428298·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/img/troubleshooting.png |
74 | -rw-r--r--···0·root·········(0)·root·········(0)····46281·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/img/troubleshooting_thumb.png | 74 | -rw-r--r--···0·root·········(0)·root·········(0)····46281·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/img/troubleshooting_thumb.png |
75 | -rw-r--r--···0·root·········(0)·root·········(0)······243·2024-02-19·12:14:14.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/img/utp_stack.diagram | 75 | -rw-r--r--···0·root·········(0)·root·········(0)······243·2024-02-19·12:14:14.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/img/utp_stack.diagram |
76 | -rw-r--r--···0·root·········(0)·root·········(0)·····2007·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/img/utp_stack.png | 76 | -rw-r--r--···0·root·········(0)·root·········(0)·····2007·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/img/utp_stack.png |
77 | -rw-r--r--···0·root·········(0)·root·········(0)·····1156·2024-02-19·12:14:14.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/img/write_disk_buffers.diagram | 77 | -rw-r--r--···0·root·········(0)·root·········(0)·····1156·2024-02-19·12:14:14.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/img/write_disk_buffers.diagram |
78 | -rw-r--r--···0·root·········(0)·root·········(0)·····9631·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/img/write_disk_buffers.png | 78 | -rw-r--r--···0·root·········(0)·root·········(0)·····9631·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/img/write_disk_buffers.png |
79 | -rw-r--r--···0·root·········(0)·root·········(0)·····9768·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/index.html | 79 | -rw-r--r--···0·root·········(0)·root·········(0)·····9768·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/index.html |
80 | -rw-r--r--···0·root·········(0)·root·········(0)···1446 | 80 | -rw-r--r--···0·root·········(0)·root·········(0)···144603·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/manual-ref.html |
81 | -rw-r--r--···0·root·········(0)·root·········(0)·····9650·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/projects.html | 81 | -rw-r--r--···0·root·········(0)·root·········(0)·····9650·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/projects.html |
82 | -rw-r--r--···0·root·········(0)·root·········(0)····22814·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/python_binding.html | 82 | -rw-r--r--···0·root·········(0)·root·········(0)····22814·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/python_binding.html |
83 | -rw-r--r--···0·root·········(0)·root·········(0)····33687·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Add_Torrent.html | 83 | -rw-r--r--···0·root·········(0)·root·········(0)····33687·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Add_Torrent.html |
84 | -rw-r--r--···0·root·········(0)·root·········(0)···256774·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Alerts.html | 84 | -rw-r--r--···0·root·········(0)·root·········(0)···256774·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Alerts.html |
85 | -rw-r--r--···0·root·········(0)·root·········(0)····27437·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Bdecoding.html | 85 | -rw-r--r--···0·root·········(0)·root·········(0)····27437·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Bdecoding.html |
86 | -rw-r--r--···0·root·········(0)·root·········(0)····25856·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Bencoding.html | 86 | -rw-r--r--···0·root·········(0)·root·········(0)····25856·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Bencoding.html |
87 | -rw-r--r--···0·root·········(0)·root·········(0)····88949·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Core.html | 87 | -rw-r--r--···0·root·········(0)·root·········(0)····88949·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Core.html |
88 | -rw-r--r--···0·root·········(0)·root·········(0)····43739·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Create_Torrents.html | 88 | -rw-r--r--···0·root·········(0)·root·········(0)····43739·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Create_Torrents.html |
89 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 89 | -rw-r--r--···0·root·········(0)·root·········(0)···136977·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Custom_Storage.html |
90 | -rw-r--r--···0·root·········(0)·root·········(0)····24960·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-DHT.html | 90 | -rw-r--r--···0·root·········(0)·root·········(0)····24960·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-DHT.html |
91 | -rw-r--r--···0·root·········(0)·root·········(0)····48568·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Error_Codes.html | 91 | -rw-r--r--···0·root·········(0)·root·········(0)····48568·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Error_Codes.html |
92 | -rw-r--r--···0·root·········(0)·root·········(0)····13261·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Filter.html | 92 | -rw-r--r--···0·root·········(0)·root·········(0)····13261·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Filter.html |
93 | -rw-r--r--···0·root·········(0)·root·········(0)····12804·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-PeerClass.html | 93 | -rw-r--r--···0·root·········(0)·root·········(0)····12804·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-PeerClass.html |
94 | -rw-r--r--···0·root·········(0)·root·········(0)····68487·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Plugins.html | 94 | -rw-r--r--···0·root·········(0)·root·········(0)····68487·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Plugins.html |
95 | -rw-r--r--···0·root·········(0)·root·········(0)·····9618·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Resume_Data.html | 95 | -rw-r--r--···0·root·········(0)·root·········(0)·····9618·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Resume_Data.html |
96 | -rw-r--r--···0·root·········(0)·root·········(0)···1018 | 96 | -rw-r--r--···0·root·········(0)·root·········(0)···101835·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Session.html |
97 | -rw-r--r--···0·root·········(0)·root·········(0)···167853·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Settings.html | 97 | -rw-r--r--···0·root·········(0)·root·········(0)···167853·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Settings.html |
98 | -rw-r--r--···0·root·········(0)·root·········(0)·····9742·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Stats.html | 98 | -rw-r--r--···0·root·········(0)·root·········(0)·····9742·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Stats.html |
99 | -rw-r--r--···0·root·········(0)·root·········(0)····568 | 99 | -rw-r--r--···0·root·········(0)·root·········(0)····56848·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Storage.html |
100 | -rw-r--r--···0·root·········(0)·root·········(0)···12980 | 100 | -rw-r--r--···0·root·········(0)·root·········(0)···129801·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Torrent_Handle.html |
101 | -rw-r--r--···0·root·········(0)·root·········(0)····556 | 101 | -rw-r--r--···0·root·········(0)·root·········(0)····55629·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Torrent_Info.html |
102 | -rw-r--r--···0·root·········(0)·root·········(0)····482 | 102 | -rw-r--r--···0·root·········(0)·root·········(0)····48273·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Torrent_Status.html |
103 | -rw-r--r--···0·root·········(0)·root·········(0)····1646 | 103 | -rw-r--r--···0·root·········(0)·root·········(0)····16461·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Trackers.html |
104 | -rw-r--r--···0·root·········(0)·root·········(0)····25530·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Utility.html | 104 | -rw-r--r--···0·root·········(0)·root·········(0)····25530·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Utility.html |
105 | -rw-r--r--···0·root·········(0)·root·········(0)·····9129·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-ed25519.html | 105 | -rw-r--r--···0·root·········(0)·root·········(0)·····9129·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-ed25519.html |
106 | -rw-r--r--···0·root·········(0)·root·········(0)····34353·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference.html | 106 | -rw-r--r--···0·root·········(0)·root·········(0)····34353·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference.html |
107 | -rw-r--r--···0·root·········(0)·root·········(0)····29242·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/security-audit.html | 107 | -rw-r--r--···0·root·········(0)·root·········(0)····29242·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/security-audit.html |
108 | -rw-r--r--···0·root·········(0)·root·········(0)··1 | 108 | -rw-r--r--···0·root·········(0)·root·········(0)··1358338·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/single-page-ref.html |
109 | -rw-r--r--···0·root·········(0)·root·········(0)····10121·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/streaming.html | 109 | -rw-r--r--···0·root·········(0)·root·········(0)····10121·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/streaming.html |
110 | -rw-r--r--···0·root·········(0)·root·········(0)·····8807·2024-02-19·12:14:14.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/style.css | 110 | -rw-r--r--···0·root·········(0)·root·········(0)·····8807·2024-02-19·12:14:14.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/style.css |
111 | -rw-r--r--···0·root·········(0)·root·········(0)···522811·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/todo.html | 111 | -rw-r--r--···0·root·········(0)·root·········(0)···522811·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/todo.html |
112 | -rw-r--r--···0·root·········(0)·root·········(0)·····3023·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/troubleshooting.html | 112 | -rw-r--r--···0·root·········(0)·root·········(0)·····3023·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/troubleshooting.html |
113 | -rw-r--r--···0·root·········(0)·root·········(0)····25162·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/tuning-ref.html | 113 | -rw-r--r--···0·root·········(0)·root·········(0)····25162·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/tuning-ref.html |
114 | -rw-r--r--···0·root·········(0)·root·········(0)···132630·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/tutorial-ref.html | 114 | -rw-r--r--···0·root·········(0)·root·········(0)···132630·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/tutorial-ref.html |
115 | -rw-r--r--···0·root·········(0)·root·········(0)····16383·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/udp_tracker_protocol.html | 115 | -rw-r--r--···0·root·········(0)·root·········(0)····16383·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/udp_tracker_protocol.html |
Offset 115, 15 lines modified | Offset 115, 15 lines modified | ||
115 | <li><p·class="first">main·loop·(see·<a·class="reference·external"·href="reference-Session.html#session">session</a>)</p> | 115 | <li><p·class="first">main·loop·(see·<a·class="reference·external"·href="reference-Session.html#session">session</a>)</p> |
116 | <blockquote> | 116 | <blockquote> |
117 | <ul·class="simple"> | 117 | <ul·class="simple"> |
118 | <li>poll·for·alerts·(see·<a·class="reference·external"·href="reference-Session.html#wait_for_alert()">wait_for_alert()</a>,·<a·class="reference·external"·href="reference-Session.html#pop_alerts()">pop_alerts()</a>)</li> | 118 | <li>poll·for·alerts·(see·<a·class="reference·external"·href="reference-Session.html#wait_for_alert()">wait_for_alert()</a>,·<a·class="reference·external"·href="reference-Session.html#pop_alerts()">pop_alerts()</a>)</li> |
119 | <li>handle·updates·to·torrents,·(see·<a·class="reference·external"·href="reference-Alerts.html#state_update_alert">state_update_alert</a>).</li> | 119 | <li>handle·updates·to·torrents,·(see·<a·class="reference·external"·href="reference-Alerts.html#state_update_alert">state_update_alert</a>).</li> |
120 | <li>handle·other·alerts,·(see·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>).</li> | 120 | <li>handle·other·alerts,·(see·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>).</li> |
121 | <li>query·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·for·information·(see·session::status()).</li> | 121 | <li>query·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·for·information·(see·session::status()).</li> |
122 | <li>add·and·remove·torrents·from·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·(<a·class="reference·external"·href="reference- | 122 | <li>add·and·remove·torrents·from·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·(<a·class="reference·external"·href="reference-Session.html#remove_torrent()">remove_torrent()</a>)</li> |
123 | </ul> | 123 | </ul> |
124 | </blockquote> | 124 | </blockquote> |
125 | </li> | 125 | </li> |
126 | <li><p·class="first">save·resume·data·for·all·torrent_handles·(optional,·see | 126 | <li><p·class="first">save·resume·data·for·all·torrent_handles·(optional,·see |
127 | <a·class="reference·external"·href="reference-Torrent_Handle.html#save_resume_data()">save_resume_data()</a>)</p> | 127 | <a·class="reference·external"·href="reference-Torrent_Handle.html#save_resume_data()">save_resume_data()</a>)</p> |
128 | </li> | 128 | </li> |
129 | <li><p·class="first">save·<a·class="reference·external"·href="reference-Session.html#session">session</a>·state·(see·<a·class="reference·external"·href="reference-Session.html#session_state()">session_state()</a>·and·<a·class="reference·external"·href="reference-Session.html#write_session_params()">write_session_params()</a>)</p> | 129 | <li><p·class="first">save·<a·class="reference·external"·href="reference-Session.html#session">session</a>·state·(see·<a·class="reference·external"·href="reference-Session.html#session_state()">session_state()</a>·and·<a·class="reference·external"·href="reference-Session.html#write_session_params()">write_session_params()</a>)</p> |
Offset 28, 65 lines modified | Offset 28, 23 lines modified | ||
28 | <td>2.0.10</td></tr> | 28 | <td>2.0.10</td></tr> |
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="#add-torrent-params"·id="toc-entry-1">add_torrent_params</a></li> | ||
35 | <li><a·class="reference·internal"·href="#client-data-t"·id="toc-entry- | 36 | <li><a·class="reference·internal"·href="#client-data-t"·id="toc-entry-2">client_data_t</a><ul> |
36 | <li><a·class="reference·internal"·href="#client-data-t-1"·id="toc-entry- | 37 | <li><a·class="reference·internal"·href="#client-data-t-1"·id="toc-entry-3">client_data_t()</a></li> |
37 | <li><a·class="reference·internal"·href="# | 38 | <li><a·class="reference·internal"·href="#void-operator-const"·id="toc-entry-4">void*()·operator=()·const*()</a></li> |
38 | </ul> | 39 | </ul> |
39 | </li> | 40 | </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"> | ||
44 | <h1>client_data_t</h1> | ||
45 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/client_data.hpp">libtorrent/client_data.hpp</a>"</p> | ||
46 | <p>A·thin·wrapper·around·a·void·pointer·used·as·"user·data".·i.e.·an·opaque | ||
47 | cookie·passed·in·to·libtorrent·and·returned·on·demand.·It·adds·type-safety·by | ||
48 | requiring·the·same·type·be·requested·out·of·it·as·was·assigned·to·it.</p> | ||
49 | <pre·class="literal-block"> | ||
50 | struct·client_data_t | ||
51 | { | ||
52 | ···<strong>client_data_t</strong>·()·=·default; | ||
53 | ···explicit·<strong>client_data_t</strong>·(T*·v); | ||
54 | ···client_data_t&·<strong>operator=</strong>·(T*·v); | ||
55 | ···explicit·operator·<strong>T</strong>·()·const; | ||
56 | ···T*·<strong>get</strong>·()·const; | ||
57 | ···client_data_t&·<strong>operator=</strong>·(void*)·=·delete; | ||
58 | ···operator·void·<strong>const*</strong>·()·const·=·delete; | ||
59 | ···operator·<strong>void*</strong>·()·const·=·delete; | ||
60 | ···client_data_t&·<strong>operator=</strong>·(void·const*)·=·delete; | ||
61 | ···template·<typename·T,·typename·<strong>U</strong>··=·typename·std::enable_if<std::is_pointer<T>::value>::type> | ||
62 | }; | ||
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"> | ||
65 | <h2>client_data_t()</h2> | ||
66 | <pre·class="literal-block"> | ||
67 | <strong>client_data_t</strong>·()·=·default; | ||
68 | </pre> | ||
69 | <p>construct·a·nullptr·client·data</p> | ||
70 | <a·name="const*()"></a> | ||
71 | <a·name="operator=()"></a> | ||
72 | <a·name="void*()"></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+operator%3D%28%29+void%2A%28%29%5D&labels=documentation&body=Documentation+under+heading+%22client_data_t%3A%3A%5Bconst%2A%28%29+operator%3D%28%29+void%2A%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | ||
73 | <div·class="section"·id="const-operator-void"> | ||
74 | <h2>const*()·operator=()·void*()</h2> | ||
75 | <pre·class="literal-block"> | ||
76 | client_data_t&·<strong>operator=</strong>·(void*)·=·delete; | ||
77 | operator·void·<strong>const*</strong>·()·const·=·delete; | ||
78 | operator·<strong>void*</strong>·()·const·=·delete; | ||
79 | client_data_t&·<strong>operator=</strong>·(void·const*)·=·delete; | ||
80 | </pre> | ||
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>< | 43 | <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·class="section"·id="add-torrent-params"> |
83 | </div> | ||
84 | <div·class="section"·id="add-torrent-params"> | ||
85 | <h1>add_torrent_params</h1> | 44 | <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> | 45 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/add_torrent_params.hpp">libtorrent/add_torrent_params.hpp</a>"</p> |
87 | <p>The·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·contains·all·the·information·in·a·.torrent·file | 46 | <p>The·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·contains·all·the·information·in·a·.torrent·file |
88 | along·with·all·information·necessary·to·add·that·torrent·to·a·<a·class="reference·external"·href="reference-Session.html#session">session</a>. | 47 | along·with·all·information·necessary·to·add·that·torrent·to·a·<a·class="reference·external"·href="reference-Session.html#session">session</a>. |
89 | The·key·fields·when·adding·a·torrent·are:</p> | 48 | The·key·fields·when·adding·a·torrent·are:</p> |
90 | <ul·class="simple"> | 49 | <ul·class="simple"> |
91 | <li>ti·-·the·immutable·info-dict·part·of·the·torrent</li> | 50 | <li>ti·-·the·immutable·info-dict·part·of·the·torrent</li> |
Offset 399, 14 lines modified | Offset 357, 56 lines modified | ||
399 | <a·name="last_upload"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:add_torrent_params%3A%3A%5Blast_download+last_upload%5D&labels=documentation&body=Documentation+under+heading+%22add_torrent_params%3A%3A%5Blast_download+last_upload%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | 357 | <a·name="last_upload"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:add_torrent_params%3A%3A%5Blast_download+last_upload%5D&labels=documentation&body=Documentation+under+heading+%22add_torrent_params%3A%3A%5Blast_download+last_upload%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> |
400 | <dt>last_download·last_upload</dt> | 358 | <dt>last_download·last_upload</dt> |
401 | <dd>the·posix·time·of·the·last·time·payload·was·received·or·sent·for·this | 359 | <dd>the·posix·time·of·the·last·time·payload·was·received·or·sent·for·this |
402 | torrent,·respectively.·A·value·of·0·means·we·don't·know·when·we·last | 360 | torrent,·respectively.·A·value·of·0·means·we·don't·know·when·we·last |
403 | uploaded·or·downloaded,·or·we·have·never·uploaded·or·downloaded·any | 361 | uploaded·or·downloaded,·or·we·have·never·uploaded·or·downloaded·any |
404 | payload·for·this·torrent.</dd> | 362 | payload·for·this·torrent.</dd> |
405 | </dl> | 363 | </dl> |
364 | <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> | ||
365 | <div·class="section"·id="client-data-t"> | ||
366 | <h1>client_data_t</h1> | ||
367 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/client_data.hpp">libtorrent/client_data.hpp</a>"</p> | ||
368 | <p>A·thin·wrapper·around·a·void·pointer·used·as·"user·data".·i.e.·an·opaque | ||
369 | cookie·passed·in·to·libtorrent·and·returned·on·demand.·It·adds·type-safety·by | ||
370 | requiring·the·same·type·be·requested·out·of·it·as·was·assigned·to·it.</p> | ||
371 | <pre·class="literal-block"> | ||
372 | struct·client_data_t | ||
373 | { | ||
374 | ···<strong>client_data_t</strong>·()·=·default; | ||
375 | ···explicit·<strong>client_data_t</strong>·(T*·v); | ||
376 | ···client_data_t&·<strong>operator=</strong>·(T*·v); | ||
377 | ···T*·<strong>get</strong>·()·const; | ||
378 | ···explicit·operator·<strong>T</strong>·()·const; | ||
379 | ···operator·<strong>void*</strong>·()·const·=·delete; | ||
380 | ···client_data_t&·<strong>operator=</strong>·(void*)·=·delete; | ||
381 | ···client_data_t&·<strong>operator=</strong>·(void·const*)·=·delete; | ||
382 | ···operator·void·<strong>const*</strong>·()·const·=·delete; | ||
383 | ···template·<typename·T,·typename·<strong>U</strong>··=·typename·std::enable_if<std::is_pointer<T>::value>::type> | ||
384 | }; | ||
385 | </pre> | ||
386 | <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"> | ||
387 | <h2>client_data_t()</h2> | ||
388 | <pre·class="literal-block"> | ||
389 | <strong>client_data_t</strong>·()·=·default; | ||
390 | </pre> | ||
391 | <p>construct·a·nullptr·client·data</p> | ||
392 | <a·name="void*()"></a> | ||
393 | <a·name="operator=()"></a> | ||
394 | <a·name="const*()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:client_data_t%3A%3A%5Bvoid%2A%28%29+operator%3D%28%29+const%2A%28%29%5D&labels=documentation&body=Documentation+under+heading+%22client_data_t%3A%3A%5Bvoid%2A%28%29+operator%3D%28%29+const%2A%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | ||
395 | <div·class="section"·id="void-operator-const"> | ||
396 | <h2>void*()·operator=()·const*()</h2> | ||
397 | <pre·class="literal-block"> | ||
398 | operator·<strong>void*</strong>·()·const·=·delete; | ||
399 | client_data_t&·<strong>operator=</strong>·(void*)·=·delete; | ||
400 | client_data_t&·<strong>operator=</strong>·(void·const*)·=·delete; | ||
401 | operator·void·<strong>const*</strong>·()·const·=·delete; | ||
402 | </pre> | ||
403 | <p>we·don't·allow·type-unsafe·operations</p> | ||
404 | </div> | ||
406 | </div> | 405 | </div> |
407 | ····</div> | 406 | ····</div> |
408 | ····</div> | 407 | ····</div> |
409 | ····<div·id="gradient"></div> | 408 | ····<div·id="gradient"></div> |
410 | ····<div·id="filler"> | 409 | ····<div·id="filler"> |
411 | ····<div·id="footer"> | 410 | ····<div·id="footer"> |
Offset 1, 48 lines modified | Offset 1, 16 lines modified | ||
1 | > | 1 | > |
2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] | 2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] |
3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 | 3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 |
4 | _\x8h_\x8o_\x8m_\x8e | 4 | _\x8h_\x8o_\x8m_\x8e |
5 | Table·of·contents | 5 | Table·of·contents |
6 | ····*·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s | ||
6 | ····*·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t | 7 | ····*·_\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) | 8 | ··········o·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8(_\x8) |
8 | ··········o·_\x8 | 9 | ··········o·_\x8v_.o_.i_.d_.*_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_.(_.)_.·_.c_.o_.n_.s_.t_\x8*_\x8(_\x8) |
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] | ||
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" | ||
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 | ||
15 | requiring·the·same·type·be·requested·out·of·it·as·was·assigned·to·it. | ||
16 | struct·client_data_t | ||
17 | { | ||
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); | ||
20 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(T*·v); | ||
21 | ···explicit·operator·T\x8T·()·const; | ||
22 | ···T*·g\x8ge\x8et\x8t·()·const; | ||
23 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete; | ||
24 | ···operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete; | ||
25 | ···operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; | ||
26 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; | ||
27 | ···template·<typename·T,·typename·U\x8U··=·typename·std::enable_if<std:: | ||
28 | is_pointer<T>::value>::type> | ||
29 | }; | ||
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* | ||
32 | c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·()·=·default; | ||
33 | construct·a·nullptr·client·data | ||
34 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
35 | *\x8**\x8**\x8**\x8**\x8*·c\x8co\x8on\x8ns\x8st\x8t*\x8*(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·v\x8vo\x8oi\x8id\x8d*\x8*(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
36 | client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete; | ||
37 | operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete; | ||
38 | operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; | ||
39 | client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; | ||
40 | we·don't·allow·type-unsafe·operations | ||
41 | [_\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] |
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* | 11 | *\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" | 12 | 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 | 13 | 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 | 14 | 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: | 15 | when·adding·a·torrent·are: |
47 | ····*·ti·-·the·immutable·info-dict·part·of·the·torrent | 16 | ····*·ti·-·the·immutable·info-dict·part·of·the·torrent |
Offset 291, 14 lines modified | Offset 259, 46 lines modified | ||
291 | ······applied·before·the·torrent·is·added. | 259 | ······applied·before·the·torrent·is·added. |
292 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 260 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
293 | ··last_download·last_upload | 261 | ··last_download·last_upload |
294 | ······the·posix·time·of·the·last·time·payload·was·received·or·sent·for·this | 262 | ······the·posix·time·of·the·last·time·payload·was·received·or·sent·for·this |
295 | ······torrent,·respectively.·A·value·of·0·means·we·don't·know·when·we·last | 263 | ······torrent,·respectively.·A·value·of·0·means·we·don't·know·when·we·last |
296 | ······uploaded·or·downloaded,·or·we·have·never·uploaded·or·downloaded·any | 264 | ······uploaded·or·downloaded,·or·we·have·never·uploaded·or·downloaded·any |
297 | ······payload·for·this·torrent. | 265 | ······payload·for·this·torrent. |
266 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
267 | *\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* | ||
268 | 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" | ||
269 | A·thin·wrapper·around·a·void·pointer·used·as·"user·data".·i.e.·an·opaque·cookie | ||
270 | passed·in·to·libtorrent·and·returned·on·demand.·It·adds·type-safety·by | ||
271 | requiring·the·same·type·be·requested·out·of·it·as·was·assigned·to·it. | ||
272 | struct·client_data_t | ||
273 | { | ||
274 | ···c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·()·=·default; | ||
275 | ···explicit·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·(T*·v); | ||
276 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(T*·v); | ||
277 | ···T*·g\x8ge\x8et\x8t·()·const; | ||
278 | ···explicit·operator·T\x8T·()·const; | ||
279 | ···operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; | ||
280 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete; | ||
281 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; | ||
282 | ···operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete; | ||
283 | ···template·<typename·T,·typename·U\x8U··=·typename·std::enable_if<std:: | ||
284 | is_pointer<T>::value>::type> | ||
285 | }; | ||
286 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
287 | *\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* | ||
288 | c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·()·=·default; | ||
289 | construct·a·nullptr·client·data | ||
290 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
291 | *\x8**\x8**\x8**\x8**\x8*·v\x8vo\x8oi\x8id\x8d*\x8*(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·c\x8co\x8on\x8ns\x8st\x8t*\x8*(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
292 | operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; | ||
293 | client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete; | ||
294 | client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; | ||
295 | operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete; | ||
296 | we·don't·allow·type-unsafe·operations | ||
298 | _\x8h_\x8o_\x8m_\x8e | 297 | _\x8h_\x8o_\x8m_\x8e |
299 | _\x8b_\x8l_\x8o_\x8g | 298 | _\x8b_\x8l_\x8o_\x8g |
300 | _\x8u_\x8T_\x8P | 299 | _\x8u_\x8T_\x8P |
301 | _\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d | 300 | _\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d |
302 | _\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n | 301 | _\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n |
303 | _\x8D_\x8H_\x8T_\x8·_\x8p_\x8u_\x8t_\x8·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n | 302 | _\x8D_\x8H_\x8T_\x8·_\x8p_\x8u_\x8t_\x8·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n |
304 | _\x8p_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8b_\x8i_\x8n_\x8d_\x8i_\x8n_\x8g_\x8s | 303 | _\x8p_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8b_\x8i_\x8n_\x8d_\x8i_\x8n_\x8g_\x8s |
Offset 28, 211 lines modified | Offset 28, 211 lines modified | ||
28 | <td>2.0.10</td></tr> | 28 | <td>2.0.10</td></tr> |
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="#dht-routing-bucket"·id="toc-entry-1">dht_routing_bucket</a></li> | ||
35 | <li><a·class="reference·internal"·href="#alert"·id="toc-entry- | 36 | <li><a·class="reference·internal"·href="#torrent-alert"·id="toc-entry-2">torrent_alert</a><ul> |
36 | <li><a·class="reference·internal"·href="#timestamp"·id="toc-entry-2">timestamp()</a></li> | ||
37 | <li><a·class="reference·internal"·href="#type"·id="toc-entry-3">type()</a></li> | ||
38 | <li><a·class="reference·internal"·href="#what"·id="toc-entry-4">what()</a></li> | ||
39 | <li><a·class="reference·internal"·href="#message"·id="toc-entry- | 37 | <li><a·class="reference·internal"·href="#message"·id="toc-entry-3">message()</a></li> |
40 | <li><a·class="reference·internal"·href="#category"·id="toc-entry-6">category()</a></li> | ||
41 | </ul> | 38 | </ul> |
42 | </li> | 39 | </li> |
43 | <li><a·class="reference·internal"·href="# | 40 | <li><a·class="reference·internal"·href="#peer-alert"·id="toc-entry-4">peer_alert</a></li> |
44 | <li><a·class="reference·internal"·href="#t | 41 | <li><a·class="reference·internal"·href="#tracker-alert"·id="toc-entry-5">tracker_alert</a><ul> |
45 | <li><a·class="reference·internal"·href="# | 42 | <li><a·class="reference·internal"·href="#tracker-url"·id="toc-entry-6">tracker_url()</a></li> |
46 | </ul> | 43 | </ul> |
47 | </li> | 44 | </li> |
45 | <li><a·class="reference·internal"·href="#torrent-removed-alert"·id="toc-entry-7">torrent_removed_alert</a></li> | ||
48 | <li><a·class="reference·internal"·href="#pe | 46 | <li><a·class="reference·internal"·href="#read-piece-alert"·id="toc-entry-8">read_piece_alert</a></li> |
47 | <li><a·class="reference·internal"·href="#file-completed-alert"·id="toc-entry-9">file_completed_alert</a></li> | ||
49 | <li><a·class="reference·internal"·href="# | 48 | <li><a·class="reference·internal"·href="#file-renamed-alert"·id="toc-entry-10">file_renamed_alert</a><ul> |
50 | <li><a·class="reference·internal"·href="# | 49 | <li><a·class="reference·internal"·href="#old-name-new-name"·id="toc-entry-11">old_name()·new_name()</a></li> |
51 | </ul> | 50 | </ul> |
52 | </li> | 51 | </li> |
53 | <li><a·class="reference·internal"·href="#torrent-removed-alert"·id="toc-entry-13">torrent_removed_alert</a></li> | ||
54 | <li><a·class="reference·internal"·href="#read-piece-alert"·id="toc-entry-14">read_piece_alert</a></li> | ||
55 | <li><a·class="reference·internal"·href="#file-completed-alert"·id="toc-entry-15">file_completed_alert</a></li> | ||
56 | <li><a·class="reference·internal"·href="#file-renamed-alert"·id="toc-entry-1 | 52 | <li><a·class="reference·internal"·href="#file-rename-failed-alert"·id="toc-entry-12">file_rename_failed_alert</a></li> |
57 | <li><a·class="reference·internal"·href="# | 53 | <li><a·class="reference·internal"·href="#performance-alert"·id="toc-entry-13">performance_alert</a><ul> |
54 | <li><a·class="reference·internal"·href="#enum-performance-warning-t"·id="toc-entry-14">enum·performance_warning_t</a></li> | ||
58 | </ul> | 55 | </ul> |
59 | </li> | 56 | </li> |
60 | <li><a·class="reference·internal"·href="# | 57 | <li><a·class="reference·internal"·href="#state-changed-alert"·id="toc-entry-15">state_changed_alert</a></li> |
61 | <li><a·class="reference·internal"·href="# | 58 | <li><a·class="reference·internal"·href="#tracker-error-alert"·id="toc-entry-16">tracker_error_alert</a><ul> |
62 | <li><a·class="reference·internal"·href="# | 59 | <li><a·class="reference·internal"·href="#failure-reason"·id="toc-entry-17">failure_reason()</a></li> |
63 | </ul> | 60 | </ul> |
64 | </li> | 61 | </li> |
65 | <li><a·class="reference·internal"·href="#state-changed-alert"·id="toc-entry-21">state_changed_alert</a></li> | ||
66 | <li><a·class="reference·internal"·href="#tracker- | 62 | <li><a·class="reference·internal"·href="#tracker-warning-alert"·id="toc-entry-18">tracker_warning_alert</a><ul> |
67 | <li><a·class="reference·internal"·href="# | 63 | <li><a·class="reference·internal"·href="#warning-message"·id="toc-entry-19">warning_message()</a></li> |
68 | </ul> | 64 | </ul> |
69 | </li> | 65 | </li> |
66 | <li><a·class="reference·internal"·href="#scrape-reply-alert"·id="toc-entry-20">scrape_reply_alert</a></li> | ||
70 | <li><a·class="reference·internal"·href="# | 67 | <li><a·class="reference·internal"·href="#scrape-failed-alert"·id="toc-entry-21">scrape_failed_alert</a><ul> |
71 | <li><a·class="reference·internal"·href="# | 68 | <li><a·class="reference·internal"·href="#error-message"·id="toc-entry-22">error_message()</a></li> |
72 | </ul> | 69 | </ul> |
73 | </li> | 70 | </li> |
74 | <li><a·class="reference·internal"·href="# | 71 | <li><a·class="reference·internal"·href="#tracker-reply-alert"·id="toc-entry-23">tracker_reply_alert</a></li> |
72 | <li><a·class="reference·internal"·href="#dht-reply-alert"·id="toc-entry-24">dht_reply_alert</a></li> | ||
73 | <li><a·class="reference·internal"·href="#tracker-announce-alert"·id="toc-entry-25">tracker_announce_alert</a></li> | ||
75 | <li><a·class="reference·internal"·href="# | 74 | <li><a·class="reference·internal"·href="#hash-failed-alert"·id="toc-entry-26">hash_failed_alert</a></li> |
75 | <li><a·class="reference·internal"·href="#peer-ban-alert"·id="toc-entry-27">peer_ban_alert</a></li> | ||
76 | <li><a·class="reference·internal"·href="#peer-unsnubbed-alert"·id="toc-entry-28">peer_unsnubbed_alert</a></li> | ||
77 | <li><a·class="reference·internal"·href="#peer-snubbed-alert"·id="toc-entry-29">peer_snubbed_alert</a></li> | ||
76 | <li><a·class="reference·internal"·href="#error- | 78 | <li><a·class="reference·internal"·href="#peer-error-alert"·id="toc-entry-30">peer_error_alert</a></li> |
79 | <li><a·class="reference·internal"·href="#peer-connect-alert"·id="toc-entry-31">peer_connect_alert</a><ul> | ||
80 | <li><a·class="reference·internal"·href="#enum-direction-t"·id="toc-entry-32">enum·direction_t</a></li> | ||
77 | </ul> | 81 | </ul> |
78 | </li> | 82 | </li> |
79 | <li><a·class="reference·internal"·href="#tracker-reply-alert"·id="toc-entry-29">tracker_reply_alert</a></li> | ||
80 | <li><a·class="reference·internal"·href="#dht-reply-alert"·id="toc-entry-30">dht_reply_alert</a></li> | ||
81 | <li><a·class="reference·internal"·href="#tracker-announce-alert"·id="toc-entry-31">tracker_announce_alert</a></li> | ||
82 | <li><a·class="reference·internal"·href="#hash-failed-alert"·id="toc-entry-32">hash_failed_alert</a></li> | ||
83 | <li><a·class="reference·internal"·href="#peer-ban-alert"·id="toc-entry-33">peer_ban_alert</a></li> | ||
84 | <li><a·class="reference·internal"·href="#peer-unsnubbed-alert"·id="toc-entry-34">peer_unsnubbed_alert</a></li> | ||
85 | <li><a·class="reference·internal"·href="#peer-snubbed-alert"·id="toc-entry-35">peer_snubbed_alert</a></li> | ||
86 | <li><a·class="reference·internal"·href="#peer-error-alert"·id="toc-entry-36">peer_error_alert</a></li> | ||
87 | <li><a·class="reference·internal"·href="#peer-connect-alert"·id="toc-entry-3 | 83 | <li><a·class="reference·internal"·href="#peer-disconnected-alert"·id="toc-entry-33">peer_disconnected_alert</a></li> |
84 | <li><a·class="reference·internal"·href="#invalid-request-alert"·id="toc-entry-34">invalid_request_alert</a></li> | ||
85 | <li><a·class="reference·internal"·href="#torrent-finished-alert"·id="toc-entry-35">torrent_finished_alert</a></li> | ||
88 | <li><a·class="reference·internal"·href="#e | 86 | <li><a·class="reference·internal"·href="#piece-finished-alert"·id="toc-entry-36">piece_finished_alert</a></li> |
87 | <li><a·class="reference·internal"·href="#request-dropped-alert"·id="toc-entry-37">request_dropped_alert</a></li> | ||
88 | <li><a·class="reference·internal"·href="#block-timeout-alert"·id="toc-entry-38">block_timeout_alert</a></li> | ||
89 | <li><a·class="reference·internal"·href="#block-finished-alert"·id="toc-entry-39">block_finished_alert</a></li> | ||
90 | <li><a·class="reference·internal"·href="#block-downloading-alert"·id="toc-entry-40">block_downloading_alert</a></li> | ||
91 | <li><a·class="reference·internal"·href="#unwanted-block-alert"·id="toc-entry-41">unwanted_block_alert</a></li> | ||
92 | <li><a·class="reference·internal"·href="#storage-moved-alert"·id="toc-entry-42">storage_moved_alert</a><ul> | ||
93 | <li><a·class="reference·internal"·href="#old-path-storage-path"·id="toc-entry-43">old_path()·storage_path()</a></li> | ||
89 | </ul> | 94 | </ul> |
90 | </li> | 95 | </li> |
91 | <li><a·class="reference·internal"·href="#peer-disconnected-alert"·id="toc-entry-39">peer_disconnected_alert</a></li> | ||
92 | <li><a·class="reference·internal"·href="#invalid-request-alert"·id="toc-entry-40">invalid_request_alert</a></li> | ||
93 | <li><a·class="reference·internal"·href="#torrent-finished-alert"·id="toc-entry-41">torrent_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> | ||
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> | ||
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> | ||
100 | <li><a·class="reference·internal"·href="#storage-moved-alert"·id="toc-entry-4 | 96 | <li><a·class="reference·internal"·href="#storage-moved-failed-alert"·id="toc-entry-44">storage_moved_failed_alert</a><ul> |
101 | <li><a·class="reference·internal"·href="# | 97 | <li><a·class="reference·internal"·href="#file-path"·id="toc-entry-45">file_path()</a></li> |
102 | </ul> | 98 | </ul> |
103 | </li> | 99 | </li> |
100 | <li><a·class="reference·internal"·href="#torrent-deleted-alert"·id="toc-entry-46">torrent_deleted_alert</a></li> | ||
101 | <li><a·class="reference·internal"·href="#torrent-delete-failed-alert"·id="toc-entry-47">torrent_delete_failed_alert</a></li> | ||
102 | <li><a·class="reference·internal"·href="#save-resume-data-alert"·id="toc-entry-48">save_resume_data_alert</a></li> | ||
104 | <li><a·class="reference·internal"·href="#s | 103 | <li><a·class="reference·internal"·href="#save-resume-data-failed-alert"·id="toc-entry-49">save_resume_data_failed_alert</a></li> |
104 | <li><a·class="reference·internal"·href="#torrent-paused-alert"·id="toc-entry-50">torrent_paused_alert</a></li> | ||
105 | <li><a·class="reference·internal"·href="#torrent-resumed-alert"·id="toc-entry-51">torrent_resumed_alert</a></li> | ||
106 | <li><a·class="reference·internal"·href="#torrent-checked-alert"·id="toc-entry-52">torrent_checked_alert</a></li> | ||
107 | <li><a·class="reference·internal"·href="#url-seed-alert"·id="toc-entry-53">url_seed_alert</a><ul> | ||
105 | <li><a·class="reference·internal"·href="# | 108 | <li><a·class="reference·internal"·href="#server-url"·id="toc-entry-54">server_url()</a></li> |
109 | <li><a·class="reference·internal"·href="#error-message-1"·id="toc-entry-55">error_message()</a></li> | ||
106 | </ul> | 110 | </ul> |
107 | </li> | 111 | </li> |
108 | <li><a·class="reference·internal"·href="#torrent-deleted-alert"·id="toc-entry-52">torrent_deleted_alert</a></li> | ||
109 | <li><a·class="reference·internal"·href="#torrent-delete-failed-alert"·id="toc-entry-53">torrent_delete_failed_alert</a></li> | ||
110 | <li><a·class="reference·internal"·href="#save-resume-data-alert"·id="toc-entry-54">save_resume_data_alert</a></li> | ||
111 | <li><a·class="reference·internal"·href="#save-resume-data-failed-alert"·id="toc-entry-55">save_resume_data_failed_alert</a></li> | ||
112 | <li><a·class="reference·internal"·href="#torrent-paused-alert"·id="toc-entry-56">torrent_paused_alert</a></li> | ||
113 | <li><a·class="reference·internal"·href="#torrent-resumed-alert"·id="toc-entry-57">torrent_resumed_alert</a></li> | ||
114 | <li><a·class="reference·internal"·href="#torrent-checked-alert"·id="toc-entry-58">torrent_checked_alert</a></li> | ||
115 | <li><a·class="reference·internal"·href="# | 112 | <li><a·class="reference·internal"·href="#file-error-alert"·id="toc-entry-56">file_error_alert</a><ul> |
116 | <li><a·class="reference·internal"·href="# | 113 | <li><a·class="reference·internal"·href="#filename"·id="toc-entry-57">filename()</a></li> |
117 | <li><a·class="reference·internal"·href="#error-message-1"·id="toc-entry-61">error_message()</a></li> | ||
118 | </ul> | 114 | </ul> |
119 | </li> | 115 | </li> |
116 | <li><a·class="reference·internal"·href="#metadata-failed-alert"·id="toc-entry-58">metadata_failed_alert</a></li> | ||
117 | <li><a·class="reference·internal"·href="#metadata-received-alert"·id="toc-entry-59">metadata_received_alert</a></li> | ||
120 | <li><a·class="reference·internal"·href="# | 118 | <li><a·class="reference·internal"·href="#udp-error-alert"·id="toc-entry-60">udp_error_alert</a></li> |
119 | <li><a·class="reference·internal"·href="#external-ip-alert"·id="toc-entry-61">external_ip_alert</a></li> | ||
120 | <li><a·class="reference·internal"·href="#listen-failed-alert"·id="toc-entry-62">listen_failed_alert</a><ul> | ||
121 | <li><a·class="reference·internal"·href="# | 121 | <li><a·class="reference·internal"·href="#listen-interface"·id="toc-entry-63">listen_interface()</a></li> |
Max diff block lines reached; 53725/67667 bytes (79.40%) of diff not shown. |
Offset 1, 29 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 | ····*·_\x8a_\x8l_\x8e_\x8r_\x8t | ||
7 | ··········o·_\x8t_\x8i_\x8m_\x8e_\x8s_\x8t_\x8a_\x8m_\x8p_\x8(_\x8) | ||
8 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) | ||
9 | ··········o·_\x8w_\x8h_\x8a_\x8t_\x8(_\x8) | ||
10 | ··········o·_\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) | ||
11 | ··········o·_\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
12 | ····*·_\x8d_\x8h_\x8t_\x8__\x8r_\x8o_\x8u_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8u_\x8c_\x8k_\x8e_\x8t | 6 | ····*·_\x8d_\x8h_\x8t_\x8__\x8r_\x8o_\x8u_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8u_\x8c_\x8k_\x8e_\x8t |
13 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 7 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
14 | ··········o·_\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) | 8 | ··········o·_\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) |
15 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 9 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
16 | ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 10 | ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
17 | ··········o·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8u_\x8r_\x8l_\x8(_\x8) | 11 | ··········o·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8u_\x8r_\x8l_\x8(_\x8) |
18 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 12 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
19 | ····*·_\x8r_\x8e_\x8a_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 13 | ····*·_\x8r_\x8e_\x8a_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
20 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8t_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 14 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8t_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
21 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 15 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
22 | ··········o·_\x8 | 16 | ··········o·_\x8o_.l_.d_.__.n_.a_.m_.e_.(_.)_.·_.n_.e_.w_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8) |
23 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 17 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
24 | ····*·_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 18 | ····*·_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
25 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8w_\x8a_\x8r_\x8n_\x8i_\x8n_\x8g_\x8__\x8t | 19 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8w_\x8a_\x8r_\x8n_\x8i_\x8n_\x8g_\x8__\x8t |
26 | ····*·_\x8s_\x8t_\x8a_\x8t_\x8e_\x8__\x8c_\x8h_\x8a_\x8n_\x8g_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 20 | ····*·_\x8s_\x8t_\x8a_\x8t_\x8e_\x8__\x8c_\x8h_\x8a_\x8n_\x8g_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
27 | ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 21 | ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
28 | ··········o·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e_\x8__\x8r_\x8e_\x8a_\x8s_\x8o_\x8n_\x8(_\x8) | 22 | ··········o·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e_\x8__\x8r_\x8e_\x8a_\x8s_\x8o_\x8n_\x8(_\x8) |
29 | ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8w_\x8a_\x8r_\x8n_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 23 | ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8w_\x8a_\x8r_\x8n_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
Offset 47, 15 lines modified | Offset 41, 15 lines modified | ||
47 | ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8f_\x8i_\x8n_\x8i_\x8s_\x8h_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 41 | ····*·_\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 | 42 | ····*·_\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 | 43 | ····*·_\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 | 44 | ····*·_\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 | 45 | ····*·_\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 | 46 | ····*·_\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 | 47 | ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8m_\x8o_\x8v_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
54 | ··········o·_\x8 | 48 | ··········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 | 49 | ····*·_\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) | 50 | ··········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 | 51 | ····*·_\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 | 52 | ····*·_\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 | 53 | ····*·_\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 | 54 | ····*·_\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 | 55 | ····*·_\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 114, 15 lines modified | ||
120 | ··········o·_\x8p_\x8k_\x8t_\x8__\x8b_\x8u_\x8f_\x8(_\x8) | 114 | ··········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 | 115 | ··········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 | 116 | ····*·_\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 | 117 | ····*·_\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 | 118 | ····*·_\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 | 119 | ····*·_\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 | 120 | ····*·_\x8d_\x8h_\x8t_\x8__\x8l_\x8i_\x8v_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
127 | ··········o·_\x8n_\x8 | 121 | ··········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 | 122 | ····*·_\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 | 123 | ····*·_\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·_\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8n_\x8u_\x8m_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s_\x8(_\x8) | 124 | ··········o·_\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8n_\x8u_\x8m_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s_\x8(_\x8) |
131 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) | 125 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) |
132 | ··········o·_\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) | 126 | ··········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 | 127 | ····*·_\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 | 128 | ····*·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8__\x8d_\x8r_\x8o_\x8p_\x8p_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
Offset 137, 19 lines modified | Offset 131, 25 lines modified | ||
137 | ····*·_\x8o_\x8v_\x8e_\x8r_\x8s_\x8i_\x8z_\x8e_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 131 | ····*·_\x8o_\x8v_\x8e_\x8r_\x8s_\x8i_\x8z_\x8e_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
138 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8o_\x8n_\x8f_\x8l_\x8i_\x8c_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 132 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8o_\x8n_\x8f_\x8l_\x8i_\x8c_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
139 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 133 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
140 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8o_\x8g_\x8r_\x8e_\x8s_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 134 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8o_\x8g_\x8r_\x8e_\x8s_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
141 | ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 135 | ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
142 | ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 136 | ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
143 | ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8l_\x8i_\x8s_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 137 | ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8l_\x8i_\x8s_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
138 | ····*·_\x8a_\x8l_\x8e_\x8r_\x8t | ||
139 | ··········o·_\x8t_\x8i_\x8m_\x8e_\x8s_\x8t_\x8a_\x8m_\x8p_\x8(_\x8) | ||
140 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) | ||
141 | ··········o·_\x8w_\x8h_\x8a_\x8t_\x8(_\x8) | ||
142 | ··········o·_\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) | ||
143 | ··········o·_\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
144 | ····*·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8c_\x8a_\x8s_\x8t_\x8(_\x8) | 144 | ····*·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8c_\x8a_\x8s_\x8t_\x8(_\x8) |
145 | ····*·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8) | 145 | ····*·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8) |
146 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8t | 146 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8t |
147 | ····*·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8__\x8t | ||
148 | ····*·_\x8i_\x8n_\x8t | 147 | ····*·_\x8i_\x8n_\x8t |
148 | ····*·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8__\x8t | ||
149 | The·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8)·function·on·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·is·the·main·interface·for·retrieving | 149 | The·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8)·function·on·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·is·the·main·interface·for·retrieving |
150 | alerts·(warnings,·messages·and·errors·from·libtorrent).·If·no·alerts·have·been | 150 | alerts·(warnings,·messages·and·errors·from·libtorrent).·If·no·alerts·have·been |
151 | posted·by·libtorrent·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8)·will·return·an·empty·list. | 151 | posted·by·libtorrent·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8)·will·return·an·empty·list. |
152 | By·default,·only·errors·are·reported.·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8:_\x8:_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8m_\x8a_\x8s_\x8k·can·be·used·to | 152 | By·default,·only·errors·are·reported.·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8:_\x8:_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8m_\x8a_\x8s_\x8k·can·be·used·to |
153 | specify·which·kinds·of·events·should·be·reported.·The·_\x8a_\x8l_\x8e_\x8r_\x8t·mask·is·a | 153 | specify·which·kinds·of·events·should·be·reported.·The·_\x8a_\x8l_\x8e_\x8r_\x8t·mask·is·a |
154 | combination·of·the·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8__\x8t·flags·in·the·_\x8a_\x8l_\x8e_\x8r_\x8t·class. | 154 | combination·of·the·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8__\x8t·flags·in·the·_\x8a_\x8l_\x8e_\x8r_\x8t·class. |
155 | Every·_\x8a_\x8l_\x8e_\x8r_\x8t·belongs·to·one·or·more·category.·There·is·a·cost·associated·with | 155 | Every·_\x8a_\x8l_\x8e_\x8r_\x8t·belongs·to·one·or·more·category.·There·is·a·cost·associated·with |
Offset 162, 103 lines modified | Offset 162, 14 lines modified | ||
162 | that·are·generated·for·a·specific·torrent·are·derived·from·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t,·and | 162 | that·are·generated·for·a·specific·torrent·are·derived·from·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t,·and |
163 | tracker·events·derive·from·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t. | 163 | tracker·events·derive·from·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t. |
164 | Alerts·returned·by·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8)·are·only·valid·until·the·next·call·to | 164 | Alerts·returned·by·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8)·are·only·valid·until·the·next·call·to |
165 | _\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8).·You·may·not·copy·an·_\x8a_\x8l_\x8e_\x8r_\x8t·object·to·access·it·after·the·next·call | 165 | _\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8).·You·may·not·copy·an·_\x8a_\x8l_\x8e_\x8r_\x8t·object·to·access·it·after·the·next·call |
166 | to·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8).·Internal·members·of·alerts·also·become·invalid·once·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s | 166 | to·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8).·Internal·members·of·alerts·also·become·invalid·once·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s |
167 | _\x8(_\x8)·is·called·again. | 167 | _\x8(_\x8)·is·called·again. |
168 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 168 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
169 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
170 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8._\x8h_\x8p_\x8p" | ||
171 | The·alert·class·is·the·base·class·that·specific·messages·are·derived·from. | ||
172 | _\x8a_\x8l_\x8e_\x8r_\x8t·types·are·not·copyable,·and·cannot·be·constructed·by·the·client.·The | ||
173 | pointers·returned·by·libtorrent·are·short·lived·(the·details·are·described | ||
174 | under·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8:_\x8:_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8)) | ||
175 | struct·alert | ||
176 | { | ||
177 | ···time_point·t\x8ti\x8im\x8me\x8es\x8st\x8ta\x8am\x8mp\x8p·()·const; | ||
178 | ···virtual·int·t\x8ty\x8yp\x8pe\x8e·()·const·noexcept·=·0; | ||
179 | ···virtual·char·const*·w\x8wh\x8ha\x8at\x8t·()·const·noexcept·=·0; | ||
180 | ···virtual·std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·=·0; | ||
181 | ···virtual·alert_category_t·c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·()·const·noexcept·=·0; | ||
182 | ···static·constexpr·alert_category_t·e\x8er\x8rr\x8ro\x8or\x8r_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·0_bit; | ||
183 | ···static·constexpr·alert_category_t·p\x8pe\x8ee\x8er\x8r_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·1_bit; | ||
184 | ···static·constexpr·alert_category_t·p\x8po\x8or\x8rt\x8t_\x8_m\x8ma\x8ap\x8pp\x8pi\x8in\x8ng\x8g_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·2_bit; | ||
185 | ···static·constexpr·alert_category_t·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·3_bit; | ||
186 | ···static·constexpr·alert_category_t·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·4_bit; | ||
187 | ···static·constexpr·alert_category_t·c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·5_bit; | ||
188 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8tu\x8us\x8s_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·6_bit; | ||
189 | ···static·constexpr·alert_category_t·i\x8ip\x8p_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·8_bit; | ||
190 | ···static·constexpr·alert_category_t·p\x8pe\x8er\x8rf\x8fo\x8or\x8rm\x8ma\x8an\x8nc\x8ce\x8e_\x8_w\x8wa\x8ar\x8rn\x8ni\x8in\x8ng\x8g··=·9_bit; | ||
191 | ···static·constexpr·alert_category_t·d\x8dh\x8ht\x8t_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·10_bit; | ||
192 | ···static·constexpr·alert_category_t·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_l\x8lo\x8og\x8g_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·13_bit; | ||
193 | ···static·constexpr·alert_category_t·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_l\x8lo\x8og\x8g_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·14_bit; | ||
194 | ···static·constexpr·alert_category_t·p\x8pe\x8ee\x8er\x8r_\x8_l\x8lo\x8og\x8g_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·15_bit; | ||
195 | ···static·constexpr·alert_category_t·i\x8in\x8nc\x8co\x8om\x8mi\x8in\x8ng\x8g_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·16_bit; | ||
196 | ···static·constexpr·alert_category_t·d\x8dh\x8ht\x8t_\x8_l\x8lo\x8og\x8g_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·17_bit; | ||
197 | ···static·constexpr·alert_category_t·d\x8dh\x8ht\x8t_\x8_o\x8op\x8pe\x8er\x8ra\x8at\x8ti\x8io\x8on\x8n_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·18_bit; | ||
198 | ···static·constexpr·alert_category_t·p\x8po\x8or\x8rt\x8t_\x8_m\x8ma\x8ap\x8pp\x8pi\x8in\x8ng\x8g_\x8_l\x8lo\x8og\x8g_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·19_bit; | ||
Max diff block lines reached; 13508/25632 bytes (52.70%) of diff not shown. |
Offset 34, 17 lines modified | Offset 34, 17 lines modified | ||
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="#bdecode-node-operator"·id="toc-entry-3">bdecode_node()·operator=()</a></li> | 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- | 41 | <li><a·class="reference·internal"·href="#data-section-data-offset"·id="toc-entry-7">data_section()·data_offset()</a></li> |
42 | <li><a·class="reference·internal"·href="#list-int-value-at-list-size-list-string-value-at-list-at"·id="toc-entry-8">list_int_value_at()·list_size()·list_string_value_at()·list_at()</a></li> | ||
43 | <li><a·class="reference·internal"·href="# | 42 | <li><a·class="reference·internal"·href="#list-at-list-string-value-at-list-int-value-at-list-size"·id="toc-entry-8">list_at()·list_string_value_at()·list_int_value_at()·list_size()</a></li> |
43 | <li><a·class="reference·internal"·href="#dict-size-dict-find-string-value-dict-find-dict-at-node-dict-find-int-value-dict-at-dict-find-string-dict-find-int-dict-find-list-dict-find-dict"·id="toc-entry-9">dict_size()·dict_find_string_value()·dict_find()·dict_at_node()·dict_find_int_value()·dict_at()·dict_find_string()·dict_find_int()·dict_find_list()·dict_find_dict()</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-value-string-ptr-string-offset-string-length"·id="toc-entry-11">string_value()·string_ptr()·string_offset()·string_length()</a></li> | 45 | <li><a·class="reference·internal"·href="#string-value-string-ptr-string-offset-string-length"·id="toc-entry-11">string_value()·string_ptr()·string_offset()·string_length()</a></li> |
46 | <li><a·class="reference·internal"·href="#clear"·id="toc-entry-12">clear()</a></li> | 46 | <li><a·class="reference·internal"·href="#clear"·id="toc-entry-12">clear()</a></li> |
47 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-13">swap()</a></li> | 47 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-13">swap()</a></li> |
48 | <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-14">reserve()</a></li> | 48 | <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-14">reserve()</a></li> |
49 | <li><a·class="reference·internal"·href="#switch-underlying-buffer"·id="toc-entry-15">switch_underlying_buffer()</a></li> | 49 | <li><a·class="reference·internal"·href="#switch-underlying-buffer"·id="toc-entry-15">switch_underlying_buffer()</a></li> |
50 | <li><a·class="reference·internal"·href="#has-soft-error"·id="toc-entry-16">has_soft_error()</a></li> | 50 | <li><a·class="reference·internal"·href="#has-soft-error"·id="toc-entry-16">has_soft_error()</a></li> |
Offset 62, 46 lines modified | Offset 62, 46 lines modified | ||
62 | to·be·able·to·copy·it·as·a·reference·for·instance).·For·that,·use·the | 62 | to·be·able·to·copy·it·as·a·reference·for·instance).·For·that,·use·the |
63 | <a·class="reference·external"·href="reference-Bdecoding.html#non_owning()">non_owning()</a>·member·function.</p> | 63 | <a·class="reference·external"·href="reference-Bdecoding.html#non_owning()">non_owning()</a>·member·function.</p> |
64 | <p>There·are·5·different·types·of·nodes,·see·<a·class="reference·external"·href="reference-Bdecoding.html#type_t">type_t</a>.</p> | 64 | <p>There·are·5·different·types·of·nodes,·see·<a·class="reference·external"·href="reference-Bdecoding.html#type_t">type_t</a>.</p> |
65 | <pre·class="literal-block"> | 65 | <pre·class="literal-block"> |
66 | struct·bdecode_node | 66 | struct·bdecode_node |
67 | { | 67 | { |
68 | ···<strong>bdecode_node</strong>·()·=·default; | 68 | ···<strong>bdecode_node</strong>·()·=·default; |
69 | ···<strong>bdecode_node</strong>·(bdecode_node·const&); | ||
70 | ···bdecode_node&·<strong>operator=</strong>·(bdecode_node·const&)·&; | ||
71 | ···<strong>bdecode_node</strong>·(bdecode_node&&)·noexcept; | 69 | ···<strong>bdecode_node</strong>·(bdecode_node&&)·noexcept; |
72 | ···bdecode_node&·<strong>operator=</strong>·(bdecode_node&&)·&·=·default; | 70 | ···bdecode_node&·<strong>operator=</strong>·(bdecode_node&&)·&·=·default; |
71 | ···<strong>bdecode_node</strong>·(bdecode_node·const&); | ||
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 | ···std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept; | 76 | ···std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept; |
77 | ···span<char·const>·<strong>data_section</strong>·()·const·noexcept; | 77 | ···span<char·const>·<strong>data_section</strong>·()·const·noexcept; |
78 | ···int·<strong>list_size</strong>·()·const; | ||
79 | ···std::int64_t·<strong>list_int_value_at</strong>·(int·i | 78 | ···std::int64_t·<strong>list_int_value_at</strong>·(int·i |
80 | ······,·std::int64_t·default_val·=·0)·const; | 79 | ······,·std::int64_t·default_val·=·0)·const; |
80 | ···bdecode_node·<strong>list_at</strong>·(int·i)·const; | ||
81 | ···string_view·<strong>list_string_value_at</strong>·(int·i | 81 | ···string_view·<strong>list_string_value_at</strong>·(int·i |
82 | ······,·string_view·default_val·=·string_view())·const; | 82 | ······,·string_view·default_val·=·string_view())·const; |
83 | ···bdecode_node·<strong>list_at</strong>·(int·i)·const; | ||
84 | ···std::pair<string_view,·bdecode_node>·<strong>dict_at</strong>·(int·i)·const; | ||
85 | ···int·<strong> | 83 | ···int·<strong>list_size</strong>·()·const; |
84 | ···std::int64_t·<strong>dict_find_int_value</strong>·(string_view·key | ||
85 | ······,·std::int64_t·default_val·=·0)·const; | ||
86 | ···std::pair<bdecode_node,·bdecode_node>·<strong>dict_at_node</strong>·(int·i)·const; | 86 | ···std::pair<bdecode_node,·bdecode_node>·<strong>dict_at_node</strong>·(int·i)·const; |
87 | ···bdecode_node·<strong>dict_find_string</strong>·(string_view·key)·const; | ||
88 | ···bdecode_node·<strong>dict_find</strong>·(string_view·key)·const; | 87 | ···bdecode_node·<strong>dict_find</strong>·(string_view·key)·const; |
89 | ···string_view·<strong>dict_find_string_value</strong>·(string_view·key | ||
90 | ······,·string_view·default_value·=·string_view())·const; | ||
91 | ···bdecode_node·<strong>dict_find_dict</strong>·(string_view·key)·const; | ||
92 | ···bdecode_node·<strong>dict_find_list</strong>·(string_view·key)·const; | 88 | ···bdecode_node·<strong>dict_find_list</strong>·(string_view·key)·const; |
89 | ···bdecode_node·<strong>dict_find_string</strong>·(string_view·key)·const; | ||
93 | ···bdecode_node·<strong>dict_find_int</strong>·(string_view·key)·const; | 90 | ···bdecode_node·<strong>dict_find_int</strong>·(string_view·key)·const; |
91 | ···bdecode_node·<strong>dict_find_dict</strong>·(string_view·key)·const; | ||
92 | ···std::pair<string_view,·bdecode_node>·<strong>dict_at</strong>·(int·i)·const; | ||
94 | ···st | 93 | ···string_view·<strong>dict_find_string_value</strong>·(string_view·key |
95 | ······,·st | 94 | ······,·string_view·default_value·=·string_view())·const; |
95 | ···int·<strong>dict_size</strong>·()·const; | ||
96 | ···std::int64_t·<strong>int_value</strong>·()·const; | 96 | ···std::int64_t·<strong>int_value</strong>·()·const; |
97 | ···int·<strong>string_length</strong>·()·const; | ||
98 | ···std::ptrdiff_t·<strong>string_offset</strong>·()·const; | ||
99 | ···string_view·<strong>string_value</strong>·()·const; | 97 | ···string_view·<strong>string_value</strong>·()·const; |
100 | ···char·const*·<strong>string_ptr</strong>·()·const; | 98 | ···char·const*·<strong>string_ptr</strong>·()·const; |
99 | ···std::ptrdiff_t·<strong>string_offset</strong>·()·const; | ||
100 | ···int·<strong>string_length</strong>·()·const; | ||
101 | ···void·<strong>clear</strong>·(); | 101 | ···void·<strong>clear</strong>·(); |
102 | ···void·<strong>swap</strong>·(bdecode_node&·n); | 102 | ···void·<strong>swap</strong>·(bdecode_node&·n); |
103 | ···void·<strong>reserve</strong>·(int·tokens); | 103 | ···void·<strong>reserve</strong>·(int·tokens); |
104 | ···void·<strong>switch_underlying_buffer</strong>·(char·const*·buf)·noexcept; | 104 | ···void·<strong>switch_underlying_buffer</strong>·(char·const*·buf)·noexcept; |
105 | ···bool·<strong>has_soft_error</strong>·(span<char>·error)·const; | 105 | ···bool·<strong>has_soft_error</strong>·(span<char>·error)·const; |
106 | ···enum·type_t | 106 | ···enum·type_t |
Offset 121, 18 lines modified | Offset 121, 18 lines modified | ||
121 | </pre> | 121 | </pre> |
122 | <p>creates·a·default·constructed·node,·it·will·have·the·type·<tt·class="docutils·literal">none_t</tt>.</p> | 122 | <p>creates·a·default·constructed·node,·it·will·have·the·type·<tt·class="docutils·literal">none_t</tt>.</p> |
123 | <a·name="bdecode_node()"></a> | 123 | <a·name="bdecode_node()"></a> |
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%5Bbdecode_node%28%29+operator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 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%5Bbdecode_node%28%29+operator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
125 | <div·class="section"·id="bdecode-node-operator"> | 125 | <div·class="section"·id="bdecode-node-operator"> |
126 | <h2>bdecode_node()·operator=()</h2> | 126 | <h2>bdecode_node()·operator=()</h2> |
127 | <pre·class="literal-block"> | 127 | <pre·class="literal-block"> |
128 | <strong>bdecode_node</strong>·(bdecode_node·const&); | ||
129 | bdecode_node&·<strong>operator=</strong>·(bdecode_node·const&)·&; | ||
130 | <strong>bdecode_node</strong>·(bdecode_node&&)·noexcept; | 128 | <strong>bdecode_node</strong>·(bdecode_node&&)·noexcept; |
131 | bdecode_node&·<strong>operator=</strong>·(bdecode_node&&)·&·=·default; | 129 | bdecode_node&·<strong>operator=</strong>·(bdecode_node&&)·&·=·default; |
130 | <strong>bdecode_node</strong>·(bdecode_node·const&); | ||
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 150, 71 lines modified | Offset 150, 71 lines modified | ||
150 | <div·class="section"·id="non-owning"> | 150 | <div·class="section"·id="non-owning"> |
151 | <h2>non_owning()</h2> | 151 | <h2>non_owning()</h2> |
152 | <pre·class="literal-block"> | 152 | <pre·class="literal-block"> |
153 | bdecode_node·<strong>non_owning</strong>·()·const; | 153 | bdecode_node·<strong>non_owning</strong>·()·const; |
154 | </pre> | 154 | </pre> |
155 | <p>return·a·non-owning·reference·to·this·node.·This·is·useful·to·refer·to | 155 | <p>return·a·non-owning·reference·to·this·node.·This·is·useful·to·refer·to |
156 | the·root·node·without·copying·it·in·assignments.</p> | 156 | the·root·node·without·copying·it·in·assignments.</p> |
157 | <a·name="data_ | 157 | <a·name="data_section()"></a> |
158 | <a·name="data_ | 158 | <a·name="data_offset()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bdata_section%28%29+data_offset%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bdata_sec[·...·truncated·by·diffoscope;·len:·22,·SHA:·f13dbb62e781831b347b6d484fb4e1aff7037905ca0792097727558cf7ab273f·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
159 | <div·class="section"·id="data- | 159 | <div·class="section"·id="data-section-data-offset"> |
160 | <h2>data_ | 160 | <h2>data_section()·data_offset()</h2> |
161 | <pre·class="literal-block"> | 161 | <pre·class="literal-block"> |
162 | std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept; | 162 | std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept; |
163 | span<char·const>·<strong>data_section</strong>·()·const·noexcept; | 163 | span<char·const>·<strong>data_section</strong>·()·const·noexcept; |
164 | </pre> | 164 | </pre> |
165 | <p>returns·the·buffer·and·length·of·the·section·in·the·original·bencoded | 165 | <p>returns·the·buffer·and·length·of·the·section·in·the·original·bencoded |
166 | buffer·where·this·node·is·defined.·For·a·dictionary·for·instance,·this | 166 | buffer·where·this·node·is·defined.·For·a·dictionary·for·instance,·this |
167 | starts·with·<tt·class="docutils·literal">d</tt>·and·ends·with·<tt·class="docutils·literal">e</tt>,·and·has·all·the·content·of·the | 167 | starts·with·<tt·class="docutils·literal">d</tt>·and·ends·with·<tt·class="docutils·literal">e</tt>,·and·has·all·the·content·of·the |
168 | dictionary·in·between. | 168 | dictionary·in·between. |
169 | the·<tt·class="docutils·literal">data_offset()</tt>·function·returns·the·byte-offset·to·this·node·in, | 169 | the·<tt·class="docutils·literal">data_offset()</tt>·function·returns·the·byte-offset·to·this·node·in, |
170 | starting·from·the·beginning·of·the·buffer·that·was·parsed.</p> | 170 | starting·from·the·beginning·of·the·buffer·that·was·parsed.</p> |
171 | <a·name="list_int_value_at()"></a> | ||
172 | <a·name="list_ | 171 | <a·name="list_at()"></a> |
173 | <a·name="list_string_value_at()"></a> | 172 | <a·name="list_string_value_at()"></a> |
173 | <a·name="list_int_value_at()"></a> | ||
174 | <a·name="list_ | 174 | <a·name="list_size()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Blist_at%28%29+list_string_value_at%28%29+list_int_value_at%28%29+list_size%28%29%5D&labels=documentation&body=Documentation+unde[·...·truncated·by·diffoscope;·len:·108,·SHA:·0d6b143c9b8818a3c676098deae89a8e1dffd09d3ef4ccd95c820a83e918bfaf·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
175 | <div·class="section"·id="list- | 175 | <div·class="section"·id="list-at-list-string-value-at-list-int-value-at-list-size"> |
176 | <h2>list_ | 176 | <h2>list_at()·list_string_value_at()·list_int_value_at()·list_size()</h2> |
177 | <pre·class="literal-block"> | 177 | <pre·class="literal-block"> |
Max diff block lines reached; 8886/20274 bytes (43.83%) of diff not shown. |
Offset 5, 19 lines modified | Offset 5, 19 lines modified | ||
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·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8) | 8 | ··········o·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\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) | ||
13 | ··········o·_\x8 | 12 | ··········o·_\x8d_.a_.t_.a_.__.s_.e_.c_.t_.i_.o_.n_.(_.)_.·_.d_.a_.t_.a_.__.o_.f_.f_.s_.e_\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__\x8i_\x8n_\x8t_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8a_\x8t_\x8(_\x8)_\x8·_\x8l_\x8i_\x8s_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) | ||
14 | ··········o·_\x8d_\x8i_\x8c_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8a_\x8t_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) | ||
14 | ·········· | 15 | ············_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.i_.n_.t_.__.v_.a_.l_.u_.e_.(_.)_.·_.d_.i_.c_.t_.__.a_.t_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.s_.t_.r_.i_.n_.g_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.i_.n_\x8t_\x8(_\x8) |
15 | ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8a_\x8t_\x8(_\x8) | ||
16 | ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8 | 16 | ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_.i_.n_.d_.__.l_.i_.s_.t_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8d_\x8i_\x8c_\x8t_\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__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8)_\x8·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8p_\x8t_\x8r_\x8(_\x8)_\x8·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8) | 18 | ··········o·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8)_\x8·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8p_\x8t_\x8r_\x8(_\x8)_\x8·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\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) |
Offset 30, 46 lines modified | Offset 30, 46 lines modified | ||
30 | Sometimes·it's·important·to·get·a·non-owning·reference·to·the·root·node·(·to·be | 30 | Sometimes·it's·important·to·get·a·non-owning·reference·to·the·root·node·(·to·be |
31 | able·to·copy·it·as·a·reference·for·instance).·For·that,·use·the·_\x8n_\x8o_\x8n_\x8__\x8o_\x8w_\x8n_\x8i_\x8n_\x8g_\x8(_\x8) | 31 | able·to·copy·it·as·a·reference·for·instance).·For·that,·use·the·_\x8n_\x8o_\x8n_\x8__\x8o_\x8w_\x8n_\x8i_\x8n_\x8g_\x8(_\x8) |
32 | member·function. | 32 | member·function. |
33 | There·are·5·different·types·of·nodes,·see·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t. | 33 | There·are·5·different·types·of·nodes,·see·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t. |
34 | struct·bdecode_node | 34 | struct·bdecode_node |
35 | { | 35 | { |
36 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·()·=·default; | 36 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·()·=·default; |
37 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&); | ||
38 | ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; | ||
39 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept; | 37 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept; |
40 | ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default; | 38 | ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default; |
39 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&); | ||
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 | ···std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept; | 44 | ···std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept; |
45 | ···span<char·const>·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const·noexcept; | 45 | ···span<char·const>·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const·noexcept; |
46 | ···int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | ||
47 | ···std::int64_t·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i | 46 | ···std::int64_t·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i |
48 | ······,·std::int64_t·default_val·=·0)·const; | 47 | ······,·std::int64_t·default_val·=·0)·const; |
48 | ···bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const; | ||
49 | ···string_view·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i | 49 | ···string_view·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i |
50 | ······,·string_view·default_val·=·string_view())·const; | 50 | ······,·string_view·default_val·=·string_view())·const; |
51 | ···bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const; | ||
52 | ···std::pair<string_view,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t·(int·i)·const; | ||
53 | ···int· | 51 | ···int·l.li.is.st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·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 | ···std::pair<bdecode_node,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t_\x8_n\x8no\x8od\x8de\x8e·(int·i)·const; | 54 | ···std::pair<bdecode_node,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t_\x8_n\x8no\x8od\x8de\x8e·(int·i)·const; |
55 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(string_view·key)·const; | ||
56 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d·(string_view·key)·const; | 55 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d·(string_view·key)·const; |
57 | ···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 | ||
58 | ······,·string_view·default_value·=·string_view())·const; | ||
59 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_d\x8di\x8ic\x8ct\x8t·(string_view·key)·const; | ||
60 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_l\x8li\x8is\x8st\x8t·(string_view·key)·const; | 56 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_l\x8li\x8is\x8st\x8t·(string_view·key)·const; |
57 | ···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; | ||
61 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_i\x8in\x8nt\x8t·(string_view·key)·const; | 58 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_i\x8in\x8nt\x8t·(string_view·key)·const; |
59 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_d\x8di\x8ic\x8ct\x8t·(string_view·key)·const; | ||
60 | ···std::pair<string_view,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t·(int·i)·const; | ||
62 | ···st | 61 | ···string_view·d.di.ic.ct.t_._f.fi.in.nd.d_._s.st.tr.ri.in.ng.g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(string_view·key |
63 | ······,·st | 62 | ······,·string_view·default_value·=·string_view())·const; |
63 | ···int·d\x8di\x8ic\x8ct\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·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 | ···int·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | ||
66 | ···std::ptrdiff_t·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const; | ||
67 | ···string_view·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·()·const; | 65 | ···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; | 66 | ···char·const*·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_p\x8pt\x8tr\x8r·()·const; |
67 | ···std::ptrdiff_t·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const; | ||
68 | ···int·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | ||
69 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r·(); | 69 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r·(); |
70 | ···void·s\x8sw\x8wa\x8ap\x8p·(bdecode_node&·n); | 70 | ···void·s\x8sw\x8wa\x8ap\x8p·(bdecode_node&·n); |
71 | ···void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·tokens); | 71 | ···void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·tokens); |
72 | ···void·s\x8sw\x8wi\x8it\x8tc\x8ch\x8h_\x8_u\x8un\x8nd\x8de\x8er\x8rl\x8ly\x8yi\x8in\x8ng\x8g_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r·(char·const*·buf)·noexcept; | 72 | ···void·s\x8sw\x8wi\x8it\x8tc\x8ch\x8h_\x8_u\x8un\x8nd\x8de\x8er\x8rl\x8ly\x8yi\x8in\x8ng\x8g_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r·(char·const*·buf)·noexcept; |
73 | ···bool·h\x8ha\x8as\x8s_\x8_s\x8so\x8of\x8ft\x8t_\x8_e\x8er\x8rr\x8ro\x8or\x8r·(span<char>·error)·const; | 73 | ···bool·h\x8ha\x8as\x8s_\x8_s\x8so\x8of\x8ft\x8t_\x8_e\x8er\x8rr\x8ro\x8or\x8r·(span<char>·error)·const; |
74 | ···enum·type_t | 74 | ···enum·type_t |
Offset 83, 18 lines modified | Offset 83, 18 lines modified | ||
83 | }; | 83 | }; |
84 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 84 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
85 | *\x8**\x8**\x8**\x8**\x8*·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 85 | *\x8**\x8**\x8**\x8**\x8*·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
86 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·()·=·default; | 86 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·()·=·default; |
87 | creates·a·default·constructed·node,·it·will·have·the·type·none_t. | 87 | creates·a·default·constructed·node,·it·will·have·the·type·none_t. |
88 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 88 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
89 | *\x8**\x8**\x8**\x8**\x8*·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*·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* |
90 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&); | ||
91 | bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; | ||
92 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept; | 90 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept; |
93 | bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default; | 91 | bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default; |
92 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&); | ||
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 103, 50 lines modified | Offset 103, 50 lines modified | ||
103 | returns·true·if·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8)·!=·none_t. | 103 | returns·true·if·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8)·!=·none_t. |
104 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 104 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
105 | *\x8**\x8**\x8**\x8**\x8*·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 105 | *\x8**\x8**\x8**\x8**\x8*·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
106 | bdecode_node·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g·()·const; | 106 | bdecode_node·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g·()·const; |
107 | return·a·non-owning·reference·to·this·node.·This·is·useful·to·refer·to·the·root | 107 | return·a·non-owning·reference·to·this·node.·This·is·useful·to·refer·to·the·root |
108 | node·without·copying·it·in·assignments. | 108 | node·without·copying·it·in·assignments. |
109 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 109 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
110 | *\x8**\x8**\x8**\x8**\x8*·d\x8da\x8at\x8ta\x8a_\x8_ | 110 | *\x8**\x8**\x8**\x8**\x8*·d\x8da\x8at\x8ta\x8a_\x8_s.se.ec.ct.ti.io.on.n(.().)·d.da.at.ta.a_._o.of.ff.fs.se.et.t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
111 | std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept; | 111 | std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept; |
112 | span<char·const>·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const·noexcept; | 112 | span<char·const>·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const·noexcept; |
113 | returns·the·buffer·and·length·of·the·section·in·the·original·bencoded·buffer | 113 | returns·the·buffer·and·length·of·the·section·in·the·original·bencoded·buffer |
114 | where·this·node·is·defined.·For·a·dictionary·for·instance,·this·starts·with·d | 114 | where·this·node·is·defined.·For·a·dictionary·for·instance,·this·starts·with·d |
115 | and·ends·with·e,·and·has·all·the·content·of·the·dictionary·in·between.·the | 115 | and·ends·with·e,·and·has·all·the·content·of·the·dictionary·in·between.·the |
116 | data_offset()·function·returns·the·byte-offset·to·this·node·in,·starting·from | 116 | data_offset()·function·returns·the·byte-offset·to·this·node·in,·starting·from |
117 | the·beginning·of·the·buffer·that·was·parsed. | 117 | the·beginning·of·the·buffer·that·was·parsed. |
118 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 118 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
119 | *\x8**\x8**\x8**\x8**\x8*·l\x8li\x8is\x8st\x8t_\x8_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* | ||
119 | *\x8**\x8**\x8**\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)·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t(\x8()\x8)·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
120 | int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | ||
121 | std::int64_t·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i | 120 | std::int64_t·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i |
122 | ······,·std::int64_t·default_val·=·0)·const; | 121 | ······,·std::int64_t·default_val·=·0)·const; |
122 | bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const; | ||
123 | string_view·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i | 123 | string_view·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i |
124 | ······,·string_view·default_val·=·string_view())·const; | 124 | ······,·string_view·default_val·=·string_view())·const; |
125 | 125 | int·l.li.is.st.t_._s.si.iz.ze.e·()·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; 5821/15488 bytes (37.58%) 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="#integer-list-string- | 41 | <li><a·class="reference·internal"·href="#integer-list-string-preformatted-dict"·id="toc-entry-7">integer()·list()·string()·preformatted()·dict()</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, 43 lines modified | Offset 70, 43 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>·(span<char·const>); | 76 | ···<strong>entry</strong>·(span<char·const>); |
77 | ···<strong>entry</strong>·( | 77 | ···<strong>entry</strong>·(integer_type); |
78 | ···<strong>entry</strong>·(preformatted_type); | 78 | ···<strong>entry</strong>·(preformatted_type); |
79 | ···<strong>entry</strong>·(dictionary_type); | 79 | ···<strong>entry</strong>·(dictionary_type); |
80 | ···<strong>entry</strong>·(i | 80 | ···<strong>entry</strong>·(list_type); |
81 | ···<strong>entry</strong>·(U·v); | 81 | ···<strong>entry</strong>·(U·v); |
82 | ···<strong>entry</strong>·(data_type·t); | 82 | ···<strong>entry</strong>·(data_type·t); |
83 | ···<strong>entry</strong>·(bdecode_node·const&·n); | 83 | ···<strong>entry</strong>·(bdecode_node·const&·n); |
84 | ···entry&·<strong>operator=</strong>·(entry&&)·&·noexcept; | ||
85 | ···entry&·<strong>operator=</strong>·( | 84 | ···entry&·<strong>operator=</strong>·(entry·const&)·&; |
86 | ···entry&·<strong>operator=</strong>·(list_type)·&; | 85 | ···entry&·<strong>operator=</strong>·(list_type)·&; |
87 | ···entry&·<strong>operator=</strong>·( | 86 | ···entry&·<strong>operator=</strong>·(entry&&)·&·noexcept; |
88 | ···entry&·<strong>operator=</strong>·(preformatted_type)·&; | 87 | ···entry&·<strong>operator=</strong>·(preformatted_type)·&; |
89 | ···entry&·<strong>operator=</strong>·( | 88 | ···entry&·<strong>operator=</strong>·(dictionary_type)·&; |
90 | ···entry&·<strong>operator=</strong>·(integer_type)·&; | 89 | ···entry&·<strong>operator=</strong>·(integer_type)·&; |
91 | ···entry&·<strong>operator=</strong>·(span<char·const>)·&; | 90 | ···entry&·<strong>operator=</strong>·(span<char·const>)·&; |
91 | ···entry&·<strong>operator=</strong>·(bdecode_node·const&)·&; | ||
92 | ···entry&·<strong>operator=</strong>·(U·v)·&; | 92 | ···entry&·<strong>operator=</strong>·(U·v)·&; |
93 | ···preformatted_type·const&·<strong>preformatted</strong>·()·const; | ||
94 | ···list_type&·<strong>list</strong>·(); | ||
95 | ···list_type·const&·<strong>list</strong>·()·const; | ||
96 | ···preformatted_type&·<strong>preformatted</strong>·(); | ||
97 | ···integer_type&·<strong>integer</strong>·(); | 93 | ···integer_type·const&·<strong>integer</strong>·()·const; |
98 | ···dictionary_type·const&·<strong>dict</strong>·()·const; | 94 | ···dictionary_type·const&·<strong>dict</strong>·()·const; |
95 | ···integer_type&·<strong>integer</strong>·(); | ||
99 | ···string_type·const&·<strong>string</strong>·()·const; | 96 | ···string_type·const&·<strong>string</strong>·()·const; |
100 | ···dictionary_type&·<strong>dict</strong>·(); | ||
101 | ···string_type&·<strong>string</strong>·(); | 97 | ···string_type&·<strong>string</strong>·(); |
98 | ···preformatted_type&·<strong>preformatted</strong>·(); | ||
99 | ···list_type&·<strong>list</strong>·(); | ||
102 | ···i | 100 | ···list_type·const&·<strong>list</strong>·()·const; |
101 | ···dictionary_type&·<strong>dict</strong>·(); | ||
102 | ···preformatted_type·const&·<strong>preformatted</strong>·()·const; | ||
103 | ···void·<strong>swap</strong>·(entry&·e); | 103 | ···void·<strong>swap</strong>·(entry&·e); |
104 | ···entry·const&·<strong>operator[]</strong>·(string_view·key)·const; | ||
105 | ···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; | ||
106 | ···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; | 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, |
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>·(span<char·const>); | 131 | <strong>entry</strong>·(span<char·const>); |
132 | <strong>entry</strong>·( | 132 | <strong>entry</strong>·(integer_type); |
133 | <strong>entry</strong>·(preformatted_type); | 133 | <strong>entry</strong>·(preformatted_type); |
134 | <strong>entry</strong>·(dictionary_type); | 134 | <strong>entry</strong>·(dictionary_type); |
135 | <strong>entry</strong>·(i | 135 | <strong>entry</strong>·(list_type); |
136 | </pre> | 136 | </pre> |
137 | <p>constructors·directly·from·a·specific·type. | 137 | <p>constructors·directly·from·a·specific·type. |
138 | The·content·of·the·argument·is·copied·into·the | 138 | The·content·of·the·argument·is·copied·into·the |
139 | newly·constructed·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a></p> | 139 | newly·constructed·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a></p> |
140 | <a·name="entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Bentry%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Bentry%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 140 | <a·name="entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Bentry%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Bentry%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
141 | <div·class="section"·id="entry-2"> | 141 | <div·class="section"·id="entry-2"> |
142 | <h2>entry()</h2> | 142 | <h2>entry()</h2> |
Offset 152, 43 lines modified | Offset 152, 43 lines modified | ||
152 | <strong>entry</strong>·(bdecode_node·const&·n); | 152 | <strong>entry</strong>·(bdecode_node·const&·n); |
153 | </pre> | 153 | </pre> |
154 | <p>construct·from·<a·class="reference·external"·href="reference-Bdecoding.html#bdecode_node">bdecode_node</a>·parsed·form·(see·<a·class="reference·external"·href="reference-Bdecoding.html#bdecode()">bdecode()</a>)</p> | 154 | <p>construct·from·<a·class="reference·external"·href="reference-Bdecoding.html#bdecode_node">bdecode_node</a>·parsed·form·(see·<a·class="reference·external"·href="reference-Bdecoding.html#bdecode()">bdecode()</a>)</p> |
155 | <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Boperator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Boperator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 155 | <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Boperator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Boperator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
156 | <div·class="section"·id="operator"> | 156 | <div·class="section"·id="operator"> |
157 | <h2>operator=()</h2> | 157 | <h2>operator=()</h2> |
158 | <pre·class="literal-block"> | 158 | <pre·class="literal-block"> |
159 | entry&·<strong>operator=</strong>·(entry&&)·&·noexcept; | ||
160 | entry&·<strong>operator=</strong>·( | 159 | entry&·<strong>operator=</strong>·(entry·const&)·&; |
161 | entry&·<strong>operator=</strong>·(list_type)·&; | 160 | entry&·<strong>operator=</strong>·(list_type)·&; |
162 | entry&·<strong>operator=</strong>·( | 161 | entry&·<strong>operator=</strong>·(entry&&)·&·noexcept; |
163 | entry&·<strong>operator=</strong>·(preformatted_type)·&; | 162 | entry&·<strong>operator=</strong>·(preformatted_type)·&; |
164 | entry&·<strong>operator=</strong>·( | 163 | entry&·<strong>operator=</strong>·(dictionary_type)·&; |
165 | entry&·<strong>operator=</strong>·(integer_type)·&; | 164 | entry&·<strong>operator=</strong>·(integer_type)·&; |
166 | entry&·<strong>operator=</strong>·(span<char·const>)·&; | 165 | entry&·<strong>operator=</strong>·(span<char·const>)·&; |
166 | entry&·<strong>operator=</strong>·(bdecode_node·const&)·&; | ||
167 | </pre> | 167 | </pre> |
168 | <p>copies·the·structure·of·the·right·hand·side·into·this | 168 | <p>copies·the·structure·of·the·right·hand·side·into·this |
169 | <a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>.</p> | 169 | <a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>.</p> |
170 | <a·name="integer()"></a> | 170 | <a·name="integer()"></a> |
171 | <a·name="list()"></a> | 171 | <a·name="list()"></a> |
172 | <a·name="string()"></a> | 172 | <a·name="string()"></a> |
173 | <a·name=" | 173 | <a·name="preformatted()"></a> |
174 | <a·name=" | 174 | <a·name="dict()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Binteger%28%29+list%28%29+string%28%29+preformatted%28%29+dict%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3[·...·truncated·by·diffoscope;·len:·68,·SHA:·5cbe028d87b14c06c08503ae94e37d4b2ab46991695558cd10f9705ffbc216e3·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
175 | <div·class="section"·id="integer-list-string- | 175 | <div·class="section"·id="integer-list-string-preformatted-dict"> |
176 | <h2>integer()·list()·string()· | 176 | <h2>integer()·list()·string()·preformatted()·dict()</h2> |
177 | <pre·class="literal-block"> | 177 | <pre·class="literal-block"> |
178 | preformatted_type·const&·<strong>preformatted</strong>·()·const; | ||
179 | list_type&·<strong>list</strong>·(); | ||
180 | list_type·const&·<strong>list</strong>·()·const; | ||
181 | preformatted_type&·<strong>preformatted</strong>·(); | ||
182 | integer_type&·<strong>integer</strong>·(); | 178 | integer_type·const&·<strong>integer</strong>·()·const; |
183 | dictionary_type·const&·<strong>dict</strong>·()·const; | 179 | dictionary_type·const&·<strong>dict</strong>·()·const; |
180 | integer_type&·<strong>integer</strong>·(); | ||
184 | string_type·const&·<strong>string</strong>·()·const; | 181 | string_type·const&·<strong>string</strong>·()·const; |
185 | dictionary_type&·<strong>dict</strong>·(); | ||
186 | string_type&·<strong>string</strong>·(); | 182 | string_type&·<strong>string</strong>·(); |
183 | preformatted_type&·<strong>preformatted</strong>·(); | ||
184 | list_type&·<strong>list</strong>·(); | ||
187 | i | 185 | list_type·const&·<strong>list</strong>·()·const; |
186 | dictionary_type&·<strong>dict</strong>·(); | ||
Max diff block lines reached; 1852/11397 bytes (16.25%) 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·_\x8i_\x8n_\x8t_\x8e_\x8g_\x8e_\x8r_\x8(_\x8)_\x8·_\x8l_\x8i_\x8s_\x8t_\x8(_\x8)_\x8·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8(_\x8)_\x8·_\x8 | 12 | ··········o·_\x8i_\x8n_\x8t_\x8e_\x8g_\x8e_\x8r_\x8(_\x8)_\x8·_\x8l_\x8i_\x8s_\x8t_\x8(_\x8)_\x8·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8(_\x8)_\x8·_\x8p_.r_.e_.f_.o_.r_.m_.a_.t_.t_.e_.d_.(_.)_.·_.d_.i_.c_.t_\x8(_\x8) |
13 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) | 13 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) |
14 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8) | 14 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8) |
15 | ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8k_\x8e_\x8y_\x8(_\x8) | 15 | ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8k_\x8e_\x8y_\x8(_\x8) |
16 | ··········o·_\x8t_\x8o_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8(_\x8) | 16 | ··········o·_\x8t_\x8o_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8(_\x8) |
17 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8y_\x8p_\x8e | 17 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8y_\x8p_\x8e |
18 | ····*·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8(_\x8) | 18 | ····*·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8(_\x8) |
19 | ····*·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<_\x8(_\x8) | 19 | ····*·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<_\x8(_\x8) |
Offset 36, 43 lines modified | Offset 36, 43 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·(span<char·const>); | 42 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>); |
43 | ···e\x8en\x8nt\x8tr\x8ry\x8y·( | 43 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type); |
44 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type); | 44 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type); |
45 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); | 45 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); |
46 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(i | 46 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(list_type); |
47 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(U·v); | 47 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(U·v); |
48 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(data_type·t); | 48 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(data_type·t); |
49 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(bdecode_node·const&·n); | 49 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(bdecode_node·const&·n); |
50 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept; | ||
51 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·( | 50 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·const&)·&; |
52 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&; | 51 | ···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=·( | 52 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept; |
54 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&; | 53 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&; |
55 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·( | 54 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&; |
56 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&; | 55 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&; |
57 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&; | 56 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&; |
57 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; | ||
58 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(U·v)·&; | 58 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(U·v)·&; |
59 | ···preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const; | ||
60 | ···list_type&·l\x8li\x8is\x8st\x8t·(); | ||
61 | ···list_type·const&·l\x8li\x8is\x8st\x8t·()·const; | ||
62 | ···preformatted_type&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·(); | ||
63 | ···integer_type&·i.in.nt.te.eg.ge.er.r·(); | 59 | ···integer_type·const&·i.in.nt.te.eg.ge.er.r·()·const; |
64 | ···dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; | 60 | ···dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; |
61 | ···integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·(); | ||
65 | ···string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const; | 62 | ···string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const; |
66 | ···dictionary_type&·d\x8di\x8ic\x8ct\x8t·(); | ||
67 | ···string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(); | 63 | ···string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(); |
68 | ··· | 64 | ···preformatted_type&·p.pr.re.ef.fo.or.rm.ma.at.tt.te.ed.d·(); |
65 | ···list_type&·l\x8li\x8is\x8st\x8t·(); | ||
66 | ···list_type·const&·l\x8li\x8is\x8st\x8t·()·const; | ||
67 | ···dictionary_type&·d\x8di\x8ic\x8ct\x8t·(); | ||
68 | ···preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const; | ||
69 | ···void·s\x8sw\x8wa\x8ap\x8p·(entry&·e); | 69 | ···void·s\x8sw\x8wa\x8ap\x8p·(entry&·e); |
70 | ···entry·const&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(string_view·key)·const; | ||
71 | ···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; | ||
72 | ···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; | 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, |
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·(span<char·const>); | 92 | e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>); |
93 | e\x8en\x8nt\x8tr\x8ry\x8y·( | 93 | e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type); |
94 | e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type); | 94 | e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type); |
95 | e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); | 95 | e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); |
96 | e\x8en\x8nt\x8tr\x8ry\x8y·(i | 96 | e\x8en\x8nt\x8tr\x8ry\x8y·(list_type); |
97 | constructors·directly·from·a·specific·type.·The·content·of·the·argument·is | 97 | constructors·directly·from·a·specific·type.·The·content·of·the·argument·is |
98 | copied·into·the·newly·constructed·_\x8e_\x8n_\x8t_\x8r_\x8y | 98 | copied·into·the·newly·constructed·_\x8e_\x8n_\x8t_\x8r_\x8y |
99 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 99 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
100 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 100 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
101 | e\x8en\x8nt\x8tr\x8ry\x8y·(data_type·t); | 101 | e\x8en\x8nt\x8tr\x8ry\x8y·(data_type·t); |
102 | construct·an·empty·_\x8e_\x8n_\x8t_\x8r_\x8y·of·the·specified·type.·see·_\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8y_\x8p_\x8e·enum. | 102 | construct·an·empty·_\x8e_\x8n_\x8t_\x8r_\x8y·of·the·specified·type.·see·_\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8y_\x8p_\x8e·enum. |
103 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 103 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
104 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 104 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
105 | e\x8en\x8nt\x8tr\x8ry\x8y·(bdecode_node·const&·n); | 105 | e\x8en\x8nt\x8tr\x8ry\x8y·(bdecode_node·const&·n); |
106 | construct·from·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e·parsed·form·(see·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8(_\x8)) | 106 | construct·from·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e·parsed·form·(see·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8(_\x8)) |
107 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 107 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
108 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 108 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
109 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept; | ||
110 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·( | 109 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·const&)·&; |
111 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&; | 110 | 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=·( | 111 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept; |
113 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&; | 112 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&; |
114 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·( | 113 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&; |
115 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&; | 114 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&; |
116 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&; | 115 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&; |
116 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; | ||
117 | copies·the·structure·of·the·right·hand·side·into·this·_\x8e_\x8n_\x8t_\x8r_\x8y. | 117 | copies·the·structure·of·the·right·hand·side·into·this·_\x8e_\x8n_\x8t_\x8r_\x8y. |
118 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 118 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
119 | *\x8**\x8**\x8**\x8**\x8*·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r(\x8()\x8)·l\x8li\x8is\x8st\x8t(\x8()\x8)·s\x8st\x8tr\x8ri\x8in\x8ng\x8g(\x8()\x8)· | 119 | *\x8**\x8**\x8**\x8**\x8*·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r(\x8()\x8)·l\x8li\x8is\x8st\x8t(\x8()\x8)·s\x8st\x8tr\x8ri\x8in\x8ng\x8g(\x8()\x8)·p.pr.re.ef.fo.or.rm.ma.at.tt.te.ed.d(.().)·d.di.ic.ct.t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
120 | preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const; | ||
121 | list_type&·l\x8li\x8is\x8st\x8t·(); | ||
122 | list_type·const&·l\x8li\x8is\x8st\x8t·()·const; | ||
123 | preformatted_type&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·(); | ||
124 | integer_type&·i.in.nt.te.eg.ge.er.r·(); | 120 | integer_type·const&·i.in.nt.te.eg.ge.er.r·()·const; |
125 | dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; | 121 | dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; |
122 | integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·(); | ||
126 | string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const; | 123 | string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const; |
127 | dictionary_type&·d\x8di\x8ic\x8ct\x8t·(); | ||
128 | string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(); | 124 | string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(); |
129 | 125 | preformatted_type&·p.pr.re.ef.fo.or.rm.ma.at.tt.te.ed.d·(); | |
126 | list_type&·l\x8li\x8is\x8st\x8t·(); | ||
127 | list_type·const&·l\x8li\x8is\x8st\x8t·()·const; | ||
128 | dictionary_type&·d\x8di\x8ic\x8ct\x8t·(); | ||
129 | preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const; | ||
130 | The·integer(),·string(),·list()·and·dict()·functions·are·accessors·that·return | 130 | The·integer(),·string(),·list()·and·dict()·functions·are·accessors·that·return |
131 | the·respective·type.·If·the·entry·object·isn't·of·the·type·you·request,·the | 131 | the·respective·type.·If·the·entry·object·isn't·of·the·type·you·request,·the |
132 | accessor·will·throw·system_error.·You·can·ask·an·entry·for·its·type·through·the | 132 | accessor·will·throw·system_error.·You·can·ask·an·entry·for·its·type·through·the |
133 | type()·function. | 133 | type()·function. |
134 | If·you·want·to·create·an·entry·you·give·it·the·type·you·want·it·to·have·in·its | 134 | If·you·want·to·create·an·entry·you·give·it·the·type·you·want·it·to·have·in·its |
135 | constructor,·and·then·use·one·of·the·non-const·accessors·to·get·a·reference | 135 | constructor,·and·then·use·one·of·the·non-const·accessors·to·get·a·reference |
136 | which·you·then·can·assign·the·value·you·want·it·to·have. | 136 | which·you·then·can·assign·the·value·you·want·it·to·have. |
Offset 161, 16 lines modified | Offset 161, 16 lines modified | ||
161 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·exists. | 161 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·exists. |
162 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 162 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
Max diff block lines reached; 871/8215 bytes (10.60%) of diff not shown. |
Offset 28, 52 lines modified | Offset 28, 88 lines modified | ||
28 | <td>2.0.10</td></tr> | 28 | <td>2.0.10</td></tr> |
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="#p | 35 | <li><a·class="reference·internal"·href="#peer-request"·id="toc-entry-1">peer_request</a><ul> |
36 | <li><a·class="reference·internal"·href="#info-hash-t"·id="toc-entry-2">info_hash_t</a><ul> | ||
37 | <li><a·class="reference·internal"·href="#info-hash-t-1"·id="toc-entry-3">info_hash_t()</a></li> | ||
38 | <li><a·class="reference·internal"·href="#has-v2-has-has-v1"·id="toc-entry-4">has_v2()·has()·has_v1()</a></li> | ||
39 | <li><a·class="reference·internal"·href="# | 36 | <li><a·class="reference·internal"·href="#operator"·id="toc-entry-2">operator==()</a></li> |
40 | <li><a·class="reference·internal"·href="#get-best"·id="toc-entry-6">get_best()</a></li> | ||
41 | <li><a·class="reference·internal"·href="#for-each"·id="toc-entry-7">for_each()</a></li> | ||
42 | </ul> | 37 | </ul> |
43 | </li> | 38 | </li> |
39 | <li><a·class="reference·internal"·href="#piece-block"·id="toc-entry-3">piece_block</a></li> | ||
44 | <li><a·class="reference·internal"·href="#peer-info"·id="toc-entry- | 40 | <li><a·class="reference·internal"·href="#peer-info"·id="toc-entry-4">peer_info</a><ul> |
45 | <li><a·class="reference·internal"·href="#i2p-destination"·id="toc-entry- | 41 | <li><a·class="reference·internal"·href="#i2p-destination"·id="toc-entry-5">i2p_destination()</a></li> |
46 | </ul> | 42 | </ul> |
47 | </li> | 43 | </li> |
48 | <li><a·class="reference·internal"·href="# | 44 | <li><a·class="reference·internal"·href="#info-hash-t"·id="toc-entry-6">info_hash_t</a><ul> |
45 | <li><a·class="reference·internal"·href="#info-hash-t-1"·id="toc-entry-7">info_hash_t()</a></li> | ||
46 | <li><a·class="reference·internal"·href="#has-v1-has-v2-has"·id="toc-entry-8">has_v1()·has_v2()·has()</a></li> | ||
49 | <li><a·class="reference·internal"·href="# | 47 | <li><a·class="reference·internal"·href="#get"·id="toc-entry-9">get()</a></li> |
48 | <li><a·class="reference·internal"·href="#get-best"·id="toc-entry-10">get_best()</a></li> | ||
49 | <li><a·class="reference·internal"·href="#for-each"·id="toc-entry-11">for_each()</a></li> | ||
50 | </ul> | 50 | </ul> |
51 | </li> | 51 | </li> |
52 | <li><a·class="reference·internal"·href="#load-torrent-file-load-torrent-parsed-load-torrent-buffer"·id="toc-entry-12">load_torrent_file()·load_torrent_parsed()·load_torrent_buffer()</a></li> | ||
53 | <li><a·class="reference·internal"·href="#truncate-files"·id="toc-entry-13">truncate_files()</a></li> | ||
54 | <li><a·class="reference·internal"·href="#make-magnet-uri"·id="toc-entry-14">make_magnet_uri()</a></li> | ||
55 | <li><a·class="reference·internal"·href="#parse-magnet-uri"·id="toc-entry-15">parse_magnet_uri()</a></li> | ||
52 | <li><a·class="reference·internal"·href="#torrent-peer-equal"·id="toc-entry-1 | 56 | <li><a·class="reference·internal"·href="#torrent-peer-equal"·id="toc-entry-16">torrent_peer_equal()</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> | ||
55 | <li><a·class="reference·internal"·href="#truncate-files"·id="toc-entry-15">truncate_files()</a></li> | ||
56 | <li><a·class="reference·internal"·href="#version"·id="toc-entry-1 | 57 | <li><a·class="reference·internal"·href="#version"·id="toc-entry-17">version()</a></li> |
57 | <li><a·class="reference·internal"·href="#load-torrent-buffer-load-torrent-file-load-torrent-parsed"·id="toc-entry-17">load_torrent_buffer()·load_torrent_file()·load_torrent_parsed()</a></li> | ||
58 | <li><a·class="reference·internal"·href="#enum-protocol-version"·id="toc-entry-18">enum·protocol_version</a></li> | ||
59 | <li><a·class="reference·internal"·href="#enum- | 58 | <li><a·class="reference·internal"·href="#enum-event-t"·id="toc-entry-18">enum·event_t</a></li> |
60 | <li><a·class="reference·internal"·href="#enum-portmap-transport"·id="toc-entry- | 59 | <li><a·class="reference·internal"·href="#enum-portmap-transport"·id="toc-entry-19">enum·portmap_transport</a></li> |
61 | <li><a·class="reference·internal"·href="#enum-portmap-protocol"·id="toc-entry-2 | 60 | <li><a·class="reference·internal"·href="#enum-portmap-protocol"·id="toc-entry-20">enum·portmap_protocol</a></li> |
61 | <li><a·class="reference·internal"·href="#enum-protocol-version"·id="toc-entry-21">enum·protocol_version</a></li> | ||
62 | <li><a·class="reference·internal"·href="#enum- | 62 | <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-22">enum·socket_type_t</a></li> |
63 | <li><a·class="reference·internal"·href="#enum-connection-type"·id="toc-entry-23">enum·connection_type</a></li> | 63 | <li><a·class="reference·internal"·href="#enum-connection-type"·id="toc-entry-23">enum·connection_type</a></li> |
64 | <li><a·class="reference·internal"·href="#torrent-flags-t"·id="toc-entry-24">torrent_flags_t</a></li> | 64 | <li><a·class="reference·internal"·href="#torrent-flags-t"·id="toc-entry-24">torrent_flags_t</a></li> |
65 | <li><a·class="reference·internal"·href="#int"·id="toc-entry-25">int</a></li> | ||
65 | <li><a·class="reference·internal"·href="#pex-flags-t"·id="toc-entry-2 | 66 | <li><a·class="reference·internal"·href="#pex-flags-t"·id="toc-entry-26">pex_flags_t</a></li> |
67 | <li><a·class="reference·internal"·href="#char-const"·id="toc-entry-27">char·const*</a></li> | ||
68 | <li><a·class="reference·internal"·href="#std-uint64-t"·id="toc-entry-28">std::uint64_t</a></li> | ||
66 | <li><a·class="reference·internal"·href="#download-priority-t"·id="toc-entry-2 | 69 | <li><a·class="reference·internal"·href="#download-priority-t"·id="toc-entry-29">download_priority_t</a></li> |
67 | <li><a·class="reference·internal"·href="#int"·id="toc-entry-27">int</a></li> | ||
68 | <li><a·class="reference·internal"·href="#char-const"·id="toc-entry-28">char·const*</a></li> | ||
69 | <li><a·class="reference·internal"·href="#std-uint64-t"·id="toc-entry-29">std::uint64_t</a></li> | ||
70 | </ul> | 70 | </ul> |
71 | </div> | 71 | </div> |
72 | <a·name="peer_request"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+peer_request&labels=documentation&body=Documentation+under+heading+%22class+peer_request%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="peer-request"> | ||
73 | <h1>peer_request</h1> | ||
74 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/peer_request.hpp">libtorrent/peer_request.hpp</a>"</p> | ||
75 | <p>represents·a·byte·range·within·a·piece.·Internally·this·is·is·used·for | ||
76 | incoming·piece·requests.</p> | ||
77 | <pre·class="literal-block"> | ||
78 | struct·peer_request | ||
79 | { | ||
80 | ···bool·<strong>operator==</strong>·(peer_request·const&·r)·const; | ||
81 | ···piece_index_t·piece; | ||
82 | ···int·start; | ||
83 | ···int·length; | ||
84 | }; | ||
85 | </pre> | ||
86 | <a·name="operator==()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_request%3A%3A%5Boperator%3D%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_request%3A%3A%5Boperator%3D%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="operator"> | ||
87 | <h2>operator==()</h2> | ||
88 | <pre·class="literal-block"> | ||
89 | bool·<strong>operator==</strong>·(peer_request·const&·r)·const; | ||
90 | </pre> | ||
91 | <p>returns·true·if·the·right·hand·side·<a·class="reference·external"·href="reference-Core.html#peer_request">peer_request</a>·refers·to·the·same | ||
92 | range·as·this·does.</p> | ||
93 | <a·name="piece"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_request%3A%3A%5Bpiece%5D&labels=documentation&body=Documentation+under+heading+%22peer_request%3A%3A%5Bpiece%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | ||
94 | <dt>piece</dt> | ||
95 | <dd>The·index·of·the·piece·in·which·the·range·starts.</dd> | ||
96 | </dl> | ||
97 | <a·name="start"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_request%3A%3A%5Bstart%5D&labels=documentation&body=Documentation+under+heading+%22peer_request%3A%3A%5Bstart%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | ||
98 | <dt>start</dt> | ||
99 | <dd>The·byte·offset·within·that·piece·where·the·range·starts.</dd> | ||
100 | </dl> | ||
101 | <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"> | ||
102 | <dt>length</dt> | ||
103 | <dd>The·size·of·the·range,·in·bytes.</dd> | ||
104 | </dl> | ||
72 | <a·name="piece_block"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+piece_block&labels=documentation&body=Documentation+under+heading+%22class+piece_block%22+could+be+improved">report·issue</a>]</span>< | 105 | <a·name="piece_block"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+piece_block&labels=documentation&body=Documentation+under+heading+%22class+piece_block%22+could+be+improved">report·issue</a>]</span></div> |
106 | </div> | ||
107 | <div·class="section"·id="piece-block"> | ||
73 | <h1>piece_block</h1> | 108 | <h1>piece_block</h1> |
74 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/piece_block.hpp">libtorrent/piece_block.hpp</a>"</p> | 109 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/piece_block.hpp">libtorrent/piece_block.hpp</a>"</p> |
75 | <pre·class="literal-block"> | 110 | <pre·class="literal-block"> |
76 | struct·piece_block | 111 | struct·piece_block |
77 | { | 112 | { |
78 | ···<strong>piece_block</strong>·(piece_index_t·p_index,·int·b_index); | 113 | ···<strong>piece_block</strong>·(piece_index_t·p_index,·int·b_index); |
79 | ···<strong>piece_block</strong>·()·=·default; | 114 | ···<strong>piece_block</strong>·()·=·default; |
Offset 82, 100 lines modified | Offset 118, 15 lines modified | ||
82 | ···bool·<strong>operator!=</strong>·(piece_block·const&·b)·const; | 118 | ···bool·<strong>operator!=</strong>·(piece_block·const&·b)·const; |
83 | ···static·const·piece_block·invalid; | 119 | ···static·const·piece_block·invalid; |
84 | ···piece_index_t·piece_index·{0}; | 120 | ···piece_index_t·piece_index·{0}; |
85 | ···int·<strong>block_index</strong>··=·0; | 121 | ···int·<strong>block_index</strong>··=·0; |
86 | }; | 122 | }; |
87 | </pre> | 123 | </pre> |
88 | <a·name="info_hash_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+info_hash_t&labels=documentation&body=Documentation+under+heading+%22class+info_hash_t%22+could+be+improved">report·issue</a>]</span></div> | ||
89 | <div·class="section"·id="info-hash-t"> | ||
90 | <h1>info_hash_t</h1> | ||
91 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/info_hash.hpp">libtorrent/info_hash.hpp</a>"</p> | ||
92 | <p>class·holding·the·info-hash·of·a·torrent.·It·can·hold·a·v1·info-hash | ||
93 | (SHA-1)·or·a·v2·info-hash·(SHA-256)·or·both.</p> | ||
94 | <div·class="admonition·note"> | ||
95 | <p·class="first·admonition-title">Note</p> | ||
96 | <p·class="last">If·<tt·class="docutils·literal">has_v2()</tt>·is·false·then·the·v1·hash·might·actually·be·a·truncated | ||
97 | v2·hash</p> | ||
98 | </div> | ||
99 | <pre·class="literal-block"> | ||
100 | struct·info_hash_t | ||
101 | { | ||
102 | ···<strong>info_hash_t</strong>·()·noexcept·=·default; | ||
103 | ···explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept; | ||
104 | ···<strong>info_hash_t</strong>·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
105 | ···explicit·<strong>info_hash_t</strong>·(sha256_hash·h2)·noexcept; | ||
Max diff block lines reached; 33254/48626 bytes (68.39%) of diff not shown. |
Offset 1, 41 lines modified | Offset 1, 68 lines modified | ||
1 | > | 1 | > |
2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] | 2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] |
3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 | 3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 |
4 | _\x8h_\x8o_\x8m_\x8e | 4 | _\x8h_\x8o_\x8m_\x8e |
5 | Table·of·contents | 5 | Table·of·contents |
6 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t | ||
7 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) | ||
6 | ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k | 8 | ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k |
9 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o | ||
10 | ··········o·_\x8i_\x82_\x8p_\x8__\x8d_\x8e_\x8s_\x8t_\x8i_\x8n_\x8a_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) | ||
7 | ····*·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t | 11 | ····*·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t |
8 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t_\x8(_\x8) | 12 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t_\x8(_\x8) |
9 | ··········o·_\x8h_\x8a_\x8s_\x8__\x8v_\x8 | 13 | ··········o·_\x8h_\x8a_\x8s_\x8__\x8v_\x81_.(_.)_.·_.h_.a_.s_.__.v_.2_.(_.)_.·_.h_.a_.s_\x8(_\x8) |
10 | ··········o·_\x8g_\x8e_\x8t_\x8(_\x8) | 14 | ··········o·_\x8g_\x8e_\x8t_\x8(_\x8) |
11 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8e_\x8s_\x8t_\x8(_\x8) | 15 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8e_\x8s_\x8t_\x8(_\x8) |
12 | ··········o·_\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8(_\x8) | 16 | ··········o·_\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8(_\x8) |
17 | ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)_\x8·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8s_\x8e_\x8d_\x8(_\x8)_\x8·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8) | ||
18 | ····*·_\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | ||
13 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o | ||
14 | ··········o·_\x8i_\x82_\x8p_\x8__\x8d_\x8e_\x8s_\x8t_\x8i_\x8n_\x8a_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) | ||
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) | ||
17 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) | ||
18 | ····*·_\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | 19 | ····*·_\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) | 20 | ····*·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) |
20 | ····*·_\x8t_\x8r_. | 21 | ····*·_\x8t_\x8o_.r_.r_.e_.n_.t_.__.p_.e_.e_.r_.__.e_.q_.u_.a_.l_\x8(_\x8) |
21 | ····*·_\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·_\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8t | ||
22 | ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8)_\x8·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)_\x8·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8s_\x8e_\x8d_\x8(_\x8) | ||
23 | ····*·_\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·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | ||
25 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t | 24 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t |
26 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l | 25 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l |
27 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8 | 26 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_.r_.o_.t_.o_.c_.o_.l_.__.v_.e_.r_.s_.i_.o_.n |
27 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | ||
28 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8y_\x8p_\x8e | 28 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8y_\x8p_\x8e |
29 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t | 29 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t |
30 | ····*·_\x8p_\x8e_\x8x_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t | ||
31 | ····*·_\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t | ||
32 | ····*·_\x8i_\x8n_\x8t | 30 | ····*·_\x8i_\x8n_\x8t |
31 | ····*·_\x8p_\x8e_\x8x_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t | ||
33 | ····*·_\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8* | 32 | ····*·_\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8* |
34 | ····*·_\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t | 33 | ····*·_\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t |
34 | ····*·_\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t | ||
35 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
36 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
37 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8._\x8h_\x8p_\x8p" | ||
38 | represents·a·byte·range·within·a·piece.·Internally·this·is·is·used·for·incoming | ||
39 | piece·requests. | ||
40 | struct·peer_request | ||
41 | { | ||
42 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(peer_request·const&·r)·const; | ||
43 | ···piece_index_t·piece; | ||
44 | ···int·start; | ||
45 | ···int·length; | ||
46 | }; | ||
47 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
48 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
49 | bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(peer_request·const&·r)·const; | ||
50 | returns·true·if·the·right·hand·side·_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t·refers·to·the·same·range·as | ||
51 | this·does. | ||
52 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
53 | ··piece | ||
54 | ······The·index·of·the·piece·in·which·the·range·starts. | ||
55 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
56 | ··start | ||
57 | ······The·byte·offset·within·that·piece·where·the·range·starts. | ||
58 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
59 | ··length | ||
60 | ······The·size·of·the·range,·in·bytes. | ||
35 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 61 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
36 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·*\x8**\x8**\x8**\x8**\x8**\x8* | 62 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·*\x8**\x8**\x8**\x8**\x8**\x8* |
37 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8._\x8h_\x8p_\x8p" | 63 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8._\x8h_\x8p_\x8p" |
38 | struct·piece_block | 64 | struct·piece_block |
39 | { | 65 | { |
40 | ···p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·p_index,·int·b_index); | 66 | ···p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·p_index,·int·b_index); |
41 | ···p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·()·=·default; | 67 | ···p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·()·=·default; |
Offset 44, 73 lines modified | Offset 71, 14 lines modified | ||
44 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(piece_block·const&·b)·const; | 71 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(piece_block·const&·b)·const; |
45 | ···static·const·piece_block·invalid; | 72 | ···static·const·piece_block·invalid; |
46 | ···piece_index_t·piece_index·{0}; | 73 | ···piece_index_t·piece_index·{0}; |
47 | ···int·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_i\x8in\x8nd\x8de\x8ex\x8x··=·0; | 74 | ···int·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_i\x8in\x8nd\x8de\x8ex\x8x··=·0; |
48 | }; | 75 | }; |
49 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 76 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
50 | *\x8**\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* | ||
51 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8._\x8h_\x8p_\x8p" | ||
52 | class·holding·the·info-hash·of·a·torrent.·It·can·hold·a·v1·info-hash·(SHA-1)·or | ||
53 | a·v2·info-hash·(SHA-256)·or·both. | ||
54 | Note | ||
55 | If·has_v2()·is·false·then·the·v1·hash·might·actually·be·a·truncated·v2·hash | ||
56 | struct·info_hash_t | ||
57 | { | ||
58 | ···i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·()·noexcept·=·default; | ||
59 | ···explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept; | ||
60 | ···i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
61 | ···explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha256_hash·h2)·noexcept; | ||
62 | ···bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const; | ||
63 | ···bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const; | ||
64 | ···bool·h\x8ha\x8as\x8s·(protocol_version·v)·const; | ||
65 | ···sha1_hash·g\x8ge\x8et\x8t·(protocol_version·v)·const; | ||
66 | ···sha1_hash·g\x8ge\x8et\x8t_\x8_b\x8be\x8es\x8st\x8t·()·const; | ||
67 | ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs); | ||
68 | ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs) | ||
69 | noexcept; | ||
70 | ···template·<typename·F>·void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(F·f)·const; | ||
71 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<·(info_hash_t·const&·o)·const; | ||
72 | ···friend·std::ostream&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<<\x8<·(std::ostream&·os,·info_hash_t·const&·ih); | ||
73 | ···sha1_hash·v1; | ||
74 | ···sha256_hash·v2; | ||
75 | }; | ||
76 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
77 | *\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* | ||
78 | i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·()·noexcept·=·default; | ||
79 | explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept; | ||
80 | i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
81 | explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha256_hash·h2)·noexcept; | ||
82 | The·default·constructor·creates·an·object·that·has·neither·a·v1·or·v2·hash. | ||
83 | For·backwards·compatibility,·make·it·possible·to·construct·directly·from·a·v1 | ||
84 | hash.·This·constructor·allows·i\x8im\x8mp\x8pl\x8li\x8ic\x8ci\x8it\x8t·conversion·from·a·v1·hash,·but·the | ||
85 | implicitness·is·deprecated. | ||
86 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
87 | *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8s_\x8_v\x8v2\x82(\x8()\x8)·h\x8ha\x8as\x8s(\x8()\x8)·h\x8ha\x8as\x8s_\x8_v\x8v1\x81(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
88 | bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const; | ||
89 | bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const; | ||
Max diff block lines reached; 22429/30015 bytes (74.73%) of diff not shown. |
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- | 37 | <li><a·class="reference·internal"·href="#generate-generate-buf"·id="toc-entry-3">generate()·generate_buf()</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-url-seed-add-http-seed"·id="toc-entry-10">add_url_seed()·add_http_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="#set-priv-priv"·id="toc-entry-14">set_priv()·priv()</a></li> | 48 | <li><a·class="reference·internal"·href="#set-priv-priv"·id="toc-entry-14">set_priv()·priv()</a></li> |
49 | <li><a·class="reference·internal"·href="#num-pieces"·id="toc-entry-15">num_pieces()</a></li> | 49 | <li><a·class="reference·internal"·href="#num-pieces"·id="toc-entry-15">num_pieces()</a></li> |
50 | <li><a·class="reference·internal"·href="#piece-range"·id="toc-entry-16">piece_range()</a></li> | 50 | <li><a·class="reference·internal"·href="#piece-range"·id="toc-entry-16">piece_range()</a></li> |
51 | <li><a·class="reference·internal"·href="#file-range"·id="toc-entry-17">file_range()</a></li> | 51 | <li><a·class="reference·internal"·href="#file-range"·id="toc-entry-17">file_range()</a></li> |
52 | <li><a·class="reference·internal"·href="#file-piece-range"·id="toc-entry-18">file_piece_range()</a></li> | 52 | <li><a·class="reference·internal"·href="#file-piece-range"·id="toc-entry-18">file_piece_range()</a></li> |
53 | <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-19">total_size()</a></li> | 53 | <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-19">total_size()</a></li> |
54 | <li><a·class="reference·internal"·href="#piece- | 54 | <li><a·class="reference·internal"·href="#piece-length-piece-size"·id="toc-entry-20">piece_length()·piece_size()</a></li> |
55 | <li><a·class="reference·internal"·href="#add- | 55 | <li><a·class="reference·internal"·href="#add-collection-add-similar-torrent"·id="toc-entry-21">add_collection()·add_similar_torrent()</a></li> |
56 | </ul> | 56 | </ul> |
57 | </li> | 57 | </li> |
58 | <li><a·class="reference·internal"·href="#add-files"·id="toc-entry-22">add_files()</a></li> | 58 | <li><a·class="reference·internal"·href="#add-files"·id="toc-entry-22">add_files()</a></li> |
59 | <li><a·class="reference·internal"·href="#set-piece-hashes"·id="toc-entry-23">set_piece_hashes()</a></li> | 59 | <li><a·class="reference·internal"·href="#set-piece-hashes"·id="toc-entry-23">set_piece_hashes()</a></li> |
60 | </ul> | 60 | </ul> |
61 | </div> | 61 | </div> |
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 121, 29 lines modified | Offset 121, 29 lines modified | ||
121 | ···void·<strong>set_hash</strong>·(piece_index_t·index,·sha1_hash·const&·h); | 121 | ···void·<strong>set_hash</strong>·(piece_index_t·index,·sha1_hash·const&·h); |
122 | ···void·<strong>set_hash2</strong>·(file_index_t·file,·piece_index_t::diff_type·piece,·sha256_hash·const&·h); | 122 | ···void·<strong>set_hash2</strong>·(file_index_t·file,·piece_index_t::diff_type·piece,·sha256_hash·const&·h); |
123 | ···void·<strong>add_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; | ||
129 | ···void·<strong>set_priv</strong>·(bool·p); | 128 | ···void·<strong>set_priv</strong>·(bool·p); |
130 | ···bool·<strong> | 129 | ···bool·<strong>priv</strong>·()·const; |
131 | ···bool·<strong>is_v2_only</strong>·()·const; | 130 | ···bool·<strong>is_v2_only</strong>·()·const; |
131 | ···bool·<strong>is_v1_only</strong>·()·const; | ||
132 | ···int·<strong>num_pieces</strong>·()·const; | 132 | ···int·<strong>num_pieces</strong>·()·const; |
133 | ···piece_index_t·<strong>end_piece</strong>·()·const; | 133 | ···piece_index_t·<strong>end_piece</strong>·()·const; |
134 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const·noexcept; | 134 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const·noexcept; |
135 | ···file_index_t·<strong>end_file</strong>·()·const; | 135 | ···file_index_t·<strong>end_file</strong>·()·const; |
136 | ···index_range<file_index_t>·<strong>file_range</strong>·()·const·noexcept; | 136 | ···index_range<file_index_t>·<strong>file_range</strong>·()·const·noexcept; |
137 | ···index_range<piece_index_t::diff_type>·<strong>file_piece_range</strong>·(file_index_t·f); | 137 | ···index_range<piece_index_t::diff_type>·<strong>file_piece_range</strong>·(file_index_t·f); |
138 | ···std::int64_t·<strong>total_size</strong>·()·const; | 138 | ···std::int64_t·<strong>total_size</strong>·()·const; |
139 | ···int·<strong>piece_length</strong>·()·const; | 139 | ···int·<strong>piece_length</strong>·()·const; |
140 | ···int·<strong>piece_size</strong>·(piece_index_t·i)·const; | 140 | ···int·<strong>piece_size</strong>·(piece_index_t·i)·const; |
141 | ···void·<strong>add_collection</strong>·(string_view·c); | ||
142 | ···void·<strong>add_similar_torrent</strong>·(sha1_hash·ih); | 141 | ···void·<strong>add_similar_torrent</strong>·(sha1_hash·ih); |
142 | ···void·<strong>add_collection</strong>·(string_view·c); | ||
143 | ···static·constexpr·create_flags_t·<strong>modification_time</strong>··=·2_bit; | 143 | ···static·constexpr·create_flags_t·<strong>modification_time</strong>··=·2_bit; |
144 | ···static·constexpr·create_flags_t·<strong>symlinks</strong>··=·3_bit; | 144 | ···static·constexpr·create_flags_t·<strong>symlinks</strong>··=·3_bit; |
145 | ···static·constexpr·create_flags_t·<strong>v2_only</strong>··=·5_bit; | 145 | ···static·constexpr·create_flags_t·<strong>v2_only</strong>··=·5_bit; |
146 | ···static·constexpr·create_flags_t·<strong>v1_only</strong>··=·6_bit; | 146 | ···static·constexpr·create_flags_t·<strong>v1_only</strong>··=·6_bit; |
147 | ···static·constexpr·create_flags_t·<strong>canonical_files</strong>··=·7_bit; | 147 | ···static·constexpr·create_flags_t·<strong>canonical_files</strong>··=·7_bit; |
148 | ···static·constexpr·create_flags_t·<strong>no_attributes</strong>··=·8_bit; | 148 | ···static·constexpr·create_flags_t·<strong>no_attributes</strong>··=·8_bit; |
Offset 173, 18 lines modified | Offset 173, 18 lines modified | ||
173 | have·any·affect.·Instead·of·using·this·overload,·consider·using | 173 | have·any·affect.·Instead·of·using·this·overload,·consider·using |
174 | <a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_file()">write_torrent_file()</a>·instead.</p> | 174 | <a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_file()">write_torrent_file()</a>·instead.</p> |
175 | <div·class="admonition·warning"> | 175 | <div·class="admonition·warning"> |
176 | <p·class="first·admonition-title">Warning</p> | 176 | <p·class="first·admonition-title">Warning</p> |
177 | <p·class="last">The·<a·class="reference·external"·href="reference-Storage.html#file_storage">file_storage</a>·and·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·objects·must·stay·alive·for·the | 177 | <p·class="last">The·<a·class="reference·external"·href="reference-Storage.html#file_storage">file_storage</a>·and·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·objects·must·stay·alive·for·the |
178 | entire·duration·of·the·<a·class="reference·external"·href="reference-Create_Torrents.html#create_torrent">create_torrent</a>·object.</p> | 178 | entire·duration·of·the·<a·class="reference·external"·href="reference-Create_Torrents.html#create_torrent">create_torrent</a>·object.</p> |
179 | </div> | 179 | </div> |
180 | <a·name="generate | 180 | <a·name="generate()"></a> |
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 | 181 | <a·name="generate_buf()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bgenerate%28%29+generate_buf%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bgenerate%[·...·truncated·by·diffoscope;·len:·18,·SHA:·8cb7c659f33e93d5d3aff9349c1bef1b8e7ef2c0651427c1ed42d1e9423f0de2·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
182 | <div·class="section"·id="generate- | 182 | <div·class="section"·id="generate-generate-buf"> |
183 | <h2>generate | 183 | <h2>generate()·generate_buf()</h2> |
184 | <pre·class="literal-block"> | 184 | <pre·class="literal-block"> |
185 | entry·<strong>generate</strong>·()·const; | 185 | entry·<strong>generate</strong>·()·const; |
186 | std::vector<char>·<strong>generate_buf</strong>·()·const; | 186 | std::vector<char>·<strong>generate_buf</strong>·()·const; |
187 | </pre> | 187 | </pre> |
188 | <p>This·function·will·generate·the·.torrent·file·as·a·bencode·tree,·or·a | 188 | <p>This·function·will·generate·the·.torrent·file·as·a·bencode·tree,·or·a |
189 | bencoded·into·a·buffer. | 189 | bencoded·into·a·buffer. |
190 | In·order·to·encode·the·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>·into·a·flat·file,·use·the·<a·class="reference·external"·href="reference-Bencoding.html#bencode()">bencode()</a>·function.</p> | 190 | In·order·to·encode·the·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>·into·a·flat·file,·use·the·<a·class="reference·external"·href="reference-Bencoding.html#bencode()">bencode()</a>·function.</p> |
Offset 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_url_seed()"></a> |
278 | <a·name="add_ | 278 | <a·name="add_http_seed()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Badd_url_seed%28%29+add_http_seed%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5[·...·truncated·by·diffoscope;·len:·28,·SHA:·64810a812abf0c9adbace5f235d637c4c4ef755b6b659976ac48125498d909a3·...·]_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-url-seed-add-http-seed"> |
280 | <h2>add_ | 280 | <h2>add_url_seed()·add_http_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 323, 16 lines modified | Offset 323, 16 lines modified | ||
323 | <p>The·string·is·not·the·path·to·the·cert,·it's·the·actual·content·of·the | 323 | <p>The·string·is·not·the·path·to·the·cert,·it's·the·actual·content·of·the |
324 | certificate.</p> | 324 | certificate.</p> |
325 | <a·name="set_priv()"></a> | 325 | <a·name="set_priv()"></a> |
326 | <a·name="priv()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bset_priv%28%29+priv%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bset_priv%28%29+priv%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 326 | <a·name="priv()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bset_priv%28%29+priv%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bset_priv%28%29+priv%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
327 | <div·class="section"·id="set-priv-priv"> | 327 | <div·class="section"·id="set-priv-priv"> |
328 | <h2>set_priv()·priv()</h2> | 328 | <h2>set_priv()·priv()</h2> |
329 | <pre·class="literal-block"> | 329 | <pre·class="literal-block"> |
330 | bool·<strong>priv</strong>·()·const; | ||
331 | void·<strong>set_priv</strong>·(bool·p); | 330 | void·<strong>set_priv</strong>·(bool·p); |
331 | bool·<strong>priv</strong>·()·const; | ||
332 | </pre> | 332 | </pre> |
333 | <p>Sets·and·queries·the·private·flag·of·the·torrent. | 333 | <p>Sets·and·queries·the·private·flag·of·the·torrent. |
334 | Torrents·with·the·private·flag·set·ask·the·client·to·not·use·any·other | 334 | Torrents·with·the·private·flag·set·ask·the·client·to·not·use·any·other |
335 | sources·than·the·tracker·for·peers,·and·to·not·use·DHT·to·advertise·itself·publicly, | 335 | sources·than·the·tracker·for·peers,·and·to·not·use·DHT·to·advertise·itself·publicly, |
336 | only·the·tracker.</p> | 336 | only·the·tracker.</p> |
337 | <a·name="num_pieces()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bnum_pieces%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bnum_pieces%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 337 | <a·name="num_pieces()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bnum_pieces%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bnum_pieces%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
338 | <div·class="section"·id="num-pieces"> | 338 | <div·class="section"·id="num-pieces"> |
Offset 367, 32 lines modified | Offset 367, 32 lines modified | ||
367 | <a·name="total_size()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Btotal_size%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Btotal_size%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 367 | <a·name="total_size()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Btotal_size%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Btotal_size%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
368 | <div·class="section"·id="total-size"> | 368 | <div·class="section"·id="total-size"> |
369 | <h2>total_size()</h2> | 369 | <h2>total_size()</h2> |
370 | <pre·class="literal-block"> | 370 | <pre·class="literal-block"> |
371 | std::int64_t·<strong>total_size</strong>·()·const; | 371 | std::int64_t·<strong>total_size</strong>·()·const; |
Max diff block lines reached; 8226/19222 bytes (42.79%) 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(_.)_.·_.g_.e_.n_.e_.r_.a_.t_.e_.__.b_.u_.f_\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__\x8u_.r_.l_.__.s_.e_.e_.d_.(_.)_.·_.a_.d_.d_.__.h_.t_.t_.p_\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·_\x8s_\x8e_\x8t_\x8__\x8p_\x8r_\x8i_\x8v_\x8(_\x8)_\x8·_\x8p_\x8r_\x8i_\x8v_\x8(_\x8) | 19 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8r_\x8i_\x8v_\x8(_\x8)_\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__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)_\x8·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8) | ||
26 | ··········o·_\x8 | 25 | ··········o·_\x8p_.i_.e_.c_.e_.__.l_.e_.n_.g_.t_.h_.(_.)_.·_.p_.i_.e_.c_.e_.__.s_.i_.z_.e_\x8(_\x8) |
26 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8c_\x8o_\x8l_\x8l_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8s_\x8i_\x8m_\x8i_\x8l_\x8a_\x8r_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | ||
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 83, 29 lines modified | Offset 83, 29 lines modified | ||
83 | ···void·s\x8se\x8et\x8t_\x8_h\x8ha\x8as\x8sh\x8h2\x82·(file_index_t·file,·piece_index_t::diff_type·piece, | 83 | ···void·s\x8se\x8et\x8t_\x8_h\x8ha\x8as\x8sh\x8h2\x82·(file_index_t·file,·piece_index_t::diff_type·piece, |
84 | sha256_hash·const&·h); | 84 | sha256_hash·const&·h); |
85 | ···void·a\x8ad\x8dd\x8d_\x8_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; | ||
91 | ···void·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v·(bool·p); | 90 | ···void·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v·(bool·p); |
92 | ···bool· | 91 | ···bool·p.pr.ri.iv.v·()·const; |
93 | ···bool·i\x8is\x8s_\x8_v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y·()·const; | 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; | ||
94 | ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; | 94 | ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; |
95 | ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; | 95 | ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; |
96 | ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; | 96 | ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; |
97 | ···file_index_t·e\x8en\x8nd\x8d_\x8_f\x8fi\x8il\x8le\x8e·()·const; | 97 | ···file_index_t·e\x8en\x8nd\x8d_\x8_f\x8fi\x8il\x8le\x8e·()·const; |
98 | ···index_range<file_index_t>·f\x8fi\x8il\x8le\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; | 98 | ···index_range<file_index_t>·f\x8fi\x8il\x8le\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; |
99 | ···index_range<piece_index_t::diff_type>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·(file_index_t·f); | 99 | ···index_range<piece_index_t::diff_type>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·(file_index_t·f); |
100 | ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | 100 | ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; |
101 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | 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; | 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); | ||
104 | ···void·a\x8ad\x8dd\x8d_\x8_s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(sha1_hash·ih); | 103 | ···void·a\x8ad\x8dd\x8d_\x8_s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(sha1_hash·ih); |
104 | ···void·a\x8ad\x8dd\x8d_\x8_c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8n·(string_view·c); | ||
105 | ···static·constexpr·create_flags_t·m\x8mo\x8od\x8di\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n_\x8_t\x8ti\x8im\x8me\x8e··=·2_bit; | 105 | ···static·constexpr·create_flags_t·m\x8mo\x8od\x8di\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n_\x8_t\x8ti\x8im\x8me\x8e··=·2_bit; |
106 | ···static·constexpr·create_flags_t·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8ks\x8s··=·3_bit; | 106 | ···static·constexpr·create_flags_t·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8ks\x8s··=·3_bit; |
107 | ···static·constexpr·create_flags_t·v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y··=·5_bit; | 107 | ···static·constexpr·create_flags_t·v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y··=·5_bit; |
108 | ···static·constexpr·create_flags_t·v\x8v1\x81_\x8_o\x8on\x8nl\x8ly\x8y··=·6_bit; | 108 | ···static·constexpr·create_flags_t·v\x8v1\x81_\x8_o\x8on\x8nl\x8ly\x8y··=·6_bit; |
109 | ···static·constexpr·create_flags_t·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8l_\x8_f\x8fi\x8il\x8le\x8es\x8s··=·7_bit; | 109 | ···static·constexpr·create_flags_t·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8l_\x8_f\x8fi\x8il\x8le\x8es\x8s··=·7_bit; |
110 | ···static·constexpr·create_flags_t·n\x8no\x8o_\x8_a\x8at\x8tt\x8tr\x8ri\x8ib\x8bu\x8ut\x8te\x8es\x8s··=·8_bit; | 110 | ···static·constexpr·create_flags_t·n\x8no\x8o_\x8_a\x8at\x8tt\x8tr\x8ri\x8ib\x8bu\x8ut\x8te\x8es\x8s··=·8_bit; |
Offset 130, 15 lines modified | Offset 130, 15 lines modified | ||
130 | functions·of·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t·that·affects·the·content·of·the·info·dictionary | 130 | functions·of·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t·that·affects·the·content·of·the·info·dictionary |
131 | (such·as·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)),·will·have·any·affect.·Instead·of·using·this·overload, | 131 | (such·as·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)),·will·have·any·affect.·Instead·of·using·this·overload, |
132 | consider·using·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)·instead. | 132 | consider·using·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)·instead. |
133 | Warning | 133 | Warning |
134 | The·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e·and·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·objects·must·stay·alive·for·the·entire | 134 | The·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e·and·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·objects·must·stay·alive·for·the·entire |
135 | duration·of·the·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t·object. | 135 | duration·of·the·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t·object. |
136 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 136 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
137 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e | 137 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e(.().)·g.ge.en.ne.er.ra.at.te.e_._b.bu.uf.f(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
138 | entry·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e·()·const; | 138 | entry·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e·()·const; |
139 | std::vector<char>·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_\x8_b\x8bu\x8uf\x8f·()·const; | 139 | std::vector<char>·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_\x8_b\x8bu\x8uf\x8f·()·const; |
140 | This·function·will·generate·the·.torrent·file·as·a·bencode·tree,·or·a·bencoded | 140 | This·function·will·generate·the·.torrent·file·as·a·bencode·tree,·or·a·bencoded |
141 | into·a·buffer.·In·order·to·encode·the·_\x8e_\x8n_\x8t_\x8r_\x8y·into·a·flat·file,·use·the·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8(_\x8) | 141 | into·a·buffer.·In·order·to·encode·the·_\x8e_\x8n_\x8t_\x8r_\x8y·into·a·flat·file,·use·the·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8(_\x8) |
142 | function. | 142 | function. |
143 | The·function·returning·an·_\x8e_\x8n_\x8t_\x8r_\x8y·may·be·useful·to·add·custom·entries·to·the | 143 | The·function·returning·an·_\x8e_\x8n_\x8t_\x8r_\x8y·may·be·useful·to·add·custom·entries·to·the |
144 | torrent·file·before·bencoding·it·and·saving·it·to·disk. | 144 | torrent·file·before·bencoding·it·and·saving·it·to·disk. |
Offset 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_u.ur.rl.l_._s.se.ee.ed.d(.().)·a.ad.dd.d_._h.ht.tt.tp.p_\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 235, 16 lines modified | Offset 235, 16 lines modified | ||
235 | valid·certificate·signed·by·this·root·certificate.·For·SSL·torrents,·all·peers | 235 | valid·certificate·signed·by·this·root·certificate.·For·SSL·torrents,·all·peers |
236 | are·connecting·over·SSL·connections.·For·more·information,·see·the·section·on | 236 | are·connecting·over·SSL·connections.·For·more·information,·see·the·section·on |
237 | _\x8s_\x8s_\x8l_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s. | 237 | _\x8s_\x8s_\x8l_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s. |
238 | The·string·is·not·the·path·to·the·cert,·it's·the·actual·content·of·the | 238 | The·string·is·not·the·path·to·the·cert,·it's·the·actual·content·of·the |
239 | certificate. | 239 | certificate. |
240 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 240 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
241 | *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v(\x8()\x8)·p\x8pr\x8ri\x8iv\x8v(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 241 | *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v(\x8()\x8)·p\x8pr\x8ri\x8iv\x8v(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
242 | bool·p\x8pr\x8ri\x8iv\x8v·()·const; | ||
243 | void·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v·(bool·p); | 242 | void·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v·(bool·p); |
243 | bool·p\x8pr\x8ri\x8iv\x8v·()·const; | ||
244 | Sets·and·queries·the·private·flag·of·the·torrent.·Torrents·with·the·private | 244 | Sets·and·queries·the·private·flag·of·the·torrent.·Torrents·with·the·private |
245 | flag·set·ask·the·client·to·not·use·any·other·sources·than·the·tracker·for | 245 | flag·set·ask·the·client·to·not·use·any·other·sources·than·the·tracker·for |
246 | peers,·and·to·not·use·DHT·to·advertise·itself·publicly,·only·the·tracker. | 246 | peers,·and·to·not·use·DHT·to·advertise·itself·publicly,·only·the·tracker. |
247 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 247 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
248 | *\x8**\x8**\x8**\x8**\x8*·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 248 | *\x8**\x8**\x8**\x8**\x8*·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
249 | int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; | 249 | int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; |
250 | returns·the·number·of·pieces·in·the·associated·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e·object. | 250 | returns·the·number·of·pieces·in·the·associated·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e·object. |
Offset 262, 24 lines modified | Offset 262, 24 lines modified | ||
262 | for·v2·and·hybrid·torrents·only,·the·pieces·in·the·specified·file,·specified·as | 262 | for·v2·and·hybrid·torrents·only,·the·pieces·in·the·specified·file,·specified·as |
263 | delta·from·the·first·piece·in·the·file.·i.e.·the·first·index·is·0. | 263 | delta·from·the·first·piece·in·the·file.·i.e.·the·first·index·is·0. |
264 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 264 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
265 | *\x8**\x8**\x8**\x8**\x8*·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 265 | *\x8**\x8**\x8**\x8**\x8*·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
266 | std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | 266 | std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; |
267 | the·total·number·of·bytes·of·all·files·and·pad·files | 267 | the·total·number·of·bytes·of·all·files·and·pad·files |
268 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 268 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
269 | *\x8**\x8**\x8**\x8**\x8*·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_ | 269 | *\x8**\x8**\x8**\x8**\x8*·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l.le.en.ng.gt.th.h(.().)·p.pi.ie.ec.ce.e_._s.si.iz.ze.e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
270 | 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; | 271 | int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·i)·const; |
Max diff block lines reached; 5311/13989 bytes (37.97%) of diff not shown. |
Offset 28, 85 lines modified | Offset 28, 443 lines modified | ||
28 | <td>2.0.10</td></tr> | 28 | <td>2.0.10</td></tr> |
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-interface"·id="toc-entry-1">settings_interface</a></li> | ||
36 | <li><a·class="reference·internal"·href="#buffer-allocator-interface"·id="toc-entry-2">buffer_allocator_interface</a></li> | ||
35 | <li><a·class="reference·internal"·href="#disk- | 37 | <li><a·class="reference·internal"·href="#disk-buffer-holder"·id="toc-entry-3">disk_buffer_holder</a><ul> |
38 | <li><a·class="reference·internal"·href="#disk-buffer-holder-1"·id="toc-entry-4">disk_buffer_holder()</a></li> | ||
39 | <li><a·class="reference·internal"·href="#disk-buffer-holder-2"·id="toc-entry-5">disk_buffer_holder()</a></li> | ||
40 | <li><a·class="reference·internal"·href="#disk-buffer-holder-3"·id="toc-entry-6">~disk_buffer_holder()</a></li> | ||
36 | <li><a·class="reference·internal"·href="# | 41 | <li><a·class="reference·internal"·href="#data"·id="toc-entry-7">data()</a></li> |
42 | <li><a·class="reference·internal"·href="#reset"·id="toc-entry-8">reset()</a></li> | ||
43 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-9">swap()</a></li> | ||
44 | <li><a·class="reference·internal"·href="#is-mutable"·id="toc-entry-10">is_mutable()</a></li> | ||
45 | <li><a·class="reference·internal"·href="#bool"·id="toc-entry-11">bool()</a></li> | ||
37 | </ul> | 46 | </ul> |
38 | </li> | 47 | </li> |
39 | <li><a·class="reference·internal"·href="#open-file-state"·id="toc-entry- | 48 | <li><a·class="reference·internal"·href="#open-file-state"·id="toc-entry-12">open_file_state</a></li> |
40 | <li><a·class="reference·internal"·href="#disk-interface"·id="toc-entry- | 49 | <li><a·class="reference·internal"·href="#disk-interface"·id="toc-entry-13">disk_interface</a><ul> |
41 | <li><a·class="reference·internal"·href="#new-torrent"·id="toc-entry- | 50 | <li><a·class="reference·internal"·href="#new-torrent"·id="toc-entry-14">new_torrent()</a></li> |
42 | <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry- | 51 | <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-15">remove_torrent()</a></li> |
43 | <li><a·class="reference·internal"·href="#async- | 52 | <li><a·class="reference·internal"·href="#async-read-async-write"·id="toc-entry-16">async_read()·async_write()</a></li> |
44 | <li><a·class="reference·internal"·href="#async-hash"·id="toc-entry- | 53 | <li><a·class="reference·internal"·href="#async-hash"·id="toc-entry-17">async_hash()</a></li> |
45 | <li><a·class="reference·internal"·href="#async-hash2"·id="toc-entry- | 54 | <li><a·class="reference·internal"·href="#async-hash2"·id="toc-entry-18">async_hash2()</a></li> |
46 | <li><a·class="reference·internal"·href="#async-move-storage"·id="toc-entry-1 | 55 | <li><a·class="reference·internal"·href="#async-move-storage"·id="toc-entry-19">async_move_storage()</a></li> |
47 | <li><a·class="reference·internal"·href="#async-release-files"·id="toc-entry- | 56 | <li><a·class="reference·internal"·href="#async-release-files"·id="toc-entry-20">async_release_files()</a></li> |
48 | <li><a·class="reference·internal"·href="#async-check-files"·id="toc-entry- | 57 | <li><a·class="reference·internal"·href="#async-check-files"·id="toc-entry-21">async_check_files()</a></li> |
49 | <li><a·class="reference·internal"·href="#async-stop-torrent"·id="toc-entry- | 58 | <li><a·class="reference·internal"·href="#async-stop-torrent"·id="toc-entry-22">async_stop_torrent()</a></li> |
50 | <li><a·class="reference·internal"·href="#async-rename-file"·id="toc-entry- | 59 | <li><a·class="reference·internal"·href="#async-rename-file"·id="toc-entry-23">async_rename_file()</a></li> |
51 | <li><a·class="reference·internal"·href="#async-delete-files"·id="toc-entry- | 60 | <li><a·class="reference·internal"·href="#async-delete-files"·id="toc-entry-24">async_delete_files()</a></li> |
52 | <li><a·class="reference·internal"·href="#async-set-file-priority"·id="toc-entry- | 61 | <li><a·class="reference·internal"·href="#async-set-file-priority"·id="toc-entry-25">async_set_file_priority()</a></li> |
53 | <li><a·class="reference·internal"·href="#async-clear-piece"·id="toc-entry- | 62 | <li><a·class="reference·internal"·href="#async-clear-piece"·id="toc-entry-26">async_clear_piece()</a></li> |
54 | <li><a·class="reference·internal"·href="#update-stats-counters"·id="toc-entry- | 63 | <li><a·class="reference·internal"·href="#update-stats-counters"·id="toc-entry-27">update_stats_counters()</a></li> |
55 | <li><a·class="reference·internal"·href="#get-status"·id="toc-entry- | 64 | <li><a·class="reference·internal"·href="#get-status"·id="toc-entry-28">get_status()</a></li> |
56 | <li><a·class="reference·internal"·href="#abort"·id="toc-entry-2 | 65 | <li><a·class="reference·internal"·href="#abort"·id="toc-entry-29">abort()</a></li> |
57 | <li><a·class="reference·internal"·href="#submit-jobs"·id="toc-entry- | 66 | <li><a·class="reference·internal"·href="#submit-jobs"·id="toc-entry-30">submit_jobs()</a></li> |
58 | <li><a·class="reference·internal"·href="#settings-updated"·id="toc-entry- | 67 | <li><a·class="reference·internal"·href="#settings-updated"·id="toc-entry-31">settings_updated()</a></li> |
59 | </ul> | 68 | </ul> |
60 | </li> | 69 | </li> |
61 | <li><a·class="reference·internal"·href="#storage-holder"·id="toc-entry- | 70 | <li><a·class="reference·internal"·href="#storage-holder"·id="toc-entry-32">storage_holder</a></li> |
62 | <li><a·class="reference·internal"·href="#settings-interface"·id="toc-entry-24">settings_interface</a></li> | ||
63 | <li><a·class="reference·internal"·href="#buffer-allocator-interface"·id="toc-entry-25">buffer_allocator_interface</a></li> | ||
64 | <li><a·class="reference·internal"·href="#disk- | 71 | <li><a·class="reference·internal"·href="#disk-observer"·id="toc-entry-33">disk_observer</a><ul> |
65 | <li><a·class="reference·internal"·href="#disk-buffer-holder-1"·id="toc-entry-27">disk_buffer_holder()</a></li> | ||
66 | <li><a·class="reference·internal"·href="#disk-buffer-holder-2"·id="toc-entry-28">disk_buffer_holder()</a></li> | ||
67 | <li><a·class="reference·internal"·href="#disk-buffer-holder-3"·id="toc-entry-29">~disk_buffer_holder()</a></li> | ||
68 | <li><a·class="reference·internal"·href="#data"·id="toc-entry-30">data()</a></li> | ||
69 | <li><a·class="reference·internal"·href="#reset"·id="toc-entry-31">reset()</a></li> | ||
70 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-32">swap()</a></li> | ||
71 | <li><a·class="reference·internal"·href="#is-mutable"·id="toc-entry-33">is_mutable()</a></li> | ||
72 | <li><a·class="reference·internal"·href="# | 72 | <li><a·class="reference·internal"·href="#on-disk"·id="toc-entry-34">on_disk()</a></li> |
73 | </ul> | 73 | </ul> |
74 | </li> | 74 | </li> |
75 | <li><a·class="reference·internal"·href="#file-open-mode-t"·id="toc-entry-35">file_open_mode_t</a></li> | 75 | <li><a·class="reference·internal"·href="#file-open-mode-t"·id="toc-entry-35">file_open_mode_t</a></li> |
76 | </ul> | 76 | </ul> |
77 | </div> | 77 | </div> |
78 | <p>You·have·some·control·over·<a·class="reference·external"·href="reference-Session.html#session">session</a>·configuration·through·the·session::apply_settings() | ||
79 | member·function.·To·change·one·or·more·configuration·options,·create·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a> | ||
80 | object·and·fill·it·with·the·settings·to·be·set·and·pass·it·in·to·session::apply_settings().</p> | ||
81 | <p>The·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·object·is·a·collection·of·settings·updates·that·are·applied | ||
82 | to·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·when·passed·to·session::apply_settings().·It's·empty·when | ||
83 | constructed.</p> | ||
84 | <p>You·have·control·over·proxy·and·authorization·settings·and·also·the·user-agent | ||
85 | that·will·be·sent·to·the·tracker.·The·user-agent·will·also·be·used·to·identify·the | ||
86 | client·with·other·peers.</p> | ||
87 | <p>Each·configuration·option·is·named·with·an·enum·value·inside·the | ||
88 | < | 78 | <p>The·disk·I/O·can·be·customized·in·libtorrent.·In·previous·versions,·the |
79 | customization·was·at·the·level·of·each·torrent.·Now,·the·customization·point | ||
80 | is·at·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·level.·All·torrents·added·to·a·<a·class="reference·external"·href="reference-Session.html#session">session</a>·will·use·the·same | ||
81 | disk·I/O·subsystem,·as·determined·by·the·disk_io_constructor·(in | ||
82 | <a·class="reference·external"·href="reference-Session.html#session_params">session_params</a>).</p> | ||
83 | <p>This·allows·the·disk·subsystem·to·also·customize·threading·and·disk·job | ||
84 | management.</p> | ||
85 | <p>To·customize·the·disk·subsystem,·implement·<a·class="reference·external"·href="reference-Custom_Storage.html#disk_interface">disk_interface</a>·and·provide·a | ||
86 | factory·function·to·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·constructor·(via·<a·class="reference·external"·href="reference-Session.html#session_params">session_params</a>).</p> | ||
87 | <p>Example·use:</p> | ||
88 | <pre·class="code·c++·literal-block"> | ||
89 | <span·class="keyword">struct</span><span·class="whitespace">·</span><span·class="name·class">temp_storage</span><span·class="whitespace"> | ||
90 | </span><span·class="punctuation">{</span><span·class="whitespace"> | ||
91 | ··</span><span·class="keyword">explicit</span><span·class="whitespace">·</span><span·class="name">temp_storage</span><span·class="punctuation">(</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">file_storage</span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="operator">&</span><span·class="whitespace">·</span><span·class="name">fs</span><span·class="punctuation">)</span><span·class="whitespace">·</span><span·class="operator">:</span><span·class="whitespace">·</span><span·class="name">m_files</span><span·class="punctuation">(</span><span·class="name">fs</span><span·class="punctuation">)</span><span·class="whitespace">·</span><span·class="punctuation">{}</span><span·class="whitespace"> | ||
92 | ··</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">span</span><span·class="operator"><</span><span·class="keyword·type">char</span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="operator">></span><span·class="whitespace">·</span><span·class="name">readv</span><span·class="punctuation">(</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">peer_request</span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="whitespace">·</span><span·class="name">r</span><span·class="punctuation">,</span><span·class="whitespace">·</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">storage_error</span><span·class="operator">&</span><span·class="whitespace">·</span><span·class="name">ec</span><span·class="punctuation">)</span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="whitespace"> | ||
93 | ··</span><span·class="punctuation">{</span><span·class="whitespace"> | ||
94 | ····</span><span·class="keyword">auto</span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="whitespace">·</span><span·class="name">i</span><span·class="whitespace">·</span><span·class="operator">=</span><span·class="whitespace">·</span><span·class="name">m_file_data</span><span·class="punctuation">.</span><span·class="name">find</span><span·class="punctuation">(</span><span·class="name">r</span><span·class="punctuation">.</span><span·class="name">piece</span><span·class="punctuation">);</span><span·class="whitespace"> | ||
95 | ····</span><span·class="keyword">if</span><span·class="whitespace">·</span><span·class="punctuation">(</span><span·class="name">i</span><span·class="whitespace">·</span><span·class="operator">==</span><span·class="whitespace">·</span><span·class="name">m_file_data</span><span·class="punctuation">.</span><span·class="name">end</span><span·class="punctuation">())</span><span·class="whitespace"> | ||
96 | ····</span><span·class="punctuation">{</span><span·class="whitespace"> | ||
97 | ······</span><span·class="name">ec</span><span·class="punctuation">.</span><span·class="name">operation</span><span·class="whitespace">·</span><span·class="operator">=</span><span·class="whitespace">·</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">operation_t</span><span·class="operator">::</span><span·class="name">file_read</span><span·class="punctuation">;</span><span·class="whitespace"> | ||
98 | ······</span><span·class="name">ec</span><span·class="punctuation">.</span><span·class="name">ec</span><span·class="whitespace">·</span><span·class="operator">=</span><span·class="whitespace">·</span><span·class="name">boost</span><span·class="operator">::</span><span·class="name">asio</span><span·class="operator">::</span><span·class="name">error</span><span·class="operator">::</span><span·class="name">eof</span><span·class="punctuation">;</span><span·class="whitespace"> | ||
99 | ······</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="punctuation">{};</span><span·class="whitespace"> | ||
100 | ····</span><span·class="punctuation">}</span><span·class="whitespace"> | ||
101 | ····</span><span·class="keyword">if</span><span·class="whitespace">·</span><span·class="punctuation">(</span><span·class="keyword·type">int</span><span·class="punctuation">(</span><span·class="name">i</span><span·class="operator">-></span><span·class="name">second</span><span·class="punctuation">.</span><span·class="name">size</span><span·class="punctuation">())</span><span·class="whitespace">·</span><span·class="operator"><=</span><span·class="whitespace">·</span><span·class="name">r</span><span·class="punctuation">.</span><span·class="name">start</span><span·class="punctuation">)</span><span·class="whitespace"> | ||
102 | ····</span><span·class="punctuation">{</span><span·class="whitespace"> | ||
103 | ······</span><span·class="name">ec</span><span·class="punctuation">.</span><span·class="name">operation</span><span·class="whitespace">·</span><span·class="operator">=</span><span·class="whitespace">·</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">operation_t</span><span·class="operator">::</span><span·class="name">file_read</span><span·class="punctuation">;</span><span·class="whitespace"> | ||
104 | ······</span><span·class="name">ec</span><span·class="punctuation">.</span><span·class="name">ec</span><span·class="whitespace">·</span><span·class="operator">=</span><span·class="whitespace">·</span><span·class="name">boost</span><span·class="operator">::</span><span·class="name">asio</span><span·class="operator">::</span><span·class="name">error</span><span·class="operator">::</span><span·class="name">eof</span><span·class="punctuation">;</span><span·class="whitespace"> | ||
105 | ······</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="punctuation">{};</span><span·class="whitespace"> | ||
106 | ····</span><span·class="punctuation">}</span><span·class="whitespace"> | ||
107 | ····</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="punctuation">{</span><span·class="whitespace">·</span><span·class="name">i</span><span·class="operator">-></span><span·class="name">second</span><span·class="punctuation">.</span><span·class="name">data</span><span·class="punctuation">()</span><span·class="whitespace">·</span><span·class="operator">+</span><span·class="whitespace">·</span><span·class="name">r</span><span·class="punctuation">.</span><span·class="name">start</span><span·class="punctuation">,</span><span·class="whitespace">·</span><span·class="name">std</span><span·class="operator">::</span><span·class="name">min</span><span·class="punctuation">(</span><span·class="name">r</span><span·class="punctuation">.</span><span·class="name">length</span><span·class="punctuation">,</span><span·class="whitespace">·</span><span·class="keyword·type">int</span><span·class="punctuation">(</span><span·class="name">i</span><span·class="operator">-></span><span·class="name">second</span><span·class="punctuation">.</span><span·class="name">size</span><span·class="punctuation">())</span><span·class="whitespace">·</span><span·class="operator">-</span><span·class="whitespace">·</span><span·class="name">r</span><span·class="punctuation">.</span><span·class="name">start</span><span·class="punctuation">)</span><span·class="whitespace">·</span><span·class="punctuation">};</span><span·class="whitespace"> | ||
108 | ··</span><span·class="punctuation">}</span><span·class="whitespace"> | ||
109 | ··</span><span·class="keyword·type">void</span><span·class="whitespace">·</span><span·class="name">writev</span><span·class="punctuation">(</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">span</span><span·class="operator"><</span><span·class="keyword·type">char</span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="operator">></span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="whitespace">·</span><span·class="name">b</span><span·class="punctuation">,</span><span·class="whitespace">·</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">piece_index_t</span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="whitespace">·</span><span·class="name">piece</span><span·class="punctuation">,</span><span·class="whitespace">·</span><span·class="keyword·type">int</span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="whitespace">·</span><span·class="name">offset</span><span·class="punctuation">)</span><span·class="whitespace"> | ||
110 | ··</span><span·class="punctuation">{</span><span·class="whitespace"> | ||
111 | ····</span><span·class="keyword">auto</span><span·class="operator">&</span><span·class="whitespace">·</span><span·class="name">data</span><span·class="whitespace">·</span><span·class="operator">=</span><span·class="whitespace">·</span><span·class="name">m_file_data</span><span·class="punctuation">[</span><span·class="name">piece</span><span·class="punctuation">];</span><span·class="whitespace"> | ||
112 | ····</span><span·class="keyword">if</span><span·class="whitespace">·</span><span·class="punctuation">(</span><span·class="name">data</span><span·class="punctuation">.</span><span·class="name">empty</span><span·class="punctuation">())</span><span·class="whitespace"> | ||
113 | ····</span><span·class="punctuation">{</span><span·class="whitespace"> | ||
114 | ······</span><span·class="comment·single">//·allocate·the·whole·piece,·otherwise·we'll·invalidate·the·pointers | ||
115 | </span><span·class="whitespace">······</span><span·class="comment·single">//·we·have·returned·back·to·libtorrent | ||
116 | </span><span·class="whitespace">······</span><span·class="keyword·type">int</span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="whitespace">·</span><span·class="name">size</span><span·class="whitespace">·</span><span·class="operator">=</span><span·class="whitespace">·</span><span·class="name">piece_size</span><span·class="punctuation">(</span><span·class="name">piece</span><span·class="punctuation">);</span><span·class="whitespace"> | ||
117 | ······</span><span·class="name">data</span><span·class="punctuation">.</span><span·class="name">resize</span><span·class="punctuation">(</span><span·class="name">std</span><span·class="operator">::</span><span·class="keyword·type">size_t</span><span·class="punctuation">(</span><span·class="name">size</span><span·class="punctuation">));</span><span·class="whitespace"> | ||
118 | ····</span><span·class="punctuation">}</span><span·class="whitespace"> | ||
119 | ····</span><span·class="name">TORRENT_ASSERT</span><span·class="punctuation">(</span><span·class="name">offset</span><span·class="whitespace">·</span><span·class="operator">+</span><span·class="whitespace">·</span><span·class="name">b</span><span·class="punctuation">.</span><span·class="name">size</span><span·class="punctuation">()</span><span·class="whitespace">·</span><span·class="operator"><=</span><span·class="whitespace">·</span><span·class="keyword·type">int</span><span·class="punctuation">(</span><span·class="name">data</span><span·class="punctuation">.</span><span·class="name">size</span><span·class="punctuation">()));</span><span·class="whitespace"> | ||
120 | ····</span><span·class="name">std</span><span·class="operator">::</span><span·class="name">memcpy</span><span·class="punctuation">(</span><span·class="name">data</span><span·class="punctuation">.</span><span·class="name">data</span><span·class="punctuation">()</span><span·class="whitespace">·</span><span·class="operator">+</span><span·class="whitespace">·</span><span·class="name">offset</span><span·class="punctuation">,</span><span·class="whitespace">·</span><span·class="name">b</span><span·class="punctuation">.</span><span·class="name">data</span><span·class="punctuation">(),</span><span·class="whitespace">·</span><span·class="name">std</span><span·class="operator">::</span><span·class="keyword·type">size_t</span><span·class="punctuation">(</span><span·class="name">b</span><span·class="punctuation">.</span><span·class="name">size</span><span·class="punctuation">()));</span><span·class="whitespace"> | ||
121 | ··</span><span·class="punctuation">}</span><span·class="whitespace"> | ||
122 | ··</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">sha1_hash</span><span·class="whitespace">·</span><span·class="name">hash</span><span·class="punctuation">(</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">piece_index_t</span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="whitespace">·</span><span·class="name">piece</span><span·class="whitespace"> | ||
123 | ····</span><span·class="punctuation">,</span><span·class="whitespace">·</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">span</span><span·class="operator"><</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">sha256_hash</span><span·class="operator">></span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="whitespace">·</span><span·class="name">block_hashes</span><span·class="punctuation">,</span><span·class="whitespace">·</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">storage_error</span><span·class="operator">&</span><span·class="whitespace">·</span><span·class="name">ec</span><span·class="punctuation">)</span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="whitespace"> | ||
124 | ··</span><span·class="punctuation">{</span><span·class="whitespace"> | ||
125 | ····</span><span·class="keyword">auto</span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="whitespace">·</span><span·class="name">i</span><span·class="whitespace">·</span><span·class="operator">=</span><span·class="whitespace">·</span><span·class="name">m_file_data</span><span·class="punctuation">.</span><span·class="name">find</span><span·class="punctuation">(</span><span·class="name">piece</span><span·class="punctuation">);</span><span·class="whitespace"> | ||
126 | ····</span><span·class="keyword">if</span><span·class="whitespace">·</span><span·class="punctuation">(</span><span·class="name">i</span><span·class="whitespace">·</span><span·class="operator">==</span><span·class="whitespace">·</span><span·class="name">m_file_data</span><span·class="punctuation">.</span><span·class="name">end</span><span·class="punctuation">())</span><span·class="whitespace"> | ||
127 | ····</span><span·class="punctuation">{</span><span·class="whitespace"> | ||
128 | ······</span><span·class="name">ec</span><span·class="punctuation">.</span><span·class="name">operation</span><span·class="whitespace">·</span><span·class="operator">=</span><span·class="whitespace">·</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">operation_t</span><span·class="operator">::</span><span·class="name">file_read</span><span·class="punctuation">;</span><span·class="whitespace"> | ||
129 | ······</span><span·class="name">ec</span><span·class="punctuation">.</span><span·class="name">ec</span><span·class="whitespace">·</span><span·class="operator">=</span><span·class="whitespace">·</span><span·class="name">boost</span><span·class="operator">::</span><span·class="name">asio</span><span·class="operator">::</span><span·class="name">error</span><span·class="operator">::</span><span·class="name">eof</span><span·class="punctuation">;</span><span·class="whitespace"> | ||
130 | ······</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="punctuation">{};</span><span·class="whitespace"> | ||
131 | ····</span><span·class="punctuation">}</span><span·class="whitespace"> | ||
132 | ····</span><span·class="keyword">if</span><span·class="whitespace">·</span><span·class="punctuation">(</span><span·class="operator">!</span><span·class="name">block_hashes</span><span·class="punctuation">.</span><span·class="name">empty</span><span·class="punctuation">())</span><span·class="whitespace"> | ||
133 | ····</span><span·class="punctuation">{</span><span·class="whitespace"> | ||
134 | ······</span><span·class="keyword·type">int</span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="whitespace">·</span><span·class="name">piece_size2</span><span·class="whitespace">·</span><span·class="operator">=</span><span·class="whitespace">·</span><span·class="name">m_files</span><span·class="punctuation">.</span><span·class="name">piece_size2</span><span·class="punctuation">(</span><span·class="name">piece</span><span·class="punctuation">);</span><span·class="whitespace"> | ||
Max diff block lines reached; 25148/122323 bytes (20.56%) of diff not shown. |
Offset 1, 19 lines modified | Offset 1, 28 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__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
7 | ····*·_\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8a_\x8l_\x8l_\x8o_\x8c_\x8a_\x8t_\x8o_\x8r_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
6 | ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8 | 8 | ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_.u_.f_.f_.e_.r_.__.h_.o_.l_.d_\x8e_\x8r |
9 | ··········o·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8) | ||
10 | ··········o·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8) | ||
11 | ··········o·_\x8~_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8) | ||
7 | ··········o·_\x8 | 12 | ··········o·_\x8d_.a_.t_.a_\x8(_\x8) |
13 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8) | ||
14 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) | ||
15 | ··········o·_\x8i_\x8s_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8(_\x8) | ||
16 | ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8) | ||
8 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e | 17 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e |
9 | ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | 18 | ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e |
10 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 19 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
11 | ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 20 | ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
12 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8 | 21 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_.e_.a_.d_.(_.)_.·_.a_.s_.y_.n_.c_.__.w_.r_.i_.t_.e_\x8(_\x8) |
13 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) | 22 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) |
14 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8h_\x8a_\x8s_\x8h_\x82_\x8(_\x8) | 23 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8h_\x8a_\x8s_\x8h_\x82_\x8(_\x8) |
15 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8) | 24 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8) |
16 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 25 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
17 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8c_\x8h_\x8e_\x8c_\x8k_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 26 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8c_\x8h_\x8e_\x8c_\x8k_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
18 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 27 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
19 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 28 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
Offset 22, 50 lines modified | Offset 31, 393 lines modified | ||
22 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 31 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
23 | ··········o·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s_\x8(_\x8) | 32 | ··········o·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s_\x8(_\x8) |
24 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) | 33 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) |
25 | ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8) | 34 | ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8) |
26 | ··········o·_\x8s_\x8u_\x8b_\x8m_\x8i_\x8t_\x8__\x8j_\x8o_\x8b_\x8s_\x8(_\x8) | 35 | ··········o·_\x8s_\x8u_\x8b_\x8m_\x8i_\x8t_\x8__\x8j_\x8o_\x8b_\x8s_\x8(_\x8) |
27 | ··········o·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8d_\x8(_\x8) | 36 | ··········o·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8d_\x8(_\x8) |
28 | ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r | 37 | ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r |
29 | ····*·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
30 | ····*·_\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8a_\x8l_\x8l_\x8o_\x8c_\x8a_\x8t_\x8o_\x8r_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
31 | ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8 | 38 | ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8o_.b_.s_.e_.r_.v_\x8e_\x8r |
32 | ··········o·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8) | ||
33 | ··········o·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8) | ||
34 | ··········o·_\x8~_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8) | ||
35 | ··········o·_\x8d_. | 39 | ··········o·_\x8o_.n_.__.d_.i_.s_.k_\x8(_\x8) |
36 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8) | ||
37 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) | ||
38 | ··········o·_\x8i_\x8s_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8(_\x8) | ||
39 | ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8) | ||
40 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8o_\x8p_\x8e_\x8n_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t | 40 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8o_\x8p_\x8e_\x8n_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t |
41 | You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session:: | ||
42 | apply_settings()·member·function.·To·change·one·or·more·configuration·options, | ||
43 | create·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·and·fill·it·with·the·settings·to·be·set·and·pass | ||
44 | it·in·to·session::apply_settings(). | ||
45 | The·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·is·a·collection·of·settings·updates·that·are·applied | ||
46 | to·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·when·passed·to·session::apply_settings().·It's·empty·when | ||
47 | constructed. | ||
48 | You·have·control·over·proxy·and·authorization·settings·and·also·the·user-agent | ||
49 | that·will·be·sent·to·the·tracker.·The·user-agent·will·also·be·used·to·identify | ||
50 | the·client·with·other·peers. | ||
51 | Each·configuration·option·is·named·with·an·enum·value·inside·the·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k | ||
52 | 41 | The·disk·I/O·can·be·customized·in·libtorrent.·In·previous·versions,·the | |
42 | customization·was·at·the·level·of·each·torrent.·Now,·the·customization·point·is | ||
43 | at·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·level.·All·torrents·added·to·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·will·use·the·same·disk·I/ | ||
44 | O·subsystem,·as·determined·by·the·disk_io_constructor·(in·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s). | ||
45 | This·allows·the·disk·subsystem·to·also·customize·threading·and·disk·job | ||
46 | management. | ||
47 | To·customize·the·disk·subsystem,·implement·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e·and·provide·a·factory | ||
48 | function·to·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·constructor·(via·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s). | ||
49 | Example·use: | ||
50 | struct·temp_storage | ||
51 | { | ||
52 | ··explicit·temp_storage(lt::file_storage·const&·fs)·:·m_files(fs)·{} | ||
53 | ··lt::span<char·const>·readv(lt::peer_request·const·r,·lt::storage_error&·ec) | ||
54 | const | ||
55 | ··{ | ||
56 | ····auto·const·i·=·m_file_data.find(r.piece); | ||
57 | ····if·(i·==·m_file_data.end()) | ||
58 | ····{ | ||
59 | ······ec.operation·=·lt::operation_t::file_read; | ||
60 | ······ec.ec·=·boost::asio::error::eof; | ||
61 | ······return·{}; | ||
62 | ····} | ||
63 | ····if·(int(i->second.size())·<=·r.start) | ||
64 | ····{ | ||
65 | ······ec.operation·=·lt::operation_t::file_read; | ||
66 | ······ec.ec·=·boost::asio::error::eof; | ||
67 | ······return·{}; | ||
68 | ····} | ||
69 | ····return·{·i->second.data()·+·r.start,·std::min(r.length,·int(i->second.size | ||
70 | ())·-·r.start)·}; | ||
71 | ··} | ||
72 | ··void·writev(lt::span<char·const>·const·b,·lt::piece_index_t·const·piece,·int | ||
73 | const·offset) | ||
74 | ··{ | ||
75 | ····auto&·data·=·m_file_data[piece]; | ||
76 | ····if·(data.empty()) | ||
77 | ····{ | ||
78 | ······//·allocate·the·whole·piece,·otherwise·we'll·invalidate·the·pointers | ||
79 | ······//·we·have·returned·back·to·libtorrent | ||
80 | ······int·const·size·=·piece_size(piece); | ||
81 | ······data.resize(std::size_t(size)); | ||
82 | ····} | ||
83 | ····TORRENT_ASSERT(offset·+·b.size()·<=·int(data.size())); | ||
84 | ····std::memcpy(data.data()·+·offset,·b.data(),·std::size_t(b.size())); | ||
85 | ··} | ||
86 | ··lt::sha1_hash·hash(lt::piece_index_t·const·piece | ||
87 | ····,·lt::span<lt::sha256_hash>·const·block_hashes,·lt::storage_error&·ec) | ||
88 | const | ||
89 | ··{ | ||
90 | ····auto·const·i·=·m_file_data.find(piece); | ||
91 | ····if·(i·==·m_file_data.end()) | ||
92 | ····{ | ||
93 | ······ec.operation·=·lt::operation_t::file_read; | ||
94 | ······ec.ec·=·boost::asio::error::eof; | ||
95 | ······return·{}; | ||
96 | ····} | ||
97 | ····if·(!block_hashes.empty()) | ||
98 | ····{ | ||
99 | ······int·const·piece_size2·=·m_files.piece_size2(piece); | ||
100 | ······int·const·blocks_in_piece2·=·m_files.blocks_in_piece2(piece); | ||
101 | ······char·const*·buf·=·i->second.data(); | ||
102 | ······std::int64_t·offset·=·0; | ||
103 | ······for·(int·k·=·0;·k·<·blocks_in_piece2;·++k) | ||
104 | ······{ | ||
105 | ········lt::hasher256·h2; | ||
106 | ········std::ptrdiff_t·const·len2·=·std::min(lt::default_block_size,·int | ||
107 | (piece_size2·-·offset)); | ||
Max diff block lines reached; 16064/29617 bytes (54.24%) of diff not shown. |
Offset 28, 39 lines modified | Offset 28, 65 lines modified | ||
28 | <td>2.0.10</td></tr> | 28 | <td>2.0.10</td></tr> |
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="#dht-state"·id="toc-entry-1">dht_state</a></li> | ||
35 | <li><a·class="reference·internal"·href="#dht-storage-counters"·id="toc-entry- | 36 | <li><a·class="reference·internal"·href="#dht-storage-counters"·id="toc-entry-2">dht_storage_counters</a><ul> |
36 | <li><a·class="reference·internal"·href="#reset"·id="toc-entry- | 37 | <li><a·class="reference·internal"·href="#reset"·id="toc-entry-3">reset()</a></li> |
37 | </ul> | 38 | </ul> |
38 | </li> | 39 | </li> |
39 | <li><a·class="reference·internal"·href="#dht-storage-interface"·id="toc-entry- | 40 | <li><a·class="reference·internal"·href="#dht-storage-interface"·id="toc-entry-4">dht_storage_interface</a><ul> |
40 | <li><a·class="reference·internal"·href="#update-node-ids"·id="toc-entry- | 41 | <li><a·class="reference·internal"·href="#update-node-ids"·id="toc-entry-5">update_node_ids()</a></li> |
41 | <li><a·class="reference·internal"·href="#get-peers"·id="toc-entry- | 42 | <li><a·class="reference·internal"·href="#get-peers"·id="toc-entry-6">get_peers()</a></li> |
42 | <li><a·class="reference·internal"·href="#announce-peer"·id="toc-entry- | 43 | <li><a·class="reference·internal"·href="#announce-peer"·id="toc-entry-7">announce_peer()</a></li> |
43 | <li><a·class="reference·internal"·href="#get-immutable-item"·id="toc-entry- | 44 | <li><a·class="reference·internal"·href="#get-immutable-item"·id="toc-entry-8">get_immutable_item()</a></li> |
44 | <li><a·class="reference·internal"·href="#put-immutable-item"·id="toc-entry- | 45 | <li><a·class="reference·internal"·href="#put-immutable-item"·id="toc-entry-9">put_immutable_item()</a></li> |
45 | <li><a·class="reference·internal"·href="#get-mutable-item-seq"·id="toc-entry- | 46 | <li><a·class="reference·internal"·href="#get-mutable-item-seq"·id="toc-entry-10">get_mutable_item_seq()</a></li> |
46 | <li><a·class="reference·internal"·href="#get-mutable-item"·id="toc-entry-1 | 47 | <li><a·class="reference·internal"·href="#get-mutable-item"·id="toc-entry-11">get_mutable_item()</a></li> |
47 | <li><a·class="reference·internal"·href="#put-mutable-item"·id="toc-entry-1 | 48 | <li><a·class="reference·internal"·href="#put-mutable-item"·id="toc-entry-12">put_mutable_item()</a></li> |
48 | <li><a·class="reference·internal"·href="#get-infohashes-sample"·id="toc-entry-1 | 49 | <li><a·class="reference·internal"·href="#get-infohashes-sample"·id="toc-entry-13">get_infohashes_sample()</a></li> |
49 | <li><a·class="reference·internal"·href="#tick"·id="toc-entry-1 | 50 | <li><a·class="reference·internal"·href="#tick"·id="toc-entry-14">tick()</a></li> |
50 | <li><a·class="reference·internal"·href="#counters"·id="toc-entry-1 | 51 | <li><a·class="reference·internal"·href="#counters"·id="toc-entry-15">counters()</a></li> |
51 | </ul> | 52 | </ul> |
52 | </li> | 53 | </li> |
53 | <li><a·class="reference·internal"·href="#dht-state"·id="toc-entry-15">dht_state</a></li> | ||
54 | <li><a·class="reference·internal"·href="#dht-default-storage-constructor"·id="toc-entry-16">dht_default_storage_constructor()</a></li> | 54 | <li><a·class="reference·internal"·href="#dht-default-storage-constructor"·id="toc-entry-16">dht_default_storage_constructor()</a></li> |
55 | <li><a·class="reference·internal"·href="#sign-mutable-item"·id="toc-entry-17">sign_mutable_item()</a></li> | 55 | <li><a·class="reference·internal"·href="#sign-mutable-item"·id="toc-entry-17">sign_mutable_item()</a></li> |
56 | <li><a·class="reference·internal"·href="#announce-flags-t"·id="toc-entry-18">announce_flags_t</a></li> | 56 | <li><a·class="reference·internal"·href="#announce-flags-t"·id="toc-entry-18">announce_flags_t</a></li> |
57 | </ul> | 57 | </ul> |
58 | </div> | 58 | </div> |
59 | <a·name="dht_state"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+dht_state&labels=documentation&body=Documentation+under+heading+%22class+dht_state%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="dht-state"> | ||
60 | <h1>dht_state</h1> | ||
61 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/kademlia/dht_state.hpp">libtorrent/kademlia/dht_state.hpp</a>"</p> | ||
62 | <p>This·structure·helps·to·store·and·load·the·state | ||
63 | of·the·<tt·class="docutils·literal">dht_tracker</tt>. | ||
64 | At·this·moment·the·library·is·only·a·dual·stack | ||
65 | implementation·of·the·DHT.·See·<a·class="reference·external"·href="https://www.bittorrent.org/beps/bep_0032.html">BEP·32</a></p> | ||
66 | <pre·class="literal-block"> | ||
67 | struct·dht_state | ||
68 | { | ||
69 | ···void·<strong>clear</strong>·(); | ||
70 | ···node_ids_t·nids; | ||
71 | ···std::vector<udp::endpoint>·nodes; | ||
72 | ···std::vector<udp::endpoint>·nodes6; | ||
73 | }; | ||
74 | </pre> | ||
75 | <a·name="nodes"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_state%3A%3A%5Bnodes%5D&labels=documentation&body=Documentation+under+heading+%22dht_state%3A%3A%5Bnodes%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | ||
76 | <dt>nodes</dt> | ||
77 | <dd>the·bootstrap·nodes·saved·from·the·buckets·node</dd> | ||
78 | </dl> | ||
79 | <a·name="nodes6"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_state%3A%3A%5Bnodes6%5D&labels=documentation&body=Documentation+under+heading+%22dht_state%3A%3A%5Bnodes6%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | ||
80 | <dt>nodes6</dt> | ||
81 | <dd>the·bootstrap·nodes·saved·from·the·IPv6·buckets·node</dd> | ||
82 | </dl> | ||
59 | <a·name="dht_storage_counters"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+dht_storage_counters&labels=documentation&body=Documentation+under+heading+%22class+dht_storage_counters%22+could+be+improved">report·issue</a>]</span><div | 83 | <a·name="dht_storage_counters"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+dht_storage_counters&labels=documentation&body=Documentation+under+heading+%22class+dht_storage_counters%22+could+be+improved">report·issue</a>]</span></div> |
84 | <div·class="section"·id="dht-storage-counters"> | ||
60 | <h1>dht_storage_counters</h1> | 85 | <h1>dht_storage_counters</h1> |
61 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/kademlia/dht_storage.hpp">libtorrent/kademlia/dht_storage.hpp</a>"</p> | 86 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/kademlia/dht_storage.hpp">libtorrent/kademlia/dht_storage.hpp</a>"</p> |
62 | <p>This·structure·hold·the·relevant·<a·class="reference·external"·href="reference-Stats.html#counters">counters</a>·for·the·storage</p> | 87 | <p>This·structure·hold·the·relevant·<a·class="reference·external"·href="reference-Stats.html#counters">counters</a>·for·the·storage</p> |
63 | <pre·class="literal-block"> | 88 | <pre·class="literal-block"> |
64 | struct·dht_storage_counters | 89 | struct·dht_storage_counters |
65 | { | 90 | { |
66 | ···void·<strong>reset</strong>·(); | 91 | ···void·<strong>reset</strong>·(); |
Offset 282, 42 lines modified | Offset 308, 16 lines modified | ||
282 | <a·name="counters()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_storage_interface%3A%3A%5Bcounters%28%29%5D&labels=documentation&body=Documentation+under+heading+%22dht_storage_interface%3A%3A%5Bcounters%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 308 | <a·name="counters()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_storage_interface%3A%3A%5Bcounters%28%29%5D&labels=documentation&body=Documentation+under+heading+%22dht_storage_interface%3A%3A%5Bcounters%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
283 | <div·class="section"·id="counters"> | 309 | <div·class="section"·id="counters"> |
284 | <h2>counters()</h2> | 310 | <h2>counters()</h2> |
285 | <pre·class="literal-block"> | 311 | <pre·class="literal-block"> |
286 | virtual·dht_storage_counters·<strong>counters</strong>·()·const·=·0; | 312 | virtual·dht_storage_counters·<strong>counters</strong>·()·const·=·0; |
287 | </pre> | 313 | </pre> |
288 | <p>return·stats·<a·class="reference·external"·href="reference-Stats.html#counters">counters</a>·for·the·store</p> | 314 | <p>return·stats·<a·class="reference·external"·href="reference-Stats.html#counters">counters</a>·for·the·store</p> |
289 | <a·name="dht_state"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+dht_state&labels=documentation&body=Documentation+under+heading+%22class+dht_state%22+could+be+improved">report·issue</a>]</span></div> | ||
290 | </div> | ||
291 | <div·class="section"·id="dht-state"> | ||
292 | <h1>dht_state</h1> | ||
293 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/kademlia/dht_state.hpp">libtorrent/kademlia/dht_state.hpp</a>"</p> | ||
294 | <p>This·structure·helps·to·store·and·load·the·state | ||
295 | of·the·<tt·class="docutils·literal">dht_tracker</tt>. | ||
296 | At·this·moment·the·library·is·only·a·dual·stack | ||
297 | implementation·of·the·DHT.·See·<a·class="reference·external"·href="https://www.bittorrent.org/beps/bep_0032.html">BEP·32</a></p> | ||
298 | <pre·class="literal-block"> | ||
299 | struct·dht_state | ||
300 | { | ||
301 | ···void·<strong>clear</strong>·(); | ||
302 | ···node_ids_t·nids; | ||
303 | ···std::vector<udp::endpoint>·nodes; | ||
304 | ···std::vector<udp::endpoint>·nodes6; | ||
305 | }; | ||
306 | </pre> | ||
307 | <a·name="nodes"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_state%3A%3A%5Bnodes%5D&labels=documentation&body=Documentation+under+heading+%22dht_state%3A%3A%5Bnodes%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | ||
308 | <dt>nodes</dt> | ||
309 | <dd>the·bootstrap·nodes·saved·from·the·buckets·node</dd> | ||
310 | </dl> | ||
311 | <a·name="nodes6"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_state%3A%3A%5Bnodes6%5D&labels=documentation&body=Documentation+under+heading+%22dht_state%3A%3A%5Bnodes6%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | ||
312 | <dt>nodes6</dt> | ||
313 | <dd>the·bootstrap·nodes·saved·from·the·IPv6·buckets·node</dd> | ||
314 | </dl> | ||
315 | <a·name="dht_default_storage_constructor()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_default_storage_constructor%28%29&labels=documentation&body=Documentation+under+heading+%22dht_default_storage_constructor%28%29%22+could+be+improved">report·issue</a>]</span></div> | 315 | <a·name="dht_default_storage_constructor()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_default_storage_constructor%28%29&labels=documentation&body=Documentation+under+heading+%22dht_default_storage_constructor%28%29%22+could+be+improved">report·issue</a>]</span></div> |
316 | </div> | ||
316 | <div·class="section"·id="dht-default-storage-constructor"> | 317 | <div·class="section"·id="dht-default-storage-constructor"> |
317 | <h1>dht_default_storage_constructor()</h1> | 318 | <h1>dht_default_storage_constructor()</h1> |
318 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/kademlia/dht_storage.hpp">libtorrent/kademlia/dht_storage.hpp</a>"</p> | 319 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/kademlia/dht_storage.hpp">libtorrent/kademlia/dht_storage.hpp</a>"</p> |
319 | <pre·class="literal-block"> | 320 | <pre·class="literal-block"> |
320 | std::unique_ptr<dht_storage_interface>·<strong>dht_default_storage_constructor</strong>·( | 321 | std::unique_ptr<dht_storage_interface>·<strong>dht_default_storage_constructor</strong>·( |
321 | ···settings_interface·const&·settings); | 322 | ···settings_interface·const&·settings); |
322 | </pre> | 323 | </pre> |
Offset 1, 31 lines modified | Offset 1, 50 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 | ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e | ||
6 | ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s | 7 | ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s |
7 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8) | 8 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8) |
8 | ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | 9 | ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e |
9 | ··········o·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8__\x8i_\x8d_\x8s_\x8(_\x8) | 10 | ··········o·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8__\x8i_\x8d_\x8s_\x8(_\x8) |
10 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8) | 11 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8) |
11 | ··········o·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) | 12 | ··········o·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) |
12 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8i_\x8m_\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) | 13 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8i_\x8m_\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) |
13 | ··········o·_\x8p_\x8u_\x8t_\x8__\x8i_\x8m_\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) | 14 | ··········o·_\x8p_\x8u_\x8t_\x8__\x8i_\x8m_\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) |
14 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8__\x8s_\x8e_\x8q_\x8(_\x8) | 15 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8__\x8s_\x8e_\x8q_\x8(_\x8) |
15 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) | 16 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) |
16 | ··········o·_\x8p_\x8u_\x8t_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) | 17 | ··········o·_\x8p_\x8u_\x8t_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) |
17 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8(_\x8) | 18 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8(_\x8) |
18 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) | 19 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) |
19 | ··········o·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s_\x8(_\x8) | 20 | ··········o·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s_\x8(_\x8) |
20 | ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e | ||
21 | ····*·_\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) | 21 | ····*·_\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) |
22 | ····*·_\x8s_\x8i_\x8g_\x8n_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) | 22 | ····*·_\x8s_\x8i_\x8g_\x8n_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) |
23 | ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t | 23 | ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t |
24 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 24 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
25 | *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8dh\x8ht\x8t_\x8_s\x8st\x8ta\x8at\x8te\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
26 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8._\x8h_\x8p_\x8p" | ||
27 | This·structure·helps·to·store·and·load·the·state·of·the·dht_tracker.·At·this | ||
28 | moment·the·library·is·only·a·dual·stack·implementation·of·the·DHT.·See·_\x8B_\x8E_\x8P_\x8·_\x83_\x82 | ||
29 | struct·dht_state | ||
30 | { | ||
31 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r·(); | ||
32 | ···node_ids_t·nids; | ||
33 | ···std::vector<udp::endpoint>·nodes; | ||
34 | ···std::vector<udp::endpoint>·nodes6; | ||
35 | }; | ||
36 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
37 | ··nodes | ||
38 | ······the·bootstrap·nodes·saved·from·the·buckets·node | ||
39 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
40 | ··nodes6 | ||
41 | ······the·bootstrap·nodes·saved·from·the·IPv6·buckets·node | ||
42 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
25 | *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8dh\x8ht\x8t_\x8_s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8**\x8* | 43 | *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8dh\x8ht\x8t_\x8_s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8**\x8* |
26 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8._\x8h_\x8p_\x8p" | 44 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8._\x8h_\x8p_\x8p" |
27 | This·structure·hold·the·relevant·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s·for·the·storage | 45 | This·structure·hold·the·relevant·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s·for·the·storage |
28 | struct·dht_storage_counters | 46 | struct·dht_storage_counters |
29 | { | 47 | { |
30 | ···void·r\x8re\x8es\x8se\x8et\x8t·(); | 48 | ···void·r\x8re\x8es\x8se\x8et\x8t·(); |
Offset 191, 33 lines modified | Offset 210, 14 lines modified | ||
191 | For·implementers:·Use·this·functions·for·expire·peers·or·items·or·any·other | 210 | For·implementers:·Use·this·functions·for·expire·peers·or·items·or·any·other |
192 | storage·cleanup. | 211 | storage·cleanup. |
193 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 212 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
194 | *\x8**\x8**\x8**\x8**\x8*·c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 213 | *\x8**\x8**\x8**\x8**\x8*·c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
195 | virtual·dht_storage_counters·c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·()·const·=·0; | 214 | virtual·dht_storage_counters·c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·()·const·=·0; |
196 | return·stats·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s·for·the·store | 215 | return·stats·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s·for·the·store |
197 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 216 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
198 | *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8dh\x8ht\x8t_\x8_s\x8st\x8ta\x8at\x8te\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
199 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8._\x8h_\x8p_\x8p" | ||
200 | This·structure·helps·to·store·and·load·the·state·of·the·dht_tracker.·At·this | ||
201 | moment·the·library·is·only·a·dual·stack·implementation·of·the·DHT.·See·_\x8B_\x8E_\x8P_\x8·_\x83_\x82 | ||
202 | struct·dht_state | ||
203 | { | ||
204 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r·(); | ||
205 | ···node_ids_t·nids; | ||
206 | ···std::vector<udp::endpoint>·nodes; | ||
207 | ···std::vector<udp::endpoint>·nodes6; | ||
208 | }; | ||
209 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
210 | ··nodes | ||
211 | ······the·bootstrap·nodes·saved·from·the·buckets·node | ||
212 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
213 | ··nodes6 | ||
214 | ······the·bootstrap·nodes·saved·from·the·IPv6·buckets·node | ||
215 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
216 | *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8dh\x8ht\x8t_\x8_d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t_\x8_s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_c\x8co\x8on\x8ns\x8st\x8tr\x8ru\x8uc\x8ct\x8to\x8or\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | 217 | *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8dh\x8ht\x8t_\x8_d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t_\x8_s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_c\x8co\x8on\x8ns\x8st\x8tr\x8ru\x8uc\x8ct\x8to\x8or\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
217 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8._\x8h_\x8p_\x8p" | 218 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8._\x8h_\x8p_\x8p" |
218 | std::unique_ptr<dht_storage_interface>·d\x8dh\x8ht\x8t_\x8_d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t_\x8_s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_c\x8co\x8on\x8ns\x8st\x8tr\x8ru\x8uc\x8ct\x8to\x8or\x8r·( | 219 | std::unique_ptr<dht_storage_interface>·d\x8dh\x8ht\x8t_\x8_d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t_\x8_s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_c\x8co\x8on\x8ns\x8st\x8tr\x8ru\x8uc\x8ct\x8to\x8or\x8r·( |
219 | ···settings_interface·const&·settings); | 220 | ···settings_interface·const&·settings); |
220 | constructor·for·the·default·DHT·storage.·The·DHT·storage·is·responsible·for | 221 | constructor·for·the·default·DHT·storage.·The·DHT·storage·is·responsible·for |
221 | maintaining·peers·and·mutable·and·immutable·items·announced·and·stored/put·to | 222 | maintaining·peers·and·mutable·and·immutable·items·announced·and·stored/put·to |
222 | the·DHT·node. | 223 | the·DHT·node. |
Offset 33, 30 lines modified | Offset 33, 30 lines modified | ||
33 | <p·class="topic-title">Table·of·contents</p> | 33 | <p·class="topic-title">Table·of·contents</p> |
34 | <ul·class="simple"> | 34 | <ul·class="simple"> |
35 | <li><a·class="reference·internal"·href="#storage-error"·id="toc-entry-1">storage_error</a><ul> | 35 | <li><a·class="reference·internal"·href="#storage-error"·id="toc-entry-1">storage_error</a><ul> |
36 | <li><a·class="reference·internal"·href="#bool"·id="toc-entry-2">bool()</a></li> | 36 | <li><a·class="reference·internal"·href="#bool"·id="toc-entry-2">bool()</a></li> |
37 | <li><a·class="reference·internal"·href="#file"·id="toc-entry-3">file()</a></li> | 37 | <li><a·class="reference·internal"·href="#file"·id="toc-entry-3">file()</a></li> |
38 | </ul> | 38 | </ul> |
39 | </li> | 39 | </li> |
40 | <li><a·class="reference·internal"·href="#gzip-category"·id="toc-entry-4">gzip_category()</a></li> | ||
41 | <li><a·class="reference·internal"·href="#upnp-category"·id="toc-entry-5">upnp_category()</a></li> | ||
42 | <li><a·class="reference·internal"·href="#bdecode-category"·id="toc-entry-6">bdecode_category()</a></li> | ||
43 | <li><a·class="reference·internal"·href="#pcp-category"·id="toc-entry-7">pcp_category()</a></li> | ||
44 | <li><a·class="reference·internal"·href="#i2p-category"·id="toc-entry-8">i2p_category()</a></li> | ||
40 | <li><a·class="reference·internal"·href="#libtorrent-category"·id="toc-entry- | 45 | <li><a·class="reference·internal"·href="#libtorrent-category"·id="toc-entry-9">libtorrent_category()</a></li> |
41 | <li><a·class="reference·internal"·href="#http-category"·id="toc-entry- | 46 | <li><a·class="reference·internal"·href="#http-category"·id="toc-entry-10">http_category()</a></li> |
42 | <li><a·class="reference·internal"·href="#i2p-category"·id="toc-entry-6">i2p_category()</a></li> | ||
43 | <li><a·class="reference·internal"·href="#bdecode-category"·id="toc-entry-7">bdecode_category()</a></li> | ||
44 | <li><a·class="reference·internal"·href="#pcp-category"·id="toc-entry-8">pcp_category()</a></li> | ||
45 | <li><a·class="reference·internal"·href="#socks-category"·id="toc-entry- | 47 | <li><a·class="reference·internal"·href="#socks-category"·id="toc-entry-11">socks_category()</a></li> |
46 | <li><a·class="reference·internal"·href="#gzip-category"·id="toc-entry-10">gzip_category()</a></li> | ||
47 | <li><a·class="reference·internal"·href="#upnp-category"·id="toc-entry-11">upnp_category()</a></li> | ||
48 | <li><a·class="reference·internal"·href="#enum-error-code-enum"·id="toc-entry-12">enum·error_code_enum</a></li> | 48 | <li><a·class="reference·internal"·href="#enum-error-code-enum"·id="toc-entry-12">enum·error_code_enum</a></li> |
49 | <li><a·class="reference·internal"·href="#enum-http-errors"·id="toc-entry-13">enum·http_errors</a></li> | ||
50 | <li><a·class="reference·internal"·href="#enum-i2p-error-code"·id="toc-entry-14">enum·i2p_error_code</a></li> | ||
51 | <li><a·class="reference·internal"·href="#enum-error-code-enum-1"·id="toc-entry-1 | 49 | <li><a·class="reference·internal"·href="#enum-error-code-enum-1"·id="toc-entry-13">enum·error_code_enum</a></li> |
52 | <li><a·class="reference·internal"·href="#enum-pcp-errors"·id="toc-entry-16">enum·pcp_errors</a></li> | ||
53 | <li><a·class="reference·internal"·href="#enum-socks-error-code"·id="toc-entry-17">enum·socks_error_code</a></li> | ||
54 | <li><a·class="reference·internal"·href="#enum-error-code-enum-2"·id="toc-entry-1 | 50 | <li><a·class="reference·internal"·href="#enum-error-code-enum-2"·id="toc-entry-14">enum·error_code_enum</a></li> |
51 | <li><a·class="reference·internal"·href="#enum-pcp-errors"·id="toc-entry-15">enum·pcp_errors</a></li> | ||
52 | <li><a·class="reference·internal"·href="#enum-i2p-error-code"·id="toc-entry-16">enum·i2p_error_code</a></li> | ||
55 | <li><a·class="reference·internal"·href="#enum-error-code-enum-3"·id="toc-entry-1 | 53 | <li><a·class="reference·internal"·href="#enum-error-code-enum-3"·id="toc-entry-17">enum·error_code_enum</a></li> |
54 | <li><a·class="reference·internal"·href="#enum-http-errors"·id="toc-entry-18">enum·http_errors</a></li> | ||
55 | <li><a·class="reference·internal"·href="#enum-socks-error-code"·id="toc-entry-19">enum·socks_error_code</a></li> | ||
56 | </ul> | 56 | </ul> |
57 | </div> | 57 | </div> |
58 | <a·name="storage_error"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+storage_error&labels=documentation&body=Documentation+under+heading+%22class+storage_error%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="storage-error"> | 58 | <a·name="storage_error"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+storage_error&labels=documentation&body=Documentation+under+heading+%22class+storage_error%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="storage-error"> |
59 | <h1>storage_error</h1> | 59 | <h1>storage_error</h1> |
60 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/error_code.hpp">libtorrent/error_code.hpp</a>"</p> | 60 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/error_code.hpp">libtorrent/error_code.hpp</a>"</p> |
61 | <p>used·by·storage·to·return·errors | 61 | <p>used·by·storage·to·return·errors |
62 | also·includes·which·underlying·file·the | 62 | also·includes·which·underlying·file·the |
Offset 94, 80 lines modified | Offset 94, 426 lines modified | ||
94 | <dd>the·error·that·occurred</dd> | 94 | <dd>the·error·that·occurred</dd> |
95 | </dl> | 95 | </dl> |
96 | <a·name="operation"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:storage_error%3A%3A%5Boperation%5D&labels=documentation&body=Documentation+under+heading+%22storage_error%3A%3A%5Boperation%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | 96 | <a·name="operation"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:storage_error%3A%3A%5Boperation%5D&labels=documentation&body=Documentation+under+heading+%22storage_error%3A%3A%5Boperation%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> |
97 | <dt>operation</dt> | 97 | <dt>operation</dt> |
98 | <dd>A·code·from·<a·class="reference·external"·href="reference-Alerts.html#operation_t">operation_t</a>·enum,·indicating·what | 98 | <dd>A·code·from·<a·class="reference·external"·href="reference-Alerts.html#operation_t">operation_t</a>·enum,·indicating·what |
99 | kind·of·operation·failed.</dd> | 99 | kind·of·operation·failed.</dd> |
100 | </dl> | 100 | </dl> |
101 | <a·name=" | 101 | <a·name="gzip_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:gzip_category%28%29&labels=documentation&body=Documentation+under+heading+%22gzip_category%28%29%22+could+be+improved">report·issue</a>]</span></div> |
102 | </div> | 102 | </div> |
103 | <div·class="section"·id="libtorrent-category"> | ||
104 | <h1>libtorrent_category()</h1> | ||
105 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/error_code.hpp">libtorrent/error_code.hpp</a>"</p> | ||
106 | <pre·class="literal-block"> | ||
107 | boost::system::error_category&·<strong>libtorrent_category</strong>·(); | ||
108 | </pre> | ||
109 | <p>return·the·instance·of·the·libtorrent_error_category·which | ||
110 | maps·libtorrent·error·codes·to·human·readable·error·messages.</p> | ||
111 | <a·name="http_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:http_category%28%29&labels=documentation&body=Documentation+under+heading+%22http_category%28%29%22+could+be+improved">report·issue</a>]</span></div> | ||
112 | <div·class="section"·id=" | 103 | <div·class="section"·id="gzip-category"> |
113 | <h1> | 104 | <h1>gzip_category()</h1> |
114 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/ | 105 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/gzip.hpp">libtorrent/gzip.hpp</a>"</p> |
115 | <pre·class="literal-block"> | 106 | <pre·class="literal-block"> |
116 | boost::system::error_category&·<strong> | 107 | boost::system::error_category&·<strong>gzip_category</strong>·(); |
117 | </pre> | 108 | </pre> |
118 | <p> | 109 | <p>get·the·<tt·class="docutils·literal">error_category</tt>·for·zip·errors</p> |
119 | <a·name=" | 110 | <a·name="upnp_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:upnp_category%28%29&labels=documentation&body=Documentation+under+heading+%22upnp_category%28%29%22+could+be+improved">report·issue</a>]</span></div> |
120 | <div·class="section"·id=" | 111 | <div·class="section"·id="upnp-category"> |
121 | <h1> | 112 | <h1>upnp_category()</h1> |
122 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/ | 113 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/upnp.hpp">libtorrent/upnp.hpp</a>"</p> |
123 | <pre·class="literal-block"> | 114 | <pre·class="literal-block"> |
124 | boost::system::error_category&·<strong> | 115 | boost::system::error_category&·<strong>upnp_category</strong>·(); |
125 | </pre> | 116 | </pre> |
126 | <p> | 117 | <p>the·boost.system·error·category·for·UPnP·errors</p> |
127 | <a·name="bdecode_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_category%28%29&labels=documentation&body=Documentation+under+heading+%22bdecode_category%28%29%22+could+be+improved">report·issue</a>]</span></div> | 118 | <a·name="bdecode_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_category%28%29&labels=documentation&body=Documentation+under+heading+%22bdecode_category%28%29%22+could+be+improved">report·issue</a>]</span></div> |
128 | <div·class="section"·id="bdecode-category"> | 119 | <div·class="section"·id="bdecode-category"> |
129 | <h1>bdecode_category()</h1> | 120 | <h1>bdecode_category()</h1> |
130 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/bdecode.hpp">libtorrent/bdecode.hpp</a>"</p> | 121 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/bdecode.hpp">libtorrent/bdecode.hpp</a>"</p> |
131 | <pre·class="literal-block"> | 122 | <pre·class="literal-block"> |
132 | boost::system::error_category&·<strong>bdecode_category</strong>·(); | 123 | boost::system::error_category&·<strong>bdecode_category</strong>·(); |
133 | </pre> | 124 | </pre> |
134 | <a·name="pcp_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:pcp_category%28%29&labels=documentation&body=Documentation+under+heading+%22pcp_category%28%29%22+could+be+improved">report·issue</a>]</span></div> | 125 | <a·name="pcp_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:pcp_category%28%29&labels=documentation&body=Documentation+under+heading+%22pcp_category%28%29%22+could+be+improved">report·issue</a>]</span></div> |
135 | <div·class="section"·id="pcp-category"> | 126 | <div·class="section"·id="pcp-category"> |
136 | <h1>pcp_category()</h1> | 127 | <h1>pcp_category()</h1> |
137 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/natpmp.hpp">libtorrent/natpmp.hpp</a>"</p> | 128 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/natpmp.hpp">libtorrent/natpmp.hpp</a>"</p> |
138 | <pre·class="literal-block"> | 129 | <pre·class="literal-block"> |
139 | boost::system::error_category&·<strong>pcp_category</strong>·(); | 130 | boost::system::error_category&·<strong>pcp_category</strong>·(); |
140 | </pre> | 131 | </pre> |
132 | <a·name="i2p_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:i2p_category%28%29&labels=documentation&body=Documentation+under+heading+%22i2p_category%28%29%22+could+be+improved">report·issue</a>]</span></div> | ||
133 | <div·class="section"·id="i2p-category"> | ||
134 | <h1>i2p_category()</h1> | ||
135 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/i2p_stream.hpp">libtorrent/i2p_stream.hpp</a>"</p> | ||
136 | <pre·class="literal-block"> | ||
137 | boost::system::error_category&·<strong>i2p_category</strong>·(); | ||
138 | </pre> | ||
139 | <p>returns·the·error·category·for·I2P·errors</p> | ||
140 | <a·name="libtorrent_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:libtorrent_category%28%29&labels=documentation&body=Documentation+under+heading+%22libtorrent_category%28%29%22+could+be+improved">report·issue</a>]</span></div> | ||
141 | <div·class="section"·id="libtorrent-category"> | ||
142 | <h1>libtorrent_category()</h1> | ||
143 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/error_code.hpp">libtorrent/error_code.hpp</a>"</p> | ||
144 | <pre·class="literal-block"> | ||
145 | boost::system::error_category&·<strong>libtorrent_category</strong>·(); | ||
146 | </pre> | ||
147 | <p>return·the·instance·of·the·libtorrent_error_category·which | ||
148 | maps·libtorrent·error·codes·to·human·readable·error·messages.</p> | ||
149 | <a·name="http_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:http_category%28%29&labels=documentation&body=Documentation+under+heading+%22http_category%28%29%22+could+be+improved">report·issue</a>]</span></div> | ||
150 | <div·class="section"·id="http-category"> | ||
151 | <h1>http_category()</h1> | ||
152 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/error_code.hpp">libtorrent/error_code.hpp</a>"</p> | ||
153 | <pre·class="literal-block"> | ||
154 | boost::system::error_category&·<strong>http_category</strong>·(); | ||
155 | </pre> | ||
156 | <p>returns·the·error_category·for·HTTP·errors</p> | ||
141 | <a·name="socks_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:socks_category%28%29&labels=documentation&body=Documentation+under+heading+%22socks_category%28%29%22+could+be+improved">report·issue</a>]</span></div> | 157 | <a·name="socks_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:socks_category%28%29&labels=documentation&body=Documentation+under+heading+%22socks_category%28%29%22+could+be+improved">report·issue</a>]</span></div> |
142 | <div·class="section"·id="socks-category"> | 158 | <div·class="section"·id="socks-category"> |
143 | <h1>socks_category()</h1> | 159 | <h1>socks_category()</h1> |
144 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/socks5_stream.hpp">libtorrent/socks5_stream.hpp</a>"</p> | 160 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/socks5_stream.hpp">libtorrent/socks5_stream.hpp</a>"</p> |
145 | <pre·class="literal-block"> | 161 | <pre·class="literal-block"> |
146 | boost::system::error_category&·<strong>socks_category</strong>·(); | 162 | boost::system::error_category&·<strong>socks_category</strong>·(); |
147 | </pre> | 163 | </pre> |
148 | <p>returns·the·error_category·for·SOCKS5·errors</p> | 164 | <p>returns·the·error_category·for·SOCKS5·errors</p> |
149 | <a·name="gzip_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:gzip_category%28%29&labels=documentation&body=Documentation+under+heading+%22gzip_category%28%29%22+could+be+improved">report·issue</a>]</span></div> | ||
150 | <div·class="section"·id="gzip-category"> | ||
151 | <h | 165 | <a·name="error_code_enum"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+error_code_enum&labels=documentation&body=Documentation+under+heading+%22enum+error_code_enum%22+could+be+improved">report·issu[·...·truncated·by·diffoscope;·len:·18,·SHA:·e62d93ea240aefc0c9a0d452f33a9a8c98858bbda52e8232b868872a0d23b1fb·...·]> |
166 | <div·class="section"·id="enum-error-code-enum"> | ||
167 | <h1>enum·error_code_enum</h1> | ||
152 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/gzip.hpp">libtorrent/gzip.hpp</a>"</p> | 168 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/gzip.hpp">libtorrent/gzip.hpp</a>"</p> |
153 | <pre·class="literal-block"> | ||
Max diff block lines reached; 18271/34314 bytes (53.25%) of diff not shown. |
Offset 2, 30 lines modified | Offset 2, 30 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 | ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r | 6 | ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r |
7 | ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8) | 7 | ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8) |
8 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 8 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
9 | ····*·_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
10 | ····*·_\x8 | 9 | ····*·_\x8g_.z_.i_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
11 | ····*·_\x8 | 10 | ····*·_\x8u_.p_.n_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
12 | ····*·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | 11 | ····*·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
13 | ····*·_\x8p_\x8c_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | 12 | ····*·_\x8p_\x8c_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
13 | ····*·_\x8i_\x82_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
14 | ····*·_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
15 | ····*·_\x8h_\x8t_\x8t_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
14 | ····*·_\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | 16 | ····*·_\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
15 | ····*·_\x8g_\x8z_\x8i_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
16 | ····*·_\x8u_\x8p_\x8n_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
17 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m | 17 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m |
18 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8h_\x8t_\x8t_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s | ||
19 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8i_\x82_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e | ||
20 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m | 18 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m |
21 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8c_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s | ||
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·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m | 19 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m |
20 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8c_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s | ||
21 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8i_\x82_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e | ||
24 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m | 22 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m |
23 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8h_\x8t_\x8t_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s | ||
24 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e | ||
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**\x8*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_e\x8er\x8rr\x8ro\x8or\x8r·*\x8**\x8**\x8**\x8**\x8**\x8* | 26 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_e\x8er\x8rr\x8ro\x8or\x8r·*\x8**\x8**\x8**\x8**\x8**\x8* |
27 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8._\x8h_\x8p_\x8p" | 27 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8._\x8h_\x8p_\x8p" |
28 | used·by·storage·to·return·errors·also·includes·which·underlying·file·the·error | 28 | used·by·storage·to·return·errors·also·includes·which·underlying·file·the·error |
29 | happened·on | 29 | happened·on |
30 | struct·storage_error | 30 | struct·storage_error |
31 | { | 31 | { |
Offset 50, 52 lines modified | Offset 50, 167 lines modified | ||
50 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 50 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
51 | ··ec | 51 | ··ec |
52 | ······the·error·that·occurred | 52 | ······the·error·that·occurred |
53 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 53 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
54 | ··operation | 54 | ··operation |
55 | ······A·code·from·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8t·enum,·indicating·what·kind·of·operation·failed. | 55 | ······A·code·from·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8t·enum,·indicating·what·kind·of·operation·failed. |
56 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 56 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
57 | *\x8**\x8**\x8**\x8**\x8**\x8*·g\x8gz\x8zi\x8ip\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
58 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8g_\x8z_\x8i_\x8p_\x8._\x8h_\x8p_\x8p" | ||
59 | boost::system::error_category&·g\x8gz\x8zi\x8ip\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | ||
60 | get·the·error_category·for·zip·errors | ||
61 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
62 | *\x8**\x8**\x8**\x8**\x8**\x8*·u\x8up\x8pn\x8np\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
63 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8u_\x8p_\x8n_\x8p_\x8._\x8h_\x8p_\x8p" | ||
64 | boost::system::error_category&·u\x8up\x8pn\x8np\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | ||
65 | the·boost.system·error·category·for·UPnP·errors | ||
66 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
67 | *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
68 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8._\x8h_\x8p_\x8p" | ||
69 | boost::system::error_category&·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | ||
70 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
71 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pc\x8cp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
72 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8n_\x8a_\x8t_\x8p_\x8m_\x8p_\x8._\x8h_\x8p_\x8p" | ||
73 | boost::system::error_category&·p\x8pc\x8cp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | ||
74 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
75 | *\x8**\x8**\x8**\x8**\x8**\x8*·i\x8i2\x82p\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
76 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x82_\x8p_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8._\x8h_\x8p_\x8p" | ||
77 | boost::system::error_category&·i\x8i2\x82p\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | ||
78 | returns·the·error·category·for·I2P·errors | ||
79 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
57 | *\x8**\x8**\x8**\x8**\x8**\x8*·l\x8li\x8ib\x8bt\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | 80 | *\x8**\x8**\x8**\x8**\x8**\x8*·l\x8li\x8ib\x8bt\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
58 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8._\x8h_\x8p_\x8p" | 81 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8._\x8h_\x8p_\x8p" |
59 | boost::system::error_category&·l\x8li\x8ib\x8bt\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | 82 | boost::system::error_category&·l\x8li\x8ib\x8bt\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); |
60 | return·the·instance·of·the·libtorrent_error_category·which·maps·libtorrent | 83 | return·the·instance·of·the·libtorrent_error_category·which·maps·libtorrent |
61 | error·codes·to·human·readable·error·messages. | 84 | error·codes·to·human·readable·error·messages. |
62 | [_\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] |
63 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tt\x8tp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | 86 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tt\x8tp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
64 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8._\x8h_\x8p_\x8p" | 87 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8._\x8h_\x8p_\x8p" |
65 | boost::system::error_category&·h\x8ht\x8tt\x8tp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | 88 | boost::system::error_category&·h\x8ht\x8tt\x8tp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); |
66 | returns·the·error_category·for·HTTP·errors | 89 | returns·the·error_category·for·HTTP·errors |
67 | [_\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] |
68 | *\x8**\x8**\x8**\x8**\x8**\x8*·i\x8i2\x82p\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
69 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x82_\x8p_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8._\x8h_\x8p_\x8p" | ||
70 | boost::system::error_category&·i\x8i2\x82p\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | ||
71 | returns·the·error·category·for·I2P·errors | ||
72 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
73 | *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
74 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8._\x8h_\x8p_\x8p" | ||
75 | boost::system::error_category&·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | ||
76 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
77 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pc\x8cp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
78 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8n_\x8a_\x8t_\x8p_\x8m_\x8p_\x8._\x8h_\x8p_\x8p" | ||
79 | boost::system::error_category&·p\x8pc\x8cp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | ||
80 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
81 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8so\x8oc\x8ck\x8ks\x8s_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | 91 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8so\x8oc\x8ck\x8ks\x8s_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
82 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8o_\x8c_\x8k_\x8s_\x85_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8._\x8h_\x8p_\x8p" | 92 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8o_\x8c_\x8k_\x8s_\x85_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8._\x8h_\x8p_\x8p" |
83 | boost::system::error_category&·s\x8so\x8oc\x8ck\x8ks\x8s_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | 93 | boost::system::error_category&·s\x8so\x8oc\x8ck\x8ks\x8s_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); |
84 | returns·the·error_category·for·SOCKS5·errors | 94 | returns·the·error_category·for·SOCKS5·errors |
85 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 95 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
86 | *\x8**\x8**\x8**\x8**\x8**\x8*· | 96 | *\x8**\x8**\x8**\x8**\x8**\x8*·e.en.nu.um.m·e.er.rr.ro.or.r_._c.co.od.de.e_._e.en.nu.um.m·*\x8**\x8**\x8**\x8**\x8**\x8* |
87 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8g_\x8z_\x8i_\x8p_\x8._\x8h_\x8p_\x8p" | 97 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8g_\x8z_\x8i_\x8p_\x8._\x8h_\x8p_\x8p" |
88 | boost::system::error_category&·g\x8gz\x8zi\x8ip\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | ||
89 | 98 | ·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.· | |
99 | |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\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·| | ||
100 | |_\x8n_\x8o_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x80_\x8·_\x8·_\x8·_\x8·_\x8|_\x8N_\x8o_\x8t_\x8·_\x8a_\x8n_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
101 | |invalid_gzip_header················|1····|the·supplied·gzip·buffer·has·······| | ||
102 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8i_\x8n_\x8v_\x8a_\x8l_\x8i_\x8d_\x8·_\x8h_\x8e_\x8a_\x8d_\x8e_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
103 | |···································|·····|the·gzip·buffer·would·inflate·to···| | ||
104 | |inflated_data_too_large············|2····|more·bytes·than·the·specified······| | ||
105 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8m_\x8a_\x8x_\x8i_\x8m_\x8u_\x8m_\x8·_\x8s_\x8i_\x8z_\x8e_\x8,_\x8·_\x8a_\x8n_\x8d_\x8·_\x8w_\x8a_\x8s_\x8·_\x8r_\x8e_\x8j_\x8e_\x8c_\x8t_\x8e_\x8d_\x8._\x8·_\x8·_\x8·_\x8·| | ||
106 | |data_did_not_terminate·············|3····|available·inflate·data·did·not·····| | ||
107 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8t_\x8e_\x8r_\x8m_\x8i_\x8n_\x8a_\x8t_\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
108 | |space_exhausted····················|4····|output·space·exhausted·before······| | ||
109 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8t_\x8i_\x8n_\x8g_\x8·_\x8i_\x8n_\x8f_\x8l_\x8a_\x8t_\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
110 | |_\x8i_\x8n_\x8v_\x8a_\x8l_\x8i_\x8d_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8t_\x8y_\x8p_\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x85_\x8·_\x8·_\x8·_\x8·_\x8|_\x8i_\x8n_\x8v_\x8a_\x8l_\x8i_\x8d_\x8·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8·_\x8t_\x8y_\x8p_\x8e_\x8·_\x8(_\x8t_\x8y_\x8p_\x8e_\x8·_\x8=_\x8=_\x8·_\x83_\x8)_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
111 | |invalid_stored_block_length········|6····|stored·block·length·did·not·match··| | ||
112 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8o_\x8n_\x8e_\x8'_\x8s_\x8·_\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
113 | |too_many_length_or_distance_codes··|7····|dynamic·block·code·description:·too| | ||
114 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8m_\x8a_\x8n_\x8y_\x8·_\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8·_\x8o_\x8r_\x8·_\x8d_\x8i_\x8s_\x8t_\x8a_\x8n_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8s_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
115 | |code_lengths_codes_incomplete······|8····|dynamic·block·code·description:····| | ||
116 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8c_\x8o_\x8d_\x8e_\x8·_\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8s_\x8·_\x8c_\x8o_\x8d_\x8e_\x8s_\x8·_\x8i_\x8n_\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8t_\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
117 | |repeat_lengths_with_no_first_length|9····|dynamic·block·code·description:····| | ||
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|_\x8r_\x8e_\x8p_\x8e_\x8a_\x8t_\x8·_\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8s_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8n_\x8o_\x8·_\x8f_\x8i_\x8r_\x8s_\x8t_\x8·_\x8l_\x8e_\x8n_\x8g_\x8t_\x8h| | ||
119 | |repeat_more_than_specified_lengths·|10···|dynamic·block·code·description:····| | ||
120 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8r_\x8e_\x8p_\x8e_\x8a_\x8t_\x8·_\x8m_\x8o_\x8r_\x8e_\x8·_\x8t_\x8h_\x8a_\x8n_\x8·_\x8s_\x8p_\x8e_\x8c_\x8i_\x8f_\x8i_\x8e_\x8d_\x8·_\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8s_\x8·| | ||
121 | |invalid_literal_length_code_lengths|11···|dynamic·block·code·description:····| | ||
122 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8i_\x8n_\x8v_\x8a_\x8l_\x8i_\x8d_\x8·_\x8l_\x8i_\x8t_\x8e_\x8r_\x8a_\x8l_\x8/_\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8s| | ||
123 | |invalid_distance_code_lengths······|12···|dynamic·block·code·description:····| | ||
124 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8i_\x8n_\x8v_\x8a_\x8l_\x8i_\x8d_\x8·_\x8d_\x8i_\x8s_\x8t_\x8a_\x8n_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8s_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
Max diff block lines reached; 32724/44796 bytes (73.05%) of diff not shown. |
Offset 56, 19 lines modified | Offset 56, 19 lines modified | ||
56 | a·single·rule·that·allows·all·addresses·(0.0.0.0·-·255.255.255.255·for | 56 | a·single·rule·that·allows·all·addresses·(0.0.0.0·-·255.255.255.255·for |
57 | the·IPv4·range,·and·the·equivalent·range·covering·all·addresses·for·the | 57 | the·IPv4·range,·and·the·equivalent·range·covering·all·addresses·for·the |
58 | IPv6·range).</p> | 58 | IPv6·range).</p> |
59 | <p>A·default·constructed·<a·class="reference·external"·href="reference-Filter.html#ip_filter">ip_filter</a>·does·not·filter·any·address.</p> | 59 | <p>A·default·constructed·<a·class="reference·external"·href="reference-Filter.html#ip_filter">ip_filter</a>·does·not·filter·any·address.</p> |
60 | <pre·class="literal-block"> | 60 | <pre·class="literal-block"> |
61 | struct·ip_filter | 61 | struct·ip_filter |
62 | { | 62 | { |
63 | ···<strong>ip_filter</strong>·(ip_filter&&); | ||
64 | ···ip_filter&·<strong>operator=</strong>·(ip_filter&&); | ||
65 | ···<strong>~ip_filter</strong>·(); | ||
66 | ···ip_filter&·<strong>operator=</strong>·(ip_filter·const&); | 63 | ···ip_filter&·<strong>operator=</strong>·(ip_filter·const&); |
64 | ···<strong>~ip_filter</strong>·(); | ||
65 | ···ip_filter&·<strong>operator=</strong>·(ip_filter&&); | ||
67 | ···<strong>ip_filter</strong>·(ip_filter·const&); | 66 | ···<strong>ip_filter</strong>·(ip_filter·const&); |
67 | ···<strong>ip_filter</strong>·(ip_filter&&); | ||
68 | ···<strong>ip_filter</strong>·(); | 68 | ···<strong>ip_filter</strong>·(); |
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 |
Offset 153, 20 lines modified | Offset 153, 20 lines modified | ||
153 | <p>the·port·filter·maps·non-overlapping·port·ranges·to·flags.·This | 153 | <p>the·port·filter·maps·non-overlapping·port·ranges·to·flags.·This |
154 | is·primarily·used·to·indicate·whether·a·range·of·ports·should | 154 | is·primarily·used·to·indicate·whether·a·range·of·ports·should |
155 | be·connected·to·or·not.·The·default·is·to·have·the·full·port | 155 | be·connected·to·or·not.·The·default·is·to·have·the·full·port |
156 | range·(0-65535)·set·to·flag·0.</p> | 156 | range·(0-65535)·set·to·flag·0.</p> |
157 | <pre·class="literal-block"> | 157 | <pre·class="literal-block"> |
158 | class·port_filter | 158 | class·port_filter |
159 | { | 159 | { |
160 | ···<strong>port_filter</strong>·(port_filter&&); | ||
161 | ···port_filter&·<strong>operator=</strong>·(port_filter·const&); | ||
162 | ···port_filter&·<strong>operator=</strong>·(port_filter&&); | ||
163 | ···<strong>port_filter</strong>·(); | ||
164 | ···<strong>~port_filter</strong>·(); | 160 | ···<strong>~port_filter</strong>·(); |
161 | ···port_filter&·<strong>operator=</strong>·(port_filter&&); | ||
162 | ···<strong>port_filter</strong>·(port_filter&&); | ||
165 | ···<strong>port_filter</strong>·(port_filter·const&); | 163 | ···<strong>port_filter</strong>·(port_filter·const&); |
164 | ···<strong>port_filter</strong>·(); | ||
165 | ···port_filter&·<strong>operator=</strong>·(port_filter·const&); | ||
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, 19 lines modified | Offset 19, 19 lines modified | ||
19 | The·ip_filter·class·is·a·set·of·rules·that·uniquely·categorizes·all·ip | 19 | The·ip_filter·class·is·a·set·of·rules·that·uniquely·categorizes·all·ip |
20 | addresses·as·allowed·or·disallowed.·The·default·constructor·creates·a·single | 20 | addresses·as·allowed·or·disallowed.·The·default·constructor·creates·a·single |
21 | rule·that·allows·all·addresses·(0.0.0.0·-·255.255.255.255·for·the·IPv4·range, | 21 | rule·that·allows·all·addresses·(0.0.0.0·-·255.255.255.255·for·the·IPv4·range, |
22 | and·the·equivalent·range·covering·all·addresses·for·the·IPv6·range). | 22 | and·the·equivalent·range·covering·all·addresses·for·the·IPv6·range). |
23 | A·default·constructed·_\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r·does·not·filter·any·address. | 23 | A·default·constructed·_\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r·does·not·filter·any·address. |
24 | struct·ip_filter | 24 | struct·ip_filter |
25 | { | 25 | { |
26 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter&&); | ||
27 | ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter&&); | ||
28 | ···~\x8~i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | ||
29 | ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter·const&); | 26 | ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter·const&); |
27 | ···~\x8~i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | ||
28 | ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter&&); | ||
30 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter·const&); | 29 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter·const&); |
30 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter&&); | ||
31 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | 31 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); |
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; |
Offset 81, 20 lines modified | Offset 81, 20 lines modified | ||
81 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8* | 81 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8* |
82 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" | 82 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" |
83 | the·port·filter·maps·non-overlapping·port·ranges·to·flags.·This·is·primarily | 83 | the·port·filter·maps·non-overlapping·port·ranges·to·flags.·This·is·primarily |
84 | used·to·indicate·whether·a·range·of·ports·should·be·connected·to·or·not.·The | 84 | used·to·indicate·whether·a·range·of·ports·should·be·connected·to·or·not.·The |
85 | default·is·to·have·the·full·port·range·(0-65535)·set·to·flag·0. | 85 | default·is·to·have·the·full·port·range·(0-65535)·set·to·flag·0. |
86 | class·port_filter | 86 | class·port_filter |
87 | { | 87 | { |
88 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(port_filter&&); | ||
89 | ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter·const&); | ||
90 | ···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·(); | ||
92 | ···~\x8~p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | 88 | ···~\x8~p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); |
89 | ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter&&); | ||
90 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(port_filter&&); | ||
93 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(port_filter·const&); | 91 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(port_filter·const&); |
92 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | ||
93 | ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter·const&); | ||
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 104, 18 lines modified | Offset 104, 18 lines modified | ||
104 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/peer_class_type_filter.hpp">libtorrent/peer_class_type_filter.hpp</a>"</p> | 104 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/peer_class_type_filter.hpp">libtorrent/peer_class_type_filter.hpp</a>"</p> |
105 | <p><tt·class="docutils·literal">peer_class_type_filter</tt>·is·a·simple·container·for·rules·for·adding·and·subtracting | 105 | <p><tt·class="docutils·literal">peer_class_type_filter</tt>·is·a·simple·container·for·rules·for·adding·and·subtracting |
106 | peer-classes·from·peers.·It·is·applied·<em>after</em>·the·peer·class·filter·is·applied·(which | 106 | peer-classes·from·peers.·It·is·applied·<em>after</em>·the·peer·class·filter·is·applied·(which |
107 | is·based·on·the·peer's·IP·address).</p> | 107 | is·based·on·the·peer's·IP·address).</p> |
108 | <pre·class="literal-block"> | 108 | <pre·class="literal-block"> |
109 | struct·peer_class_type_filter | 109 | struct·peer_class_type_filter |
110 | { | 110 | { |
111 | ···void·<strong>remove</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
112 | ···void·<strong>add</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 111 | ···void·<strong>add</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
113 | ···void·<strong> | 112 | ···void·<strong>remove</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
114 | ···void·<strong>allow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 113 | ···void·<strong>allow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
114 | ···void·<strong>disallow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
115 | ···std::uint32_t·<strong>apply</strong>·(socket_type_t·const·st,·std::uint32_t·peer_class_mask); | 115 | ···std::uint32_t·<strong>apply</strong>·(socket_type_t·const·st,·std::uint32_t·peer_class_mask); |
116 | ···friend·bool·<strong>operator==</strong>·(peer_class_type_filter·const&·lhs | 116 | ···friend·bool·<strong>operator==</strong>·(peer_class_type_filter·const&·lhs |
117 | ······,·peer_class_type_filter·const&·rhs); | 117 | ······,·peer_class_type_filter·const&·rhs); |
118 | ···enum·socket_type_t | 118 | ···enum·socket_type_t |
119 | ···{ | 119 | ···{ |
120 | ······tcp_socket, | 120 | ······tcp_socket, |
Offset 127, 26 lines modified | Offset 127, 26 lines modified | ||
127 | ···}; | 127 | ···}; |
128 | }; | 128 | }; |
129 | </pre> | 129 | </pre> |
130 | <a·name="add()"></a> | 130 | <a·name="add()"></a> |
131 | <a·name="remove()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Badd%28%29+remove%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5Badd%28%29+remove%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="add-remove"> | 131 | <a·name="remove()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Badd%28%29+remove%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5Badd%28%29+remove%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="add-remove"> |
132 | <h2>add()·remove()</h2> | 132 | <h2>add()·remove()</h2> |
133 | <pre·class="literal-block"> | 133 | <pre·class="literal-block"> |
134 | void·<strong>remove</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
135 | void·<strong>add</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 134 | void·<strong>add</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
135 | void·<strong>remove</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
136 | </pre> | 136 | </pre> |
137 | <p><tt·class="docutils·literal">add()</tt>·and·<tt·class="docutils·literal">remove()</tt>·adds·and·removes·a·peer·class·to·be·added | 137 | <p><tt·class="docutils·literal">add()</tt>·and·<tt·class="docutils·literal">remove()</tt>·adds·and·removes·a·peer·class·to·be·added |
138 | to·new·peers·based·on·socket·type.</p> | 138 | to·new·peers·based·on·socket·type.</p> |
139 | <a·name="allow()"></a> | 139 | <a·name="allow()"></a> |
140 | <a·name="disallow()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Ballow%28%29+disallow%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5Ballow%28%29+disallow%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 140 | <a·name="disallow()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Ballow%28%29+disallow%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5Ballow%28%29+disallow%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
141 | <div·class="section"·id="allow-disallow"> | 141 | <div·class="section"·id="allow-disallow"> |
142 | <h2>allow()·disallow()</h2> | 142 | <h2>allow()·disallow()</h2> |
143 | <pre·class="literal-block"> | 143 | <pre·class="literal-block"> |
144 | void·<strong>disallow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
145 | void·<strong>allow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 144 | void·<strong>allow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
145 | void·<strong>disallow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
146 | </pre> | 146 | </pre> |
147 | <p><tt·class="docutils·literal">disallow()</tt>·and·<tt·class="docutils·literal">allow()</tt>·adds·and·removes·a·peer·class·to·be | 147 | <p><tt·class="docutils·literal">disallow()</tt>·and·<tt·class="docutils·literal">allow()</tt>·adds·and·removes·a·peer·class·to·be |
148 | removed·from·new·peers·based·on·socket·type.</p> | 148 | removed·from·new·peers·based·on·socket·type.</p> |
149 | <p>The·<tt·class="docutils·literal">peer_class</tt>·argument·cannot·be·greater·than·31.·The·bitmasks·representing | 149 | <p>The·<tt·class="docutils·literal">peer_class</tt>·argument·cannot·be·greater·than·31.·The·bitmasks·representing |
150 | peer·classes·in·the·<tt·class="docutils·literal">peer_class_type_filter</tt>·are·32·bits.</p> | 150 | peer·classes·in·the·<tt·class="docutils·literal">peer_class_type_filter</tt>·are·32·bits.</p> |
151 | <a·name="apply()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Bapply%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5Bapply%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 151 | <a·name="apply()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Bapply%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5Bapply%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
152 | <div·class="section"·id="apply"> | 152 | <div·class="section"·id="apply"> |
Offset 59, 18 lines modified | Offset 59, 18 lines modified | ||
59 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r_\x8_c\x8cl\x8la\x8as\x8ss\x8s_\x8_t\x8ty\x8yp\x8pe\x8e_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8* | 59 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r_\x8_c\x8cl\x8la\x8as\x8ss\x8s_\x8_t\x8ty\x8yp\x8pe\x8e_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8* |
60 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\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._\x8h_\x8p_\x8p" | 60 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\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._\x8h_\x8p_\x8p" |
61 | peer_class_type_filter·is·a·simple·container·for·rules·for·adding·and | 61 | peer_class_type_filter·is·a·simple·container·for·rules·for·adding·and |
62 | subtracting·peer-classes·from·peers.·It·is·applied·a\x8af\x8ft\x8te\x8er\x8r·the·peer·class·filter | 62 | subtracting·peer-classes·from·peers.·It·is·applied·a\x8af\x8ft\x8te\x8er\x8r·the·peer·class·filter |
63 | is·applied·(which·is·based·on·the·peer's·IP·address). | 63 | is·applied·(which·is·based·on·the·peer's·IP·address). |
64 | struct·peer_class_type_filter | 64 | struct·peer_class_type_filter |
65 | { | 65 | { |
66 | ···void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
67 | ···void·a\x8ad\x8dd\x8d·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 66 | ···void·a\x8ad\x8dd\x8d·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
68 | ···void· | 67 | ···void·r.re.em.mo.ov.ve.e·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
69 | ···void·a\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 68 | ···void·a\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
69 | ···void·d\x8di\x8is\x8sa\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
70 | ···std::uint32_t·a\x8ap\x8pp\x8pl\x8ly\x8y·(socket_type_t·const·st,·std::uint32_t·peer_class_mask); | 70 | ···std::uint32_t·a\x8ap\x8pp\x8pl\x8ly\x8y·(socket_type_t·const·st,·std::uint32_t·peer_class_mask); |
71 | ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(peer_class_type_filter·const&·lhs | 71 | ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(peer_class_type_filter·const&·lhs |
72 | ······,·peer_class_type_filter·const&·rhs); | 72 | ······,·peer_class_type_filter·const&·rhs); |
73 | ···enum·socket_type_t | 73 | ···enum·socket_type_t |
74 | ···{ | 74 | ···{ |
75 | ······tcp_socket, | 75 | ······tcp_socket, |
Offset 79, 22 lines modified | Offset 79, 22 lines modified | ||
79 | ······ssl_utp_socket, | 79 | ······ssl_utp_socket, |
80 | ······i2p_socket, | 80 | ······i2p_socket, |
81 | ······num_socket_types, | 81 | ······num_socket_types, |
82 | ···}; | 82 | ···}; |
83 | }; | 83 | }; |
84 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 84 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
85 | *\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d(\x8()\x8)·r\x8re\x8em\x8mo\x8ov\x8ve\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 85 | *\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d(\x8()\x8)·r\x8re\x8em\x8mo\x8ov\x8ve\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
86 | void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
87 | void·a\x8ad\x8dd\x8d·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 86 | void·a\x8ad\x8dd\x8d·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
87 | void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
88 | add()·and·remove()·adds·and·removes·a·peer·class·to·be·added·to·new·peers·based | 88 | add()·and·remove()·adds·and·removes·a·peer·class·to·be·added·to·new·peers·based |
89 | on·socket·type. | 89 | on·socket·type. |
90 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 90 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
91 | *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8ll\x8lo\x8ow\x8w(\x8()\x8)·d\x8di\x8is\x8sa\x8al\x8ll\x8lo\x8ow\x8w(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 91 | *\x8**\x8**\x8**\x8**\x8*·a\x8al\x8ll\x8lo\x8ow\x8w(\x8()\x8)·d\x8di\x8is\x8sa\x8al\x8ll\x8lo\x8ow\x8w(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
92 | void·d\x8di\x8is\x8sa\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
93 | void·a\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); | 92 | void·a\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
93 | void·d\x8di\x8is\x8sa\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
94 | disallow()·and·allow()·adds·and·removes·a·peer·class·to·be·removed·from·new | 94 | disallow()·and·allow()·adds·and·removes·a·peer·class·to·be·removed·from·new |
95 | peers·based·on·socket·type. | 95 | peers·based·on·socket·type. |
96 | The·peer_class·argument·cannot·be·greater·than·31.·The·bitmasks·representing | 96 | The·peer_class·argument·cannot·be·greater·than·31.·The·bitmasks·representing |
97 | peer·classes·in·the·peer_class_type_filter·are·32·bits. | 97 | peer·classes·in·the·peer_class_type_filter·are·32·bits. |
98 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 98 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
99 | *\x8**\x8**\x8**\x8**\x8*·a\x8ap\x8pp\x8pl\x8ly\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 99 | *\x8**\x8**\x8**\x8**\x8*·a\x8ap\x8pp\x8pl\x8ly\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
100 | std::uint32_t·a\x8ap\x8pp\x8pl\x8ly\x8y·(socket_type_t·const·st,·std::uint32_t·peer_class_mask); | 100 | std::uint32_t·a\x8ap\x8pp\x8pl\x8ly\x8y·(socket_type_t·const·st,·std::uint32_t·peer_class_mask); |
Offset 50, 45 lines modified | Offset 50, 45 lines modified | ||
50 | <li><a·class="reference·internal"·href="#load-state"·id="toc-entry-16">load_state()</a></li> | 50 | <li><a·class="reference·internal"·href="#load-state"·id="toc-entry-16">load_state()</a></li> |
51 | </ul> | 51 | </ul> |
52 | </li> | 52 | </li> |
53 | <li><a·class="reference·internal"·href="#torrent-plugin"·id="toc-entry-17">torrent_plugin</a><ul> | 53 | <li><a·class="reference·internal"·href="#torrent-plugin"·id="toc-entry-17">torrent_plugin</a><ul> |
54 | <li><a·class="reference·internal"·href="#new-connection"·id="toc-entry-18">new_connection()</a></li> | 54 | <li><a·class="reference·internal"·href="#new-connection"·id="toc-entry-18">new_connection()</a></li> |
55 | <li><a·class="reference·internal"·href="#on-piece-pass-on-piece-failed"·id="toc-entry-19">on_piece_pass()·on_piece_failed()</a></li> | 55 | <li><a·class="reference·internal"·href="#on-piece-pass-on-piece-failed"·id="toc-entry-19">on_piece_pass()·on_piece_failed()</a></li> |
56 | <li><a·class="reference·internal"·href="#tick"·id="toc-entry-20">tick()</a></li> | 56 | <li><a·class="reference·internal"·href="#tick"·id="toc-entry-20">tick()</a></li> |
57 | <li><a·class="reference·internal"·href="#on- | 57 | <li><a·class="reference·internal"·href="#on-resume-on-pause"·id="toc-entry-21">on_resume()·on_pause()</a></li> |
58 | <li><a·class="reference·internal"·href="#on-files-checked"·id="toc-entry-22">on_files_checked()</a></li> | 58 | <li><a·class="reference·internal"·href="#on-files-checked"·id="toc-entry-22">on_files_checked()</a></li> |
59 | <li><a·class="reference·internal"·href="#on-state"·id="toc-entry-23">on_state()</a></li> | 59 | <li><a·class="reference·internal"·href="#on-state"·id="toc-entry-23">on_state()</a></li> |
60 | <li><a·class="reference·internal"·href="#on-add-peer"·id="toc-entry-24">on_add_peer()</a></li> | 60 | <li><a·class="reference·internal"·href="#on-add-peer"·id="toc-entry-24">on_add_peer()</a></li> |
61 | </ul> | 61 | </ul> |
62 | </li> | 62 | </li> |
63 | <li><a·class="reference·internal"·href="#peer-plugin"·id="toc-entry-25">peer_plugin</a><ul> | 63 | <li><a·class="reference·internal"·href="#peer-plugin"·id="toc-entry-25">peer_plugin</a><ul> |
64 | <li><a·class="reference·internal"·href="#type"·id="toc-entry-26">type()</a></li> | 64 | <li><a·class="reference·internal"·href="#type"·id="toc-entry-26">type()</a></li> |
65 | <li><a·class="reference·internal"·href="#add-handshake"·id="toc-entry-27">add_handshake()</a></li> | 65 | <li><a·class="reference·internal"·href="#add-handshake"·id="toc-entry-27">add_handshake()</a></li> |
66 | <li><a·class="reference·internal"·href="#on-disconnect"·id="toc-entry-28">on_disconnect()</a></li> | 66 | <li><a·class="reference·internal"·href="#on-disconnect"·id="toc-entry-28">on_disconnect()</a></li> |
67 | <li><a·class="reference·internal"·href="#on-connected"·id="toc-entry-29">on_connected()</a></li> | 67 | <li><a·class="reference·internal"·href="#on-connected"·id="toc-entry-29">on_connected()</a></li> |
68 | <li><a·class="reference·internal"·href="#on-handshake"·id="toc-entry-30">on_handshake()</a></li> | 68 | <li><a·class="reference·internal"·href="#on-handshake"·id="toc-entry-30">on_handshake()</a></li> |
69 | <li><a·class="reference·internal"·href="#on-extension-handshake"·id="toc-entry-31">on_extension_handshake()</a></li> | 69 | <li><a·class="reference·internal"·href="#on-extension-handshake"·id="toc-entry-31">on_extension_handshake()</a></li> |
70 | <li><a·class="reference·internal"·href="#on-no | 70 | <li><a·class="reference·internal"·href="#on-unchoke-on-bitfield-on-not-interested-on-dont-have-on-have-all-on-request-on-choke-on-allowed-fast-on-have-none-on-have-on-interested"·id="toc-entry-32">on_unchoke()·on_bitfield()·on_not_interested()·on_dont_have()·on_have_all()·on_request()·on_choke()·on_[·...·truncated·by·diffoscope;·len:·53,·SHA:·f3d69fc4a48e7a15ca1802467192d4e852e2afe354c4d758436006da9d7abe15·...·]()</a></li> |
71 | <li><a·class="reference·internal"·href="#on-piece"·id="toc-entry-33">on_piece()</a></li> | 71 | <li><a·class="reference·internal"·href="#on-piece"·id="toc-entry-33">on_piece()</a></li> |
72 | <li><a·class="reference·internal"·href="#sent- | 72 | <li><a·class="reference·internal"·href="#sent-have-sent-not-interested-sent-unchoke-sent-interested-sent-piece"·id="toc-entry-34">sent_have()·sent_not_interested()·sent_unchoke()·sent_interested()·sent_piece()</a></li> |
73 | <li><a·class="reference·internal"·href="#sent-payload"·id="toc-entry-35">sent_payload()</a></li> | 73 | <li><a·class="reference·internal"·href="#sent-payload"·id="toc-entry-35">sent_payload()</a></li> |
74 | <li><a·class="reference·internal"·href="#can-disconnect"·id="toc-entry-36">can_disconnect()</a></li> | 74 | <li><a·class="reference·internal"·href="#can-disconnect"·id="toc-entry-36">can_disconnect()</a></li> |
75 | <li><a·class="reference·internal"·href="#on-extended"·id="toc-entry-37">on_extended()</a></li> | 75 | <li><a·class="reference·internal"·href="#on-extended"·id="toc-entry-37">on_extended()</a></li> |
76 | <li><a·class="reference·internal"·href="#on-unknown-message"·id="toc-entry-38">on_unknown_message()</a></li> | 76 | <li><a·class="reference·internal"·href="#on-unknown-message"·id="toc-entry-38">on_unknown_message()</a></li> |
77 | <li><a·class="reference·internal"·href="#on-piece-pass-on-piece-failed-1"·id="toc-entry-39">on_piece_pass()·on_piece_failed()</a></li> | 77 | <li><a·class="reference·internal"·href="#on-piece-pass-on-piece-failed-1"·id="toc-entry-39">on_piece_pass()·on_piece_failed()</a></li> |
78 | <li><a·class="reference·internal"·href="#tick-1"·id="toc-entry-40">tick()</a></li> | 78 | <li><a·class="reference·internal"·href="#tick-1"·id="toc-entry-40">tick()</a></li> |
79 | <li><a·class="reference·internal"·href="#write-request"·id="toc-entry-41">write_request()</a></li> | 79 | <li><a·class="reference·internal"·href="#write-request"·id="toc-entry-41">write_request()</a></li> |
80 | </ul> | 80 | </ul> |
81 | </li> | 81 | </li> |
82 | <li><a·class="reference·internal"·href="#crypto-plugin"·id="toc-entry-42">crypto_plugin</a><ul> | 82 | <li><a·class="reference·internal"·href="#crypto-plugin"·id="toc-entry-42">crypto_plugin</a><ul> |
83 | <li><a·class="reference·internal"·href="#decrypt"·id="toc-entry-43">decrypt()</a></li> | 83 | <li><a·class="reference·internal"·href="#decrypt"·id="toc-entry-43">decrypt()</a></li> |
84 | </ul> | 84 | </ul> |
85 | </li> | 85 | </li> |
86 | <li><a·class="reference·internal"·href="#create-ut-pex-plugin"·id="toc-entry-44">create_ut_pex_plugin()</a></li> | ||
86 | <li><a·class="reference·internal"·href="#create-smart-ban-plugin"·id="toc-entry-4 | 87 | <li><a·class="reference·internal"·href="#create-smart-ban-plugin"·id="toc-entry-45">create_smart_ban_plugin()</a></li> |
87 | <li><a·class="reference·internal"·href="#create-ut-pex-plugin"·id="toc-entry-45">create_ut_pex_plugin()</a></li> | ||
88 | <li><a·class="reference·internal"·href="#create-ut-metadata-plugin"·id="toc-entry-46">create_ut_metadata_plugin()</a></li> | 88 | <li><a·class="reference·internal"·href="#create-ut-metadata-plugin"·id="toc-entry-46">create_ut_metadata_plugin()</a></li> |
89 | </ul> | 89 | </ul> |
90 | </div> | 90 | </div> |
91 | <p>libtorrent·has·a·<a·class="reference·external"·href="reference-Plugins.html#plugin">plugin</a>·interface·for·implementing·extensions·to·the·protocol. | 91 | <p>libtorrent·has·a·<a·class="reference·external"·href="reference-Plugins.html#plugin">plugin</a>·interface·for·implementing·extensions·to·the·protocol. |
92 | These·can·be·general·extensions·for·transferring·metadata·or·peer·exchange | 92 | These·can·be·general·extensions·for·transferring·metadata·or·peer·exchange |
93 | extensions,·or·it·could·be·used·to·provide·a·way·to·customize·the·protocol | 93 | extensions,·or·it·could·be·used·to·provide·a·way·to·customize·the·protocol |
94 | to·fit·a·particular·(closed)·network.</p> | 94 | to·fit·a·particular·(closed)·network.</p> |
Offset 190, 66 lines modified | Offset 190, 66 lines modified | ||
190 | connection·object,·to·be·used·by·plugins.·This·is·a·low·level·interface·that | 190 | connection·object,·to·be·used·by·plugins.·This·is·a·low·level·interface·that |
191 | may·not·be·stable·across·libtorrent·versions</p> | 191 | may·not·be·stable·across·libtorrent·versions</p> |
192 | <pre·class="literal-block"> | 192 | <pre·class="literal-block"> |
193 | struct·peer_connection_handle | 193 | struct·peer_connection_handle |
194 | { | 194 | { |
195 | ···explicit·<strong>peer_connection_handle</strong>·(std::weak_ptr<peer_connection>·impl); | 195 | ···explicit·<strong>peer_connection_handle</strong>·(std::weak_ptr<peer_connection>·impl); |
196 | ···connection_type·<strong>type</strong>·()·const; | 196 | ···connection_type·<strong>type</strong>·()·const; |
197 | ···peer_plugin·const*·<strong>find_plugin</strong>·(string_view·type)·const; | ||
198 | ···void·<strong>add_extension</strong>·(std::shared_ptr<peer_plugin>); | 197 | ···void·<strong>add_extension</strong>·(std::shared_ptr<peer_plugin>); |
198 | ···peer_plugin·const*·<strong>find_plugin</strong>·(string_view·type)·const; | ||
199 | ···bool·<strong>is_seed</strong>·()·const; | 199 | ···bool·<strong>is_seed</strong>·()·const; |
200 | ···bool·<strong>upload_only</strong>·()·const; | 200 | ···bool·<strong>upload_only</strong>·()·const; |
201 | ···bool·<strong>has_piece</strong>·(piece_index_t·i)·const; | ||
202 | ···peer_id·const&·<strong>pid</strong>·()·const; | 201 | ···peer_id·const&·<strong>pid</strong>·()·const; |
203 | ···bool·<strong> | 202 | ···bool·<strong>has_piece</strong>·(piece_index_t·i)·const; |
204 | ···bool·<strong>is_choked</strong>·()·const; | 203 | ···bool·<strong>is_choked</strong>·()·const; |
204 | ···bool·<strong>is_interesting</strong>·()·const; | ||
205 | ···bool·<strong>has_peer_choked</strong>·()·const; | 205 | ···bool·<strong>has_peer_choked</strong>·()·const; |
206 | ···bool·<strong>is_peer_interested</strong>·()·const; | 206 | ···bool·<strong>is_peer_interested</strong>·()·const; |
207 | ···void·<strong>maybe_unchoke_this_peer</strong>·(); | 207 | ···void·<strong>maybe_unchoke_this_peer</strong>·(); |
208 | ···void·<strong>choke_this_peer</strong>·(); | 208 | ···void·<strong>choke_this_peer</strong>·(); |
209 | ···void·<strong>get_peer_info</strong>·(peer_info&·p)·const; | 209 | ···void·<strong>get_peer_info</strong>·(peer_info&·p)·const; |
210 | ···torrent_handle·<strong>associated_torrent</strong>·()·const; | 210 | ···torrent_handle·<strong>associated_torrent</strong>·()·const; |
211 | ···<a·class="reference·external"·href="tcp::endpoint">tcp::endpoint</a>·const&·<strong>remote</strong>·()·const; | 211 | ···<a·class="reference·external"·href="tcp::endpoint">tcp::endpoint</a>·const&·<strong>remote</strong>·()·const; |
212 | ···<a·class="reference·external"·href="tcp::endpoint">tcp::endpoint</a>·<strong>local_endpoint</strong>·()·const; | 212 | ···<a·class="reference·external"·href="tcp::endpoint">tcp::endpoint</a>·<strong>local_endpoint</strong>·()·const; |
213 | ···bool·<strong>is_outgoing</strong>·()·const; | 213 | ···bool·<strong>is_outgoing</strong>·()·const; |
214 | ···bool·<strong>is_disconnecting</strong>·()·const; | ||
215 | ···bool·<strong>is_connecting</strong>·()·const; | ||
214 | ···void·<strong>disconnect</strong>·(error_code·const&·ec,·operation_t·op | 216 | ···void·<strong>disconnect</strong>·(error_code·const&·ec,·operation_t·op |
215 | ······,·disconnect_severity_t·=·peer_connection_interface::normal); | 217 | ······,·disconnect_severity_t·=·peer_connection_interface::normal); |
216 | ···bool·<strong>is_connecting</strong>·()·const; | ||
217 | ···bool·<strong>is_disconnecting</strong>·()·const; | ||
218 | ···bool·<strong>ignore_unchoke_slots</strong>·()·const; | 218 | ···bool·<strong>ignore_unchoke_slots</strong>·()·const; |
219 | ···bool·<strong>on_local_network</strong>·()·const; | 219 | ···bool·<strong>on_local_network</strong>·()·const; |
220 | ···bool·<strong>failed</strong>·()·const; | 220 | ···bool·<strong>failed</strong>·()·const; |
221 | ···void·<strong>peer_log</strong>·(peer_log_alert::direction_t·direction | 221 | ···void·<strong>peer_log</strong>·(peer_log_alert::direction_t·direction |
222 | ······,·char·const*·event,·char·const*·fmt·=·"",·...)·const·TORRENT_FORMAT(4,5); | 222 | ······,·char·const*·event,·char·const*·fmt·=·"",·...)·const·TORRENT_FORMAT(4,5); |
223 | ···bool·<strong>should_log</strong>·(peer_log_alert::direction_t·direction)·const; | 223 | ···bool·<strong>should_log</strong>·(peer_log_alert::direction_t·direction)·const; |
224 | ···bool·<strong>can_disconnect</strong>·(error_code·const&·ec)·const; | 224 | ···bool·<strong>can_disconnect</strong>·(error_code·const&·ec)·const; |
225 | ···bool·<strong>has_metadata</strong>·()·const; | 225 | ···bool·<strong>has_metadata</strong>·()·const; |
226 | ···bool·<strong>in_handshake</strong>·()·const; | 226 | ···bool·<strong>in_handshake</strong>·()·const; |
227 | ···void·<strong>send_buffer</strong>·(char·const*·begin,·int·size); | 227 | ···void·<strong>send_buffer</strong>·(char·const*·begin,·int·size); |
228 | ···time_point·<strong>time_of_last_unchoke</strong>·()·const; | ||
229 | ···std::time_t·<strong>last_seen_complete</strong>·()·const; | 228 | ···std::time_t·<strong>last_seen_complete</strong>·()·const; |
229 | ···time_point·<strong>time_of_last_unchoke</strong>·()·const; | ||
230 | ···bool·<strong>operator==</strong>·(peer_connection_handle·const&·o)·const; | ||
230 | ···bool·<strong>operator<</strong>·(peer_connection_handle·const&·o)·const; | 231 | ···bool·<strong>operator<</strong>·(peer_connection_handle·const&·o)·const; |
231 | ···bool·<strong>operator!=</strong>·(peer_connection_handle·const&·o)·const; | 232 | ···bool·<strong>operator!=</strong>·(peer_connection_handle·const&·o)·const; |
232 | ···bool·<strong>operator==</strong>·(peer_connection_handle·const&·o)·const; | ||
233 | ···std::shared_ptr<peer_connection>·<strong>native_handle</strong>·()·const; | 233 | ···std::shared_ptr<peer_connection>·<strong>native_handle</strong>·()·const; |
234 | }; | 234 | }; |
235 | </pre> | 235 | </pre> |
236 | <a·name="bt_peer_connection_handle"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+bt_peer_connection_handle&labels=documentation&body=Documentation+under+heading+%22class+bt_peer_connection_handle%22+could+be+improved">report·issue</a>]</span></div> | 236 | <a·name="bt_peer_connection_handle"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+bt_peer_connection_handle&labels=documentation&body=Documentation+under+heading+%22class+bt_peer_connection_handle%22+could+be+improved">report·issue</a>]</span></div> |
237 | <div·class="section"·id="bt-peer-connection-handle"> | 237 | <div·class="section"·id="bt-peer-connection-handle"> |
238 | <h1>bt_peer_connection_handle</h1> | 238 | <h1>bt_peer_connection_handle</h1> |
239 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/peer_connection_handle.hpp">libtorrent/peer_connection_handle.hpp</a>"</p> | 239 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/peer_connection_handle.hpp">libtorrent/peer_connection_handle.hpp</a>"</p> |
240 | <p>The·<a·class="reference·external"·href="reference-Plugins.html#bt_peer_connection_handle">bt_peer_connection_handle</a>·provides·a·handle·to·the·internal·bittorrent | 240 | <p>The·<a·class="reference·external"·href="reference-Plugins.html#bt_peer_connection_handle">bt_peer_connection_handle</a>·provides·a·handle·to·the·internal·bittorrent |
241 | peer·connection·object·to·plugins.·It's·low·level·and·may·not·be·a·stable·API | 241 | peer·connection·object·to·plugins.·It's·low·level·and·may·not·be·a·stable·API |
242 | across·libtorrent·versions.</p> | 242 | across·libtorrent·versions.</p> |
243 | <pre·class="literal-block"> | 243 | <pre·class="literal-block"> |
244 | struct·bt_peer_connection_handle·:·peer_connection_handle | 244 | struct·bt_peer_connection_handle·:·peer_connection_handle |
245 | { | 245 | { |
246 | ···explicit·<strong>bt_peer_connection_handle</strong>·(peer_connection_handle·pc); | 246 | ···explicit·<strong>bt_peer_connection_handle</strong>·(peer_connection_handle·pc); |
247 | ···bool·<strong>packet_finished</strong>·()·const; | ||
248 | ···bool·<strong>support_extensions</strong>·()·const; | 247 | ···bool·<strong>support_extensions</strong>·()·const; |
248 | ···bool·<strong>packet_finished</strong>·()·const; | ||
249 | ···bool·<strong>supports_encryption</strong>·()·const; | 249 | ···bool·<strong>supports_encryption</strong>·()·const; |
250 | ···void·<strong>switch_send_crypto</strong>·(std::shared_ptr<crypto_plugin>·crypto); | 250 | ···void·<strong>switch_send_crypto</strong>·(std::shared_ptr<crypto_plugin>·crypto); |
251 | ···void·<strong>switch_recv_crypto</strong>·(std::shared_ptr<crypto_plugin>·crypto); | 251 | ···void·<strong>switch_recv_crypto</strong>·(std::shared_ptr<crypto_plugin>·crypto); |
252 | ···std::shared_ptr<bt_peer_connection>·<strong>native_handle</strong>·()·const; | 252 | ···std::shared_ptr<bt_peer_connection>·<strong>native_handle</strong>·()·const; |
253 | }; | 253 | }; |
254 | </pre> | 254 | </pre> |
255 | <a·name="plugin"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+plugin&labels=documentation&body=Documentation+under+heading+%22class+plugin%22+could+be+improved">report·issue</a>]</span></div> | 255 | <a·name="plugin"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+plugin&labels=documentation&body=Documentation+under+heading+%22class+plugin%22+could+be+improved">report·issue</a>]</span></div> |
Offset 418, 16 lines modified | Offset 418, 16 lines modified | ||
418 | <pre·class="literal-block"> | 418 | <pre·class="literal-block"> |
419 | struct·torrent_plugin | 419 | struct·torrent_plugin |
420 | { | 420 | { |
421 | ···virtual·std::shared_ptr<peer_plugin>·<strong>new_connection</strong>·(peer_connection_handle·const&); | 421 | ···virtual·std::shared_ptr<peer_plugin>·<strong>new_connection</strong>·(peer_connection_handle·const&); |
422 | ···virtual·void·<strong>on_piece_failed</strong>·(piece_index_t); | 422 | ···virtual·void·<strong>on_piece_failed</strong>·(piece_index_t); |
423 | ···virtual·void·<strong>on_piece_pass</strong>·(piece_index_t); | 423 | ···virtual·void·<strong>on_piece_pass</strong>·(piece_index_t); |
Max diff block lines reached; 19373/29672 bytes (65.29%) of diff not shown. |
Offset 19, 42 lines modified | Offset 19, 42 lines modified | ||
19 | ··········o·_\x8o_\x8n_\x8__\x8t_\x8i_\x8c_\x8k_\x8(_\x8) | 19 | ··········o·_\x8o_\x8n_\x8__\x8t_\x8i_\x8c_\x8k_\x8(_\x8) |
20 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8u_\x8n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8) | 20 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8u_\x8n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8) |
21 | ··········o·_\x8l_\x8o_\x8a_\x8d_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) | 21 | ··········o·_\x8l_\x8o_\x8a_\x8d_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) |
22 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n | 22 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n |
23 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) | 23 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) |
24 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8a_\x8s_\x8s_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8(_\x8) | 24 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8a_\x8s_\x8s_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8(_\x8) |
25 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) | 25 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) |
26 | ··········o·_\x8o_\x8n_\x8__\x8 | 26 | ··········o·_\x8o_\x8n_\x8__\x8r_.e_.s_.u_.m_.e_.(_.)_.·_.o_.n_.__.p_.a_.u_.s_\x8e_\x8(_\x8) |
27 | ··········o·_\x8o_\x8n_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8__\x8c_\x8h_\x8e_\x8c_\x8k_\x8e_\x8d_\x8(_\x8) | 27 | ··········o·_\x8o_\x8n_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8__\x8c_\x8h_\x8e_\x8c_\x8k_\x8e_\x8d_\x8(_\x8) |
28 | ··········o·_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) | 28 | ··········o·_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) |
29 | ··········o·_\x8o_\x8n_\x8__\x8a_\x8d_\x8d_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) | 29 | ··········o·_\x8o_\x8n_\x8__\x8a_\x8d_\x8d_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) |
30 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n | 30 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n |
31 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) | 31 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) |
32 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) | 32 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) |
33 | ··········o·_\x8o_\x8n_\x8__\x8d_\x8i_\x8s_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8(_\x8) | 33 | ··········o·_\x8o_\x8n_\x8__\x8d_\x8i_\x8s_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8(_\x8) |
34 | ··········o·_\x8o_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8e_\x8d_\x8(_\x8) | 34 | ··········o·_\x8o_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8e_\x8d_\x8(_\x8) |
35 | ··········o·_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) | 35 | ··········o·_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) |
36 | ··········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) | 36 | ··········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) |
37 | ··········o·_\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__\x8n_\x8o_\x8n_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8d_\x8o_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8) | ||
38 | ············_\x8o_\x8n_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)_\x8·_\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__\x8h_\x8a_\x8v_\x8e_\x8__\x8a_\x8l_\x8l_\x8(_\x8) | ||
39 | ············_.o_.n_.__.b_.i_.t_.f_.i_.e_.l_.d_.(_.)_.·_.o_.n_.__. | 37 | ··········o·_.o_.n_.__.u_.n_.c_.h_.o_.k_.e_.(_.)_.·_.o_.n_.__.b_.i_.t_.f_.i_.e_.l_.d_.(_.)_.·_.o_.n_.__.n_.o_.t_.__.i_.n_.t_.e_.r_.e_.s_.t_.e_.d_.(_.)_.·_.o_.n_.__.d_.o_.n_.t_.__.h_.a_.v_\x8e_\x8(_\x8) |
38 | ············_\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)_\x8·_\x8o_\x8n_\x8__\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8a_\x8l_\x8l_\x8o_\x8w_\x8e_\x8d_\x8__\x8f_\x8a_\x8s_\x8t_\x8(_\x8) | ||
39 | ············_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8n_\x8o_\x8n_\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) | ||
40 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 40 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
41 | ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8 | 41 | ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8h_.a_.v_.e_.(_.)_.·_.s_.e_.n_.t_.__.n_.o_.t_.__.i_.n_.t_.e_.r_.e_.s_.t_.e_.d_.(_.)_.·_.s_.e_.n_.t_.__.u_.n_.c_.h_.o_.k_.e_.(_.)_.·_.s_.e_.n_.t_.__.i_.n_.t_.e_.r_.e_.s_.t_.e_.d_\x8(_\x8) |
42 | ············_\x8s_\x8e_\x8n_\x8t_\x8__\x8 | 42 | ············_\x8s_\x8e_\x8n_\x8t_\x8__\x8p_.i_.e_.c_\x8e_\x8(_\x8) |
43 | ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8y_\x8l_\x8o_\x8a_\x8d_\x8(_\x8) | 43 | ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8y_\x8l_\x8o_\x8a_\x8d_\x8(_\x8) |
44 | ··········o·_\x8c_\x8a_\x8n_\x8__\x8d_\x8i_\x8s_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8(_\x8) | 44 | ··········o·_\x8c_\x8a_\x8n_\x8__\x8d_\x8i_\x8s_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8(_\x8) |
45 | ··········o·_\x8o_\x8n_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8e_\x8d_\x8(_\x8) | 45 | ··········o·_\x8o_\x8n_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8e_\x8d_\x8(_\x8) |
46 | ··········o·_\x8o_\x8n_\x8__\x8u_\x8n_\x8k_\x8n_\x8o_\x8w_\x8n_\x8__\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) | 46 | ··········o·_\x8o_\x8n_\x8__\x8u_\x8n_\x8k_\x8n_\x8o_\x8w_\x8n_\x8__\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) |
47 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8a_\x8s_\x8s_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8(_\x8) | 47 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8a_\x8s_\x8s_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8(_\x8) |
48 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) | 48 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) |
49 | ··········o·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8) | 49 | ··········o·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8) |
50 | ····*·_\x8c_\x8r_\x8y_\x8p_\x8t_\x8o_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n | 50 | ····*·_\x8c_\x8r_\x8y_\x8p_\x8t_\x8o_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n |
51 | ··········o·_\x8d_\x8e_\x8c_\x8r_\x8y_\x8p_\x8t_\x8(_\x8) | 51 | ··········o·_\x8d_\x8e_\x8c_\x8r_\x8y_\x8p_\x8t_\x8(_\x8) |
52 | ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8s_\x8m_\x8a_\x8r_\x8t_\x8__\x8b_\x8a_\x8n_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8(_\x8) | ||
53 | ····*·_\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) |
53 | ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8s_\x8m_\x8a_\x8r_\x8t_\x8__\x8b_\x8a_\x8n_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8(_\x8) | ||
54 | ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8u_\x8t_\x8__\x8m_\x8e_\x8t_\x8a_\x8d_\x8a_\x8t_\x8a_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8(_\x8) | 54 | ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8u_\x8t_\x8__\x8m_\x8e_\x8t_\x8a_\x8d_\x8a_\x8t_\x8a_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8(_\x8) |
55 | libtorrent·has·a·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n·interface·for·implementing·extensions·to·the·protocol. | 55 | libtorrent·has·a·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n·interface·for·implementing·extensions·to·the·protocol. |
56 | These·can·be·general·extensions·for·transferring·metadata·or·peer·exchange | 56 | These·can·be·general·extensions·for·transferring·metadata·or·peer·exchange |
57 | extensions,·or·it·could·be·used·to·provide·a·way·to·customize·the·protocol·to | 57 | extensions,·or·it·could·be·used·to·provide·a·way·to·customize·the·protocol·to |
58 | fit·a·particular·(closed)·network. | 58 | fit·a·particular·(closed)·network. |
59 | In·short,·the·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n·interface·makes·it·possible·to: | 59 | In·short,·the·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n·interface·makes·it·possible·to: |
60 | ····*·register·extension·messages·(sent·in·the·extension·handshake),·see | 60 | ····*·register·extension·messages·(sent·in·the·extension·handshake),·see |
Offset 140, 64 lines modified | Offset 140, 64 lines modified | ||
140 | the·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e·class·provides·a·handle·to·the·internal·peer | 140 | the·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e·class·provides·a·handle·to·the·internal·peer |
141 | connection·object,·to·be·used·by·plugins.·This·is·a·low·level·interface·that | 141 | connection·object,·to·be·used·by·plugins.·This·is·a·low·level·interface·that |
142 | may·not·be·stable·across·libtorrent·versions | 142 | may·not·be·stable·across·libtorrent·versions |
143 | struct·peer_connection_handle | 143 | struct·peer_connection_handle |
144 | { | 144 | { |
145 | ···explicit·p\x8pe\x8ee\x8er\x8r_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·(std::weak_ptr<peer_connection>·impl); | 145 | ···explicit·p\x8pe\x8ee\x8er\x8r_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·(std::weak_ptr<peer_connection>·impl); |
146 | ···connection_type·t\x8ty\x8yp\x8pe\x8e·()·const; | 146 | ···connection_type·t\x8ty\x8yp\x8pe\x8e·()·const; |
147 | ···peer_plugin·const*·f\x8fi\x8in\x8nd\x8d_\x8_p\x8pl\x8lu\x8ug\x8gi\x8in\x8n·(string_view·type)·const; | ||
148 | ···void·a\x8ad\x8dd\x8d_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8n·(std::shared_ptr<peer_plugin>); | 147 | ···void·a\x8ad\x8dd\x8d_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8n·(std::shared_ptr<peer_plugin>); |
148 | ···peer_plugin·const*·f\x8fi\x8in\x8nd\x8d_\x8_p\x8pl\x8lu\x8ug\x8gi\x8in\x8n·(string_view·type)·const; | ||
149 | ···bool·i\x8is\x8s_\x8_s\x8se\x8ee\x8ed\x8d·()·const; | 149 | ···bool·i\x8is\x8s_\x8_s\x8se\x8ee\x8ed\x8d·()·const; |
150 | ···bool·u\x8up\x8pl\x8lo\x8oa\x8ad\x8d_\x8_o\x8on\x8nl\x8ly\x8y·()·const; | 150 | ···bool·u\x8up\x8pl\x8lo\x8oa\x8ad\x8d_\x8_o\x8on\x8nl\x8ly\x8y·()·const; |
151 | ···bool·h\x8ha\x8as\x8s_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·i)·const; | ||
152 | ···peer_id·const&·p\x8pi\x8id\x8d·()·const; | 151 | ···peer_id·const&·p\x8pi\x8id\x8d·()·const; |
153 | ···bool· | 152 | ···bool·h.ha.as.s_._p.pi.ie.ec.ce.e·(piece_index_t·i)·const; |
154 | ···bool·i\x8is\x8s_\x8_c\x8ch\x8ho\x8ok\x8ke\x8ed\x8d·()·const; | 153 | ···bool·i\x8is\x8s_\x8_c\x8ch\x8ho\x8ok\x8ke\x8ed\x8d·()·const; |
154 | ···bool·i\x8is\x8s_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8ti\x8in\x8ng\x8g·()·const; | ||
155 | ···bool·h\x8ha\x8as\x8s_\x8_p\x8pe\x8ee\x8er\x8r_\x8_c\x8ch\x8ho\x8ok\x8ke\x8ed\x8d·()·const; | 155 | ···bool·h\x8ha\x8as\x8s_\x8_p\x8pe\x8ee\x8er\x8r_\x8_c\x8ch\x8ho\x8ok\x8ke\x8ed\x8d·()·const; |
156 | ···bool·i\x8is\x8s_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·()·const; | 156 | ···bool·i\x8is\x8s_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·()·const; |
157 | ···void·m\x8ma\x8ay\x8yb\x8be\x8e_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e_\x8_t\x8th\x8hi\x8is\x8s_\x8_p\x8pe\x8ee\x8er\x8r·(); | 157 | ···void·m\x8ma\x8ay\x8yb\x8be\x8e_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e_\x8_t\x8th\x8hi\x8is\x8s_\x8_p\x8pe\x8ee\x8er\x8r·(); |
158 | ···void·c\x8ch\x8ho\x8ok\x8ke\x8e_\x8_t\x8th\x8hi\x8is\x8s_\x8_p\x8pe\x8ee\x8er\x8r·(); | 158 | ···void·c\x8ch\x8ho\x8ok\x8ke\x8e_\x8_t\x8th\x8hi\x8is\x8s_\x8_p\x8pe\x8ee\x8er\x8r·(); |
159 | ···void·g\x8ge\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·(peer_info&·p)·const; | 159 | ···void·g\x8ge\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·(peer_info&·p)·const; |
160 | ···torrent_handle·a\x8as\x8ss\x8so\x8oc\x8ci\x8ia\x8at\x8te\x8ed\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·()·const; | 160 | ···torrent_handle·a\x8as\x8ss\x8so\x8oc\x8ci\x8ia\x8at\x8te\x8ed\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·()·const; |
161 | ···_\x8t_\x8c_\x8p_\x8:_\x8:_\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t·const&·r\x8re\x8em\x8mo\x8ot\x8te\x8e·()·const; | 161 | ···_\x8t_\x8c_\x8p_\x8:_\x8:_\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t·const&·r\x8re\x8em\x8mo\x8ot\x8te\x8e·()·const; |
162 | ···_\x8t_\x8c_\x8p_\x8:_\x8:_\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t·l\x8lo\x8oc\x8ca\x8al\x8l_\x8_e\x8en\x8nd\x8dp\x8po\x8oi\x8in\x8nt\x8t·()·const; | 162 | ···_\x8t_\x8c_\x8p_\x8:_\x8:_\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t·l\x8lo\x8oc\x8ca\x8al\x8l_\x8_e\x8en\x8nd\x8dp\x8po\x8oi\x8in\x8nt\x8t·()·const; |
163 | ···bool·i\x8is\x8s_\x8_o\x8ou\x8ut\x8tg\x8go\x8oi\x8in\x8ng\x8g·()·const; | 163 | ···bool·i\x8is\x8s_\x8_o\x8ou\x8ut\x8tg\x8go\x8oi\x8in\x8ng\x8g·()·const; |
164 | ···bool·i\x8is\x8s_\x8_d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8in\x8ng\x8g·()·const; | ||
165 | ···bool·i\x8is\x8s_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8in\x8ng\x8g·()·const; | ||
164 | ···void·d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t·(error_code·const&·ec,·operation_t·op | 166 | ···void·d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t·(error_code·const&·ec,·operation_t·op |
165 | ······,·disconnect_severity_t·=·peer_connection_interface::normal); | 167 | ······,·disconnect_severity_t·=·peer_connection_interface::normal); |
166 | ···bool·i\x8is\x8s_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8in\x8ng\x8g·()·const; | ||
167 | ···bool·i\x8is\x8s_\x8_d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8in\x8ng\x8g·()·const; | ||
168 | ···bool·i\x8ig\x8gn\x8no\x8or\x8re\x8e_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e_\x8_s\x8sl\x8lo\x8ot\x8ts\x8s·()·const; | 168 | ···bool·i\x8ig\x8gn\x8no\x8or\x8re\x8e_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e_\x8_s\x8sl\x8lo\x8ot\x8ts\x8s·()·const; |
169 | ···bool·o\x8on\x8n_\x8_l\x8lo\x8oc\x8ca\x8al\x8l_\x8_n\x8ne\x8et\x8tw\x8wo\x8or\x8rk\x8k·()·const; | 169 | ···bool·o\x8on\x8n_\x8_l\x8lo\x8oc\x8ca\x8al\x8l_\x8_n\x8ne\x8et\x8tw\x8wo\x8or\x8rk\x8k·()·const; |
170 | ···bool·f\x8fa\x8ai\x8il\x8le\x8ed\x8d·()·const; | 170 | ···bool·f\x8fa\x8ai\x8il\x8le\x8ed\x8d·()·const; |
171 | ···void·p\x8pe\x8ee\x8er\x8r_\x8_l\x8lo\x8og\x8g·(peer_log_alert::direction_t·direction | 171 | ···void·p\x8pe\x8ee\x8er\x8r_\x8_l\x8lo\x8og\x8g·(peer_log_alert::direction_t·direction |
172 | ······,·char·const*·event,·char·const*·fmt·=·"",·...)·const·TORRENT_FORMAT | 172 | ······,·char·const*·event,·char·const*·fmt·=·"",·...)·const·TORRENT_FORMAT |
173 | (4,5); | 173 | (4,5); |
174 | ···bool·s\x8sh\x8ho\x8ou\x8ul\x8ld\x8d_\x8_l\x8lo\x8og\x8g·(peer_log_alert::direction_t·direction)·const; | 174 | ···bool·s\x8sh\x8ho\x8ou\x8ul\x8ld\x8d_\x8_l\x8lo\x8og\x8g·(peer_log_alert::direction_t·direction)·const; |
175 | ···bool·c\x8ca\x8an\x8n_\x8_d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t·(error_code·const&·ec)·const; | 175 | ···bool·c\x8ca\x8an\x8n_\x8_d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t·(error_code·const&·ec)·const; |
176 | ···bool·h\x8ha\x8as\x8s_\x8_m\x8me\x8et\x8ta\x8ad\x8da\x8at\x8ta\x8a·()·const; | 176 | ···bool·h\x8ha\x8as\x8s_\x8_m\x8me\x8et\x8ta\x8ad\x8da\x8at\x8ta\x8a·()·const; |
177 | ···bool·i\x8in\x8n_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·()·const; | 177 | ···bool·i\x8in\x8n_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·()·const; |
178 | ···void·s\x8se\x8en\x8nd\x8d_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r·(char·const*·begin,·int·size); | 178 | ···void·s\x8se\x8en\x8nd\x8d_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r·(char·const*·begin,·int·size); |
179 | ···time_point·t\x8ti\x8im\x8me\x8e_\x8_o\x8of\x8f_\x8_l\x8la\x8as\x8st\x8t_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e·()·const; | ||
180 | ···std::time_t·l\x8la\x8as\x8st\x8t_\x8_s\x8se\x8ee\x8en\x8n_\x8_c\x8co\x8om\x8mp\x8pl\x8le\x8et\x8te\x8e·()·const; | 179 | ···std::time_t·l\x8la\x8as\x8st\x8t_\x8_s\x8se\x8ee\x8en\x8n_\x8_c\x8co\x8om\x8mp\x8pl\x8le\x8et\x8te\x8e·()·const; |
180 | ···time_point·t\x8ti\x8im\x8me\x8e_\x8_o\x8of\x8f_\x8_l\x8la\x8as\x8st\x8t_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e·()·const; | ||
181 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(peer_connection_handle·const&·o)·const; | ||
181 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<·(peer_connection_handle·const&·o)·const; | 182 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<·(peer_connection_handle·const&·o)·const; |
182 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(peer_connection_handle·const&·o)·const; | 183 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(peer_connection_handle·const&·o)·const; |
183 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(peer_connection_handle·const&·o)·const; | ||
184 | ···std::shared_ptr<peer_connection>·n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·()·const; | 184 | ···std::shared_ptr<peer_connection>·n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·()·const; |
185 | }; | 185 | }; |
186 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 186 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
187 | *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bt\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* | 187 | *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bt\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* |
188 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8h_\x8p_\x8p" | 188 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8h_\x8p_\x8p" |
189 | The·_\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·provides·a·handle·to·the·internal·bittorrent·peer | 189 | The·_\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·provides·a·handle·to·the·internal·bittorrent·peer |
190 | connection·object·to·plugins.·It's·low·level·and·may·not·be·a·stable·API·across | 190 | connection·object·to·plugins.·It's·low·level·and·may·not·be·a·stable·API·across |
191 | libtorrent·versions. | 191 | libtorrent·versions. |
192 | struct·bt_peer_connection_handle·:·peer_connection_handle | 192 | struct·bt_peer_connection_handle·:·peer_connection_handle |
193 | { | 193 | { |
194 | ···explicit·b\x8bt\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·(peer_connection_handle·pc); | 194 | ···explicit·b\x8bt\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·(peer_connection_handle·pc); |
195 | ···bool·p\x8pa\x8ac\x8ck\x8ke\x8et\x8t_\x8_f\x8fi\x8in\x8ni\x8is\x8sh\x8he\x8ed\x8d·()·const; | ||
196 | ···bool·s\x8su\x8up\x8pp\x8po\x8or\x8rt\x8t_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8ns\x8s·()·const; | 195 | ···bool·s\x8su\x8up\x8pp\x8po\x8or\x8rt\x8t_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8ns\x8s·()·const; |
196 | ···bool·p\x8pa\x8ac\x8ck\x8ke\x8et\x8t_\x8_f\x8fi\x8in\x8ni\x8is\x8sh\x8he\x8ed\x8d·()·const; | ||
197 | ···bool·s\x8su\x8up\x8pp\x8po\x8or\x8rt\x8ts\x8s_\x8_e\x8en\x8nc\x8cr\x8ry\x8yp\x8pt\x8ti\x8io\x8on\x8n·()·const; | 197 | ···bool·s\x8su\x8up\x8pp\x8po\x8or\x8rt\x8ts\x8s_\x8_e\x8en\x8nc\x8cr\x8ry\x8yp\x8pt\x8ti\x8io\x8on\x8n·()·const; |
198 | ···void·s\x8sw\x8wi\x8it\x8tc\x8ch\x8h_\x8_s\x8se\x8en\x8nd\x8d_\x8_c\x8cr\x8ry\x8yp\x8pt\x8to\x8o·(std::shared_ptr<crypto_plugin>·crypto); | 198 | ···void·s\x8sw\x8wi\x8it\x8tc\x8ch\x8h_\x8_s\x8se\x8en\x8nd\x8d_\x8_c\x8cr\x8ry\x8yp\x8pt\x8to\x8o·(std::shared_ptr<crypto_plugin>·crypto); |
199 | ···void·s\x8sw\x8wi\x8it\x8tc\x8ch\x8h_\x8_r\x8re\x8ec\x8cv\x8v_\x8_c\x8cr\x8ry\x8yp\x8pt\x8to\x8o·(std::shared_ptr<crypto_plugin>·crypto); | 199 | ···void·s\x8sw\x8wi\x8it\x8tc\x8ch\x8h_\x8_r\x8re\x8ec\x8cv\x8v_\x8_c\x8cr\x8ry\x8yp\x8pt\x8to\x8o·(std::shared_ptr<crypto_plugin>·crypto); |
200 | ···std::shared_ptr<bt_peer_connection>·n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·()·const; | 200 | ···std::shared_ptr<bt_peer_connection>·n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·()·const; |
201 | }; | 201 | }; |
202 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 202 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
203 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pl\x8lu\x8ug\x8gi\x8in\x8n·*\x8**\x8**\x8**\x8**\x8**\x8* | 203 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pl\x8lu\x8ug\x8gi\x8in\x8n·*\x8**\x8**\x8**\x8**\x8**\x8* |
Offset 324, 16 lines modified | Offset 324, 16 lines modified | ||
324 | struct·torrent_plugin | 324 | struct·torrent_plugin |
325 | { | 325 | { |
326 | ···virtual·std::shared_ptr<peer_plugin>·n\x8ne\x8ew\x8w_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n·(peer_connection_handle | 326 | ···virtual·std::shared_ptr<peer_plugin>·n\x8ne\x8ew\x8w_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n·(peer_connection_handle |
327 | const&); | 327 | const&); |
328 | ···virtual·void·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d·(piece_index_t); | 328 | ···virtual·void·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d·(piece_index_t); |
329 | ···virtual·void·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_p\x8pa\x8as\x8ss\x8s·(piece_index_t); | 329 | ···virtual·void·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_p\x8pa\x8as\x8ss\x8s·(piece_index_t); |
330 | ···virtual·void·t\x8ti\x8ic\x8ck\x8k·(); | 330 | ···virtual·void·t\x8ti\x8ic\x8ck\x8k·(); |
331 | ···virtual·bool·o\x8on\x8n_\x8_p\x8pa\x8au\x8us\x8se\x8e·(); | ||
332 | ···virtual·bool·o\x8on\x8n_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e·(); | 331 | ···virtual·bool·o\x8on\x8n_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e·(); |
Max diff block lines reached; 14837/24384 bytes (60.85%) of diff not shown. |
Offset 29, 31 lines modified | Offset 29, 31 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="#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 | 36 | <li><a·class="reference·internal"·href="#write-resume-data-buf-write-resume-data"·id="toc-entry-2">write_resume_data_buf()·write_resume_data()</a></li> |
37 | <li><a·class="reference·internal"·href="#write-torrent-file-write-torrent-file-buf"·id="toc-entry-3">write_torrent_file()·write_torrent_file_buf()</a></li> | 37 | <li><a·class="reference·internal"·href="#write-torrent-file-write-torrent-file-buf"·id="toc-entry-3">write_torrent_file()·write_torrent_file_buf()</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>·(bdecode_node·const&·rd | ||
48 | ···,·error_code&·ec,·int·piece_limit·=·0x200000); | ||
49 | 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 |
50 | ···,·load_torrent_limits·const&·cfg·=·{}); | 46 | ···,·load_torrent_limits·const&·cfg·=·{}); |
51 | add_torrent_params·<strong>read_resume_data</strong>·(span<char·const>·buffer | 47 | add_torrent_params·<strong>read_resume_data</strong>·(span<char·const>·buffer |
52 | ···,·error_code&·ec,·load_torrent_limits·const&·cfg·=·{}); | 48 | ···,·error_code&·ec,·load_torrent_limits·const&·cfg·=·{}); |
49 | add_torrent_params·<strong>read_resume_data</strong>·(bdecode_node·const&·rd | ||
50 | ···,·int·piece_limit·=·0x200000); | ||
51 | add_torrent_params·<strong>read_resume_data</strong>·(bdecode_node·const&·rd | ||
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 |
56 | the·actual·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·object·to·and·pass·to·session::add_torrent()·or | 56 | the·actual·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·object·to·and·pass·to·session::add_torrent()·or |
57 | session::async_add_torrent().</p> | 57 | session::async_add_torrent().</p> |
58 | <p>If·the·client·wants·to·override·any·field·that·was·loaded·from·the·resume | 58 | <p>If·the·client·wants·to·override·any·field·that·was·loaded·from·the·resume |
59 | data,·e.g.·save_path,·those·fields·must·be·changed·after·loading·resume | 59 | data,·e.g.·save_path,·those·fields·must·be·changed·after·loading·resume |
Offset 61, 35 lines modified | Offset 61, 35 lines modified | ||
61 | <p>The·<tt·class="docutils·literal">piece_limit</tt>·parameter·determines·the·largest·number·of·pieces | 61 | <p>The·<tt·class="docutils·literal">piece_limit</tt>·parameter·determines·the·largest·number·of·pieces |
62 | allowed·in·the·torrent·that·may·be·loaded·as·part·of·the·resume·data,·if | 62 | allowed·in·the·torrent·that·may·be·loaded·as·part·of·the·resume·data,·if |
63 | it·contains·an·<tt·class="docutils·literal">info</tt>·field.·The·overloads·that·take·a·flat·buffer·are | 63 | it·contains·an·<tt·class="docutils·literal">info</tt>·field.·The·overloads·that·take·a·flat·buffer·are |
64 | instead·configured·with·limits·on·torrent·sizes·via·load_torrent·limits.</p> | 64 | instead·configured·with·limits·on·torrent·sizes·via·load_torrent·limits.</p> |
65 | <p>In·order·to·support·large·torrents,·it·may·also·be·necessary·to·raise·the | 65 | <p>In·order·to·support·large·torrents,·it·may·also·be·necessary·to·raise·the |
66 | <a·class="reference·external"·href="reference-Settings.html#max_piece_count">settings_pack::max_piece_count</a>·setting·and·pass·a·higher·limit·to·calls | 66 | <a·class="reference·external"·href="reference-Settings.html#max_piece_count">settings_pack::max_piece_count</a>·setting·and·pass·a·higher·limit·to·calls |
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_buf()"></a> |
69 | <a·name="write_resume_data | 69 | <a·name="write_resume_data()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_resume_data_buf%28%29+write_resume_data%28%29&labels=documentation&body=Documentation+under+heading+%22write_resume_data_buf%28%29+write_resume_dat[·...·truncated·by·diffoscope;·len:·1,·SHA:·ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb·...·]%28%29%22+could+be+improved">report·issue</a>]</span></div> |
70 | <div·class="section"·id="write-resume-data-write-resume-data | 70 | <div·class="section"·id="write-resume-data-buf-write-resume-data"> |
71 | <h1>write_resume_data()·write_resume_data | 71 | <h1>write_resume_data_buf()·write_resume_data()</h1> |
72 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/write_resume_data.hpp">libtorrent/write_resume_data.hpp</a>"</p> | 72 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/write_resume_data.hpp">libtorrent/write_resume_data.hpp</a>"</p> |
73 | <pre·class="literal-block"> | 73 | <pre·class="literal-block"> |
74 | std::vector<char>·<strong>write_resume_data_buf</strong>·(add_torrent_params·const&·atp); | ||
75 | entry·<strong>write_resume_data</strong>·(add_torrent_params·const&·atp); | 74 | entry·<strong>write_resume_data</strong>·(add_torrent_params·const&·atp); |
75 | std::vector<char>·<strong>write_resume_data_buf</strong>·(add_torrent_params·const&·atp); | ||
76 | </pre> | 76 | </pre> |
77 | <p>this·function·turns·the·resume·data·in·an·<tt·class="docutils·literal">add_torrent_params</tt>·object | 77 | <p>this·function·turns·the·resume·data·in·an·<tt·class="docutils·literal">add_torrent_params</tt>·object |
78 | into·a·bencoded·structure</p> | 78 | into·a·bencoded·structure</p> |
79 | <a·name="write_torrent_file()"></a> | 79 | <a·name="write_torrent_file()"></a> |
80 | <a·name="write_torrent_file_buf()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_torrent_file%28%29+write_torrent_file_buf%28%29&labels=documentation&body=Documentation+under+heading+%22write_torrent_file%28%29+write_torrent_file_buf%28%29%22+could+be+improved">report·issue</a>]</span></div> | 80 | <a·name="write_torrent_file_buf()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_torrent_file%28%29+write_torrent_file_buf%28%29&labels=documentation&body=Documentation+under+heading+%22write_torrent_file%28%29+write_torrent_file_buf%28%29%22+could+be+improved">report·issue</a>]</span></div> |
81 | <div·class="section"·id="write-torrent-file-write-torrent-file-buf"> | 81 | <div·class="section"·id="write-torrent-file-write-torrent-file-buf"> |
82 | <h1>write_torrent_file()·write_torrent_file_buf()</h1> | 82 | <h1>write_torrent_file()·write_torrent_file_buf()</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); | 86 | entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&·atp); |
86 | std::vector<char>·<strong>write_torrent_file_buf</strong>·(add_torrent_params·const&·atp | 87 | std::vector<char>·<strong>write_torrent_file_buf</strong>·(add_torrent_params·const&·atp |
87 | ···,·write_torrent_flags_t·flags); | 88 | ···,·write_torrent_flags_t·flags); |
88 | entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&·atp,·write_torrent_flags_t·flags); | ||
89 | </pre> | 89 | </pre> |
90 | <p>writes·only·the·fields·to·create·a·.torrent·file.·This·function·may·fail | 90 | <p>writes·only·the·fields·to·create·a·.torrent·file.·This·function·may·fail |
91 | with·a·<tt·class="docutils·literal"><span·class="pre">std::system_error</span></tt>·exception·if:</p> | 91 | with·a·<tt·class="docutils·literal"><span·class="pre">std::system_error</span></tt>·exception·if:</p> |
92 | <ul·class="simple"> | 92 | <ul·class="simple"> |
93 | <li>The·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·object·passed·to·this·function·does·not·contain·the | 93 | <li>The·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·object·passed·to·this·function·does·not·contain·the |
94 | info·dictionary·(the·<tt·class="docutils·literal">ti</tt>·field)</li> | 94 | info·dictionary·(the·<tt·class="docutils·literal">ti</tt>·field)</li> |
95 | <li>The·piece·layers·are·not·complete·for·all·files·that·need·them</li> | 95 | <li>The·piece·layers·are·not·complete·for·all·files·that·need·them</li> |
Offset 1, 27 lines modified | Offset 1, 27 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 | 7 | ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8__.b_.u_.f_.(_.)_.·_.w_.r_.i_.t_.e_.__.r_.e_.s_.u_.m_.e_.__.d_.a_.t_.a_\x8(_\x8) |
8 | ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)_\x8·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\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(_\x8)_\x8·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8b_\x8u_\x8f_\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·(bdecode_node·const&·rd | ||
16 | ···,·error_code&·ec,·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 | 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 |
18 | ···,·load_torrent_limits·const&·cfg·=·{}); | 14 | ···,·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·(span<char·const>·buffer | 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 |
20 | ···,·error_code&·ec,·load_torrent_limits·const&·cfg·=·{}); | 16 | ···,·error_code&·ec,·load_torrent_limits·const&·cfg·=·{}); |
17 | 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 | ||
18 | ···,·int·piece_limit·=·0x200000); | ||
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); | ||
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:: |
24 | async_add_torrent(). | 24 | async_add_torrent(). |
25 | If·the·client·wants·to·override·any·field·that·was·loaded·from·the·resume·data, | 25 | If·the·client·wants·to·override·any·field·that·was·loaded·from·the·resume·data, |
26 | e.g.·save_path,·those·fields·must·be·changed·after·loading·resume·data·but | 26 | e.g.·save_path,·those·fields·must·be·changed·after·loading·resume·data·but |
27 | before·adding·the·torrent. | 27 | before·adding·the·torrent. |
Offset 29, 28 lines modified | Offset 29, 28 lines modified | ||
29 | the·torrent·that·may·be·loaded·as·part·of·the·resume·data,·if·it·contains·an | 29 | the·torrent·that·may·be·loaded·as·part·of·the·resume·data,·if·it·contains·an |
30 | info·field.·The·overloads·that·take·a·flat·buffer·are·instead·configured·with | 30 | info·field.·The·overloads·that·take·a·flat·buffer·are·instead·configured·with |
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(.().)·w.wr.ri.it.te.e_._r.re.es.su.um.me.e_._d.da.at.ta.a | 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_._b.bu.uf.f(.().)·w.wr.ri.it.te.e_._r.re.es.su.um.me.e_._d.da.at.ta.a(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
37 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p" | 37 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p" |
38 | std::vector<char>·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a_\x8_b\x8bu\x8uf\x8f·(add_torrent_params·const&·atp); | ||
39 | entry·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(add_torrent_params·const&·atp); | 38 | entry·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(add_torrent_params·const&·atp); |
39 | std::vector<char>·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a_\x8_b\x8bu\x8uf\x8f·(add_torrent_params·const&·atp); | ||
40 | this·function·turns·the·resume·data·in·an·add_torrent_params·object·into·a | 40 | this·function·turns·the·resume·data·in·an·add_torrent_params·object·into·a |
41 | bencoded·structure | 41 | bencoded·structure |
42 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 42 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
43 | *\x8**\x8**\x8**\x8**\x8**\x8*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e(\x8()\x8)·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bu\x8uf\x8f(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | 43 | *\x8**\x8**\x8**\x8**\x8**\x8*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e(\x8()\x8)·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bu\x8uf\x8f(\x8()\x8)·*\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 | ||
46 | flags); | ||
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); | 47 | entry·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·(add_torrent_params·const&·atp); |
46 | 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 | 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 | ···,·write_torrent_flags_t·flags); | 49 | ···,·write_torrent_flags_t·flags); |
48 | entry·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·(add_torrent_params·const&·atp,·write_torrent_flags_t | ||
49 | flags); | ||
50 | writes·only·the·fields·to·create·a·.torrent·file.·This·function·may·fail·with·a | 50 | writes·only·the·fields·to·create·a·.torrent·file.·This·function·may·fail·with·a |
51 | std::system_error·exception·if: | 51 | std::system_error·exception·if: |
52 | ····*·The·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object·passed·to·this·function·does·not·contain | 52 | ····*·The·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object·passed·to·this·function·does·not·contain |
53 | ······the·info·dictionary·(the·ti·field) | 53 | ······the·info·dictionary·(the·ti·field) |
54 | ····*·The·piece·layers·are·not·complete·for·all·files·that·need·them | 54 | ····*·The·piece·layers·are·not·complete·for·all·files·that·need·them |
55 | The·write_torrent_file_buf()·overload·returns·the·torrent·file·in·bencoded | 55 | The·write_torrent_file_buf()·overload·returns·the·torrent·file·in·bencoded |
56 | buffer·form.·This·overload·may·be·faster·at·the·expense·of·lost·flexibility·to | 56 | buffer·form.·This·overload·may·be·faster·at·the·expense·of·lost·flexibility·to |
Offset 29, 15 lines modified | Offset 29, 15 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="#session-proxy"·id="toc-entry-1">session_proxy</a><ul> | 35 | <li><a·class="reference·internal"·href="#session-proxy"·id="toc-entry-1">session_proxy</a><ul> |
36 | <li><a·class="reference·internal"·href="#session-proxy-operator-session-proxy"·id="toc-entry-2"> | 36 | <li><a·class="reference·internal"·href="#session-proxy-operator-session-proxy"·id="toc-entry-2">session_proxy()·operator=()·~session_proxy()</a></li> |
37 | </ul> | 37 | </ul> |
38 | </li> | 38 | </li> |
39 | <li><a·class="reference·internal"·href="#session"·id="toc-entry-3">session</a><ul> | 39 | <li><a·class="reference·internal"·href="#session"·id="toc-entry-3">session</a><ul> |
40 | <li><a·class="reference·internal"·href="#session-1"·id="toc-entry-4">session()</a></li> | 40 | <li><a·class="reference·internal"·href="#session-1"·id="toc-entry-4">session()</a></li> |
41 | <li><a·class="reference·internal"·href="#session-2"·id="toc-entry-5">session()</a></li> | 41 | <li><a·class="reference·internal"·href="#session-2"·id="toc-entry-5">session()</a></li> |
42 | <li><a·class="reference·internal"·href="#session-3"·id="toc-entry-6">~session()</a></li> | 42 | <li><a·class="reference·internal"·href="#session-3"·id="toc-entry-6">~session()</a></li> |
43 | <li><a·class="reference·internal"·href="#abort"·id="toc-entry-7">abort()</a></li> | 43 | <li><a·class="reference·internal"·href="#abort"·id="toc-entry-7">abort()</a></li> |
Offset 53, 45 lines modified | Offset 53, 45 lines modified | ||
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="#refresh-torrent-status-get-torrent-status"·id="toc-entry-14">refresh_torrent_status()·get_torrent_status()</a></li> | 54 | <li><a·class="reference·internal"·href="#refresh-torrent-status-get-torrent-status"·id="toc-entry-14">refresh_torrent_status()·get_torrent_status()</a></li> |
55 | <li><a·class="reference·internal"·href="#post-torrent-updates"·id="toc-entry-15">post_torrent_updates()</a></li> | 55 | <li><a·class="reference·internal"·href="#post-torrent-updates"·id="toc-entry-15">post_torrent_updates()</a></li> |
56 | <li><a·class="reference·internal"·href="#post-session-stats"·id="toc-entry-16">post_session_stats()</a></li> | 56 | <li><a·class="reference·internal"·href="#post-session-stats"·id="toc-entry-16">post_session_stats()</a></li> |
57 | <li><a·class="reference·internal"·href="#post-dht-stats"·id="toc-entry-17">post_dht_stats()</a></li> | 57 | <li><a·class="reference·internal"·href="#post-dht-stats"·id="toc-entry-17">post_dht_stats()</a></li> |
58 | <li><a·class="reference·internal"·href="#set-dht-state"·id="toc-entry-18">set_dht_state()</a></li> | 58 | <li><a·class="reference·internal"·href="#set-dht-state"·id="toc-entry-18">set_dht_state()</a></li> |
59 | <li><a·class="reference·internal"·href="#get-torrents-find-torrent"·id="toc-entry-19">get_torrents()·find_torrent()</a></li> | 59 | <li><a·class="reference·internal"·href="#get-torrents-find-torrent"·id="toc-entry-19">get_torrents()·find_torrent()</a></li> |
60 | <li><a·class="reference·internal"·href="#a | 60 | <li><a·class="reference·internal"·href="#add-torrent-async-add-torrent"·id="toc-entry-20">add_torrent()·async_add_torrent()</a></li> |
61 | <li><a·class="reference·internal"·href="#pause-is-paused-resume"·id="toc-entry-21">pause()·is_paused()·resume()</a></li> | 61 | <li><a·class="reference·internal"·href="#pause-is-paused-resume"·id="toc-entry-21">pause()·is_paused()·resume()</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-announce-dht-get-peers"·id="toc-entry-29">dht_announce()·dht_get_peers()</a></li> | 69 | <li><a·class="reference·internal"·href="#dht-announce-dht-get-peers"·id="toc-entry-29">dht_announce()·dht_get_peers()</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="# | 74 | <li><a·class="reference·internal"·href="#get-ip-filter-set-ip-filter"·id="toc-entry-34">get_ip_filter()·set_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="#get-peer-class-filter-set-peer-class-filter"·id="toc-entry-37">get_peer_class_filter()·set_peer_class_filter()</a></li> | 77 | <li><a·class="reference·internal"·href="#get-peer-class-filter-set-peer-class-filter"·id="toc-entry-37">get_peer_class_filter()·set_peer_class_filter()</a></li> |
78 | <li><a·class="reference·internal"·href="#get-peer-class-type-filter-set-peer-class-type-filter"·id="toc-entry-38">get_peer_class_type_filter()·set_peer_class_type_filter()</a></li> | 78 | <li><a·class="reference·internal"·href="#get-peer-class-type-filter-set-peer-class-type-filter"·id="toc-entry-38">get_peer_class_type_filter()·set_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="# | 81 | <li><a·class="reference·internal"·href="#set-peer-class-get-peer-class"·id="toc-entry-41">set_peer_class()·get_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="#wait-for-alert-pop-alerts-set-alert-notify"·id="toc-entry-44">wait_for_alert()·pop_alerts()·set_alert_notify()</a></li> |
85 | <li><a·class="reference·internal"·href="# | 85 | <li><a·class="reference·internal"·href="#delete-port-mapping-add-port-mapping"·id="toc-entry-45">delete_port_mapping()·add_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-read-session-params-write-session-params-buf"·id="toc-entry-48">write_session_params()·read_session_params()·write_session_params_buf()</a></li> |
91 | </ul> | 91 | </ul> |
92 | </div> | 92 | </div> |
93 | <a·name="session_proxy"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+session_proxy&labels=documentation&body=Documentation+under+heading+%22class+session_proxy%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="session-proxy"> | 93 | <a·name="session_proxy"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+session_proxy&labels=documentation&body=Documentation+under+heading+%22class+session_proxy%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="session-proxy"> |
94 | <h1>session_proxy</h1> | 94 | <h1>session_proxy</h1> |
95 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/session.hpp">libtorrent/session.hpp</a>"</p> | 95 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/session.hpp">libtorrent/session.hpp</a>"</p> |
96 | <p>this·is·a·holder·for·the·internal·<a·class="reference·external"·href="reference-Session.html#session">session</a>·implementation·object.·Once·the | 96 | <p>this·is·a·holder·for·the·internal·<a·class="reference·external"·href="reference-Session.html#session">session</a>·implementation·object.·Once·the |
97 | <a·class="reference·external"·href="reference-Session.html#session">session</a>·destruction·is·explicitly·initiated,·this·holder·is·used·to | 97 | <a·class="reference·external"·href="reference-Session.html#session">session</a>·destruction·is·explicitly·initiated,·this·holder·is·used·to |
Offset 99, 32 lines modified | Offset 99, 32 lines modified | ||
99 | 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 | 99 | 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 |
100 | <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> | 100 | <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> |
101 | is·done·shutting·down.</p> | 101 | is·done·shutting·down.</p> |
102 | <pre·class="literal-block"> | 102 | <pre·class="literal-block"> |
103 | struct·session_proxy | 103 | struct·session_proxy |
104 | { | 104 | { |
105 | ···<strong>session_proxy</strong>·(session_proxy·const&); | 105 | ···<strong>session_proxy</strong>·(session_proxy·const&); |
106 | ···<strong>session_proxy</strong>·(session_proxy&&)·noexcept; | ||
106 | ···session_proxy&·<strong>operator=</strong>·(session_proxy&&)·&·noexcept; | 107 | ···session_proxy&·<strong>operator=</strong>·(session_proxy&&)·&·noexcept; |
107 | ···session_proxy&·<strong>operator=</strong>·(session_proxy·const&)·&; | ||
108 | ···<strong>session_proxy</strong>·(); | 108 | ···<strong>session_proxy</strong>·(); |
109 | ···session_proxy&·<strong>operator=</strong>·(session_proxy·const&)·&; | ||
109 | ···<strong>~session_proxy</strong>·(); | 110 | ···<strong>~session_proxy</strong>·(); |
110 | ···<strong>session_proxy</strong>·(session_proxy&&)·noexcept; | ||
111 | }; | 111 | }; |
112 | </pre> | 112 | </pre> |
113 | <a·name=" | 113 | <a·name="session_proxy()"></a> |
114 | <a·name="operator=()"></a> | 114 | <a·name="operator=()"></a> |
115 | <a·name="session_proxy()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_proxy%3A%3A%5B | 115 | <a·name="~session_proxy()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_proxy%3A%3A%5Bsession_proxy%28%29+operator%3D%28%29+~session_proxy%28%29%5D&labels=documentation&body=Documentation+under+heading+%[·...·truncated·by·diffoscope;·len:·63,·SHA:·9c8bf5a73244f0744bed4ea88e16687f1332b6e1bcd6c29425182072565a7fdb·...·]session_proxy%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="session-proxy-operator-session-proxy"> |
116 | <h2> | 116 | <h2>session_proxy()·operator=()·~session_proxy()</h2> |
117 | <pre·class="literal-block"> | 117 | <pre·class="literal-block"> |
118 | <strong>session_proxy</strong>·(session_proxy·const&); | 118 | <strong>session_proxy</strong>·(session_proxy·const&); |
119 | <strong>session_proxy</strong>·(session_proxy&&)·noexcept; | ||
119 | session_proxy&·<strong>operator=</strong>·(session_proxy&&)·&·noexcept; | 120 | session_proxy&·<strong>operator=</strong>·(session_proxy&&)·&·noexcept; |
120 | session_proxy&·<strong>operator=</strong>·(session_proxy·const&)·&; | ||
121 | <strong>session_proxy</strong>·(); | 121 | <strong>session_proxy</strong>·(); |
122 | session_proxy&·<strong>operator=</strong>·(session_proxy·const&)·&; | ||
122 | <strong>~session_proxy</strong>·(); | 123 | <strong>~session_proxy</strong>·(); |
123 | <strong>session_proxy</strong>·(session_proxy&&)·noexcept; | ||
124 | </pre> | 124 | </pre> |
125 | <p>default·constructor,·does·not·refer·to·any·<a·class="reference·external"·href="reference-Session.html#session">session</a> | 125 | <p>default·constructor,·does·not·refer·to·any·<a·class="reference·external"·href="reference-Session.html#session">session</a> |
126 | implementation·object.</p> | 126 | implementation·object.</p> |
127 | <a·name="session"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+session&labels=documentation&body=Documentation+under+heading+%22class+session%22+could+be+improved">report·issue</a>]</span></div> | 127 | <a·name="session"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+session&labels=documentation&body=Documentation+under+heading+%22class+session%22+could+be+improved">report·issue</a>]</span></div> |
128 | </div> | 128 | </div> |
129 | <div·class="section"·id="session"> | 129 | <div·class="section"·id="session"> |
130 | <h1>session</h1> | 130 | <h1>session</h1> |
Offset 138, 52 lines modified | Offset 138, 52 lines modified | ||
138 | <tt·class="docutils·literal"><span·class="pre">session_handle::apply_settings()</span></tt>·member·function.·To·change·one·or·more | 138 | <tt·class="docutils·literal"><span·class="pre">session_handle::apply_settings()</span></tt>·member·function.·To·change·one·or·more |
139 | configuration·options,·create·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>.·object·and·fill·it·with | 139 | configuration·options,·create·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>.·object·and·fill·it·with |
140 | the·settings·to·be·set·and·pass·it·in·to·<tt·class="docutils·literal"><span·class="pre">session::apply_settings()</span></tt>.</p> | 140 | the·settings·to·be·set·and·pass·it·in·to·<tt·class="docutils·literal"><span·class="pre">session::apply_settings()</span></tt>.</p> |
141 | <p>see·<a·class="reference·external"·href="reference-Session.html#apply_settings()">apply_settings()</a>.</p> | 141 | <p>see·<a·class="reference·external"·href="reference-Session.html#apply_settings()">apply_settings()</a>.</p> |
142 | <pre·class="literal-block"> | 142 | <pre·class="literal-block"> |
143 | struct·session·:·session_handle | 143 | struct·session·:·session_handle |
144 | { | 144 | { |
145 | ···<strong>session</strong>·(session_params·const&·params,·session_flags_t·flags); | ||
146 | ···<strong>session</strong>·(); | ||
147 | ···<strong>session</strong>·(session_params&&·params,·session_flags_t·flags); | ||
148 | ···explicit·<strong>session</strong>·(session_params·const&·params); | 145 | ···explicit·<strong>session</strong>·(session_params·const&·params); |
149 | ···explicit·<strong>session</strong>·(session_params&&·params); | 146 | ···explicit·<strong>session</strong>·(session_params&&·params); |
147 | ···<strong>session</strong>·(session_params·const&·params,·session_flags_t·flags); | ||
148 | ···<strong>session</strong>·(session_params&&·params,·session_flags_t·flags); | ||
149 | ···<strong>session</strong>·(); | ||
150 | ···<strong>session</strong>·(session_params | 150 | ···<strong>session</strong>·(session_params·const&·params,·io_context&·ios); |
151 | ···<strong>session</strong>·(session_params·const&·params,·io_context&·ios,·session_flags_t); | 151 | ···<strong>session</strong>·(session_params·const&·params,·io_context&·ios,·session_flags_t); |
152 | ···<strong>session</strong>·(session_params&&·params,·io_context&·ios,·session_flags_t); | 152 | ···<strong>session</strong>·(session_params&&·params,·io_context&·ios,·session_flags_t); |
153 | ···<strong>session</strong>·(session_params | 153 | ···<strong>session</strong>·(session_params&&·params,·io_context&·ios); |
154 | ···<strong>~session</strong>·(); | 154 | ···<strong>~session</strong>·(); |
155 | ···session_proxy·<strong>abort</strong>·(); | 155 | ···session_proxy·<strong>abort</strong>·(); |
156 | }; | 156 | }; |
157 | </pre> | 157 | </pre> |
158 | <a·name="session()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session%3A%3A%5Bsession%28%29%5D&labels=documentation&body=Documentation+under+heading+%22session%3A%3A%5Bsession%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="session-1"> | 158 | <a·name="session()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session%3A%3A%5Bsession%28%29%5D&labels=documentation&body=Documentation+under+heading+%22session%3A%3A%5Bsession%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="session-1"> |
159 | <h2>session()</h2> | 159 | <h2>session()</h2> |
160 | <pre·class="literal-block"> | 160 | <pre·class="literal-block"> |
161 | <strong>session</strong>·(session_params·const&·params,·session_flags_t·flags); | ||
162 | <strong>session</strong>·(); | ||
Max diff block lines reached; 44370/57538 bytes (77.11%) of diff not shown. |
Offset 1, 14 lines modified | Offset 1, 14 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_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y | 6 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y |
7 | ··········o·_\x8 | 7 | ··········o·_\x8s_.e_.s_.s_.i_.o_.n_.__.p_.r_.o_.x_.y_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_.(_.)_.·_.~_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y_\x8(_\x8) |
8 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n | 8 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n |
9 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 9 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
10 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 10 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
11 | ··········o·_\x8~_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 11 | ··········o·_\x8~_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
12 | ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8) | 12 | ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8) |
13 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s | 13 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s |
14 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | 14 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) |
Offset 18, 69 lines modified | Offset 18, 69 lines modified | ||
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·_\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) | 19 | ··········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) |
20 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8s_\x8(_\x8) | 20 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8s_\x8(_\x8) |
21 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8) | 21 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8) |
22 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8) | 22 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8) |
23 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) | 23 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) |
24 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8n_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 24 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8n_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
25 | ··········o·_\x8a_\x8 | 25 | ··········o·_\x8a_\x8d_.d_.__.t_.o_.r_.r_.e_.n_.t_.(_.)_.·_.a_.s_.y_.n_.c_.__\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
26 | ··········o·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)_\x8·_\x8i_\x8s_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8d_\x8(_\x8)_\x8·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8) | 26 | ··········o·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)_\x8·_\x8i_\x8s_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8d_\x8(_\x8)_\x8·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\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__\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) | 34 | ··········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) |
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·_\x8 | 39 | ··········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) |
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·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\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__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) | 42 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\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__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) |
43 | ··········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) | 43 | ··········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) |
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·_\x8 | 46 | ··········o·_\x8s_.e_.t_.__.p_.e_.e_.r_.__.c_.l_.a_.s_.s_.(_.)_.·_.g_\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·_\x8s_\x8e_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8n_\x8o_\x8t_\x8i_\x8f_\x8y_\x8(_\x8)_\x8·_\x8w_\x8a_\x8i_\x8t_\x8__\x8f_\x8o_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8(_\x8)_\x8·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8) | ||
50 | ··········o·_\x8a_\x8 | 48 | ··········o·_\x8a_\x8p_.p_.l_.y_.__.s_.e_.t_.t_.i_.n_.g_.s_.(_.)_.·_.g_.e_.t_.__.s_.e_.t_.t_.i_.n_.g_.s_\x8(_\x8) |
49 | ··········o·_\x8w_\x8a_\x8i_\x8t_\x8__\x8f_\x8o_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8(_\x8)_\x8·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8n_\x8o_\x8t_\x8i_\x8f_\x8y_\x8(_\x8) | ||
50 | ··········o·_\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8m_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\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_.(_.)_.·_.r_.e_.a_.d_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8)_\x8·_\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) |
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\x8pr\x8ro\x8ox\x8xy\x8y·*\x8**\x8**\x8**\x8**\x8**\x8* | 55 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·*\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._\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._\x8h_\x8p_\x8p" |
57 | this·is·a·holder·for·the·internal·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·implementation·object.·Once·the | 57 | this·is·a·holder·for·the·internal·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·implementation·object.·Once·the |
58 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·destruction·is·explicitly·initiated,·this·holder·is·used·to·synchronize | 58 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·destruction·is·explicitly·initiated,·this·holder·is·used·to·synchronize |
59 | the·completion·of·the·shutdown.·The·lifetime·of·this·object·may·outlive | 59 | the·completion·of·the·shutdown.·The·lifetime·of·this·object·may·outlive |
60 | _\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 | 60 | _\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 |
61 | destructor·will·block·however,·until·the·underlying·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·is·done·shutting | 61 | destructor·will·block·however,·until·the·underlying·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·is·done·shutting |
62 | down. | 62 | down. |
63 | struct·session_proxy | 63 | struct·session_proxy |
64 | { | 64 | { |
65 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&); | 65 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&); |
66 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept; | ||
66 | ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy&&)·&·noexcept; | 67 | ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy&&)·&·noexcept; |
67 | ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&; | ||
68 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); | 68 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); |
69 | ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&; | ||
69 | ···~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); | 70 | ···~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); |
70 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept; | ||
71 | }; | 71 | }; |
72 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 72 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
73 | *\x8**\x8**\x8**\x8**\x8*· | 73 | *\x8**\x8**\x8**\x8**\x8*·s.se.es.ss.si.io.on.n_._p.pr.ro.ox.xy.y(.().)·o.op.pe.er.ra.at.to.or.r=.=(.().)·~.~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
74 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&); | 74 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&); |
75 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept; | ||
75 | session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy&&)·&·noexcept; | 76 | session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy&&)·&·noexcept; |
76 | session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&; | ||
77 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); | 77 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); |
78 | session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&; | ||
78 | ~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); | 79 | ~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); |
79 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept; | ||
80 | default·constructor,·does·not·refer·to·any·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·implementation·object. | 80 | default·constructor,·does·not·refer·to·any·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·implementation·object. |
81 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 81 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
82 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8* | 82 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8* |
83 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8._\x8h_\x8p_\x8p" | 83 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8._\x8h_\x8p_\x8p" |
84 | The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·holds·all·state·that·spans·multiple·torrents.·Among·other·things·it | 84 | The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·holds·all·state·that·spans·multiple·torrents.·Among·other·things·it |
85 | runs·the·network·loop·and·manages·all·torrents.·Once·it's·created,·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n | 85 | runs·the·network·loop·and·manages·all·torrents.·Once·it's·created,·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n |
86 | object·will·spawn·the·main·thread·that·will·do·all·the·work.·The·main·thread | 86 | object·will·spawn·the·main·thread·that·will·do·all·the·work.·The·main·thread |
Offset 88, 47 lines modified | Offset 88, 47 lines modified | ||
88 | You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session_handle:: | 88 | You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session_handle:: |
89 | apply_settings()·member·function.·To·change·one·or·more·configuration·options, | 89 | apply_settings()·member·function.·To·change·one·or·more·configuration·options, |
90 | create·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.·object·and·fill·it·with·the·settings·to·be·set·and·pass | 90 | create·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.·object·and·fill·it·with·the·settings·to·be·set·and·pass |
91 | it·in·to·session::apply_settings(). | 91 | it·in·to·session::apply_settings(). |
92 | see·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8). | 92 | see·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8). |
93 | struct·session·:·session_handle | 93 | struct·session·:·session_handle |
94 | { | 94 | { |
95 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·session_flags_t·flags); | ||
96 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(); | ||
97 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·session_flags_t·flags); | ||
98 | ···explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params); | 95 | ···explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params); |
99 | ···explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params); | 96 | ···explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params); |
97 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·session_flags_t·flags); | ||
98 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·session_flags_t·flags); | ||
99 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(); | ||
100 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params | 100 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·io_context&·ios); |
101 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·io_context&·ios,·session_flags_t); | 101 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·io_context&·ios,·session_flags_t); |
102 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·io_context&·ios,·session_flags_t); | 102 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·io_context&·ios,·session_flags_t); |
103 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params | 103 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·io_context&·ios); |
104 | ···~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(); | 104 | ···~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(); |
105 | ···session_proxy·a\x8ab\x8bo\x8or\x8rt\x8t·(); | 105 | ···session_proxy·a\x8ab\x8bo\x8or\x8rt\x8t·(); |
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*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 108 | *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
109 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·session_flags_t·flags); | ||
110 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(); | ||
111 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·session_flags_t·flags); | ||
112 | explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params); | 109 | explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params); |
113 | explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params); | 110 | explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params); |
111 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·session_flags_t·flags); | ||
112 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·session_flags_t·flags); | ||
113 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(); | ||
114 | Constructs·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·objects·which·acts·as·the·container·of·torrents.·In | 114 | Constructs·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·objects·which·acts·as·the·container·of·torrents.·In |
115 | order·to·avoid·a·race·condition·between·starting·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·and·configuring | 115 | order·to·avoid·a·race·condition·between·starting·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·and·configuring |
116 | it,·you·can·pass·in·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object.·Its·settings·will·take·effect | 116 | it,·you·can·pass·in·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object.·Its·settings·will·take·effect |
117 | before·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·starts·up. | 117 | before·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·starts·up. |
Max diff block lines reached; 30750/41124 bytes (74.77%) of diff not shown. |
Offset 29, 35 lines modified | Offset 29, 35 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-bool-set-int-set-str"·id="toc-entry-2">set_bool()·set_int()·set_str()</a></li> |
37 | <li><a·class="reference·internal"·href="#has-val"·id="toc-entry-3">has_val()</a></li> | 37 | <li><a·class="reference·internal"·href="#has-val"·id="toc-entry-3">has_val()</a></li> |
38 | <li><a·class="reference·internal"·href="#clear"·id="toc-entry-4">clear()</a></li> | 38 | <li><a·class="reference·internal"·href="#clear"·id="toc-entry-4">clear()</a></li> |
39 | <li><a·class="reference·internal"·href="#clear-1"·id="toc-entry-5">clear()</a></li> | 39 | <li><a·class="reference·internal"·href="#clear-1"·id="toc-entry-5">clear()</a></li> |
40 | <li><a·class="reference·internal"·href="#get- | 40 | <li><a·class="reference·internal"·href="#get-bool-get-int-get-str"·id="toc-entry-6">get_bool()·get_int()·get_str()</a></li> |
41 | <li><a·class="reference·internal"·href="#enum-type-bases"·id="toc-entry-7">enum·type_bases</a></li> | 41 | <li><a·class="reference·internal"·href="#enum-type-bases"·id="toc-entry-7">enum·type_bases</a></li> |
42 | <li><a·class="reference·internal"·href="#enum-mmap-write-mode-t"·id="toc-entry-8">enum·mmap_write_mode_t</a></li> | 42 | <li><a·class="reference·internal"·href="#enum-mmap-write-mode-t"·id="toc-entry-8">enum·mmap_write_mode_t</a></li> |
43 | <li><a·class="reference·internal"·href="#enum-suggest-mode-t"·id="toc-entry-9">enum·suggest_mode_t</a></li> | 43 | <li><a·class="reference·internal"·href="#enum-suggest-mode-t"·id="toc-entry-9">enum·suggest_mode_t</a></li> |
44 | <li><a·class="reference·internal"·href="#enum-choking-algorithm-t"·id="toc-entry-10">enum·choking_algorithm_t</a></li> | 44 | <li><a·class="reference·internal"·href="#enum-choking-algorithm-t"·id="toc-entry-10">enum·choking_algorithm_t</a></li> |
45 | <li><a·class="reference·internal"·href="#enum-seed-choking-algorithm-t"·id="toc-entry-11">enum·seed_choking_algorithm_t</a></li> | 45 | <li><a·class="reference·internal"·href="#enum-seed-choking-algorithm-t"·id="toc-entry-11">enum·seed_choking_algorithm_t</a></li> |
46 | <li><a·class="reference·internal"·href="#enum-io-buffer-mode-t"·id="toc-entry-12">enum·io_buffer_mode_t</a></li> | 46 | <li><a·class="reference·internal"·href="#enum-io-buffer-mode-t"·id="toc-entry-12">enum·io_buffer_mode_t</a></li> |
47 | <li><a·class="reference·internal"·href="#enum-bandwidth-mixed-algo-t"·id="toc-entry-13">enum·bandwidth_mixed_algo_t</a></li> | 47 | <li><a·class="reference·internal"·href="#enum-bandwidth-mixed-algo-t"·id="toc-entry-13">enum·bandwidth_mixed_algo_t</a></li> |
48 | <li><a·class="reference·internal"·href="#enum-enc-policy"·id="toc-entry-14">enum·enc_policy</a></li> | 48 | <li><a·class="reference·internal"·href="#enum-enc-policy"·id="toc-entry-14">enum·enc_policy</a></li> |
49 | <li><a·class="reference·internal"·href="#enum-enc-level"·id="toc-entry-15">enum·enc_level</a></li> | 49 | <li><a·class="reference·internal"·href="#enum-enc-level"·id="toc-entry-15">enum·enc_level</a></li> |
50 | <li><a·class="reference·internal"·href="#enum-proxy-type-t"·id="toc-entry-16">enum·proxy_type_t</a></li> | 50 | <li><a·class="reference·internal"·href="#enum-proxy-type-t"·id="toc-entry-16">enum·proxy_type_t</a></li> |
51 | </ul> | 51 | </ul> |
52 | </li> | 52 | </li> |
53 | <li><a·class="reference·internal"·href="#min-memory-usage-high-performance-seed"·id="toc-entry-17">min_memory_usage()·high_performance_seed()</a></li> | ||
54 | <li><a·class="reference·internal"·href="#generate-fingerprint"·id="toc-entry-18">generate_fingerprint()</a></li> | ||
55 | <li><a·class="reference·internal"·href="#setting-by-name-name-for-setting"·id="toc-entry-1 | 53 | <li><a·class="reference·internal"·href="#setting-by-name-name-for-setting"·id="toc-entry-17">setting_by_name()·name_for_setting()</a></li> |
56 | <li><a·class="reference·internal"·href="#default-settings"·id="toc-entry- | 54 | <li><a·class="reference·internal"·href="#default-settings"·id="toc-entry-18">default_settings()</a></li> |
55 | <li><a·class="reference·internal"·href="#high-performance-seed-min-memory-usage"·id="toc-entry-19">high_performance_seed()·min_memory_usage()</a></li> | ||
56 | <li><a·class="reference·internal"·href="#generate-fingerprint"·id="toc-entry-20">generate_fingerprint()</a></li> | ||
57 | </ul> | 57 | </ul> |
58 | </div> | 58 | </div> |
59 | <p>You·have·some·control·over·<a·class="reference·external"·href="reference-Session.html#session">session</a>·configuration·through·the·session::apply_settings() | 59 | <p>You·have·some·control·over·<a·class="reference·external"·href="reference-Session.html#session">session</a>·configuration·through·the·session::apply_settings() |
60 | member·function.·To·change·one·or·more·configuration·options,·create·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a> | 60 | member·function.·To·change·one·or·more·configuration·options,·create·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a> |
61 | object·and·fill·it·with·the·settings·to·be·set·and·pass·it·in·to·session::apply_settings().</p> | 61 | object·and·fill·it·with·the·settings·to·be·set·and·pass·it·in·to·session::apply_settings().</p> |
62 | <p>The·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·object·is·a·collection·of·settings·updates·that·are·applied | 62 | <p>The·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·object·is·a·collection·of·settings·updates·that·are·applied |
63 | to·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·when·passed·to·session::apply_settings().·It's·empty·when | 63 | to·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·when·passed·to·session::apply_settings().·It's·empty·when |
Offset 4562, 24 lines modified | Offset 4562, 24 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,·flags::bitfield_flag<Type,·Tag>·const·val); | ||
4569 | ···void·<strong>set_int</strong>·(int·name,·int·val)·override; | 4570 | ···void·<strong>set_int</strong>·(int·name,·int·val)·override; |
4570 | ···void·<strong>set_bool</strong>·(int·name,·bool·val)·override; | 4571 | ···void·<strong>set_bool</strong>·(int·name,·bool·val)·override; |
4571 | ···void·<strong>set_int</strong>·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); | ||
4572 | ···void·<strong>set_str</strong>·(int·name,·std::string·val)·override; | 4572 | ···void·<strong>set_str</strong>·(int·name,·std::string·val)·override; |
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 | ···int·<strong>get_int</strong>·(int·name)·const·override; | ||
4577 | ···std::string·const&·<strong>get_str</strong>·(int·name)·const·override; | ||
4578 | ···bool·<strong>get_bool</strong>·(int·name)·const·override; | 4576 | ···bool·<strong>get_bool</strong>·(int·name)·const·override; |
4577 | ···std::string·const&·<strong>get_str</strong>·(int·name)·const·override; | ||
4578 | ···int·<strong>get_int</strong>·(int·name)·const·override; | ||
4579 | ···void·<strong>for_each</strong>·(Fun&&·f)·const; | 4579 | ···void·<strong>for_each</strong>·(Fun&&·f)·const; |
4580 | ···enum·type_bases | 4580 | ···enum·type_bases |
4581 | ···{ | 4581 | ···{ |
4582 | ······string_type_base, | 4582 | ······string_type_base, |
4583 | ······int_type_base, | 4583 | ······int_type_base, |
4584 | ······bool_type_base, | 4584 | ······bool_type_base, |
Offset 4649, 22 lines modified | Offset 4649, 22 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_bool()"></a> | 4656 | <a·name="set_bool()"></a> |
4657 | <a·name="set_int()"></a> | ||
4658 | <a·name="set_ | 4658 | <a·name="set_str()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bset_bool%28%29+set_int%28%29+set_str%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bset[·...·truncated·by·diffoscope;·len:·138,·SHA:·d6cfb3d8118d18bd8e45fc123d148aac8c4df0bef8d7eee1121ee165dabdf597·...·]"> |
4659 | <h2>set_ | 4659 | <h2>set_bool()·set_int()·set_str()</h2> |
4660 | <pre·class="literal-block"> | 4660 | <pre·class="literal-block"> |
4661 | void·<strong>set_int</strong>·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); | ||
4661 | void·<strong>set_int</strong>·(int·name,·int·val)·override; | 4662 | void·<strong>set_int</strong>·(int·name,·int·val)·override; |
4662 | void·<strong>set_bool</strong>·(int·name,·bool·val)·override; | 4663 | void·<strong>set_bool</strong>·(int·name,·bool·val)·override; |
4663 | void·<strong>set_int</strong>·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); | ||
4664 | void·<strong>set_str</strong>·(int·name,·std::string·val)·override; | 4664 | void·<strong>set_str</strong>·(int·name,·std::string·val)·override; |
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"> |
Offset 4685, 23 lines modified | Offset 4685, 23 lines modified | ||
4685 | <a·name="clear()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bclear%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bclear%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 4685 | <a·name="clear()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bclear%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bclear%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
4686 | <div·class="section"·id="clear-1"> | 4686 | <div·class="section"·id="clear-1"> |
4687 | <h2>clear()</h2> | 4687 | <h2>clear()</h2> |
4688 | <pre·class="literal-block"> | 4688 | <pre·class="literal-block"> |
4689 | void·<strong>clear</strong>·(int·name); | 4689 | void·<strong>clear</strong>·(int·name); |
4690 | </pre> | 4690 | </pre> |
4691 | <p>clear·a·specific·setting·from·the·pack</p> | 4691 | <p>clear·a·specific·setting·from·the·pack</p> |
4692 | <a·name="get_str()"></a> | ||
4693 | <a·name="get_bool()"></a> | 4692 | <a·name="get_bool()"></a> |
4693 | <a·name="get_int()"></a> | ||
4694 | <a·name="get_ | 4694 | <a·name="get_str()"></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_int%28%29+get_str%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bget[·...·truncated·by·diffoscope;·len:·33,·SHA:·ca3b24cbf9a2b6f7d4e9a7b840a79cc133e370d790a6833f736907d4f54d8ba9·...·]%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-int-get-str"> |
4696 | <h2>get_ | 4696 | <h2>get_bool()·get_int()·get_str()</h2> |
4697 | <pre·class="literal-block"> | 4697 | <pre·class="literal-block"> |
4698 | int·<strong>get_int</strong>·(int·name)·const·override; | ||
4699 | std::string·const&·<strong>get_str</strong>·(int·name)·const·override; | ||
4700 | bool·<strong>get_bool</strong>·(int·name)·const·override; | 4698 | bool·<strong>get_bool</strong>·(int·name)·const·override; |
4699 | std::string·const&·<strong>get_str</strong>·(int·name)·const·override; | ||
4700 | int·<strong>get_int</strong>·(int·name)·const·override; | ||
4701 | </pre> | 4701 | </pre> |
4702 | <p>queries·the·current·configuration·option·from·the·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>. | 4702 | <p>queries·the·current·configuration·option·from·the·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>. |
4703 | <tt·class="docutils·literal">name</tt>·is·one·of·the·enumeration·values·from·string_types,·int_types | 4703 | <tt·class="docutils·literal">name</tt>·is·one·of·the·enumeration·values·from·string_types,·int_types |
4704 | or·bool_types.·The·enum·value·must·match·the·type·of·the·get_* | 4704 | or·bool_types.·The·enum·value·must·match·the·type·of·the·get_* |
4705 | function.·If·the·specified·setting·field·has·not·been·set,·the·default | 4705 | function.·If·the·specified·setting·field·has·not·been·set,·the·default |
4706 | value·is·returned.</p> | 4706 | value·is·returned.</p> |
4707 | <a·name="type_bases"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+type_bases&labels=documentation&body=Documentation+under+heading+%22enum+type_bases%22+could+be+improved">report·issue</a>]</span></div> | 4707 | <a·name="type_bases"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+type_bases&labels=documentation&body=Documentation+under+heading+%22enum+type_bases%22+could+be+improved">report·issue</a>]</span></div> |
Offset 5060, 23 lines modified | Offset 5060, 42 lines modified | ||
5060 | <tr><td>http_pw</td> | 5060 | <tr><td>http_pw</td> |
5061 | <td>5</td> | 5061 | <td>5</td> |
5062 | <td>The·server·is·assumed·to·be·an·HTTP·proxy·that·requires·user | 5062 | <td>The·server·is·assumed·to·be·an·HTTP·proxy·that·requires·user |
5063 | authorization.·The·username·and·password·will·be·sent·to·the·proxy.</td> | 5063 | authorization.·The·username·and·password·will·be·sent·to·the·proxy.</td> |
5064 | </tr> | 5064 | </tr> |
5065 | </tbody> | 5065 | </tbody> |
5066 | </table> | 5066 | </table> |
5067 | <a·name=" | 5067 | <a·name="setting_by_name()"></a> |
5068 | <a·name=" | 5068 | <a·name="name_for_setting()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:setting_by_name%28%29+name_for_setting%28%29&labels=documentation&body=Documentation+under+heading+%22setting_by_name%28%29+name_for_sett[·...·truncated·by·diffoscope;·len:·3,·SHA:·91af7d847f80f22c5ef0d11588ce9bb5d10d9ba7e8f83f380f807ab3066eb289·...·]%28%29%22+could+be+improved">report·issue</a>]</span></div> |
Max diff block lines reached; 4964/15954 bytes (31.11%) of diff not shown. |
Offset 1, 32 lines modified | Offset 1, 32 lines modified | ||
1 | > | 1 | > |
2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] | 2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] |
3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 | 3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 |
4 | _\x8h_\x8o_\x8m_\x8e | 4 | _\x8h_\x8o_\x8m_\x8e |
5 | Table·of·contents | 5 | Table·of·contents |
6 | ····*·_\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__\x8b_.o_.o_.l_.(_.)_.·_.s_.e_.t_.__.i_.n_.t_.(_.)_.·_.s_.e_.t_.__.s_.t_.r_\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_.__.i_.n_.t_.(_.)_.·_.g_.e_.t_.__.s_.t_.r_\x8(_\x8) |
12 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8b_\x8a_\x8s_\x8e_\x8s | 12 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8b_\x8a_\x8s_\x8e_\x8s |
13 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8m_\x8m_\x8a_\x8p_\x8__\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t | 13 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8m_\x8m_\x8a_\x8p_\x8__\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t |
14 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8u_\x8g_\x8g_\x8e_\x8s_\x8t_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t | 14 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8u_\x8g_\x8g_\x8e_\x8s_\x8t_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t |
15 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8c_\x8h_\x8o_\x8k_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8g_\x8o_\x8r_\x8i_\x8t_\x8h_\x8m_\x8__\x8t | 15 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8c_\x8h_\x8o_\x8k_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8g_\x8o_\x8r_\x8i_\x8t_\x8h_\x8m_\x8__\x8t |
16 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8e_\x8e_\x8d_\x8__\x8c_\x8h_\x8o_\x8k_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8g_\x8o_\x8r_\x8i_\x8t_\x8h_\x8m_\x8__\x8t | 16 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8e_\x8e_\x8d_\x8__\x8c_\x8h_\x8o_\x8k_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8g_\x8o_\x8r_\x8i_\x8t_\x8h_\x8m_\x8__\x8t |
17 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8i_\x8o_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t | 17 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8i_\x8o_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t |
18 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8b_\x8a_\x8n_\x8d_\x8w_\x8i_\x8d_\x8t_\x8h_\x8__\x8m_\x8i_\x8x_\x8e_\x8d_\x8__\x8a_\x8l_\x8g_\x8o_\x8__\x8t | 18 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8b_\x8a_\x8n_\x8d_\x8w_\x8i_\x8d_\x8t_\x8h_\x8__\x8m_\x8i_\x8x_\x8e_\x8d_\x8__\x8a_\x8l_\x8g_\x8o_\x8__\x8t |
19 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8n_\x8c_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y | 19 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8n_\x8c_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y |
20 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8n_\x8c_\x8__\x8l_\x8e_\x8v_\x8e_\x8l | 20 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8n_\x8c_\x8__\x8l_\x8e_\x8v_\x8e_\x8l |
21 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8x_\x8y_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 21 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8x_\x8y_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
22 | ····*·_\x8m_\x8i_\x8n_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8u_\x8s_\x8a_\x8g_\x8e_\x8(_\x8)_\x8·_\x8h_\x8i_\x8g_\x8h_\x8__\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8) | ||
23 | ····*·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8n_\x8g_\x8e_\x8r_\x8p_\x8r_\x8i_\x8n_\x8t_\x8(_\x8) | ||
24 | ····*·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8y_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8o_\x8r_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8(_\x8) | 22 | ····*·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8y_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8o_\x8r_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8(_\x8) |
25 | ····*·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) | 23 | ····*·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) |
24 | ····*·_\x8h_\x8i_\x8g_\x8h_\x8__\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8m_\x8i_\x8n_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8u_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) | ||
25 | ····*·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8n_\x8g_\x8e_\x8r_\x8p_\x8r_\x8i_\x8n_\x8t_\x8(_\x8) | ||
26 | You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session:: | 26 | You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session:: |
27 | apply_settings()·member·function.·To·change·one·or·more·configuration·options, | 27 | apply_settings()·member·function.·To·change·one·or·more·configuration·options, |
28 | create·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·and·fill·it·with·the·settings·to·be·set·and·pass | 28 | create·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·and·fill·it·with·the·settings·to·be·set·and·pass |
29 | it·in·to·session::apply_settings(). | 29 | it·in·to·session::apply_settings(). |
30 | The·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·is·a·collection·of·settings·updates·that·are·applied | 30 | The·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·is·a·collection·of·settings·updates·that·are·applied |
31 | to·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·when·passed·to·session::apply_settings().·It's·empty·when | 31 | to·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·when·passed·to·session::apply_settings().·It's·empty·when |
32 | constructed. | 32 | constructed. |
Offset 1420, 24 lines modified | Offset 1420, 24 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,·flags::bitfield_flag<Type,·Tag>·const·val); | ||
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,·int·val)·override; |
1428 | ···void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override; | 1429 | ···void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override; |
1429 | ···void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); | ||
1430 | ···void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·override; | 1430 | ···void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·override; |
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 | ···int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override; | ||
1435 | ···std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·override; | ||
1436 | ···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 | ···std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·override; | ||
1436 | ···int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override; | ||
1437 | ···void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(Fun&&·f)·const; | 1437 | ···void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(Fun&&·f)·const; |
1438 | ···enum·type_bases | 1438 | ···enum·type_bases |
1439 | ···{ | 1439 | ···{ |
1440 | ······string_type_base, | 1440 | ······string_type_base, |
1441 | ······int_type_base, | 1441 | ······int_type_base, |
1442 | ······bool_type_base, | 1442 | ······bool_type_base, |
Offset 1507, 18 lines modified | Offset 1507, 18 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_b.bo.oo.ol.l(.().)·s.se.et.t_._i.in.nt.t(.().)·s.se.et.t_._s.st.tr.r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
1515 | void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); | ||
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,·int·val)·override; |
1516 | void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override; | 1517 | void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override; |
1517 | void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); | ||
1518 | void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·override; | 1518 | void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·override; |
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; |
Offset 1530, 18 lines modified | Offset 1530, 18 lines modified | ||
1530 | void·c\x8cl\x8le\x8ea\x8ar\x8r·(); | 1530 | void·c\x8cl\x8le\x8ea\x8ar\x8r·(); |
1531 | clear·the·settings·pack·from·all·settings | 1531 | clear·the·settings·pack·from·all·settings |
1532 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1532 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1533 | *\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8le\x8ea\x8ar\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 1533 | *\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8le\x8ea\x8ar\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
1534 | void·c\x8cl\x8le\x8ea\x8ar\x8r·(int·name); | 1534 | void·c\x8cl\x8le\x8ea\x8ar\x8r·(int·name); |
1535 | clear·a·specific·setting·from·the·pack | 1535 | clear·a·specific·setting·from·the·pack |
1536 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1536 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1537 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t_\x8_ | 1537 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t_\x8_b.bo.oo.ol.l(.().)·g.ge.et.t_._i.in.nt.t(.().)·g.ge.et.t_._s.st.tr.r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
1538 | int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override; | ||
1539 | std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·override; | ||
1540 | 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 | std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·override; | ||
1540 | int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override; | ||
1541 | queries·the·current·configuration·option·from·the·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.·name·is·one·of | 1541 | queries·the·current·configuration·option·from·the·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.·name·is·one·of |
1542 | the·enumeration·values·from·string_types,·int_types·or·bool_types.·The·enum | 1542 | the·enumeration·values·from·string_types,·int_types·or·bool_types.·The·enum |
1543 | value·must·match·the·type·of·the·get_*·function.·If·the·specified·setting·field | 1543 | value·must·match·the·type·of·the·get_*·function.·If·the·specified·setting·field |
1544 | has·not·been·set,·the·default·value·is·returned. | 1544 | has·not·been·set,·the·default·value·is·returned. |
1545 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1545 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1546 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·t\x8ty\x8yp\x8pe\x8e_\x8_b\x8ba\x8as\x8se\x8es\x8s·*\x8**\x8**\x8**\x8**\x8* | 1546 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·t\x8ty\x8yp\x8pe\x8e_\x8_b\x8ba\x8as\x8se\x8es\x8s·*\x8**\x8**\x8**\x8**\x8* |
1547 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8._\x8h_\x8p_\x8p" | 1547 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8._\x8h_\x8p_\x8p" |
Offset 1668, 18 lines modified | Offset 1668, 30 lines modified | ||
1668 | |·········|·····|trackers,·a·plain·proxy·will·suffice.·The·proxy·is·assumed·to| | 1668 | |·········|·····|trackers,·a·plain·proxy·will·suffice.·The·proxy·is·assumed·to| |
1669 | |·········|·····|not·require·authorization.·The·username·and·password·will·not| | 1669 | |·········|·····|not·require·authorization.·The·username·and·password·will·not| |
1670 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8b_\x8e_\x8·_\x8u_\x8s_\x8e_\x8d_\x8._\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 1670 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8b_\x8e_\x8·_\x8u_\x8s_\x8e_\x8d_\x8._\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
1671 | |·········|·····|The·server·is·assumed·to·be·an·HTTP·proxy·that·requires·user·| | 1671 | |·········|·····|The·server·is·assumed·to·be·an·HTTP·proxy·that·requires·user·| |
1672 | |http_pw··|5····|authorization.·The·username·and·password·will·be·sent·to·the·| | 1672 | |http_pw··|5····|authorization.·The·username·and·password·will·be·sent·to·the·| |
1673 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8p_\x8r_\x8o_\x8x_\x8y_\x8._\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 1673 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8p_\x8r_\x8o_\x8x_\x8y_\x8._\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
1674 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1674 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1675 | *\x8**\x8**\x8**\x8**\x8**\x8*· | 1675 | *\x8**\x8**\x8**\x8**\x8**\x8*·s.se.et.tt.ti.in.ng.g_._b.by.y_._n.na.am.me.e(.().)·n.na.am.me.e_._f.fo.or.r_._s.se.et.tt.ti.in.ng.g(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
1676 | 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" | ||
1677 | int·s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8g_\x8_b\x8by\x8y_\x8_n\x8na\x8am\x8me\x8e·(string_view·name); | ||
1678 | char·const*·n\x8na\x8am\x8me\x8e_\x8_f\x8fo\x8or\x8r_\x8_s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8g·(int·s); | ||
1679 | converts·a·setting·integer·(from·the·enums·string_types,·int_types·or | ||
1680 | bool_types)·to·a·string,·and·vice·versa. | ||
1681 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
1682 | *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t_\x8_s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8gs\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
1683 | 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" | ||
1684 | settings_pack·d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t_\x8_s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8gs\x8s·(); | ||
1685 | returns·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·with·every·setting·set·to·its·default·value | ||
1686 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
1687 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8hi\x8ig\x8gh\x8h_\x8_p\x8pe\x8er\x8rf\x8fo\x8or\x8rm\x8ma\x8an\x8nc\x8ce\x8e_\x8_s\x8se\x8ee\x8ed\x8d(\x8()\x8)·m\x8mi\x8in\x8n_\x8_m\x8me\x8em\x8mo\x8or\x8ry\x8y_\x8_u\x8us\x8sa\x8ag\x8ge\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
1676 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8._\x8h_\x8p_\x8p" | 1688 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8._\x8h_\x8p_\x8p" |
1677 | settings_pack·m\x8mi\x8in\x8n_\x8_m\x8me\x8em\x8mo\x8or\x8ry\x8y_\x8_u\x8us\x8sa\x8ag\x8ge\x8e·(); | ||
1678 | 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·(); | 1689 | 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·(); |
Max diff block lines reached; 2158/11045 bytes (19.54%) of diff not shown. |
Offset 28, 25 lines modified | Offset 28, 50 lines modified | ||
28 | <td>2.0.10</td></tr> | 28 | <td>2.0.10</td></tr> |
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="#stats-metric"·id="toc-entry-1">stats_metric</a></li> | ||
36 | <li><a·class="reference·internal"·href="#counters"·id="toc-entry- | 35 | <li><a·class="reference·internal"·href="#counters"·id="toc-entry-1">counters</a><ul> |
37 | <li><a·class="reference·internal"·href="#operator-inc-stats-counter"·id="toc-entry- | 36 | <li><a·class="reference·internal"·href="#operator-inc-stats-counter"·id="toc-entry-2">operator[]()·inc_stats_counter()</a></li> |
38 | </ul> | 37 | </ul> |
39 | </li> | 38 | </li> |
39 | <li><a·class="reference·internal"·href="#stats-metric"·id="toc-entry-3">stats_metric</a></li> | ||
40 | <li><a·class="reference·internal"·href="#session-stats-metrics"·id="toc-entry-4">session_stats_metrics()</a></li> | 40 | <li><a·class="reference·internal"·href="#session-stats-metrics"·id="toc-entry-4">session_stats_metrics()</a></li> |
41 | <li><a·class="reference·internal"·href="#find-metric-idx"·id="toc-entry-5">find_metric_idx()</a></li> | 41 | <li><a·class="reference·internal"·href="#find-metric-idx"·id="toc-entry-5">find_metric_idx()</a></li> |
42 | <li><a·class="reference·internal"·href="#enum-metric-type-t"·id="toc-entry-6">enum·metric_type_t</a></li> | 42 | <li><a·class="reference·internal"·href="#enum-metric-type-t"·id="toc-entry-6">enum·metric_type_t</a></li> |
43 | </ul> | 43 | </ul> |
44 | </div> | 44 | </div> |
45 | <a·name="counters"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+counters&labels=documentation&body=Documentation+under+heading+%22class+counters%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="counters"> | ||
46 | <h1>counters</h1> | ||
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"> | ||
49 | struct·counters | ||
50 | { | ||
51 | ···<strong>counters</strong>·()·; | ||
52 | ···<strong>counters</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·; | ||
56 | ···void·<strong>set_value</strong>·(int·c,·std::int64_t·value)·; | ||
57 | ···void·<strong>blend_stats_counter</strong>·(int·c,·std::int64_t·value,·int·ratio)·; | ||
58 | }; | ||
59 | </pre> | ||
60 | <a·name="operator[]()"></a> | ||
61 | <a·name="inc_stats_counter()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:counters%3A%3A%5Boperator%5B%5D%28%29+inc_stats_counter%28%29%5D&labels=documentation&body=Documentation+under+heading+%22counters%3A%3A%5Boperator%5B%5D%28%29+inc_stats_counter%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="operator-inc-stats-counter"> | ||
62 | <h2>operator[]()·inc_stats_counter()</h2> | ||
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·; | ||
66 | </pre> | ||
67 | <p>returns·the·new·value</p> | ||
45 | <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>< | 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> | ||
70 | <div·class="section"·id="stats-metric"> | ||
46 | <h1>stats_metric</h1> | 71 | <h1>stats_metric</h1> |
47 | <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> |
48 | <p>describes·one·statistics·metric·from·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>.·For·more·information, | 73 | <p>describes·one·statistics·metric·from·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>.·For·more·information, |
49 | see·the·<a·class="reference·external"·href="manual-ref.html#session-statistics">session·statistics</a>·section.</p> | 74 | see·the·<a·class="reference·external"·href="manual-ref.html#session-statistics">session·statistics</a>·section.</p> |
50 | <pre·class="literal-block"> | 75 | <pre·class="literal-block"> |
51 | struct·stats_metric | 76 | struct·stats_metric |
52 | { | 77 | { |
Offset 62, 40 lines modified | Offset 87, 15 lines modified | ||
62 | <a·name="value_index"></a> | 87 | <a·name="value_index"></a> |
63 | <a·name="type"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:stats_metric%3A%3A%5Bvalue_index+type%5D&labels=documentation&body=Documentation+under+heading+%22stats_metric%3A%3A%5Bvalue_index+type%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | 88 | <a·name="type"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:stats_metric%3A%3A%5Bvalue_index+type%5D&labels=documentation&body=Documentation+under+heading+%22stats_metric%3A%3A%5Bvalue_index+type%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> |
64 | <dt>value_index·type</dt> | 89 | <dt>value_index·type</dt> |
65 | <dd>the·index·into·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·stats·array,·where·the·underlying·value·of | 90 | <dd>the·index·into·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·stats·array,·where·the·underlying·value·of |
66 | this·counter·or·gauge·is·found.·The·<a·class="reference·external"·href="reference-Session.html#session">session</a>·stats·array·is·part·of·the | 91 | this·counter·or·gauge·is·found.·The·<a·class="reference·external"·href="reference-Session.html#session">session</a>·stats·array·is·part·of·the |
67 | <a·class="reference·external"·href="reference-Alerts.html#session_stats_alert">session_stats_alert</a>·object.</dd> | 92 | <a·class="reference·external"·href="reference-Alerts.html#session_stats_alert">session_stats_alert</a>·object.</dd> |
68 | </dl> | 93 | </dl> |
69 | <a·name="counters"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+counters&labels=documentation&body=Documentation+under+heading+%22class+counters%22+could+be+improved">report·issue</a>]</span></div> | ||
70 | <div·class="section"·id="counters"> | ||
71 | <h1>counters</h1> | ||
72 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/performance_counters.hpp">libtorrent/performance_counters.hpp</a>"</p> | ||
73 | <pre·class="literal-block"> | ||
74 | struct·counters | ||
75 | { | ||
76 | ···<strong>counters</strong>·()·; | ||
77 | ···counters&·<strong>operator=</strong>·(counters·const&)·&·; | ||
78 | ···<strong>counters</strong>·(counters·const&)·; | ||
79 | ···std::int64_t·<strong>operator[]</strong>·(int·i)·const·; | ||
80 | ···std::int64_t·<strong>inc_stats_counter</strong>·(int·c,·std::int64_t·value·=·1)·; | ||
81 | ···void·<strong>blend_stats_counter</strong>·(int·c,·std::int64_t·value,·int·ratio)·; | ||
82 | ···void·<strong>set_value</strong>·(int·c,·std::int64_t·value)·; | ||
83 | }; | ||
84 | </pre> | ||
85 | <a·name="operator[]()"></a> | ||
86 | <a·name="inc_stats_counter()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:counters%3A%3A%5Boperator%5B%5D%28%29+inc_stats_counter%28%29%5D&labels=documentation&body=Documentation+under+heading+%22counters%3A%3A%5Boperator%5B%5D%28%29+inc_stats_counter%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="operator-inc-stats-counter"> | ||
87 | <h2>operator[]()·inc_stats_counter()</h2> | ||
88 | <pre·class="literal-block"> | ||
89 | std::int64_t·<strong>operator[]</strong>·(int·i)·const·; | ||
90 | std::int64_t·<strong>inc_stats_counter</strong>·(int·c,·std::int64_t·value·=·1)·; | ||
91 | </pre> | ||
92 | <p>returns·the·new·value</p> | ||
93 | <a·name="session_stats_metrics()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_stats_metrics%28%29&labels=documentation&body=Documentation+under+heading+%22session_stats_metrics%28%29%22+could+be+improved">report·issue</a>]</span></div> | 94 | <a·name="session_stats_metrics()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_stats_metrics%28%29&labels=documentation&body=Documentation+under+heading+%22session_stats_metrics%28%29%22+could+be+improved">report·issue</a>]</span></div> |
94 | </div> | ||
95 | <div·class="section"·id="session-stats-metrics"> | 95 | <div·class="section"·id="session-stats-metrics"> |
96 | <h1>session_stats_metrics()</h1> | 96 | <h1>session_stats_metrics()</h1> |
97 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/session_stats.hpp">libtorrent/session_stats.hpp</a>"</p> | 97 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/session_stats.hpp">libtorrent/session_stats.hpp</a>"</p> |
98 | <pre·class="literal-block"> | 98 | <pre·class="literal-block"> |
99 | std::vector<stats_metric>·<strong>session_stats_metrics</strong>·(); | 99 | std::vector<stats_metric>·<strong>session_stats_metrics</strong>·(); |
100 | </pre> | 100 | </pre> |
101 | <p>This·free·function·returns·the·list·of·available·metrics·exposed·by | 101 | <p>This·free·function·returns·the·list·of·available·metrics·exposed·by |
Offset 1, 19 lines modified | Offset 1, 37 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_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c | ||
7 | ····*·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s | 6 | ····*·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s |
8 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8)_\x8·_\x8i_\x8n_\x8c_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8(_\x8) | 7 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8)_\x8·_\x8i_\x8n_\x8c_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8(_\x8) |
8 | ····*·_\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c | ||
9 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8s_\x8(_\x8) | 9 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8s_\x8(_\x8) |
10 | ····*·_\x8f_\x8i_\x8n_\x8d_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8i_\x8d_\x8x_\x8(_\x8) | 10 | ····*·_\x8f_\x8i_\x8n_\x8d_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8i_\x8d_\x8x_\x8(_\x8) |
11 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 11 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
12 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 12 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
13 | *\x8**\x8**\x8**\x8**\x8**\x8*·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" | ||
15 | struct·counters | ||
16 | { | ||
17 | ···c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·()·; | ||
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&)·&·; | ||
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·; | ||
22 | ···void·s\x8se\x8et\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(int·c,·std::int64_t·value)·; | ||
23 | ···void·b\x8bl\x8le\x8en\x8nd\x8d_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r·(int·c,·std::int64_t·value,·int·ratio)·; | ||
24 | }; | ||
25 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
26 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8](\x8()\x8)·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
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·; | ||
29 | returns·the·new·value | ||
30 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
13 | *\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* |
14 | 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" |
15 | 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 |
16 | _\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. |
17 | struct·stats_metric | 35 | struct·stats_metric |
18 | { | 36 | { |
19 | ···char·const*·name; | 37 | ···char·const*·name; |
Offset 25, 32 lines modified | Offset 43, 14 lines modified | ||
25 | ······the·name·of·the·counter·or·gauge | 43 | ······the·name·of·the·counter·or·gauge |
26 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 44 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
27 | ··value_index·type | 45 | ··value_index·type |
28 | ······the·index·into·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·stats·array,·where·the·underlying·value·of | 46 | ······the·index·into·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·stats·array,·where·the·underlying·value·of |
29 | ······this·counter·or·gauge·is·found.·The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·stats·array·is·part·of·the | 47 | ······this·counter·or·gauge·is·found.·The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·stats·array·is·part·of·the |
30 | ······_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t·object. | 48 | ······_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t·object. |
31 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 49 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
32 | *\x8**\x8**\x8**\x8**\x8**\x8*·c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
33 | 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" | ||
34 | struct·counters | ||
35 | { | ||
36 | ···c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·()·; | ||
37 | ···counters&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(counters·const&)·&·; | ||
38 | ···c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·(counters·const&)·; | ||
39 | ···std::int64_t·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·i)·const·; | ||
40 | ···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)·; | ||
41 | ···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)·; | ||
42 | ···void·s\x8se\x8et\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(int·c,·std::int64_t·value)·; | ||
43 | }; | ||
44 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
45 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8](\x8()\x8)·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
46 | std::int64_t·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·i)·const·; | ||
47 | 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)·; | ||
48 | returns·the·new·value | ||
49 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
50 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_m\x8me\x8et\x8tr\x8ri\x8ic\x8cs\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | 50 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_m\x8me\x8et\x8tr\x8ri\x8ic\x8cs\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
51 | 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" | 51 | 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" |
52 | std::vector<stats_metric>·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_m\x8me\x8et\x8tr\x8ri\x8ic\x8cs\x8s·(); | 52 | std::vector<stats_metric>·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_m\x8me\x8et\x8tr\x8ri\x8ic\x8cs\x8s·(); |
53 | This·free·function·returns·the·list·of·available·metrics·exposed·by | 53 | This·free·function·returns·the·list·of·available·metrics·exposed·by |
54 | libtorrent's·statistics·API.·Each·metric·has·a·name·and·a·v\x8va\x8al\x8lu\x8ue\x8e·i\x8in\x8nd\x8de\x8ex\x8x.·The | 54 | libtorrent's·statistics·API.·Each·metric·has·a·name·and·a·v\x8va\x8al\x8lu\x8ue\x8e·i\x8in\x8nd\x8de\x8ex\x8x.·The |
55 | value·index·is·the·index·into·the·array·in·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t·where·this | 55 | value·index·is·the·index·into·the·array·in·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t·where·this |
56 | metric's·value·can·be·found·when·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·stats·is·sampled·(by·calling | 56 | metric's·value·can·be·found·when·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·stats·is·sampled·(by·calling |
Offset 45, 40 lines modified | Offset 45, 40 lines modified | ||
45 | <li><a·class="reference·internal"·href="#end-file"·id="toc-entry-11">end_file()</a></li> | 45 | <li><a·class="reference·internal"·href="#end-file"·id="toc-entry-11">end_file()</a></li> |
46 | <li><a·class="reference·internal"·href="#file-range"·id="toc-entry-12">file_range()</a></li> | 46 | <li><a·class="reference·internal"·href="#file-range"·id="toc-entry-12">file_range()</a></li> |
47 | <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-13">total_size()</a></li> | 47 | <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-13">total_size()</a></li> |
48 | <li><a·class="reference·internal"·href="#num-pieces-set-num-pieces"·id="toc-entry-14">num_pieces()·set_num_pieces()</a></li> | 48 | <li><a·class="reference·internal"·href="#num-pieces-set-num-pieces"·id="toc-entry-14">num_pieces()·set_num_pieces()</a></li> |
49 | <li><a·class="reference·internal"·href="#end-piece"·id="toc-entry-15">end_piece()</a></li> | 49 | <li><a·class="reference·internal"·href="#end-piece"·id="toc-entry-15">end_piece()</a></li> |
50 | <li><a·class="reference·internal"·href="#last-piece"·id="toc-entry-16">last_piece()</a></li> | 50 | <li><a·class="reference·internal"·href="#last-piece"·id="toc-entry-16">last_piece()</a></li> |
51 | <li><a·class="reference·internal"·href="#piece-range"·id="toc-entry-17">piece_range()</a></li> | 51 | <li><a·class="reference·internal"·href="#piece-range"·id="toc-entry-17">piece_range()</a></li> |
52 | <li><a·class="reference·internal"·href="#piece-length | 52 | <li><a·class="reference·internal"·href="#set-piece-length-piece-length"·id="toc-entry-18">set_piece_length()·piece_length()</a></li> |
53 | <li><a·class="reference·internal"·href="#piece-size"·id="toc-entry-19">piece_size()</a></li> | 53 | <li><a·class="reference·internal"·href="#piece-size"·id="toc-entry-19">piece_size()</a></li> |
54 | <li><a·class="reference·internal"·href="#piece-size2"·id="toc-entry-20">piece_size2()</a></li> | 54 | <li><a·class="reference·internal"·href="#piece-size2"·id="toc-entry-20">piece_size2()</a></li> |
55 | <li><a·class="reference·internal"·href="#blocks-in-piece2"·id="toc-entry-21">blocks_in_piece2()</a></li> | 55 | <li><a·class="reference·internal"·href="#blocks-in-piece2"·id="toc-entry-21">blocks_in_piece2()</a></li> |
56 | <li><a·class="reference·internal"·href="#blocks-per-piece"·id="toc-entry-22">blocks_per_piece()</a></li> | 56 | <li><a·class="reference·internal"·href="#blocks-per-piece"·id="toc-entry-22">blocks_per_piece()</a></li> |
57 | <li><a·class="reference·internal"·href="#set-name-name"·id="toc-entry-23">set_name()·name()</a></li> | 57 | <li><a·class="reference·internal"·href="#set-name-name"·id="toc-entry-23">set_name()·name()</a></li> |
58 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-24">swap()</a></li> | 58 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-24">swap()</a></li> |
59 | <li><a·class="reference·internal"·href="#canonicalize"·id="toc-entry-25">canonicalize()</a></li> | 59 | <li><a·class="reference·internal"·href="#canonicalize"·id="toc-entry-25">canonicalize()</a></li> |
60 | <li><a·class="reference·internal"·href="# | 60 | <li><a·class="reference·internal"·href="#file-name-file-path-pad-file-at-root-ptr-file-offset-file-size-mtime-root-hash-symlink"·id="toc-entry-26">file_name()·file_path()·pad_file_at()·root_ptr()·file_offset()·file_size()·mtime()·root()·hash()·symlink()</a></li> |
61 | <li><a·class="reference·internal"·href="#file- | 61 | <li><a·class="reference·internal"·href="#file-piece-range-file-num-pieces-file-num-blocks"·id="toc-entry-27">file_piece_range()·file_num_pieces()·file_num_blocks()</a></li> |
62 | <li><a·class="reference·internal"·href="#file-first-block-node-file-first-piece-node"·id="toc-entry-28">file_first_block_node()·file_first_piece_node()</a></li> | 62 | <li><a·class="reference·internal"·href="#file-first-block-node-file-first-piece-node"·id="toc-entry-28">file_first_block_node()·file_first_piece_node()</a></li> |
63 | <li><a·class="reference·internal"·href="#file-path-hash"·id="toc-entry-29">file_path_hash()</a></li> | 63 | <li><a·class="reference·internal"·href="#file-path-hash"·id="toc-entry-29">file_path_hash()</a></li> |
64 | <li><a·class="reference·internal"·href="#all-path-hashes"·id="toc-entry-30">all_path_hashes()</a></li> | 64 | <li><a·class="reference·internal"·href="#all-path-hashes"·id="toc-entry-30">all_path_hashes()</a></li> |
65 | <li><a·class="reference·internal"·href="#file-flags"·id="toc-entry-31">file_flags()</a></li> | 65 | <li><a·class="reference·internal"·href="#file-flags"·id="toc-entry-31">file_flags()</a></li> |
66 | <li><a·class="reference·internal"·href="#file-absolute-path"·id="toc-entry-32">file_absolute_path()</a></li> | 66 | <li><a·class="reference·internal"·href="#file-absolute-path"·id="toc-entry-32">file_absolute_path()</a></li> |
67 | <li><a·class="reference·internal"·href="#file-index-at- | 67 | <li><a·class="reference·internal"·href="#file-index-at-piece-file-index-at-offset"·id="toc-entry-33">file_index_at_piece()·file_index_at_offset()</a></li> |
68 | <li><a·class="reference·internal"·href="#file-index-for-root"·id="toc-entry-34">file_index_for_root()</a></li> | 68 | <li><a·class="reference·internal"·href="#file-index-for-root"·id="toc-entry-34">file_index_for_root()</a></li> |
69 | <li><a·class="reference·internal"·href="#piece-index-at-file"·id="toc-entry-35">piece_index_at_file()</a></li> | 69 | <li><a·class="reference·internal"·href="#piece-index-at-file"·id="toc-entry-35">piece_index_at_file()</a></li> |
70 | <li><a·class="reference·internal"·href="#sanitize-symlinks"·id="toc-entry-36">sanitize_symlinks()</a></li> | 70 | <li><a·class="reference·internal"·href="#sanitize-symlinks"·id="toc-entry-36">sanitize_symlinks()</a></li> |
71 | <li><a·class="reference·internal"·href="#v2"·id="toc-entry-37">v2()</a></li> | 71 | <li><a·class="reference·internal"·href="#v2"·id="toc-entry-37">v2()</a></li> |
72 | </ul> | 72 | </ul> |
73 | </li> | 73 | </li> |
74 | <li><a·class="reference·internal"·href="#mmap-disk-io-constructor"·id="toc-entry-38">mmap_disk_io_constructor()</a></li> | ||
74 | <li><a·class="reference·internal"·href="#default-disk-io-constructor"·id="toc-entry-3 | 75 | <li><a·class="reference·internal"·href="#default-disk-io-constructor"·id="toc-entry-39">default_disk_io_constructor()</a></li> |
75 | <li><a·class="reference·internal"·href="#posix-disk-io-constructor"·id="toc-entry-39">posix_disk_io_constructor()</a></li> | ||
76 | <li><a·class="reference·internal"·href="#disabled-disk-io-constructor"·id="toc-entry-40">disabled_disk_io_constructor()</a></li> | 76 | <li><a·class="reference·internal"·href="#disabled-disk-io-constructor"·id="toc-entry-40">disabled_disk_io_constructor()</a></li> |
77 | <li><a·class="reference·internal"·href="# | 77 | <li><a·class="reference·internal"·href="#posix-disk-io-constructor"·id="toc-entry-41">posix_disk_io_constructor()</a></li> |
78 | <li><a·class="reference·internal"·href="#enum-storage-mode-t"·id="toc-entry-42">enum·storage_mode_t</a></li> | 78 | <li><a·class="reference·internal"·href="#enum-storage-mode-t"·id="toc-entry-42">enum·storage_mode_t</a></li> |
79 | <li><a·class="reference·internal"·href="#enum-status-t"·id="toc-entry-43">enum·status_t</a></li> | 79 | <li><a·class="reference·internal"·href="#enum-status-t"·id="toc-entry-43">enum·status_t</a></li> |
80 | <li><a·class="reference·internal"·href="#enum-move-flags-t"·id="toc-entry-44">enum·move_flags_t</a></li> | 80 | <li><a·class="reference·internal"·href="#enum-move-flags-t"·id="toc-entry-44">enum·move_flags_t</a></li> |
81 | </ul> | 81 | </ul> |
82 | </div> | 82 | </div> |
83 | <a·name="storage_params"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+storage_params&labels=documentation&body=Documentation+under+heading+%22class+storage_params%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="storage-params"> | 83 | <a·name="storage_params"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+storage_params&labels=documentation&body=Documentation+under+heading+%22class+storage_params%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="storage-params"> |
84 | <h1>storage_params</h1> | 84 | <h1>storage_params</h1> |
Offset 139, 76 lines modified | Offset 139, 76 lines modified | ||
139 | size.·Everything·necessary·to·interpret·a·regular·bittorrent·storage | 139 | size.·Everything·necessary·to·interpret·a·regular·bittorrent·storage |
140 | file·structure.</p> | 140 | file·structure.</p> |
141 | <pre·class="literal-block"> | 141 | <pre·class="literal-block"> |
142 | class·file_storage | 142 | class·file_storage |
143 | { | 143 | { |
144 | ···bool·<strong>is_valid</strong>·()·const; | 144 | ···bool·<strong>is_valid</strong>·()·const; |
145 | ···void·<strong>reserve</strong>·(int·num_files); | 145 | ···void·<strong>reserve</strong>·(int·num_files); |
146 | ···void·<strong>add_file_borrow</strong>·(error_code&·ec,·string_view·filename | ||
147 | ······,·std::string·const&·path,·std::int64_t·file_size | ||
148 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | ||
149 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | ||
150 | ······,·char·const*·root_hash·=·nullptr); | ||
151 | ···void·<strong>add_file</strong>·(std::string·const&·path,·std::int64_t·file_size | 146 | ···void·<strong>add_file</strong>·(std::string·const&·path,·std::int64_t·file_size |
152 | ······,·file_flags_t·file_flags·=·{} | 147 | ······,·file_flags_t·file_flags·=·{} |
153 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 148 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
154 | ······,·char·const*·root_hash·=·nullptr); | 149 | ······,·char·const*·root_hash·=·nullptr); |
150 | ···void·<strong>add_file</strong>·(error_code&·ec,·std::string·const&·path,·std::int64_t·file_size | ||
151 | ······,·file_flags_t·file_flags·=·{} | ||
152 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | ||
153 | ······,·char·const*·root_hash·=·nullptr); | ||
155 | ···void·<strong>add_file_borrow</strong>·(string_view·filename | 154 | ···void·<strong>add_file_borrow</strong>·(string_view·filename |
156 | ······,·std::string·const&·path,·std::int64_t·file_size | 155 | ······,·std::string·const&·path,·std::int64_t·file_size |
157 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | 156 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr |
158 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 157 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
159 | ······,·char·const*·root_hash·=·nullptr); | 158 | ······,·char·const*·root_hash·=·nullptr); |
160 | ···void·<strong>add_file</strong>·(error_code&·ec,·std::string·const&·path,·std::int64_t·file_size | ||
161 | ···· | 159 | ···void·<strong>add_file_borrow</strong>·(error_code&·ec,·string_view·filename |
160 | ······,·std::string·const&·path,·std::int64_t·file_size | ||
161 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | ||
162 | ······,·std:: | 162 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
163 | ······,·char·const*·root_hash·=·nullptr); | 163 | ······,·char·const*·root_hash·=·nullptr); |
164 | ···void·<strong>rename_file</strong>·(file_index_t·index,·std::string·const&·new_filename); | 164 | ···void·<strong>rename_file</strong>·(file_index_t·index,·std::string·const&·new_filename); |
165 | ···std::vector<file_slice>·<strong>map_block</strong>·(piece_index_t·piece,·std::int64_t·offset | 165 | ···std::vector<file_slice>·<strong>map_block</strong>·(piece_index_t·piece,·std::int64_t·offset |
166 | ······,·std::int64_t·size)·const; | 166 | ······,·std::int64_t·size)·const; |
167 | ···peer_request·<strong>map_file</strong>·(file_index_t·file,·std::int64_t·offset,·int·size)·const; | 167 | ···peer_request·<strong>map_file</strong>·(file_index_t·file,·std::int64_t·offset,·int·size)·const; |
168 | ···int·<strong>num_files</strong>·()·const·noexcept; | 168 | ···int·<strong>num_files</strong>·()·const·noexcept; |
169 | ···file_index_t·<strong>end_file</strong>·()·const·noexcept; | 169 | ···file_index_t·<strong>end_file</strong>·()·const·noexcept; |
170 | ···index_range<file_index_t>·<strong>file_range</strong>·()·const·noexcept; | 170 | ···index_range<file_index_t>·<strong>file_range</strong>·()·const·noexcept; |
171 | ···std::int64_t·<strong>total_size</strong>·()·const; | 171 | ···std::int64_t·<strong>total_size</strong>·()·const; |
172 | ···void·<strong>set_num_pieces</strong>·(int·n); | 172 | ···void·<strong>set_num_pieces</strong>·(int·n); |
173 | ···int·<strong>num_pieces</strong>·()·const; | 173 | ···int·<strong>num_pieces</strong>·()·const; |
174 | ···piece_index_t·<strong>end_piece</strong>·()·const; | 174 | ···piece_index_t·<strong>end_piece</strong>·()·const; |
175 | ···piece_index_t·<strong>last_piece</strong>·()·const; | 175 | ···piece_index_t·<strong>last_piece</strong>·()·const; |
176 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const·noexcept; | 176 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const·noexcept; |
177 | ···void·<strong>set_piece_length</strong>·(int·l); | ||
178 | ···int·<strong>piece_length</strong>·()·const; | 177 | ···int·<strong>piece_length</strong>·()·const; |
178 | ···void·<strong>set_piece_length</strong>·(int·l); | ||
179 | ···int·<strong>piece_size</strong>·(piece_index_t·index)·const; | 179 | ···int·<strong>piece_size</strong>·(piece_index_t·index)·const; |
180 | ···int·<strong>piece_size2</strong>·(piece_index_t·index)·const; | 180 | ···int·<strong>piece_size2</strong>·(piece_index_t·index)·const; |
181 | ···int·<strong>blocks_in_piece2</strong>·(piece_index_t·index)·const; | 181 | ···int·<strong>blocks_in_piece2</strong>·(piece_index_t·index)·const; |
182 | ···int·<strong>blocks_per_piece</strong>·()·const; | 182 | ···int·<strong>blocks_per_piece</strong>·()·const; |
183 | ···void·<strong>set_name</strong>·(std::string·const&·n); | ||
184 | ···std::string·const&·<strong>name</strong>·()·const; | 183 | ···std::string·const&·<strong>name</strong>·()·const; |
184 | ···void·<strong>set_name</strong>·(std::string·const&·n); | ||
185 | ···void·<strong>swap</strong>·(file_storage&·ti)·noexcept; | 185 | ···void·<strong>swap</strong>·(file_storage&·ti)·noexcept; |
186 | ···void·<strong>canonicalize</strong>·(); | 186 | ···void·<strong>canonicalize</strong>·(); |
187 | ···string_view·<strong>file_name</strong>·(file_index_t·index)·const; | ||
188 | ···std::string·<strong>symlink</strong>·(file_index_t·index)·const; | ||
189 | ···std:: | 187 | ···std::int64_t·<strong>file_size</strong>·(file_index_t·index)·const; |
188 | ···sha1_hash·<strong>hash</strong>·(file_index_t·index)·const; | ||
190 | ···std::int64_t·<strong>file_offset</strong>·(file_index_t·index)·const; | 189 | ···std::int64_t·<strong>file_offset</strong>·(file_index_t·index)·const; |
191 | ···std::string·<strong>file_path</strong>·(file_index_t·index,·std::string·const&·save_path·=·"")·const; | ||
192 | ···bool·<strong>pad_file_at</strong>·(file_index_t·index)·const; | 190 | ···bool·<strong>pad_file_at</strong>·(file_index_t·index)·const; |
193 | ··· | 191 | ···std::time_t·<strong>mtime</strong>·(file_index_t·index)·const; |
194 | ···sha256_hash·<strong>root</strong>·(file_index_t·index)·const; | 192 | ···sha256_hash·<strong>root</strong>·(file_index_t·index)·const; |
193 | ···std::string·<strong>file_path</strong>·(file_index_t·index,·std::string·const&·save_path·=·"")·const; | ||
194 | ···std::string·<strong>symlink</strong>·(file_index_t·index)·const; | ||
195 | ···char·const*·<strong>root_ptr</strong>·(file_index_t·const·index)·const; | ||
195 | ···st | 196 | ···string_view·<strong>file_name</strong>·(file_index_t·index)·const; |
196 | ···sha1_hash·<strong>hash</strong>·(file_index_t·index)·const; | ||
197 | ···int·<strong>file_num_blocks</strong>·(file_index_t·index)·const; | 197 | ···int·<strong>file_num_blocks</strong>·(file_index_t·index)·const; |
198 | ···index_range<piece_index_t::diff_type>·<strong>file_piece_range</strong>·(file_index_t)·const; | 198 | ···index_range<piece_index_t::diff_type>·<strong>file_piece_range</strong>·(file_index_t)·const; |
199 | ···int·<strong>file_num_pieces</strong>·(file_index_t·index)·const; | 199 | ···int·<strong>file_num_pieces</strong>·(file_index_t·index)·const; |
200 | ···int·<strong>file_first_piece_node</strong>·(file_index_t·index)·const; | 200 | ···int·<strong>file_first_piece_node</strong>·(file_index_t·index)·const; |
201 | ···int·<strong>file_first_block_node</strong>·(file_index_t·index)·const; | 201 | ···int·<strong>file_first_block_node</strong>·(file_index_t·index)·const; |
202 | ···std::uint32_t·<strong>file_path_hash</strong>·(file_index_t·index,·std::string·const&·save_path)·const; | 202 | ···std::uint32_t·<strong>file_path_hash</strong>·(file_index_t·index,·std::string·const&·save_path)·const; |
203 | ···void·<strong>all_path_hashes</strong>·(std::unordered_set<std::uint32_t>&·table)·const; | 203 | ···void·<strong>all_path_hashes</strong>·(std::unordered_set<std::uint32_t>&·table)·const; |
204 | ···file_flags_t·<strong>file_flags</strong>·(file_index_t·index)·const; | 204 | ···file_flags_t·<strong>file_flags</strong>·(file_index_t·index)·const; |
205 | ···bool·<strong>file_absolute_path</strong>·(file_index_t·index)·const; | 205 | ···bool·<strong>file_absolute_path</strong>·(file_index_t·index)·const; |
206 | ···file_index_t·<strong>file_index_at_offset</strong>·(std::int64_t·offset)·const; | ||
207 | ···file_index_t·<strong>file_index_at_piece</strong>·(piece_index_t·piece)·const; | 206 | ···file_index_t·<strong>file_index_at_piece</strong>·(piece_index_t·piece)·const; |
207 | ···file_index_t·<strong>file_index_at_offset</strong>·(std::int64_t·offset)·const; | ||
208 | ···file_index_t·<strong>file_index_for_root</strong>·(sha256_hash·const&·root_hash)·const; | 208 | ···file_index_t·<strong>file_index_for_root</strong>·(sha256_hash·const&·root_hash)·const; |
209 | ···piece_index_t·<strong>piece_index_at_file</strong>·(file_index_t·f)·const; | 209 | ···piece_index_t·<strong>piece_index_at_file</strong>·(file_index_t·f)·const; |
210 | ···void·<strong>sanitize_symlinks</strong>·(); | 210 | ···void·<strong>sanitize_symlinks</strong>·(); |
Max diff block lines reached; 22332/33807 bytes (66.06%) of diff not shown. |
Offset 16, 39 lines modified | Offset 16, 39 lines modified | ||
16 | ··········o·_\x8e_\x8n_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 16 | ··········o·_\x8e_\x8n_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
17 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) | 17 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) |
18 | ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) | 18 | ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) |
19 | ··········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·_\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) |
20 | ··········o·_\x8e_\x8n_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 20 | ··········o·_\x8e_\x8n_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
21 | ··········o·_\x8l_\x8a_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 21 | ··········o·_\x8l_\x8a_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
22 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) | 22 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) |
23 | ··········o·_\x8 | 23 | ··········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) |
24 | ··········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_\x8(_\x8) |
25 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x82_\x8(_\x8) | 25 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x82_\x8(_\x8) |
26 | ··········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__\x8i_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x82_\x8(_\x8) |
27 | ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 27 | ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
28 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8n_\x8a_\x8m_\x8e_\x8(_\x8) | 28 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8n_\x8a_\x8m_\x8e_\x8(_\x8) |
29 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) | 29 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) |
30 | ··········o·_\x8c_\x8a_\x8n_\x8o_\x8n_\x8i_\x8c_\x8a_\x8l_\x8i_\x8z_\x8e_\x8(_\x8) | 30 | ··········o·_\x8c_\x8a_\x8n_\x8o_\x8n_\x8i_\x8c_\x8a_\x8l_\x8i_\x8z_\x8e_\x8(_\x8) |
31 | ··········o·_\x8r_\x8o_\x8o_\x8t_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8)_\x8·_\x8s_\x8y_\x8m_\x8l_\x8i_\x8n_\x8k_\x8(_\x8)_\x8·_\x8m_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8h | ||
32 | ············_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8r_\x8o_\x8o_\x8t_\x8__\x8p_\x8t_\x8r_\x8(_\x8)_\x8·_\x8p_\x8a_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8a_\x8t_\x8(_\x8) | ||
33 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8 | 31 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8a_.m_.e_.(_.)_.·_.f_.i_.l_.e_.__.p_.a_.t_.h_.(_.)_.·_.p_.a_.d_.__.f_.i_.l_.e_.__.a_.t_.(_.)_.·_.r_.o_.o_.t_.__.p_.t_.r_.(_.)_.·_.f_.i_.l_.e_.__.o_.f_.f_.s_.e_.t_\x8(_\x8) |
32 | ············_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)_\x8·_\x8m_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)_\x8·_\x8r_\x8o_\x8o_\x8t_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8h_\x8(_\x8)_\x8·_\x8s_\x8y_\x8m_\x8l_\x8i_\x8n_\x8k_\x8(_\x8) | ||
33 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8u_\x8m_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8(_\x8) | ||
34 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) | 34 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) |
35 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) | 35 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) |
36 | ··········o·_\x8a_\x8l_\x8l_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8) | 36 | ··········o·_\x8a_\x8l_\x8l_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8) |
37 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8) | 37 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8) |
38 | ··········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__\x8a_\x8b_\x8s_\x8o_\x8l_\x8u_\x8t_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8) |
39 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8 | 39 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8p_.i_.e_.c_.e_.(_.)_.·_.f_.i_.l_.e_.__.i_.n_.d_.e_.x_.__.a_.t_.__.o_.f_.f_.s_.e_.t_\x8(_\x8) |
40 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8f_\x8o_\x8r_\x8__\x8r_\x8o_\x8o_\x8t_\x8(_\x8) | 40 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8f_\x8o_\x8r_\x8__\x8r_\x8o_\x8o_\x8t_\x8(_\x8) |
41 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 41 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
42 | ··········o·_\x8s_\x8a_\x8n_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8s_\x8y_\x8m_\x8l_\x8i_\x8n_\x8k_\x8s_\x8(_\x8) | 42 | ··········o·_\x8s_\x8a_\x8n_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8s_\x8y_\x8m_\x8l_\x8i_\x8n_\x8k_\x8s_\x8(_\x8) |
43 | ··········o·_\x8v_\x82_\x8(_\x8) | 43 | ··········o·_\x8v_\x82_\x8(_\x8) |
44 | ····*·_\x8m_\x8m_\x8a_\x8p_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) | ||
44 | ····*·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) | 45 | ····*·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) |
45 | ····*·_\x8p_\x8o_\x8s_\x8i_\x8x_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) | ||
46 | ····*·_\x8d_\x8i_\x8s_\x8a_\x8b_\x8l_\x8e_\x8d_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) | 46 | ····*·_\x8d_\x8i_\x8s_\x8a_\x8b_\x8l_\x8e_\x8d_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) |
47 | ····*·_\x8 | 47 | ····*·_\x8p_.o_.s_.i_.x_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) |
48 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t | 48 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t |
49 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8__\x8t | 49 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8__\x8t |
50 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8m_\x8o_\x8v_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t | 50 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8m_\x8o_\x8v_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t |
51 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 51 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
52 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·*\x8**\x8**\x8**\x8**\x8**\x8* | 52 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·*\x8**\x8**\x8**\x8**\x8**\x8* |
53 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8d_\x8e_\x8f_\x8s_\x8._\x8h_\x8p_\x8p" | 53 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8d_\x8e_\x8f_\x8s_\x8._\x8h_\x8p_\x8p" |
54 | a·parameter·pack·used·to·construct·the·storage·for·a·torrent,·used·in | 54 | a·parameter·pack·used·to·construct·the·storage·for·a·torrent,·used·in |
Offset 96, 32 lines modified | Offset 96, 32 lines modified | ||
96 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8._\x8h_\x8p_\x8p" | 96 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8._\x8h_\x8p_\x8p" |
97 | The·file_storage·class·represents·a·file·list·and·the·piece·size.·Everything | 97 | The·file_storage·class·represents·a·file·list·and·the·piece·size.·Everything |
98 | necessary·to·interpret·a·regular·bittorrent·storage·file·structure. | 98 | necessary·to·interpret·a·regular·bittorrent·storage·file·structure. |
99 | class·file_storage | 99 | class·file_storage |
100 | { | 100 | { |
101 | ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const; | 101 | ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const; |
102 | ···void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·num_files); | 102 | ···void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·num_files); |
103 | ···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 | ||
104 | ······,·std::string·const&·path,·std::int64_t·file_size | ||
105 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | ||
106 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | ||
107 | ······,·char·const*·root_hash·=·nullptr); | ||
108 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(std::string·const&·path,·std::int64_t·file_size | 103 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(std::string·const&·path,·std::int64_t·file_size |
109 | ······,·file_flags_t·file_flags·=·{} | 104 | ······,·file_flags_t·file_flags·=·{} |
110 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 105 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
111 | ······,·char·const*·root_hash·=·nullptr); | 106 | ······,·char·const*·root_hash·=·nullptr); |
107 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(error_code&·ec,·std::string·const&·path,·std::int64_t | ||
108 | file_size | ||
109 | ······,·file_flags_t·file_flags·=·{} | ||
110 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | ||
111 | ······,·char·const*·root_hash·=·nullptr); | ||
112 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w·(string_view·filename | 112 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w·(string_view·filename |
113 | ······,·std::string·const&·path,·std::int64_t·file_size | 113 | ······,·std::string·const&·path,·std::int64_t·file_size |
114 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | 114 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr |
115 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 115 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
116 | ······,·char·const*·root_hash·=·nullptr); | 116 | ······,·char·const*·root_hash·=·nullptr); |
117 | ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(error_code&·ec,·std::string·const&·path,·std::int64_t | ||
118 | file_size | ||
119 | ···· | 117 | ···void·a.ad.dd.d_._f.fi.il.le.e_._b.bo.or.rr.ro.ow.w·(error_code&·ec,·string_view·filename |
118 | ······,·std::string·const&·path,·std::int64_t·file_size | ||
119 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | ||
120 | ······,·std:: | 120 | ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
121 | ······,·char·const*·root_hash·=·nullptr); | 121 | ······,·char·const*·root_hash·=·nullptr); |
122 | ···void·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·index,·std::string·const&·new_filename); | 122 | ···void·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·index,·std::string·const&·new_filename); |
123 | ···std::vector<file_slice>·m\x8ma\x8ap\x8p_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·piece,·std::int64_t·offset | 123 | ···std::vector<file_slice>·m\x8ma\x8ap\x8p_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·piece,·std::int64_t·offset |
124 | ······,·std::int64_t·size)·const; | 124 | ······,·std::int64_t·size)·const; |
125 | ···peer_request·m\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·file,·std::int64_t·offset,·int·size) | 125 | ···peer_request·m\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·file,·std::int64_t·offset,·int·size) |
126 | const; | 126 | const; |
127 | ···int·n\x8nu\x8um\x8m_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const·noexcept; | 127 | ···int·n\x8nu\x8um\x8m_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const·noexcept; |
Offset 129, 47 lines modified | Offset 129, 47 lines modified | ||
129 | ···index_range<file_index_t>·f\x8fi\x8il\x8le\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; | 129 | ···index_range<file_index_t>·f\x8fi\x8il\x8le\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; |
130 | ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | 130 | ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; |
131 | ···void·s\x8se\x8et\x8t_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(int·n); | 131 | ···void·s\x8se\x8et\x8t_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(int·n); |
132 | ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; | 132 | ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; |
133 | ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; | 133 | ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; |
134 | ···piece_index_t·l\x8la\x8as\x8st\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; | 134 | ···piece_index_t·l\x8la\x8as\x8st\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; |
135 | ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; | 135 | ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; |
136 | ···void·s\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·(int·l); | ||
137 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | 136 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; |
137 | ···void·s\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·(int·l); | ||
138 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·index)·const; | 138 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·index)·const; |
139 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e2\x82·(piece_index_t·index)·const; | 139 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e2\x82·(piece_index_t·index)·const; |
140 | ···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; | 140 | ···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; |
141 | ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_p\x8pe\x8er\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; | 141 | ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_p\x8pe\x8er\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; |
142 | ···void·s\x8se\x8et\x8t_\x8_n\x8na\x8am\x8me\x8e·(std::string·const&·n); | ||
143 | ···std::string·const&·n\x8na\x8am\x8me\x8e·()·const; | 142 | ···std::string·const&·n\x8na\x8am\x8me\x8e·()·const; |
143 | ···void·s\x8se\x8et\x8t_\x8_n\x8na\x8am\x8me\x8e·(std::string·const&·n); | ||
144 | ···void·s\x8sw\x8wa\x8ap\x8p·(file_storage&·ti)·noexcept; | 144 | ···void·s\x8sw\x8wa\x8ap\x8p·(file_storage&·ti)·noexcept; |
145 | ···void·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8li\x8iz\x8ze\x8e·(); | 145 | ···void·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8li\x8iz\x8ze\x8e·(); |
146 | ···st | 146 | ···std::int64_t·f.fi.il.le.e_._s.si.iz.ze\x8e·(file_index_t·index)·const; |
147 | ···sha1_hash·h\x8ha\x8as\x8sh\x8h·(file_index_t·index)·const; | ||
147 | ···std::string·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8k·(file_index_t·index)·const; | ||
148 | ···std::time_t·m\x8mt\x8ti\x8im\x8me\x8e·(file_index_t·index)·const; | ||
149 | ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·(file_index_t·index)·const; | 148 | ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·(file_index_t·index)·const; |
149 | ···bool·p\x8pa\x8ad\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_a\x8at\x8t·(file_index_t·index)·const; | ||
150 | ···std::time_t·m\x8mt\x8ti\x8im\x8me\x8e·(file_index_t·index)·const; | ||
151 | ···sha256_hash·r\x8ro\x8oo\x8ot\x8t·(file_index_t·index)·const; | ||
150 | ···std::string·f\x8fi\x8il\x8le\x8e_\x8_p\x8pa\x8at\x8th\x8h·(file_index_t·index,·std::string·const&·save_path·= | 152 | ···std::string·f\x8fi\x8il\x8le\x8e_\x8_p\x8pa\x8at\x8th\x8h·(file_index_t·index,·std::string·const&·save_path·= |
151 | "")·const; | 153 | "")·const; |
152 | ··· | 154 | ···std::string·s.sy.ym.ml.li.in.nk.k·(file_index_t·index)·const; |
153 | ···char·const*·r\x8ro\x8oo\x8ot\x8t_\x8_p\x8pt\x8tr\x8r·(file_index_t·const·index)·const; | 155 | ···char·const*·r\x8ro\x8oo\x8ot\x8t_\x8_p\x8pt\x8tr\x8r·(file_index_t·const·index)·const; |
154 | ···sha256_hash·r\x8ro\x8oo\x8ot\x8t·(file_index_t·index)·const; | ||
155 | ···st | 156 | ···string_view·f.fi.il.le.e_._n.na.am.me\x8e·(file_index_t·index)·const; |
156 | ···sha1_hash·h\x8ha\x8as\x8sh\x8h·(file_index_t·index)·const; | ||
157 | ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·(file_index_t·index)·const; | 157 | ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·(file_index_t·index)·const; |
158 | ···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; | 158 | ···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; |
159 | ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(file_index_t·index)·const; | 159 | ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(file_index_t·index)·const; |
160 | ···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; | 160 | ···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; |
161 | ···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; | 161 | ···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; |
162 | ···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& | 162 | ···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& |
163 | save_path)·const; | 163 | save_path)·const; |
164 | ···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; | 164 | ···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; |
165 | ···file_flags_t·f\x8fi\x8il\x8le\x8e_\x8_f\x8fl\x8la\x8ag\x8gs\x8s·(file_index_t·index)·const; | 165 | ···file_flags_t·f\x8fi\x8il\x8le\x8e_\x8_f\x8fl\x8la\x8ag\x8gs\x8s·(file_index_t·index)·const; |
166 | ···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; | 166 | ···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; |
Max diff block lines reached; 15598/25552 bytes (61.04%) of diff not shown. |
Offset 39, 52 lines modified | Offset 39, 52 lines modified | ||
39 | </li> | 39 | </li> |
40 | <li><a·class="reference·internal"·href="#partial-piece-info"·id="toc-entry-4">partial_piece_info</a></li> | 40 | <li><a·class="reference·internal"·href="#partial-piece-info"·id="toc-entry-4">partial_piece_info</a></li> |
41 | <li><a·class="reference·internal"·href="#torrent-handle"·id="toc-entry-5">torrent_handle</a><ul> | 41 | <li><a·class="reference·internal"·href="#torrent-handle"·id="toc-entry-5">torrent_handle</a><ul> |
42 | <li><a·class="reference·internal"·href="#torrent-handle-1"·id="toc-entry-6">torrent_handle()</a></li> | 42 | <li><a·class="reference·internal"·href="#torrent-handle-1"·id="toc-entry-6">torrent_handle()</a></li> |
43 | <li><a·class="reference·internal"·href="#add-piece"·id="toc-entry-7">add_piece()</a></li> | 43 | <li><a·class="reference·internal"·href="#add-piece"·id="toc-entry-7">add_piece()</a></li> |
44 | <li><a·class="reference·internal"·href="#read-piece"·id="toc-entry-8">read_piece()</a></li> | 44 | <li><a·class="reference·internal"·href="#read-piece"·id="toc-entry-8">read_piece()</a></li> |
45 | <li><a·class="reference·internal"·href="#have-piece"·id="toc-entry-9">have_piece()</a></li> | 45 | <li><a·class="reference·internal"·href="#have-piece"·id="toc-entry-9">have_piece()</a></li> |
46 | <li><a·class="reference·internal"·href="# | 46 | <li><a·class="reference·internal"·href="#post-peer-info-get-peer-info"·id="toc-entry-10">post_peer_info()·get_peer_info()</a></li> |
47 | <li><a·class="reference·internal"·href="#status-post-status"·id="toc-entry-11">status()·post_status()</a></li> | 47 | <li><a·class="reference·internal"·href="#status-post-status"·id="toc-entry-11">status()·post_status()</a></li> |
48 | <li><a·class="reference·internal"·href="# | 48 | <li><a·class="reference·internal"·href="#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- | 49 | <li><a·class="reference·internal"·href="#reset-piece-deadline-set-piece-deadline-clear-piece-deadlines"·id="toc-entry-13">reset_piece_deadline()·set_piece_deadline()·clear_piece_deadlines()</a></li> |
50 | <li><a·class="reference·internal"·href="# | 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="#tracker | 53 | <li><a·class="reference·internal"·href="#add-tracker-post-trackers-trackers-replace-trackers"·id="toc-entry-17">add_tracker()·post_trackers()·trackers()·replace_trackers()</a></li> |
54 | <li><a·class="reference·internal"·href="#remove-url-seed- | 54 | <li><a·class="reference·internal"·href="#remove-url-seed-url-seeds-add-url-seed"·id="toc-entry-18">remove_url_seed()·url_seeds()·add_url_seed()</a></li> |
55 | <li><a·class="reference·internal"·href="# | 55 | <li><a·class="reference·internal"·href="#remove-http-seed-http-seeds-add-http-seed"·id="toc-entry-19">remove_http_seed()·http_seeds()·add_http_seed()</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="#pause-resume"·id="toc-entry-23">pause()·resume()</a></li> | 59 | <li><a·class="reference·internal"·href="#pause-resume"·id="toc-entry-23">pause()·resume()</a></li> |
60 | <li><a·class="reference·internal"·href="# | 60 | <li><a·class="reference·internal"·href="#flags-unset-flags-set-flags"·id="toc-entry-24">flags()·unset_flags()·set_flags()</a></li> |
61 | <li><a·class="reference·internal"·href="#flush-cache"·id="toc-entry-25">flush_cache()</a></li> | 61 | <li><a·class="reference·internal"·href="#flush-cache"·id="toc-entry-25">flush_cache()</a></li> |
62 | <li><a·class="reference·internal"·href="#force-recheck"·id="toc-entry-26">force_recheck()</a></li> | 62 | <li><a·class="reference·internal"·href="#force-recheck"·id="toc-entry-26">force_recheck()</a></li> |
63 | <li><a·class="reference·internal"·href="#save-resume-data"·id="toc-entry-27">save_resume_data()</a></li> | 63 | <li><a·class="reference·internal"·href="#save-resume-data"·id="toc-entry-27">save_resume_data()</a></li> |
64 | <li><a·class="reference·internal"·href="#need-save-resume-data"·id="toc-entry-28">need_save_resume_data()</a></li> | 64 | <li><a·class="reference·internal"·href="#need-save-resume-data"·id="toc-entry-28">need_save_resume_data()</a></li> |
65 | <li><a·class="reference·internal"·href="#queue-position- | 65 | <li><a·class="reference·internal"·href="#queue-position-down-queue-position-queue-position-bottom-queue-position-up-queue-position-top"·id="toc-entry-29">queue_position_down()·queue_position()·queue_position_bottom()·queue_position_up()·queue_position_top()</a></li> |
66 | <li><a·class="reference·internal"·href="#queue-position-set"·id="toc-entry-30">queue_position_set()</a></li> | 66 | <li><a·class="reference·internal"·href="#queue-position-set"·id="toc-entry-30">queue_position_set()</a></li> |
67 | <li><a·class="reference·internal"·href="#set-ssl-certificate-set-ssl-certificate-buffer"·id="toc-entry-31">set_ssl_certificate()·set_ssl_certificate_buffer()</a></li> | 67 | <li><a·class="reference·internal"·href="#set-ssl-certificate-set-ssl-certificate-buffer"·id="toc-entry-31">set_ssl_certificate()·set_ssl_certificate_buffer()</a></li> |
68 | <li><a·class="reference·internal"·href="#torrent-file-with-hashes-torrent-file"·id="toc-entry-32">torrent_file_with_hashes()·torrent_file()</a></li> | 68 | <li><a·class="reference·internal"·href="#torrent-file-with-hashes-torrent-file"·id="toc-entry-32">torrent_file_with_hashes()·torrent_file()</a></li> |
69 | <li><a·class="reference·internal"·href="#piece-layers"·id="toc-entry-33">piece_layers()</a></li> | 69 | <li><a·class="reference·internal"·href="#piece-layers"·id="toc-entry-33">piece_layers()</a></li> |
70 | <li><a·class="reference·internal"·href="#piece-availability | 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-prioritize-pieces-get-piece-priorities"·id="toc-entry-35">piece_priority()·prioritize_pieces()·get_piece_priorities()</a></li> | 71 | <li><a·class="reference·internal"·href="#piece-priority-prioritize-pieces-get-piece-priorities"·id="toc-entry-35">piece_priority()·prioritize_pieces()·get_piece_priorities()</a></li> |
72 | <li><a·class="reference·internal"·href="#prioritize-files- | 72 | <li><a·class="reference·internal"·href="#prioritize-files-file-priority-get-file-priorities"·id="toc-entry-36">prioritize_files()·file_priority()·get_file_priorities()</a></li> |
73 | <li><a·class="reference·internal"·href="#force- | 73 | <li><a·class="reference·internal"·href="#force-reannounce-force-lsd-announce-force-dht-announce"·id="toc-entry-37">force_reannounce()·force_lsd_announce()·force_dht_announce()</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="#upload-limit-set- | 75 | <li><a·class="reference·internal"·href="#upload-limit-set-download-limit-download-limit-set-upload-limit"·id="toc-entry-39">upload_limit()·set_download_limit()·download_limit()·set_upload_limit()</a></li> |
76 | <li><a·class="reference·internal"·href="#connect-peer"·id="toc-entry-40">connect_peer()</a></li> | 76 | <li><a·class="reference·internal"·href="#connect-peer"·id="toc-entry-40">connect_peer()</a></li> |
77 | <li><a·class="reference·internal"·href="#clear-peers"·id="toc-entry-41">clear_peers()</a></li> | 77 | <li><a·class="reference·internal"·href="#clear-peers"·id="toc-entry-41">clear_peers()</a></li> |
78 | <li><a·class="reference·internal"·href="#set-max-uploads-max-uploads"·id="toc-entry-42">set_max_uploads()·max_uploads()</a></li> | 78 | <li><a·class="reference·internal"·href="#set-max-uploads-max-uploads"·id="toc-entry-42">set_max_uploads()·max_uploads()</a></li> |
79 | <li><a·class="reference·internal"·href="#max-connections-set-max-connections"·id="toc-entry-43">max_connections()·set_max_connections()</a></li> | 79 | <li><a·class="reference·internal"·href="#max-connections-set-max-connections"·id="toc-entry-43">max_connections()·set_max_connections()</a></li> |
80 | <li><a·class="reference·internal"·href="#move-storage"·id="toc-entry-44">move_storage()</a></li> | 80 | <li><a·class="reference·internal"·href="#move-storage"·id="toc-entry-44">move_storage()</a></li> |
81 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-45">rename_file()</a></li> | 81 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-45">rename_file()</a></li> |
82 | <li><a·class="reference·internal"·href="#info-hashes-info-hash"·id="toc-entry-46">info_hashes()·info_hash()</a></li> | 82 | <li><a·class="reference·internal"·href="#info-hashes-info-hash"·id="toc-entry-46">info_hashes()·info_hash()</a></li> |
83 | <li><a·class="reference·internal"·href="#operator-operator-operator"·id="toc-entry-47">operator | 83 | <li><a·class="reference·internal"·href="#operator-operator-operator"·id="toc-entry-47">operator==()·operator<()·operator!=()</a></li> |
84 | <li><a·class="reference·internal"·href="#id"·id="toc-entry-48">id()</a></li> | 84 | <li><a·class="reference·internal"·href="#id"·id="toc-entry-48">id()</a></li> |
85 | <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-49">native_handle()</a></li> | 85 | <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-49">native_handle()</a></li> |
86 | <li><a·class="reference·internal"·href="#userdata"·id="toc-entry-50">userdata()</a></li> | 86 | <li><a·class="reference·internal"·href="#userdata"·id="toc-entry-50">userdata()</a></li> |
87 | <li><a·class="reference·internal"·href="#in-session"·id="toc-entry-51">in_session()</a></li> | 87 | <li><a·class="reference·internal"·href="#in-session"·id="toc-entry-51">in_session()</a></li> |
88 | </ul> | 88 | </ul> |
89 | </li> | 89 | </li> |
90 | <li><a·class="reference·internal"·href="#hash-value"·id="toc-entry-52">hash_value()</a></li> | 90 | <li><a·class="reference·internal"·href="#hash-value"·id="toc-entry-52">hash_value()</a></li> |
Offset 263, 110 lines modified | Offset 263, 110 lines modified | ||
263 | handle·will·remain·valid·between·two·calls.</p> | 263 | handle·will·remain·valid·between·two·calls.</p> |
264 | </div> | 264 | </div> |
265 | <pre·class="literal-block"> | 265 | <pre·class="literal-block"> |
266 | struct·torrent_handle | 266 | struct·torrent_handle |
267 | { | 267 | { |
268 | ···friend·std::size_t·<strong>hash_value</strong>·(torrent_handle·const&·th); | 268 | ···friend·std::size_t·<strong>hash_value</strong>·(torrent_handle·const&·th); |
269 | ···<strong>torrent_handle</strong>·()·noexcept·=·default; | 269 | ···<strong>torrent_handle</strong>·()·noexcept·=·default; |
270 | ···void·<strong>add_piece</strong>·(piece_index_t·piece,·char·const*·data,·add_piece_flags_t·flags·=·{})·const; | ||
271 | ···void·<strong>add_piece</strong>·(piece_index_t·piece,·std::vector<char>·data,·add_piece_flags_t·flags·=·{})·const; | 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; | ||
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; |
276 | ··· | 275 | ···void·<strong>get_peer_info</strong>·(std::vector<peer_info>&·v)·const; |
277 | ···void·<strong>post_status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const; | 276 | ···void·<strong>post_status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const; |
277 | ···torrent_status·<strong>status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const; | ||
278 | ···void·<strong>get_download_queue</strong>·(std::vector<partial_piece_info>&·queue)·const; | ||
278 | ···std::vector<partial_piece_info>·<strong>get_download_queue</strong>·()·const; | 279 | ···std::vector<partial_piece_info>·<strong>get_download_queue</strong>·()·const; |
279 | ···void·<strong>post_download_queue</strong>·()·const; | 280 | ···void·<strong>post_download_queue</strong>·()·const; |
280 | ···void·<strong>get_download_queue</strong>·(std::vector<partial_piece_info>&·queue)·const; | ||
281 | ···void·<strong>clear_piece_deadlines</strong>·()·const; | ||
282 | ···void·<strong>reset_piece_deadline</strong>·(piece_index_t·index)·const; | 281 | ···void·<strong>reset_piece_deadline</strong>·(piece_index_t·index)·const; |
282 | ···void·<strong>clear_piece_deadlines</strong>·()·const; | ||
283 | ···void·<strong>set_piece_deadline</strong>·(piece_index_t·index,·int·deadline,·deadline_flags_t·flags·=·{})·const; | 283 | ···void·<strong>set_piece_deadline</strong>·(piece_index_t·index,·int·deadline,·deadline_flags_t·flags·=·{})·const; |
284 | ···void·<strong>post_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; | 284 | ···std::vector<std::int64_t>·<strong>file_progress</strong>·(file_progress_flags_t·flags·=·{})·const; |
286 | ···void·<strong>file_progress</strong>·(std::vector<std::int64_t>&·progress,·file_progress_flags_t·flags·=·{})·const; | 285 | ···void·<strong>file_progress</strong>·(std::vector<std::int64_t>&·progress,·file_progress_flags_t·flags·=·{})·const; |
286 | ···void·<strong>post_file_progress</strong>·(file_progress_flags_t·flags)·const; | ||
287 | ···std::vector<open_file_state>·<strong>file_status</strong>·()·const; | 287 | ···std::vector<open_file_state>·<strong>file_status</strong>·()·const; |
288 | ···void·<strong>clear_error</strong>·()·const; | 288 | ···void·<strong>clear_error</strong>·()·const; |
289 | ···void·<strong>add_tracker</strong>·(announce_entry·const&)·const; | 289 | ···void·<strong>add_tracker</strong>·(announce_entry·const&)·const; |
290 | ···void·<strong>replace_trackers</strong>·(std::vector<announce_entry>·const&)·const; | ||
291 | ···void·<strong>post_trackers</strong>·()·const; | ||
292 | ···std::vector<announce_entry>·<strong>trackers</strong>·()·const; | 290 | ···std::vector<announce_entry>·<strong>trackers</strong>·()·const; |
291 | ···void·<strong>post_trackers</strong>·()·const; | ||
292 | ···void·<strong>replace_trackers</strong>·(std::vector<announce_entry>·const&)·const; | ||
293 | ···void·<strong>remove_url_seed</strong>·(std::string·const&·url)·const; | ||
293 | ···std::set<std::string>·<strong>url_seeds</strong>·()·const; | 294 | ···std::set<std::string>·<strong>url_seeds</strong>·()·const; |
294 | ···void·<strong>add_url_seed</strong>·(std::string·const&·url)·const; | 295 | ···void·<strong>add_url_seed</strong>·(std::string·const&·url)·const; |
295 | ···void·<strong>remove_url_seed</strong>·(std::string·const&·url)·const; | ||
296 | ···std::set<std::string>·<strong>http_seeds</strong>·()·const; | ||
297 | ···void·<strong>add_http_seed</strong>·(std::string·const&·url)·const; | 296 | ···void·<strong>add_http_seed</strong>·(std::string·const&·url)·const; |
298 | ···void·<strong>remove_http_seed</strong>·(std::string·const&·url)·const; | 297 | ···void·<strong>remove_http_seed</strong>·(std::string·const&·url)·const; |
298 | ···std::set<std::string>·<strong>http_seeds</strong>·()·const; | ||
299 | ···void·<strong>add_extension</strong>·( | 299 | ···void·<strong>add_extension</strong>·( |
300 | ······std::function<std::shared_ptr<torrent_plugin>(torrent_handle·const&,·client_data_t)>·const&·ext | 300 | ······std::function<std::shared_ptr<torrent_plugin>(torrent_handle·const&,·client_data_t)>·const&·ext |
301 | ······,·client_data_t·userdata·=·client_data_t{}); | 301 | ······,·client_data_t·userdata·=·client_data_t{}); |
302 | ···bool·<strong>set_metadata</strong>·(span<char·const>·metadata)·const; | 302 | ···bool·<strong>set_metadata</strong>·(span<char·const>·metadata)·const; |
303 | ···bool·<strong>is_valid</strong>·()·const; | 303 | ···bool·<strong>is_valid</strong>·()·const; |
304 | ···void·<strong>resume</strong>·()·const; | ||
305 | ···void·<strong>pause</strong>·(pause_flags_t·flags·=·{})·const; | 304 | ···void·<strong>pause</strong>·(pause_flags_t·flags·=·{})·const; |
305 | ···void·<strong>resume</strong>·()·const; | ||
306 | ···torrent_flags_t·<strong>flags</strong>·()·const; | ||
307 | ···void·<strong>unset_flags</strong>·(torrent_flags_t·flags)·const; | ||
308 | ···void·<strong>set_flags</strong>·(torrent_flags_t·flags,·torrent_flags_t·mask)·const; | 306 | ···void·<strong>set_flags</strong>·(torrent_flags_t·flags,·torrent_flags_t·mask)·const; |
307 | ···torrent_flags_t·<strong>flags</strong>·()·const; | ||
309 | ···void·<strong>set_flags</strong>·(torrent_flags_t·flags)·const; | 308 | ···void·<strong>set_flags</strong>·(torrent_flags_t·flags)·const; |
309 | ···void·<strong>unset_flags</strong>·(torrent_flags_t·flags)·const; | ||
310 | ···void·<strong>flush_cache</strong>·()·const; | 310 | ···void·<strong>flush_cache</strong>·()·const; |
311 | ···void·<strong>force_recheck</strong>·()·const; | 311 | ···void·<strong>force_recheck</strong>·()·const; |
312 | ···void·<strong>save_resume_data</strong>·(resume_data_flags_t·flags·=·{})·const; | 312 | ···void·<strong>save_resume_data</strong>·(resume_data_flags_t·flags·=·{})·const; |
313 | ···bool·<strong>need_save_resume_data</strong>·(resume_data_flags_t·flags)·const; | 313 | ···bool·<strong>need_save_resume_data</strong>·(resume_data_flags_t·flags)·const; |
314 | ···bool·<strong>need_save_resume_data</strong>·()·const; | 314 | ···bool·<strong>need_save_resume_data</strong>·()·const; |
315 | ···void·<strong>queue_position_up</strong>·()·const; | ||
315 | ···void·<strong>queue_position_ | 316 | ···void·<strong>queue_position_top</strong>·()·const; |
316 | ···void·<strong>queue_position_down</strong>·()·const; | 317 | ···void·<strong>queue_position_down</strong>·()·const; |
317 | ···queue_position_t·<strong>queue_position</strong>·()·const; | 318 | ···queue_position_t·<strong>queue_position</strong>·()·const; |
318 | ···void·<strong>queue_position_to | 319 | ···void·<strong>queue_position_bottom</strong>·()·const; |
319 | ···void·<strong>queue_position_up</strong>·()·const; | ||
320 | ···void·<strong>queue_position_set</strong>·(queue_position_t·p)·const; | 320 | ···void·<strong>queue_position_set</strong>·(queue_position_t·p)·const; |
321 | ···void·<strong>set_ssl_certificate_buffer</strong>·(std::string·const&·certificate | ||
322 | ······,·std::string·const&·private_key | ||
323 | ······,·std::string·const&·dh_params); | ||
Max diff block lines reached; 51770/65824 bytes (78.65%) of diff not shown. |
Offset 8, 54 lines modified | Offset 8, 54 lines modified | ||
8 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8__\x8t | 8 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8__\x8t |
9 | ····*·_\x8p_\x8a_\x8r_\x8t_\x8i_\x8a_\x8l_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o | 9 | ····*·_\x8p_\x8a_\x8r_\x8t_\x8i_\x8a_\x8l_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o |
10 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e | 10 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e |
11 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8) | 11 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8) |
12 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 12 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
13 | ··········o·_\x8r_\x8e_\x8a_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 13 | ··········o·_\x8r_\x8e_\x8a_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
14 | ··········o·_\x8h_\x8a_\x8v_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 14 | ··········o·_\x8h_\x8a_\x8v_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
15 | ··········o·_\x8 | 15 | ··········o·_\x8p_.o_.s_.t_.__.p_.e_.e_.r_.__.i_.n_.f_.o_.(_.)_.·_.g_.e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8) |
16 | ··········o·_\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) | 16 | ··········o·_\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) |
17 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8q_\x8u_\x8e_\x8u_\x8e_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8q_\x8u_\x8e_\x8u_\x8e_\x8(_\x8) | ||
18 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8(_\x8)_\x8·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8(_\x8)_\x8·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8s_\x8(_\x8) | ||
19 | ··········o·_\x8 | 17 | ··········o·_\x8g_.e_.t_.__.d_.o_.w_.n_.l_.o_.a_.d_.__.q_.u_.e_.u_.e_.(_.)_.·_.p_.o_.s_.t_.__.d_.o_.w_.n_.l_.o_.a_.d_.__.q_.u_.e_.u_.e_\x8(_\x8) |
18 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8(_\x8)_\x8·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8s_\x8(_\x8) | ||
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·_\x8t_.r_.a_.c_.k_.e_.r | 22 | ··········o·_\x8a_.d_.d_.__.t_.r_.a_.c_.k_.e_.r_.(_.)_.·_.p_.o_.s_.t_.__.t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_.t_.r_.a_.c_.k_.e_.r_.s_\x8(_\x8)_\x8·_\x8r_\x8e_\x8p_\x8l_\x8a_\x8c_\x8e_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8) |
23 | ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8 | 23 | ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8u_.r_.l_.__.s_.e_.e_.d_.s_.(_.)_.·_.a_.d_.d_.__.u_.r_.l_.__.s_.e_.e_.d_\x8(_\x8) |
24 | ··········o·_\x8 | 24 | ··········o·_\x8r_.e_.m_.o_.v_.e_.__.h_.t_.t_.p_.__.s_.e_.e_.d_.(_.)_.·_.h_.t_.t_.p_.__.s_.e_.e_.d_.s_.(_.)_.·_.a_.d_.d_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\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·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)_\x8·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8) | 28 | ··········o·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)_\x8·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8) |
29 | ··········o·_\x8 | 29 | ··········o·_\x8f_.l_.a_.g_.s_.(_.)_.·_.u_.n_.s_.e_.t_.__.f_.l_.a_.g_.s_.(_.)_.·_.s_.e_.t_.__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8) |
30 | ··········o·_\x8f_\x8l_\x8u_\x8s_\x8h_\x8__\x8c_\x8a_\x8c_\x8h_\x8e_\x8(_\x8) | 30 | ··········o·_\x8f_\x8l_\x8u_\x8s_\x8h_\x8__\x8c_\x8a_\x8c_\x8h_\x8e_\x8(_\x8) |
31 | ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8r_\x8e_\x8c_\x8h_\x8e_\x8c_\x8k_\x8(_\x8) | 31 | ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8r_\x8e_\x8c_\x8h_\x8e_\x8c_\x8k_\x8(_\x8) |
32 | ··········o·_\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | 32 | ··········o·_\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) |
33 | ··········o·_\x8n_\x8e_\x8e_\x8d_\x8__\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | 33 | ··········o·_\x8n_\x8e_\x8e_\x8d_\x8__\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) |
34 | ··········o·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8 | 34 | ··········o·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8d_.o_.w_.n_\x8(_\x8)_\x8·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8(_\x8)_\x8·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8o_\x8t_\x8t_\x8o_\x8m_\x8(_\x8) |
35 | ············_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8u_\x8p_\x8(_\x8)_\x8·_\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_\x8p_\x8(_\x8)_\x8·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_.o_.p_\x8(_\x8) |
36 | ··········o·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8s_\x8e_\x8t_\x8(_\x8) | 36 | ··········o·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8s_\x8e_\x8t_\x8(_\x8) |
37 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8e_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8) | 37 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8e_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8) |
38 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 38 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
39 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8a_\x8y_\x8e_\x8r_\x8s_\x8(_\x8) | 39 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8a_\x8y_\x8e_\x8r_\x8s_\x8(_\x8) |
40 | ··········o·_\x8p_\x8 | 40 | ··········o·_\x8p_\x8o_.s_.t_.__.p_.i_.e_.c_.e_.__.a_.v_.a_.i_.l_.a_.b_.i_.l_.i_.t_.y_.(_.)_.·_\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·_\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8e_\x8s_\x8(_\x8) | 41 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8)_\x8·_\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8e_\x8s_\x8(_\x8) |
42 | ··········o·_\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8 | 42 | ··········o·_\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8f_.i_.l_.e_.__.p_.r_.i_.o_.r_.i_.t_.y_.(_.)_.·_.g_.e_.t_.__.f_.i_.l_.e_.__.p_.r_.i_.o_.r_.i_.t_.i_.e_.s_\x8(_\x8) |
43 | ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8 | 43 | ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8r_.e_.a_.n_.n_.o_.u_.n_.c_.e_.(_.)_.·_.f_.o_.r_.c_.e_.__.l_.s_.d_.__\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·_\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8 | 45 | ··········o·_\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8d_.o_.w_.n_.l_.o_.a_.d_.__.l_.i_.m_.i_.t_.(_.)_.·_\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8) |
46 | ············_\x8 | 46 | ············_\x8s_.e_.t_.__.u_.p_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8) |
47 | ··········o·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) | 47 | ··········o·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) |
48 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8) | 48 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8) |
49 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8)_\x8·_\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8) | 49 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8)_\x8·_\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8) |
50 | ··········o·_\x8m_\x8a_\x8x_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8m_\x8a_\x8x_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8) | 50 | ··········o·_\x8m_\x8a_\x8x_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8m_\x8a_\x8x_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8) |
51 | ··········o·_\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8) | 51 | ··········o·_\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8) |
52 | ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 52 | ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
53 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)_\x8·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) | 53 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)_\x8·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) |
54 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8 | 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(_\x8) |
55 | ··········o·_\x8i_\x8d_\x8(_\x8) | 55 | ··········o·_\x8i_\x8d_\x8(_\x8) |
56 | ··········o·_\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8) | 56 | ··········o·_\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8) |
57 | ··········o·_\x8u_\x8s_\x8e_\x8r_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | 57 | ··········o·_\x8u_\x8s_\x8e_\x8r_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) |
58 | ··········o·_\x8i_\x8n_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 58 | ··········o·_\x8i_\x8n_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
59 | ····*·_\x8h_\x8a_\x8s_\x8h_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8) | 59 | ····*·_\x8h_\x8a_\x8s_\x8h_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8) |
60 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 60 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
61 | *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8* | 61 | *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8* |
Offset 175, 120 lines modified | Offset 175, 120 lines modified | ||
175 | the·handle·is·no·longer·referring·to·a·torrent.·There·is·one·exception·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d | 175 | the·handle·is·no·longer·referring·to·a·torrent.·There·is·one·exception·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d |
176 | _\x8(_\x8)·will·never·throw.·Since·the·torrents·are·processed·by·a·background·thread, | 176 | _\x8(_\x8)·will·never·throw.·Since·the·torrents·are·processed·by·a·background·thread, |
177 | there·is·no·guarantee·that·a·handle·will·remain·valid·between·two·calls. | 177 | there·is·no·guarantee·that·a·handle·will·remain·valid·between·two·calls. |
178 | struct·torrent_handle | 178 | struct·torrent_handle |
179 | { | 179 | { |
180 | ···friend·std::size_t·h\x8ha\x8as\x8sh\x8h_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(torrent_handle·const&·th); | 180 | ···friend·std::size_t·h\x8ha\x8as\x8sh\x8h_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(torrent_handle·const&·th); |
181 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·()·noexcept·=·default; | 181 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·()·noexcept·=·default; |
182 | ···void·a\x8ad\x8dd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece,·char·const*·data,·add_piece_flags_t | ||
183 | flags·=·{})·const; | ||
184 | ···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, |
185 | 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 | ||
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; |
190 | ··· | 189 | ···void·g.ge.et.t_._p.pe.ee.er.r_._i.in.nf.fo.o·(std::vector<peer_info>&·v)·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; | 190 | ···void·p\x8po\x8os\x8st\x8t_\x8_s\x8st\x8ta\x8at\x8tu\x8us\x8s·(status_flags_t·flags·=·status_flags_t::all())·const; |
191 | ···torrent_status·s\x8st\x8ta\x8at\x8tu\x8us\x8s·(status_flags_t·flags·=·status_flags_t::all())·const; | ||
192 | ···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; | ||
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 | ···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·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·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·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; | ||
196 | ···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; | 195 | ···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; |
196 | ···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; | ||
197 | ···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 | 197 | ···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 |
198 | flags·=·{})·const; | 198 | flags·=·{})·const; |
199 | ···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; | ||
200 | ···std::vector<std::int64_t>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(file_progress_flags_t·flags·=·{}) | 199 | ···std::vector<std::int64_t>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(file_progress_flags_t·flags·=·{}) |
201 | const; | 200 | const; |
202 | ···void·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(std::vector<std::int64_t>&·progress, | 201 | ···void·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(std::vector<std::int64_t>&·progress, |
203 | file_progress_flags_t·flags·=·{})·const; | 202 | file_progress_flags_t·flags·=·{})·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·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(announce_entry·const&)·const; | 206 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(announce_entry·const&)·const; |
207 | ···void·r\x8re\x8ep\x8pl\x8la\x8ac\x8ce\x8e_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·(std::vector<announce_entry>·const&)·const; | ||
208 | ···void·p\x8po\x8os\x8st\x8t_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const; | ||
209 | ···std::vector<announce_entry>·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const; | 207 | ···std::vector<announce_entry>·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const; |
208 | ···void·p\x8po\x8os\x8st\x8t_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const; | ||
209 | ···void·r\x8re\x8ep\x8pl\x8la\x8ac\x8ce\x8e_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·(std::vector<announce_entry>·const&)·const; | ||
210 | ···void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; | ||
210 | ···std::set<std::string>·u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; | 211 | ···std::set<std::string>·u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; |
211 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; | 212 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; |
212 | ···void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; | ||
213 | ···std::set<std::string>·h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; | ||
214 | ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; | 213 | ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; |
215 | ···void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; | 214 | ···void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; |
215 | ···std::set<std::string>·h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; | ||
216 | ···void·a\x8ad\x8dd\x8d_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8n·( | 216 | ···void·a\x8ad\x8dd\x8d_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8n·( |
217 | ······std::function<std::shared_ptr<torrent_plugin>(torrent_handle·const&, | 217 | ······std::function<std::shared_ptr<torrent_plugin>(torrent_handle·const&, |
218 | client_data_t)>·const&·ext | 218 | client_data_t)>·const&·ext |
219 | ······,·client_data_t·userdata·=·client_data_t{}); | 219 | ······,·client_data_t·userdata·=·client_data_t{}); |
220 | ···bool·s\x8se\x8et\x8t_\x8_m\x8me\x8et\x8ta\x8ad\x8da\x8at\x8ta\x8a·(span<char·const>·metadata)·const; | 220 | ···bool·s\x8se\x8et\x8t_\x8_m\x8me\x8et\x8ta\x8ad\x8da\x8at\x8ta\x8a·(span<char·const>·metadata)·const; |
221 | ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const; | 221 | ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const; |
222 | ···void·r\x8re\x8es\x8su\x8um\x8me\x8e·()·const; | ||
223 | ···void·p\x8pa\x8au\x8us\x8se\x8e·(pause_flags_t·flags·=·{})·const; | 222 | ···void·p\x8pa\x8au\x8us\x8se\x8e·(pause_flags_t·flags·=·{})·const; |
223 | ···void·r\x8re\x8es\x8su\x8um\x8me\x8e·()·const; | ||
224 | ···torrent_flags_t·f\x8fl\x8la\x8ag\x8gs\x8s·()·const; | ||
225 | ···void·u\x8un\x8ns\x8se\x8et\x8t_\x8_f\x8fl\x8la\x8ag\x8gs\x8s·(torrent_flags_t·flags)·const; | ||
226 | ···void·s\x8se\x8et\x8t_\x8_f\x8fl\x8la\x8ag\x8gs\x8s·(torrent_flags_t·flags,·torrent_flags_t·mask)·const; | 224 | ···void·s\x8se\x8et\x8t_\x8_f\x8fl\x8la\x8ag\x8gs\x8s·(torrent_flags_t·flags,·torrent_flags_t·mask)·const; |
225 | ···torrent_flags_t·f\x8fl\x8la\x8ag\x8gs\x8s·()·const; | ||
227 | ···void·s\x8se\x8et\x8t_\x8_f\x8fl\x8la\x8ag\x8gs\x8s·(torrent_flags_t·flags)·const; | 226 | ···void·s\x8se\x8et\x8t_\x8_f\x8fl\x8la\x8ag\x8gs\x8s·(torrent_flags_t·flags)·const; |
227 | ···void·u\x8un\x8ns\x8se\x8et\x8t_\x8_f\x8fl\x8la\x8ag\x8gs\x8s·(torrent_flags_t·flags)·const; | ||
228 | ···void·f\x8fl\x8lu\x8us\x8sh\x8h_\x8_c\x8ca\x8ac\x8ch\x8he\x8e·()·const; | 228 | ···void·f\x8fl\x8lu\x8us\x8sh\x8h_\x8_c\x8ca\x8ac\x8ch\x8he\x8e·()·const; |
229 | ···void·f\x8fo\x8or\x8rc\x8ce\x8e_\x8_r\x8re\x8ec\x8ch\x8he\x8ec\x8ck\x8k·()·const; | 229 | ···void·f\x8fo\x8or\x8rc\x8ce\x8e_\x8_r\x8re\x8ec\x8ch\x8he\x8ec\x8ck\x8k·()·const; |
230 | ···void·s\x8sa\x8av\x8ve\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(resume_data_flags_t·flags·=·{})·const; | 230 | ···void·s\x8sa\x8av\x8ve\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(resume_data_flags_t·flags·=·{})·const; |
231 | ···bool·n\x8ne\x8ee\x8ed\x8d_\x8_s\x8sa\x8av\x8ve\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(resume_data_flags_t·flags)·const; | 231 | ···bool·n\x8ne\x8ee\x8ed\x8d_\x8_s\x8sa\x8av\x8ve\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(resume_data_flags_t·flags)·const; |
Max diff block lines reached; 37479/50136 bytes (74.75%) 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="#files-orig-files"·id="toc-entry-9">files()·orig_files()</a></li> | 45 | <li><a·class="reference·internal"·href="#files-orig-files"·id="toc-entry-9">files()·orig_files()</a></li> |
46 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-10">rename_file()</a></li> | 46 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-10">rename_file()</a></li> |
47 | <li><a·class="reference·internal"·href="#remap-files"·id="toc-entry-11">remap_files()</a></li> | 47 | <li><a·class="reference·internal"·href="#remap-files"·id="toc-entry-11">remap_files()</a></li> |
48 | <li><a·class="reference·internal"·href="#tracker | 48 | <li><a·class="reference·internal"·href="#add-tracker-clear-trackers-trackers"·id="toc-entry-12">add_tracker()·clear_trackers()·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="# | 50 | <li><a·class="reference·internal"·href="#set-web-seeds-web-seeds-add-url-seed-add-http-seed"·id="toc-entry-14">set_web_seeds()·web_seeds()·add_url_seed()·add_http_seed()</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="#piec | 52 | <li><a·class="reference·internal"·href="#num-pieces-piece-length"·id="toc-entry-16">num_pieces()·piece_length()</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="# | 54 | <li><a·class="reference·internal"·href="#end-piece-last-piece-piece-range"·id="toc-entry-18">end_piece()·last_piece()·piece_range()</a></li> |
55 | <li><a·class="reference·internal"·href="#info-hashes-info-hash"·id="toc-entry-19">info_hashes()·info_hash()</a></li> | 55 | <li><a·class="reference·internal"·href="#info-hashes-info-hash"·id="toc-entry-19">info_hashes()·info_hash()</a></li> |
56 | <li><a·class="reference·internal"·href="#v | 56 | <li><a·class="reference·internal"·href="#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, 58 lines modified | Offset 197, 58 lines modified | ||
197 | <div·class="section"·id="torrent-info"> | 197 | <div·class="section"·id="torrent-info"> |
198 | <h1>torrent_info</h1> | 198 | <h1>torrent_info</h1> |
199 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/torrent_info.hpp">libtorrent/torrent_info.hpp</a>"</p> | 199 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/torrent_info.hpp">libtorrent/torrent_info.hpp</a>"</p> |
200 | <p>the·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·class·holds·the·information·found·in·a·.torrent·file.</p> | 200 | <p>the·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·class·holds·the·information·found·in·a·.torrent·file.</p> |
201 | <pre·class="literal-block"> | 201 | <pre·class="literal-block"> |
202 | class·torrent_info | 202 | class·torrent_info |
203 | { | 203 | { |
204 | ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&·ec); | ||
205 | ···<strong>torrent_info</strong>·(span<char·const>·buffer,·load_torrent_limits·const&·cfg,·from_span_t); | ||
206 | ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size); | 204 | ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size); |
207 | ···explicit·<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file); | ||
208 | ···explicit·<strong>torrent_info</strong>·(std::string·const&·filename); | ||
209 | ···<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·error_code&·ec); | ||
210 | ···explicit·<strong>torrent_info</strong>·(span<char·const>·buffer,·from_span_t); | ||
211 | ···<strong>torrent_info</strong>·(std::string·const&·filename,·error_code&·ec); | ||
212 | ···<strong>torrent_info</strong>·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
213 | ···<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); | 205 | ···<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); |
214 | ···explicit·<strong>torrent_info</strong>·(info_hash_t·const&·info_hash); | ||
215 | ···<strong>torrent_info</strong>·(span<char·const>·buffer,·error_code&·ec,·from_span_t); | 206 | ···<strong>torrent_info</strong>·(span<char·const>·buffer,·error_code&·ec,·from_span_t); |
207 | ···<strong>torrent_info</strong>·(std::string·const&·filename,·error_code&·ec); | ||
208 | ···<strong>torrent_info</strong>·(span<char·const>·buffer,·load_torrent_limits·const&·cfg,·from_span_t); | ||
209 | ···<strong>torrent_info</strong>·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
216 | ···<strong>torrent_info</strong>·(torrent_info·const&·t); | 210 | ···<strong>torrent_info</strong>·(torrent_info·const&·t); |
211 | ···explicit·<strong>torrent_info</strong>·(info_hash_t·const&·info_hash); | ||
212 | ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&·ec); | ||
213 | ···explicit·<strong>torrent_info</strong>·(span<char·const>·buffer,·from_span_t); | ||
214 | ···<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·error_code&·ec); | ||
215 | ···explicit·<strong>torrent_info</strong>·(std::string·const&·filename); | ||
216 | ···explicit·<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file); | ||
217 | ···<strong>~torrent_info</strong>·(); | 217 | ···<strong>~torrent_info</strong>·(); |
218 | ···file_storage·const&·<strong>files</strong>·()·const; | 218 | ···file_storage·const&·<strong>files</strong>·()·const; |
219 | ···file_storage·const&·<strong>orig_files</strong>·()·const; | 219 | ···file_storage·const&·<strong>orig_files</strong>·()·const; |
220 | ···void·<strong>rename_file</strong>·(file_index_t·index,·std::string·const&·new_filename); | 220 | ···void·<strong>rename_file</strong>·(file_index_t·index,·std::string·const&·new_filename); |
221 | ···void·<strong>remap_files</strong>·(file_storage·const&·f); | 221 | ···void·<strong>remap_files</strong>·(file_storage·const&·f); |
222 | ···void·<strong>clear_trackers</strong>·(); | ||
223 | ···std::vector<announce_entry>·const&·<strong>trackers</strong>·()·const; | 222 | ···std::vector<announce_entry>·const&·<strong>trackers</strong>·()·const; |
223 | ···void·<strong>clear_trackers</strong>·(); | ||
224 | ···void·<strong>add_tracker</strong>·(std::string·const&·url,·int·tier·=·0); | 224 | ···void·<strong>add_tracker</strong>·(std::string·const&·url,·int·tier·=·0); |
225 | ···void·<strong>add_tracker</strong>·(std::string·const&·url,·int·tier | 225 | ···void·<strong>add_tracker</strong>·(std::string·const&·url,·int·tier |
226 | ······,·announce_entry::tracker_source·source); | 226 | ······,·announce_entry::tracker_source·source); |
227 | ···std::vector<std::string>·<strong>collections</strong>·()·const; | 227 | ···std::vector<std::string>·<strong>collections</strong>·()·const; |
228 | ···std::vector<sha1_hash>·<strong>similar_torrents</strong>·()·const; | 228 | ···std::vector<sha1_hash>·<strong>similar_torrents</strong>·()·const; |
229 | ···void·<strong>add_url_seed</strong>·(std::string·const&·url | ||
230 | ······,·std::string·const&·ext_auth·=·std::string() | ||
231 | ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry::headers_t()); | ||
229 | ···void·<strong>add_http_seed</strong>·(std::string·const&·url | 232 | ···void·<strong>add_http_seed</strong>·(std::string·const&·url |
230 | ······,·std::string·const&·extern_auth·=·std::string() | 233 | ······,·std::string·const&·extern_auth·=·std::string() |
231 | ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry::headers_t()); | 234 | ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry::headers_t()); |
232 | ···std::vector<web_seed_entry>·const&·<strong>web_seeds</strong>·()·const; | ||
233 | ···void·<strong>set_web_seeds</strong>·(std::vector<web_seed_entry>·seeds); | 235 | ···void·<strong>set_web_seeds</strong>·(std::vector<web_seed_entry>·seeds); |
236 | ···std::vector<web_seed_entry>·const&·<strong>web_seeds</strong>·()·const; | ||
234 | ···void·<strong>add_url_seed</strong>·(std::string·const&·url | ||
235 | ······,·std::string·const&·ext_auth·=·std::string() | ||
236 | ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry::headers_t()); | ||
237 | ···std::int64_t·<strong>total_size</strong>·()·const; | 237 | ···std::int64_t·<strong>total_size</strong>·()·const; |
238 | ···int·<strong>piece_length</strong>·()·const; | 238 | ···int·<strong>piece_length</strong>·()·const; |
239 | ···int·<strong>num_pieces</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 | ···piece_index_t·<strong>end_piece</strong>·()·const; | ||
241 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const; | 242 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const; |
242 | ···piece_index_t·<strong>last_piece</strong>·()·const; | 243 | ···piece_index_t·<strong>last_piece</strong>·()·const; |
243 | ···piece_index_t·<strong>end_piece</strong>·()·const; | ||
244 | ···info_hash_t·const&·<strong>info_hashes</strong>·()·const; | 244 | ···info_hash_t·const&·<strong>info_hashes</strong>·()·const; |
245 | ···sha1_hash·<strong>info_hash</strong>·()·const·noexcept; | 245 | ···sha1_hash·<strong>info_hash</strong>·()·const·noexcept; |
246 | ···bool·<strong>v1</strong>·()·const; | ||
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; |
Offset 269, 27 lines modified | Offset 269, 27 lines modified | ||
269 | ···span<char·const>·<strong>piece_layer</strong>·(file_index_t)·const; | 269 | ···span<char·const>·<strong>piece_layer</strong>·(file_index_t)·const; |
270 | ···void·<strong>free_piece_layers</strong>·(); | 270 | ···void·<strong>free_piece_layers</strong>·(); |
271 | }; | 271 | }; |
272 | </pre> | 272 | </pre> |
273 | <a·name="torrent_info()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:torrent_info%3A%3A%5Btorrent_info%28%29%5D&labels=documentation&body=Documentation+under+heading+%22torrent_info%3A%3A%5Btorrent_info%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="torrent-info-1"> | 273 | <a·name="torrent_info()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:torrent_info%3A%3A%5Btorrent_info%28%29%5D&labels=documentation&body=Documentation+under+heading+%22torrent_info%3A%3A%5Btorrent_info%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="torrent-info-1"> |
274 | <h2>torrent_info()</h2> | 274 | <h2>torrent_info()</h2> |
275 | <pre·class="literal-block"> | 275 | <pre·class="literal-block"> |
276 | <strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&·ec); | ||
277 | <strong>torrent_info</strong>·(span<char·const>·buffer,·load_torrent_limits·const&·cfg,·from_span_t); | ||
278 | <strong>torrent_info</strong>·(char·const*·buffer,·int·size); | 276 | <strong>torrent_info</strong>·(char·const*·buffer,·int·size); |
279 | explicit·<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file); | ||
280 | explicit·<strong>torrent_info</strong>·(std::string·const&·filename); | ||
281 | <strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·error_code&·ec); | ||
282 | explicit·<strong>torrent_info</strong>·(span<char·const>·buffer,·from_span_t); | ||
283 | <strong>torrent_info</strong>·(std::string·const&·filename,·error_code&·ec); | ||
284 | <strong>torrent_info</strong>·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
285 | <strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); | 277 | <strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); |
286 | explicit·<strong>torrent_info</strong>·(info_hash_t·const&·info_hash); | ||
287 | <strong>torrent_info</strong>·(span<char·const>·buffer,·error_code&·ec,·from_span_t); | 278 | <strong>torrent_info</strong>·(span<char·const>·buffer,·error_code&·ec,·from_span_t); |
Max diff block lines reached; 16413/27862 bytes (58.91%) 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·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8o_\x8r_\x8i_\x8g_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 14 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8o_\x8r_\x8i_\x8g_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
15 | ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 15 | ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
16 | ··········o·_\x8r_\x8e_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 16 | ··········o·_\x8r_\x8e_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
17 | ··········o·_\x8 | 17 | ··········o·_\x8a_.d_.d_.__.t_.r_.a_.c_.k_.e_.r_.(_.)_.·_.c_.l_.e_.a_.r_.__.t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\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) | 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·_\x8 | 19 | ··········o·_\x8s_.e_.t_.__.w_.e_.b_.__.s_.e_.e_.d_.s_.(_.)_.·_.w_.e_.b_.__.s_.e_.e_.d_.s_.(_.)_.·_.a_.d_.d_.__.u_.r_.l_.__.s_.e_.e_.d_.(_.)_.·_.a_.d_.d_.__.h_.t_.t_.p_.__.s_.e_.e_.d_\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·_\x8n_.u_.m_.__.p_.i_.e_.c_.e_.s_.(_.)_.·_.p_.i_.e_.c_.e_.__.l_.e_.n_.g_.t_.h_\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·_\x8 | 23 | ··········o·_\x8e_.n_.d_.__.p_.i_.e_.c_.e_.(_.)_.·_.l_.a_.s_.t_.__.p_.i_.e_.c_.e_.(_.)_.·_.p_.i_.e_.c_.e_.__.r_.a_.n_.g_\x8e_\x8(_\x8) |
24 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)_\x8·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) | 24 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)_\x8·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) |
25 | ··········o·_\x8v_\x8 | 25 | ··········o·_\x8v_\x82_.(_.)_.·_.v_.1_\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, 62 lines modified | Offset 120, 62 lines modified | ||
120 | ······the·max·number·of·bdecode·tokens | 120 | ······the·max·number·of·bdecode·tokens |
121 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 121 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
122 | *\x8**\x8**\x8**\x8**\x8**\x8*·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8* | 122 | *\x8**\x8**\x8**\x8**\x8**\x8*·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8* |
123 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8._\x8h_\x8p_\x8p" | 123 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8._\x8h_\x8p_\x8p" |
124 | the·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·class·holds·the·information·found·in·a·.torrent·file. | 124 | the·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·class·holds·the·information·found·in·a·.torrent·file. |
125 | class·torrent_info | 125 | class·torrent_info |
126 | { | 126 | { |
127 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size,·error_code&·ec); | ||
128 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·load_torrent_limits·const&·cfg, | ||
129 | from_span_t); | ||
130 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size); | 127 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size); |
131 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file); | ||
132 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename); | ||
133 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·error_code&·ec); | ||
134 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·from_span_t); | ||
135 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·error_code&·ec); | ||
136 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
137 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·load_torrent_limits·const& | 128 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·load_torrent_limits·const& |
138 | cfg); | 129 | cfg); |
139 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(info_hash_t·const&·info_hash); | ||
140 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·error_code&·ec,·from_span_t); | 130 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·error_code&·ec,·from_span_t); |
131 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·error_code&·ec); | ||
132 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·load_torrent_limits·const&·cfg, | ||
133 | from_span_t); | ||
134 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
141 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(torrent_info·const&·t); | 135 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(torrent_info·const&·t); |
136 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(info_hash_t·const&·info_hash); | ||
137 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size,·error_code&·ec); | ||
138 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·from_span_t); | ||
139 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·error_code&·ec); | ||
140 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename); | ||
141 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file); | ||
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&·f\x8fi\x8il\x8le\x8es\x8s·()·const; | 143 | ···file_storage·const&·f\x8fi\x8il\x8le\x8es\x8s·()·const; |
144 | ···file_storage·const&·o\x8or\x8ri\x8ig\x8g_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const; | 144 | ···file_storage·const&·o\x8or\x8ri\x8ig\x8g_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const; |
145 | ···void·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·index,·std::string·const&·new_filename); | 145 | ···void·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·index,·std::string·const&·new_filename); |
146 | ···void·r\x8re\x8em\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8es\x8s·(file_storage·const&·f); | 146 | ···void·r\x8re\x8em\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8es\x8s·(file_storage·const&·f); |
147 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·(); | ||
148 | ···std::vector<announce_entry>·const&·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const; | 147 | ···std::vector<announce_entry>·const&·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const; |
148 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·(); | ||
149 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(std::string·const&·url,·int·tier·=·0); | 149 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(std::string·const&·url,·int·tier·=·0); |
150 | ···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 |
151 | ······,·announce_entry::tracker_source·source); | 151 | ······,·announce_entry::tracker_source·source); |
152 | ···std::vector<std::string>·c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8ns\x8s·()·const; | 152 | ···std::vector<std::string>·c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8ns\x8s·()·const; |
153 | ···std::vector<sha1_hash>·s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8ts\x8s·()·const; | 153 | ···std::vector<sha1_hash>·s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8ts\x8s·()·const; |
154 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url | ||
155 | ······,·std::string·const&·ext_auth·=·std::string() | ||
156 | ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry:: | ||
157 | headers_t()); | ||
154 | ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url | 158 | ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url |
155 | ······,·std::string·const&·extern_auth·=·std::string() | 159 | ······,·std::string·const&·extern_auth·=·std::string() |
156 | ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry:: | 160 | ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry:: |
157 | headers_t()); | 161 | headers_t()); |
158 | ···std::vector<web_seed_entry>·const&·w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; | ||
159 | ···void·s\x8se\x8et\x8t_\x8_w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·(std::vector<web_seed_entry>·seeds); | 162 | ···void·s\x8se\x8et\x8t_\x8_w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·(std::vector<web_seed_entry>·seeds); |
163 | ···std::vector<web_seed_entry>·const&·w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; | ||
160 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url | ||
161 | ······,·std::string·const&·ext_auth·=·std::string() | ||
162 | ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry:: | ||
163 | headers_t()); | ||
164 | ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | 164 | ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; |
165 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | 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; | 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 | ···piece_index_t·e\x8en\x8nd\x8d_\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 | ···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·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; | ||
171 | ···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; |
172 | ···sha1_hash·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h·()·const·noexcept; | 172 | ···sha1_hash·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h·()·const·noexcept; |
173 | ···bool·v\x8v1\x81·()·const; | ||
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; |
Offset 196, 29 lines modified | Offset 196, 29 lines modified | ||
196 | ···bdecode_node·i\x8in\x8nf\x8fo\x8o·(char·const*·key)·const; | 196 | ···bdecode_node·i\x8in\x8nf\x8fo\x8o·(char·const*·key)·const; |
197 | ···span<char·const>·i\x8in\x8nf\x8fo\x8o_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const; | 197 | ···span<char·const>·i\x8in\x8nf\x8fo\x8o_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const; |
198 | ···span<char·const>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8la\x8ay\x8ye\x8er\x8r·(file_index_t)·const; | 198 | ···span<char·const>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8la\x8ay\x8ye\x8er\x8r·(file_index_t)·const; |
199 | ···void·f\x8fr\x8re\x8ee\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8la\x8ay\x8ye\x8er\x8rs\x8s·(); | 199 | ···void·f\x8fr\x8re\x8ee\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8la\x8ay\x8ye\x8er\x8rs\x8s·(); |
200 | }; | 200 | }; |
201 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 201 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
202 | *\x8**\x8**\x8**\x8**\x8*·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 202 | *\x8**\x8**\x8**\x8**\x8*·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
203 | t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size,·error_code&·ec); | ||
204 | t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·load_torrent_limits·const&·cfg, | ||
205 | from_span_t); | ||
206 | t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size); | 203 | t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size); |
207 | explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file); | ||
208 | explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename); | ||
Max diff block lines reached; 9962/19318 bytes (51.57%) of diff not shown. |
Offset 426, 15 lines modified | Offset 426, 15 lines modified | ||
426 | currently·connected·to.</dd> | 426 | currently·connected·to.</dd> |
427 | </dl> | 427 | </dl> |
428 | <a·name="num_peers"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:torrent_status%3A%3A%5Bnum_peers%5D&labels=documentation&body=Documentation+under+heading+%22torrent_status%3A%3A%5Bnum_peers%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | 428 | <a·name="num_peers"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:torrent_status%3A%3A%5Bnum_peers%5D&labels=documentation&body=Documentation+under+heading+%22torrent_status%3A%3A%5Bnum_peers%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> |
429 | <dt>num_peers</dt> | 429 | <dt>num_peers</dt> |
430 | <dd>the·number·of·peers·this·torrent·currently·is·connected·to.·Peer | 430 | <dd>the·number·of·peers·this·torrent·currently·is·connected·to.·Peer |
431 | connections·that·are·in·the·half-open·state·(is·attempting·to·connect) | 431 | connections·that·are·in·the·half-open·state·(is·attempting·to·connect) |
432 | or·are·queued·for·later·connection·attempt·do·not·count.·Although·they | 432 | or·are·queued·for·later·connection·attempt·do·not·count.·Although·they |
433 | are·visible·in·the·peer·list·when·you·call·<a·class="reference·external"·href="reference- | 433 | are·visible·in·the·peer·list·when·you·call·<a·class="reference·external"·href="reference-Torrent_Handle.html#get_peer_info()">get_peer_info()</a>.</dd> |
434 | </dl> | 434 | </dl> |
435 | <a·name="num_complete"></a> | 435 | <a·name="num_complete"></a> |
436 | <a·name="num_incomplete"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:torrent_status%3A%3A%5Bnum_complete+num_incomplete%5D&labels=documentation&body=Documentation+under+heading+%22torrent_status%3A%3A%5Bnum_complete+num_incomplete%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | 436 | <a·name="num_incomplete"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:torrent_status%3A%3A%5Bnum_complete+num_incomplete%5D&labels=documentation&body=Documentation+under+heading+%22torrent_status%3A%3A%5Bnum_complete+num_incomplete%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> |
437 | <dt>num_complete·num_incomplete</dt> | 437 | <dt>num_complete·num_incomplete</dt> |
438 | <dd>if·the·tracker·sends·scrape·info·in·its·announce·reply,·these·fields | 438 | <dd>if·the·tracker·sends·scrape·info·in·its·announce·reply,·these·fields |
439 | will·be·set·to·the·total·number·of·peers·that·have·the·whole·file·and | 439 | will·be·set·to·the·total·number·of·peers·that·have·the·whole·file·and |
440 | the·total·number·of·peers·that·are·still·downloading.·set·to·-1·if·the | 440 | the·total·number·of·peers·that·are·still·downloading.·set·to·-1·if·the |
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-operator-announce-entry"·id="toc-entry-4">announce_entry()·operator=()· | 38 | <li><a·class="reference·internal"·href="#announce-entry-operator-announce-entry"·id="toc-entry-4">~announce_entry()·operator=()·announce_entry()</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 132, 18 lines modified | Offset 132, 18 lines modified | ||
132 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/announce_entry.hpp">libtorrent/announce_entry.hpp</a>"</p> | 132 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/announce_entry.hpp">libtorrent/announce_entry.hpp</a>"</p> |
133 | <p>this·class·holds·information·about·one·bittorrent·tracker,·as·it | 133 | <p>this·class·holds·information·about·one·bittorrent·tracker,·as·it |
134 | relates·to·a·specific·torrent.</p> | 134 | relates·to·a·specific·torrent.</p> |
135 | <pre·class="literal-block"> | 135 | <pre·class="literal-block"> |
136 | struct·announce_entry | 136 | struct·announce_entry |
137 | { | 137 | { |
138 | ···<strong>announce_entry</strong>·(); | 138 | ···<strong>announce_entry</strong>·(); |
139 | ···explicit·<strong>announce_entry</strong>·(string_view·u); | ||
140 | ···announce_entry&·<strong>operator=</strong>·(announce_entry·const&)·&; | 139 | ···announce_entry&·<strong>operator=</strong>·(announce_entry·const&)·&; |
141 | ···<strong>announce_entry</strong>·(announce_entry·const&); | ||
142 | ···<strong>~announce_entry</strong>·(); | 140 | ···<strong>~announce_entry</strong>·(); |
141 | ···<strong>announce_entry</strong>·(announce_entry·const&); | ||
142 | ···explicit·<strong>announce_entry</strong>·(string_view·u); | ||
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="operator=()"></a> | 162 | <a·name="operator=()"></a> |
163 | <a·name=" | 163 | <a·name="announce_entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:announce_entry%3A%3A%5B~announce_entry%28%29+operator%3D%28%29+announce_entry%28%29%5D&labels=documentation&body=Documentation+under+headin[·...·truncated·by·diffoscope;·len:·68,·SHA:·e8c5058ea915c5468b253bd0bcf577c687107a3d2d1ebf5ab9a6862df1fb0611·...·]announce_entry%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="announce-entry-operator-announce-entry"> |
164 | <h2>announce_entry()·operator=()· | 164 | <h2>~announce_entry()·operator=()·announce_entry()</h2> |
165 | <pre·class="literal-block"> | 165 | <pre·class="literal-block"> |
166 | <strong>announce_entry</strong>·(); | 166 | <strong>announce_entry</strong>·(); |
167 | explicit·<strong>announce_entry</strong>·(string_view·u); | ||
168 | announce_entry&·<strong>operator=</strong>·(announce_entry·const&)·&; | 167 | announce_entry&·<strong>operator=</strong>·(announce_entry·const&)·&; |
169 | <strong>announce_entry</strong>·(announce_entry·const&); | ||
170 | <strong>~announce_entry</strong>·(); | 168 | <strong>~announce_entry</strong>·(); |
169 | <strong>announce_entry</strong>·(announce_entry·const&); | ||
170 | explicit·<strong>announce_entry</strong>·(string_view·u); | ||
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 189, 15 lines modified | Offset 189, 15 lines modified | ||
189 | <tbody·valign="top"> | 189 | <tbody·valign="top"> |
190 | <tr><td>source_torrent</td> | 190 | <tr><td>source_torrent</td> |
191 | <td>1</td> | 191 | <td>1</td> |
192 | <td>the·tracker·was·part·of·the·.torrent·file</td> | 192 | <td>the·tracker·was·part·of·the·.torrent·file</td> |
193 | </tr> | 193 | </tr> |
194 | <tr><td>source_client</td> | 194 | <tr><td>source_client</td> |
195 | <td>2</td> | 195 | <td>2</td> |
196 | <td>the·tracker·was·added·programmatically·via·the·<a·class="reference·external"·href="reference- | 196 | <td>the·tracker·was·added·programmatically·via·the·<a·class="reference·external"·href="reference-Torrent_Handle.html#add_tracker()">add_tracker()</a>·function</td> |
197 | </tr> | 197 | </tr> |
198 | <tr><td>source_magnet_link</td> | 198 | <tr><td>source_magnet_link</td> |
199 | <td>4</td> | 199 | <td>4</td> |
200 | <td>the·tracker·was·part·of·a·magnet·link</td> | 200 | <td>the·tracker·was·part·of·a·magnet·link</td> |
201 | </tr> | 201 | </tr> |
202 | <tr><td>source_tex</td> | 202 | <tr><td>source_tex</td> |
203 | <td>8</td> | 203 | <td>8</td> |
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·_\x8a_.n_.n_.o_.u_.n_.c_.e_.__.e_.n_.t_.r_.y_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_.(_.)_.· | 9 | ··········o·_\x8~_.a_.n_.n_.o_.u_.n_.c_.e_.__.e_.n_.t_.r_.y_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_.(_.)_.·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\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 79, 18 lines modified | Offset 79, 18 lines modified | ||
79 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·*\x8**\x8**\x8**\x8**\x8**\x8* | 79 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·*\x8**\x8**\x8**\x8**\x8**\x8* |
80 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p" | 80 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p" |
81 | this·class·holds·information·about·one·bittorrent·tracker,·as·it·relates·to·a | 81 | this·class·holds·information·about·one·bittorrent·tracker,·as·it·relates·to·a |
82 | specific·torrent. | 82 | specific·torrent. |
83 | struct·announce_entry | 83 | struct·announce_entry |
84 | { | 84 | { |
85 | ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | 85 | ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); |
86 | ···explicit·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(string_view·u); | ||
87 | ···announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&; | 86 | ···announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&; |
88 | ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&); | ||
89 | ···~\x8~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·(); |
88 | ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&); | ||
89 | ···explicit·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(string_view·u); | ||
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.an.nn.no.ou.un.nc.ce.e_._e.en.nt.tr.ry.y(.().)·o.op.pe.er.ra.at.to.or.r=.=(.().)· | 108 | *\x8**\x8**\x8**\x8**\x8*·~.~a.an.nn.no.ou.un.nc.ce.e_._e.en.nt.tr.ry.y(.().)·o.op.pe.er.ra.at.to.or.r=.=(.().)·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·(); | 109 | a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); |
110 | explicit·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(string_view·u); | ||
111 | announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&; | 110 | announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&; |
112 | a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&); | ||
113 | ~\x8~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·(); |
112 | a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&); | ||
113 | explicit·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(string_view·u); | ||
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 82, 32 lines modified | Offset 82, 32 lines modified | ||
82 | <p>The·built-in·software·version·of·sha1-algorithm·was·implemented | 82 | <p>The·built-in·software·version·of·sha1-algorithm·was·implemented |
83 | by·Steve·Reid·and·released·as·public·domain. | 83 | by·Steve·Reid·and·released·as·public·domain. |
84 | For·more·info,·see·<tt·class="docutils·literal">src/sha1.cpp</tt>.</p> | 84 | For·more·info,·see·<tt·class="docutils·literal">src/sha1.cpp</tt>.</p> |
85 | <pre·class="literal-block"> | 85 | <pre·class="literal-block"> |
86 | class·hasher | 86 | class·hasher |
87 | { | 87 | { |
88 | ···<strong>hasher</strong>·(); | 88 | ···<strong>hasher</strong>·(); |
89 | ···<strong>hasher</strong>·(hasher·const&); | ||
90 | ···hasher&·<strong>operator=</strong>·(hasher·const&)·&; | ||
91 | ···<strong>hasher</strong>·(char·const*·data,·int·len); | 89 | ···<strong>hasher</strong>·(char·const*·data,·int·len); |
90 | ···<strong>hasher</strong>·(hasher·const&); | ||
92 | ···explicit·<strong>hasher</strong>·(span<char·const>·data); | 91 | ···explicit·<strong>hasher</strong>·(span<char·const>·data); |
92 | ···hasher&·<strong>operator=</strong>·(hasher·const&)·&; | ||
93 | ···hasher&·<strong>update</strong>·(char·const*·data,·int·len); | 93 | ···hasher&·<strong>update</strong>·(char·const*·data,·int·len); |
94 | ···hasher&·<strong>update</strong>·(span<char·const>·data); | 94 | ···hasher&·<strong>update</strong>·(span<char·const>·data); |
95 | ···sha1_hash·<strong>final</strong>·(); | 95 | ···sha1_hash·<strong>final</strong>·(); |
96 | ···void·<strong>reset</strong>·(); | 96 | ···void·<strong>reset</strong>·(); |
97 | }; | 97 | }; |
98 | </pre> | 98 | </pre> |
99 | <a·name="hasher()"></a> | 99 | <a·name="hasher()"></a> |
100 | <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"> | 100 | <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"> |
101 | <h2>hasher()·operator=()</h2> | 101 | <h2>hasher()·operator=()</h2> |
102 | <pre·class="literal-block"> | 102 | <pre·class="literal-block"> |
103 | <strong>hasher</strong>·(hasher·const&); | ||
104 | hasher&·<strong>operator=</strong>·(hasher·const&)·&; | ||
105 | <strong>hasher</strong>·(char·const*·data,·int·len); | 103 | <strong>hasher</strong>·(char·const*·data,·int·len); |
104 | <strong>hasher</strong>·(hasher·const&); | ||
106 | explicit·<strong>hasher</strong>·(span<char·const>·data); | 105 | explicit·<strong>hasher</strong>·(span<char·const>·data); |
106 | hasher&·<strong>operator=</strong>·(hasher·const&)·&; | ||
107 | </pre> | 107 | </pre> |
108 | <p>this·is·the·same·as·default·constructing·followed·by·a·call·to | 108 | <p>this·is·the·same·as·default·constructing·followed·by·a·call·to |
109 | <tt·class="docutils·literal">update(data,·len)</tt>.</p> | 109 | <tt·class="docutils·literal">update(data,·len)</tt>.</p> |
110 | <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> | 110 | <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> |
111 | <div·class="section"·id="update"> | 111 | <div·class="section"·id="update"> |
112 | <h2>update()</h2> | 112 | <h2>update()</h2> |
113 | <pre·class="literal-block"> | 113 | <pre·class="literal-block"> |
Offset 136, 33 lines modified | Offset 136, 33 lines modified | ||
136 | <div·class="section"·id="hasher256"> | 136 | <div·class="section"·id="hasher256"> |
137 | <h1>hasher256</h1> | 137 | <h1>hasher256</h1> |
138 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/hasher.hpp">libtorrent/hasher.hpp</a>"</p> | 138 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/hasher.hpp">libtorrent/hasher.hpp</a>"</p> |
139 | <pre·class="literal-block"> | 139 | <pre·class="literal-block"> |
140 | class·hasher256 | 140 | class·hasher256 |
141 | { | 141 | { |
142 | ···<strong>hasher256</strong>·(); | 142 | ···<strong>hasher256</strong>·(); |
143 | ···<strong>hasher256</strong>·(hasher256·const&); | ||
144 | ···hasher256&·<strong>operator=</strong>·(hasher256·const&)·&; | ||
145 | ···<strong>hasher256</strong>·(char·const*·data,·int·len); | 143 | ···<strong>hasher256</strong>·(char·const*·data,·int·len); |
146 | ···explicit·<strong>hasher256</strong>·(span<char·const>·data); | 144 | ···explicit·<strong>hasher256</strong>·(span<char·const>·data); |
145 | ···<strong>hasher256</strong>·(hasher256·const&); | ||
146 | ···hasher256&·<strong>operator=</strong>·(hasher256·const&)·&; | ||
147 | ···hasher256&·<strong>update</strong>·(span<char·const>·data); | 147 | ···hasher256&·<strong>update</strong>·(span<char·const>·data); |
148 | ···hasher256&·<strong>update</strong>·(char·const*·data,·int·len); | 148 | ···hasher256&·<strong>update</strong>·(char·const*·data,·int·len); |
149 | ···sha256_hash·<strong>final</strong>·(); | 149 | ···sha256_hash·<strong>final</strong>·(); |
150 | ···void·<strong>reset</strong>·(); | 150 | ···void·<strong>reset</strong>·(); |
151 | ···<strong>~hasher256</strong>·(); | 151 | ···<strong>~hasher256</strong>·(); |
152 | }; | 152 | }; |
153 | </pre> | 153 | </pre> |
154 | <a·name="hasher256()"></a> | 154 | <a·name="hasher256()"></a> |
155 | <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher256%3A%3A%5Bhasher256%28%29+operator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher256%3A%3A%5Bhasher256%28%29+operator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="hasher256-operator"> | 155 | <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher256%3A%3A%5Bhasher256%28%29+operator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher256%3A%3A%5Bhasher256%28%29+operator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="hasher256-operator"> |
156 | <h2>hasher256()·operator=()</h2> | 156 | <h2>hasher256()·operator=()</h2> |
157 | <pre·class="literal-block"> | 157 | <pre·class="literal-block"> |
158 | <strong>hasher256</strong>·(hasher256·const&); | ||
159 | hasher256&·<strong>operator=</strong>·(hasher256·const&)·&; | ||
160 | <strong>hasher256</strong>·(char·const*·data,·int·len); | 158 | <strong>hasher256</strong>·(char·const*·data,·int·len); |
161 | explicit·<strong>hasher256</strong>·(span<char·const>·data); | 159 | explicit·<strong>hasher256</strong>·(span<char·const>·data); |
160 | <strong>hasher256</strong>·(hasher256·const&); | ||
161 | hasher256&·<strong>operator=</strong>·(hasher256·const&)·&; | ||
162 | </pre> | 162 | </pre> |
163 | <p>this·is·the·same·as·default·constructing·followed·by·a·call·to | 163 | <p>this·is·the·same·as·default·constructing·followed·by·a·call·to |
164 | <tt·class="docutils·literal">update(data,·len)</tt>.</p> | 164 | <tt·class="docutils·literal">update(data,·len)</tt>.</p> |
165 | <a·name="update()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher256%3A%3A%5Bupdate%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher256%3A%3A%5Bupdate%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 165 | <a·name="update()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher256%3A%3A%5Bupdate%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher256%3A%3A%5Bupdate%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
166 | <div·class="section"·id="update-1"> | 166 | <div·class="section"·id="update-1"> |
167 | <h2>update()</h2> | 167 | <h2>update()</h2> |
168 | <pre·class="literal-block"> | 168 | <pre·class="literal-block"> |
Offset 192, 25 lines modified | Offset 192, 25 lines modified | ||
192 | <h1>bitfield</h1> | 192 | <h1>bitfield</h1> |
193 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/bitfield.hpp">libtorrent/bitfield.hpp</a>"</p> | 193 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/bitfield.hpp">libtorrent/bitfield.hpp</a>"</p> |
194 | <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> | 194 | <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> |
195 | in·a·heap·allocated·array.</p> | 195 | in·a·heap·allocated·array.</p> |
196 | <pre·class="literal-block"> | 196 | <pre·class="literal-block"> |
197 | struct·bitfield | 197 | struct·bitfield |
198 | { | 198 | { |
199 | ···<strong>bitfield</strong>·(int·bits,·bool·val); | ||
200 | ···<strong>bitfield</strong>·(bitfield·const&·rhs); | 199 | ···<strong>bitfield</strong>·(bitfield·const&·rhs); |
201 | ···<strong>bitfield</strong>·(bitfield&&·rhs)·noexcept·=·default; | ||
202 | ···<strong>bitfield</strong>·()·noexcept·=·default; | 200 | ···<strong>bitfield</strong>·()·noexcept·=·default; |
203 | ··· | 201 | ···<strong>bitfield</strong>·(int·bits,·bool·val); |
202 | ···<strong>bitfield</strong>·(bitfield&&·rhs)·noexcept·=·default; | ||
204 | ···<strong>bitfield</strong>·(char·const*·b,·int·bits); | 203 | ···<strong>bitfield</strong>·(char·const*·b,·int·bits); |
204 | ···explicit·<strong>bitfield</strong>·(int·bits); | ||
205 | ···void·<strong>assign</strong>·(char·const*·b,·int·const·bits); | 205 | ···void·<strong>assign</strong>·(char·const*·b,·int·const·bits); |
206 | ···bool·<strong>get_bit</strong>·(int·index)·const·noexcept; | 206 | ···bool·<strong>get_bit</strong>·(int·index)·const·noexcept; |
207 | ···bool·<strong>operator[]</strong>·(int·index)·const·noexcept; | 207 | ···bool·<strong>operator[]</strong>·(int·index)·const·noexcept; |
208 | ···void·<strong>set_bit</strong>·(int·index)·noexcept; | ||
209 | ···void·<strong>clear_bit</strong>·(int·index)·noexcept; | 208 | ···void·<strong>clear_bit</strong>·(int·index)·noexcept; |
209 | ···void·<strong>set_bit</strong>·(int·index)·noexcept; | ||
210 | ···bool·<strong>all_set</strong>·()·const·noexcept; | 210 | ···bool·<strong>all_set</strong>·()·const·noexcept; |
211 | ···bool·<strong>none_set</strong>·()·const·noexcept; | 211 | ···bool·<strong>none_set</strong>·()·const·noexcept; |
212 | ···int·<strong>size</strong>·()·const·noexcept; | 212 | ···int·<strong>size</strong>·()·const·noexcept; |
213 | ···int·<strong>num_words</strong>·()·const·noexcept; | 213 | ···int·<strong>num_words</strong>·()·const·noexcept; |
214 | ···int·<strong>num_bytes</strong>·()·const·noexcept; | 214 | ···int·<strong>num_bytes</strong>·()·const·noexcept; |
215 | ···bool·<strong>empty</strong>·()·const·noexcept; | 215 | ···bool·<strong>empty</strong>·()·const·noexcept; |
216 | ···char·const*·<strong>data</strong>·()·const·noexcept; | 216 | ···char·const*·<strong>data</strong>·()·const·noexcept; |
Offset 221, 20 lines modified | Offset 221, 20 lines modified | ||
221 | ···int·<strong>find_last_clear</strong>·()·const·noexcept; | 221 | ···int·<strong>find_last_clear</strong>·()·const·noexcept; |
222 | ···bool·<strong>operator==</strong>·(lt::bitfield·const&·rhs)·const; | 222 | ···bool·<strong>operator==</strong>·(lt::bitfield·const&·rhs)·const; |
223 | }; | 223 | }; |
224 | </pre> | 224 | </pre> |
225 | <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"> | 225 | <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"> |
226 | <h2>bitfield()</h2> | 226 | <h2>bitfield()</h2> |
227 | <pre·class="literal-block"> | 227 | <pre·class="literal-block"> |
228 | <strong>bitfield</strong>·(int·bits,·bool·val); | ||
229 | <strong>bitfield</strong>·(bitfield·const&·rhs); | 228 | <strong>bitfield</strong>·(bitfield·const&·rhs); |
230 | <strong>bitfield</strong>·(bitfield&&·rhs)·noexcept·=·default; | ||
231 | <strong>bitfield</strong>·()·noexcept·=·default; | 229 | <strong>bitfield</strong>·()·noexcept·=·default; |
232 | 230 | <strong>bitfield</strong>·(int·bits,·bool·val); | |
231 | <strong>bitfield</strong>·(bitfield&&·rhs)·noexcept·=·default; | ||
233 | <strong>bitfield</strong>·(char·const*·b,·int·bits); | 232 | <strong>bitfield</strong>·(char·const*·b,·int·bits); |
233 | explicit·<strong>bitfield</strong>·(int·bits); | ||
234 | </pre> | 234 | </pre> |
235 | <p>constructs·a·new·<a·class="reference·external"·href="reference-Utility.html#bitfield">bitfield</a>.·The·default·constructor·creates·an·empty | 235 | <p>constructs·a·new·<a·class="reference·external"·href="reference-Utility.html#bitfield">bitfield</a>.·The·default·constructor·creates·an·empty |
236 | <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). | 236 | <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). |
237 | <tt·class="docutils·literal">val</tt>·is·the·value·to·initialize·the·bits·to.·If·not·specified | 237 | <tt·class="docutils·literal">val</tt>·is·the·value·to·initialize·the·bits·to.·If·not·specified |
238 | all·bits·are·initialized·to·0.</p> | 238 | all·bits·are·initialized·to·0.</p> |
239 | <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> | 239 | <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> |
240 | from·the·specified·buffer,·and·<tt·class="docutils·literal">bits</tt>·number·of·bits·(rounded·up·to | 240 | from·the·specified·buffer,·and·<tt·class="docutils·literal">bits</tt>·number·of·bits·(rounded·up·to |
Offset 257, 16 lines modified | Offset 257, 16 lines modified | ||
Max diff block lines reached; 1272/9391 bytes (13.54%) of diff not shown. |
Offset 43, 29 lines modified | Offset 43, 29 lines modified | ||
43 | If·you·want·to·reuse·the·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·object·once·you·have·created·a·hash,·you·have | 43 | If·you·want·to·reuse·the·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·object·once·you·have·created·a·hash,·you·have |
44 | to·call·reset()·to·reinitialize·it. | 44 | to·call·reset()·to·reinitialize·it. |
45 | The·built-in·software·version·of·sha1-algorithm·was·implemented·by·Steve·Reid | 45 | The·built-in·software·version·of·sha1-algorithm·was·implemented·by·Steve·Reid |
46 | and·released·as·public·domain.·For·more·info,·see·src/sha1.cpp. | 46 | and·released·as·public·domain.·For·more·info,·see·src/sha1.cpp. |
47 | class·hasher | 47 | class·hasher |
48 | { | 48 | { |
49 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(); | 49 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(); |
50 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&); | ||
51 | ···hasher&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher·const&)·&; | ||
52 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(char·const*·data,·int·len); | 50 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(char·const*·data,·int·len); |
51 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&); | ||
53 | ···explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r·(span<char·const>·data); | 52 | ···explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r·(span<char·const>·data); |
53 | ···hasher&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher·const&)·&; | ||
54 | ···hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); | 54 | ···hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); |
55 | ···hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); | 55 | ···hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); |
56 | ···sha1_hash·f\x8fi\x8in\x8na\x8al\x8l·(); | 56 | ···sha1_hash·f\x8fi\x8in\x8na\x8al\x8l·(); |
57 | ···void·r\x8re\x8es\x8se\x8et\x8t·(); | 57 | ···void·r\x8re\x8es\x8se\x8et\x8t·(); |
58 | }; | 58 | }; |
59 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 59 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
60 | *\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* | 60 | *\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* |
61 | h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&); | ||
62 | hasher&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher·const&)·&; | ||
63 | h\x8ha\x8as\x8sh\x8he\x8er\x8r·(char·const*·data,·int·len); | 61 | h\x8ha\x8as\x8sh\x8he\x8er\x8r·(char·const*·data,·int·len); |
62 | h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&); | ||
64 | explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r·(span<char·const>·data); | 63 | explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r·(span<char·const>·data); |
64 | hasher&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher·const&)·&; | ||
65 | this·is·the·same·as·default·constructing·followed·by·a·call·to·update(data, | 65 | this·is·the·same·as·default·constructing·followed·by·a·call·to·update(data, |
66 | len). | 66 | len). |
67 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 67 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
68 | *\x8**\x8**\x8**\x8**\x8*·u\x8up\x8pd\x8da\x8at\x8te\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 68 | *\x8**\x8**\x8**\x8**\x8*·u\x8up\x8pd\x8da\x8at\x8te\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
69 | hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); | 69 | hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); |
70 | hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); | 70 | hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); |
71 | append·the·following·bytes·to·what·is·being·hashed | 71 | append·the·following·bytes·to·what·is·being·hashed |
Offset 81, 30 lines modified | Offset 81, 30 lines modified | ||
81 | constructed. | 81 | constructed. |
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**\x8*·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·*\x8**\x8**\x8**\x8**\x8**\x8* | 83 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·*\x8**\x8**\x8**\x8**\x8**\x8* |
84 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" | 84 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" |
85 | class·hasher256 | 85 | class·hasher256 |
86 | { | 86 | { |
87 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(); | 87 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(); |
88 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(hasher256·const&); | ||
89 | ···hasher256&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher256·const&)·&; | ||
90 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(char·const*·data,·int·len); | 88 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(char·const*·data,·int·len); |
91 | ···explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(span<char·const>·data); | 89 | ···explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(span<char·const>·data); |
90 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(hasher256·const&); | ||
91 | ···hasher256&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher256·const&)·&; | ||
92 | ···hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); | 92 | ···hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); |
93 | ···hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); | 93 | ···hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); |
94 | ···sha256_hash·f\x8fi\x8in\x8na\x8al\x8l·(); | 94 | ···sha256_hash·f\x8fi\x8in\x8na\x8al\x8l·(); |
95 | ···void·r\x8re\x8es\x8se\x8et\x8t·(); | 95 | ···void·r\x8re\x8es\x8se\x8et\x8t·(); |
96 | ···~\x8~h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(); | 96 | ···~\x8~h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(); |
97 | }; | 97 | }; |
98 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 98 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
99 | *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 99 | *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
100 | h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(hasher256·const&); | ||
101 | hasher256&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher256·const&)·&; | ||
102 | h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(char·const*·data,·int·len); | 100 | h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(char·const*·data,·int·len); |
103 | explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(span<char·const>·data); | 101 | explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(span<char·const>·data); |
102 | h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(hasher256·const&); | ||
103 | hasher256&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher256·const&)·&; | ||
104 | this·is·the·same·as·default·constructing·followed·by·a·call·to·update(data, | 104 | this·is·the·same·as·default·constructing·followed·by·a·call·to·update(data, |
105 | len). | 105 | len). |
106 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 106 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
107 | *\x8**\x8**\x8**\x8**\x8*·u\x8up\x8pd\x8da\x8at\x8te\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 107 | *\x8**\x8**\x8**\x8**\x8*·u\x8up\x8pd\x8da\x8at\x8te\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
108 | hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); | 108 | hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); |
109 | hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); | 109 | hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); |
110 | append·the·following·bytes·to·what·is·being·hashed | 110 | append·the·following·bytes·to·what·is·being·hashed |
Offset 121, 25 lines modified | Offset 121, 25 lines modified | ||
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*·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·*\x8**\x8**\x8**\x8**\x8**\x8* | 122 | *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·*\x8**\x8**\x8**\x8**\x8**\x8* |
123 | 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" | 123 | 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" |
124 | 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 | 124 | 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 |
125 | array. | 125 | array. |
126 | struct·bitfield | 126 | struct·bitfield |
127 | { | 127 | { |
128 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits,·bool·val); | ||
129 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield·const&·rhs); | 128 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield·const&·rhs); |
130 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield&&·rhs)·noexcept·=·default; | ||
131 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·()·noexcept·=·default; | 129 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·()·noexcept·=·default; |
132 | ··· | 130 | ···b.bi.it.tf.fi.ie.el.ld.d·(int·bits,·bool·val); |
131 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield&&·rhs)·noexcept·=·default; | ||
133 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(char·const*·b,·int·bits); | 132 | ···b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(char·const*·b,·int·bits); |
133 | ···explicit·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits); | ||
134 | ···void·a\x8as\x8ss\x8si\x8ig\x8gn\x8n·(char·const*·b,·int·const·bits); | 134 | ···void·a\x8as\x8ss\x8si\x8ig\x8gn\x8n·(char·const*·b,·int·const·bits); |
135 | ···bool·g\x8ge\x8et\x8t_\x8_b\x8bi\x8it\x8t·(int·index)·const·noexcept; | 135 | ···bool·g\x8ge\x8et\x8t_\x8_b\x8bi\x8it\x8t·(int·index)·const·noexcept; |
136 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·index)·const·noexcept; | 136 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·index)·const·noexcept; |
137 | ···void·s\x8se\x8et\x8t_\x8_b\x8bi\x8it\x8t·(int·index)·noexcept; | ||
138 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_b\x8bi\x8it\x8t·(int·index)·noexcept; | 137 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_b\x8bi\x8it\x8t·(int·index)·noexcept; |
138 | ···void·s\x8se\x8et\x8t_\x8_b\x8bi\x8it\x8t·(int·index)·noexcept; | ||
139 | ···bool·a\x8al\x8ll\x8l_\x8_s\x8se\x8et\x8t·()·const·noexcept; | 139 | ···bool·a\x8al\x8ll\x8l_\x8_s\x8se\x8et\x8t·()·const·noexcept; |
140 | ···bool·n\x8no\x8on\x8ne\x8e_\x8_s\x8se\x8et\x8t·()·const·noexcept; | 140 | ···bool·n\x8no\x8on\x8ne\x8e_\x8_s\x8se\x8et\x8t·()·const·noexcept; |
141 | ···int·s\x8si\x8iz\x8ze\x8e·()·const·noexcept; | 141 | ···int·s\x8si\x8iz\x8ze\x8e·()·const·noexcept; |
142 | ···int·n\x8nu\x8um\x8m_\x8_w\x8wo\x8or\x8rd\x8ds\x8s·()·const·noexcept; | 142 | ···int·n\x8nu\x8um\x8m_\x8_w\x8wo\x8or\x8rd\x8ds\x8s·()·const·noexcept; |
143 | ···int·n\x8nu\x8um\x8m_\x8_b\x8by\x8yt\x8te\x8es\x8s·()·const·noexcept; | 143 | ···int·n\x8nu\x8um\x8m_\x8_b\x8by\x8yt\x8te\x8es\x8s·()·const·noexcept; |
144 | ···bool·e\x8em\x8mp\x8pt\x8ty\x8y·()·const·noexcept; | 144 | ···bool·e\x8em\x8mp\x8pt\x8ty\x8y·()·const·noexcept; |
145 | ···char·const*·d\x8da\x8at\x8ta\x8a·()·const·noexcept; | 145 | ···char·const*·d\x8da\x8at\x8ta\x8a·()·const·noexcept; |
Offset 148, 20 lines modified | Offset 148, 20 lines modified | ||
148 | ···int·c\x8co\x8ou\x8un\x8nt\x8t·()·const·noexcept; | 148 | ···int·c\x8co\x8ou\x8un\x8nt\x8t·()·const·noexcept; |
149 | ···int·f\x8fi\x8in\x8nd\x8d_\x8_f\x8fi\x8ir\x8rs\x8st\x8t_\x8_s\x8se\x8et\x8t·()·const·noexcept; | 149 | ···int·f\x8fi\x8in\x8nd\x8d_\x8_f\x8fi\x8ir\x8rs\x8st\x8t_\x8_s\x8se\x8et\x8t·()·const·noexcept; |
150 | ···int·f\x8fi\x8in\x8nd\x8d_\x8_l\x8la\x8as\x8st\x8t_\x8_c\x8cl\x8le\x8ea\x8ar\x8r·()·const·noexcept; | 150 | ···int·f\x8fi\x8in\x8nd\x8d_\x8_l\x8la\x8as\x8st\x8t_\x8_c\x8cl\x8le\x8ea\x8ar\x8r·()·const·noexcept; |
151 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(lt::bitfield·const&·rhs)·const; | 151 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(lt::bitfield·const&·rhs)·const; |
152 | }; | 152 | }; |
153 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 153 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
154 | *\x8**\x8**\x8**\x8**\x8*·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 154 | *\x8**\x8**\x8**\x8**\x8*·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
155 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits,·bool·val); | ||
156 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield·const&·rhs); | 155 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield·const&·rhs); |
157 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield&&·rhs)·noexcept·=·default; | ||
158 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·()·noexcept·=·default; | 156 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·()·noexcept·=·default; |
159 | 157 | b.bi.it.tf.fi.ie.el.ld.d·(int·bits,·bool·val); | |
158 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield&&·rhs)·noexcept·=·default; | ||
160 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(char·const*·b,·int·bits); | 159 | b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(char·const*·b,·int·bits); |
160 | explicit·b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(int·bits); | ||
161 | 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. | 161 | 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. |
162 | bits·is·the·size·of·the·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d·(specified·in·bits).·val·is·the·value·to | 162 | bits·is·the·size·of·the·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d·(specified·in·bits).·val·is·the·value·to |
163 | initialize·the·bits·to.·If·not·specified·all·bits·are·initialized·to·0. | 163 | initialize·the·bits·to.·If·not·specified·all·bits·are·initialized·to·0. |
164 | The·constructor·taking·a·pointer·b·and·bits·copies·a·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d·from·the | 164 | The·constructor·taking·a·pointer·b·and·bits·copies·a·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d·from·the |
165 | specified·buffer,·and·bits·number·of·bits·(rounded·up·to·the·nearest·byte | 165 | specified·buffer,·and·bits·number·of·bits·(rounded·up·to·the·nearest·byte |
166 | boundary). | 166 | boundary). |
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] |
Offset 172, 16 lines modified | Offset 172, 16 lines modified | ||
172 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 172 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
173 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8](\x8()\x8)·g\x8ge\x8et\x8t_\x8_b\x8bi\x8it\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 173 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8](\x8()\x8)·g\x8ge\x8et\x8t_\x8_b\x8bi\x8it\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
174 | bool·g\x8ge\x8et\x8t_\x8_b\x8bi\x8it\x8t·(int·index)·const·noexcept; | 174 | bool·g\x8ge\x8et\x8t_\x8_b\x8bi\x8it\x8t·(int·index)·const·noexcept; |
175 | bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·index)·const·noexcept; | 175 | bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·index)·const·noexcept; |
176 | query·bit·at·index.·Returns·true·if·bit·is·1,·otherwise·false. | 176 | query·bit·at·index.·Returns·true·if·bit·is·1,·otherwise·false. |
177 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 177 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
Max diff block lines reached; 525/7185 bytes (7.31%) 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 | secret_key·<strong>ed25519_add_scalar</strong>·(secret_key·const&·sk | ||
92 | ···,·std::array<char,·32>·const&·scalar); | ||
93 | public_key·<strong>ed25519_add_scalar</strong>·(public_key·const&·pk | 91 | public_key·<strong>ed25519_add_scalar</strong>·(public_key·const&·pk |
94 | ···,·std::array<char,·32>·const&·scalar); | 92 | ···,·std::array<char,·32>·const&·scalar); |
93 | secret_key·<strong>ed25519_add_scalar</strong>·(secret_key·const&·sk | ||
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 | 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 | ||
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 | 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 |
49 | ···,·std::array<char,·32>·const&·scalar); | 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 | ||
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 19, 229 lines modified | Offset 19, 228 lines modified | ||
19 | ····<img·src="img/logo-color-text.png"·alt="libtorrent·logo"/> | 19 | ····<img·src="img/logo-color-text.png"·alt="libtorrent·logo"/> |
20 | ····</a> | 20 | ····</a> |
21 | ····<div> | 21 | ····<div> |
22 | <h1·class="title">reference·documentation</h1> | 22 | <h1·class="title">reference·documentation</h1> |
23 | <p><a·class="reference·external"·href="single-page-ref.html">single-page·version</a></p> | 23 | <p><a·class="reference·external"·href="single-page-ref.html">single-page·version</a></p> |
24 | <div·class="main-toc·docutils·container"> | 24 | <div·class="main-toc·docutils·container"> |
25 | <p·class="rubric"> | 25 | <p·class="rubric">Add·Torrent</p> |
26 | <div·class="line-block"> | 26 | <div·class="line-block"> |
27 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#piece_block">piece_block</a></div> | ||
28 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#info_hash_t">info_hash_t</a></div> | ||
29 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_info">peer_info</a></div> | ||
30 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_request">peer_request</a></div> | ||
31 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#torrent_peer_equal()">torrent_peer_equal()</a></div> | ||
32 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#make_magnet_uri()">make_magnet_uri()</a></div> | ||
33 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#parse_magnet_uri()">parse_magnet_uri()</a></div> | ||
34 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#truncate_files()">truncate_files()</a></div> | ||
35 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#version()">version()</a></div> | ||
36 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_buffer()">load_torrent_buffer()</a></div> | ||
37 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_file()">load_torrent_file()</a></div> | ||
38 | <div·class="line"><a·class="reference·external"·href="reference- | 27 | <div·class="line"><a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a></div> |
39 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#protocol_version">protocol_version</a></div> | ||
40 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#socket_type_t">socket_type_t</a></div> | ||
41 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#portmap_transport">portmap_transport</a></div> | ||
42 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#portmap_protocol">portmap_protocol</a></div> | ||
43 | <div·class="line"><a·class="reference·external"·href="reference- | 28 | <div·class="line"><a·class="reference·external"·href="reference-Add_Torrent.html#client_data_t">client_data_t</a></div> |
44 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#connection_type">connection_type</a></div> | ||
45 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#torrent_flags_t">torrent_flags_t</a></div> | ||
46 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#pex_flags_t">pex_flags_t</a></div> | ||
47 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#download_priority_t">download_priority_t</a></div> | ||
48 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#int">int</a></div> | ||
49 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#charconst*">char·const*</a></div> | ||
50 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#std::uint64_t">std::uint64_t</a></div> | ||
51 | </div> | 29 | </div> |
52 | <p·class="rubric"> | 30 | <p·class="rubric">Settings</p> |
53 | <div·class="line-block"> | 31 | <div·class="line-block"> |
54 | <div·class="line"><a·class="reference·external"·href="reference- | 32 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#overview">overview</a></div> |
55 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#partial_piece_info">partial_piece_info</a></div> | ||
56 | <div·class="line"><a·class="reference·external"·href="reference- | 33 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a></div> |
34 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#setting_by_name()">setting_by_name()</a></div> | ||
35 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#name_for_setting()">name_for_setting()</a></div> | ||
36 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#default_settings()">default_settings()</a></div> | ||
57 | <div·class="line"><a·class="reference·external"·href="reference- | 37 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#high_performance_seed()">high_performance_seed()</a></div> |
38 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#min_memory_usage()">min_memory_usage()</a></div> | ||
39 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#generate_fingerprint()">generate_fingerprint()</a></div> | ||
58 | </div> | 40 | </div> |
59 | <p·class="rubric">Torrent·Info</p> | 41 | <p·class="rubric">Torrent·Info</p> |
60 | <div·class="line-block"> | 42 | <div·class="line-block"> |
61 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#web_seed_entry">web_seed_entry</a></div> | 43 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#web_seed_entry">web_seed_entry</a></div> |
62 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#load_torrent_limits">load_torrent_limits</a></div> | 44 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#load_torrent_limits">load_torrent_limits</a></div> |
63 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a></div> | 45 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a></div> |
64 | </div> | 46 | </div> |
47 | <p·class="rubric">Torrent·Handle</p> | ||
48 | <div·class="line-block"> | ||
49 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#block_info">block_info</a></div> | ||
50 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#partial_piece_info">partial_piece_info</a></div> | ||
51 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#torrent_handle">torrent_handle</a></div> | ||
52 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#hash_value()">hash_value()</a></div> | ||
53 | </div> | ||
65 | <p·class="rubric">Session</p> | 54 | <p·class="rubric">Session</p> |
66 | <div·class="line-block"> | 55 | <div·class="line-block"> |
67 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_proxy">session_proxy</a></div> | 56 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_proxy">session_proxy</a></div> |
68 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session">session</a></div> | 57 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session">session</a></div> |
69 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_params">session_params</a></div> | 58 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_params">session_params</a></div> |
70 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_handle">session_handle</a></div> | 59 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_handle">session_handle</a></div> |
71 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#read_session_params()">read_session_params()</a></div> | ||
72 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params()">write_session_params()</a></div> | 60 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params()">write_session_params()</a></div> |
61 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#read_session_params()">read_session_params()</a></div> | ||
73 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params_buf()">write_session_params_buf()</a></div> | 62 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params_buf()">write_session_params_buf()</a></div> |
74 | </div> | 63 | </div> |
75 | <p·class="rubric">Stats</p> | 64 | <p·class="rubric">Stats</p> |
76 | <div·class="line-block"> | 65 | <div·class="line-block"> |
77 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#stats_metric">stats_metric</a></div> | ||
78 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#counters">counters</a></div> | 66 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#counters">counters</a></div> |
67 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#stats_metric">stats_metric</a></div> | ||
79 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#session_stats_metrics()">session_stats_metrics()</a></div> | 68 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#session_stats_metrics()">session_stats_metrics()</a></div> |
80 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#find_metric_idx()">find_metric_idx()</a></div> | 69 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#find_metric_idx()">find_metric_idx()</a></div> |
81 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#metric_type_t">metric_type_t</a></div> | 70 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#metric_type_t">metric_type_t</a></div> |
82 | </div> | 71 | </div> |
83 | <p·class="rubric">Add·Torrent</p> | ||
84 | <div·class="line-block"> | ||
85 | <div·class="line"><a·class="reference·external"·href="reference-Add_Torrent.html#client_data_t">client_data_t</a></div> | ||
86 | <div·class="line"><a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a></div> | ||
87 | </div> | ||
88 | <p·class="rubric">Trackers</p> | 72 | <p·class="rubric">Trackers</p> |
89 | <div·class="line-block"> | 73 | <div·class="line-block"> |
90 | <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_infohash">announce_infohash</a></div> | 74 | <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_infohash">announce_infohash</a></div> |
91 | <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_endpoint">announce_endpoint</a></div> | 75 | <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_endpoint">announce_endpoint</a></div> |
92 | <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_entry">announce_entry</a></div> | 76 | <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_entry">announce_entry</a></div> |
93 | </div> | 77 | </div> |
94 | <p·class="rubric"> | 78 | <p·class="rubric">Core</p> |
95 | <div·class="line-block"> | 79 | <div·class="line-block"> |
80 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_request">peer_request</a></div> | ||
81 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#piece_block">piece_block</a></div> | ||
82 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_info">peer_info</a></div> | ||
83 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#info_hash_t">info_hash_t</a></div> | ||
84 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_file()">load_torrent_file()</a></div> | ||
85 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_parsed()">load_torrent_parsed()</a></div> | ||
86 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_buffer()">load_torrent_buffer()</a></div> | ||
87 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#truncate_files()">truncate_files()</a></div> | ||
88 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#make_magnet_uri()">make_magnet_uri()</a></div> | ||
89 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#parse_magnet_uri()">parse_magnet_uri()</a></div> | ||
90 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#torrent_peer_equal()">torrent_peer_equal()</a></div> | ||
91 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#version()">version()</a></div> | ||
92 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#event_t">event_t</a></div> | ||
93 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#portmap_transport">portmap_transport</a></div> | ||
94 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#portmap_protocol">portmap_protocol</a></div> | ||
95 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#protocol_version">protocol_version</a></div> | ||
96 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#socket_type_t">socket_type_t</a></div> | ||
97 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#connection_type">connection_type</a></div> | ||
96 | <div·class="line"><a·class="reference·external"·href="reference- | 98 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#torrent_flags_t">torrent_flags_t</a></div> |
99 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#int">int</a></div> | ||
100 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#pex_flags_t">pex_flags_t</a></div> | ||
101 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#charconst*">char·const*</a></div> | ||
102 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#std::uint64_t">std::uint64_t</a></div> | ||
103 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#download_priority_t">download_priority_t</a></div> | ||
97 | </div> | 104 | </div> |
98 | <p·class="rubric"> | 105 | <p·class="rubric">Torrent·Status</p> |
99 | <div·class="line-block"> | 106 | <div·class="line-block"> |
100 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#overview">overview</a></div> | ||
101 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a></div> | ||
102 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#min_memory_usage()">min_memory_usage()</a></div> | ||
103 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#high_performance_seed()">high_performance_seed()</a></div> | ||
104 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#generate_fingerprint()">generate_fingerprint()</a></div> | ||
105 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#setting_by_name()">setting_by_name()</a></div> | ||
106 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#name_for_setting()">name_for_setting()</a></div> | ||
107 | <div·class="line"><a·class="reference·external"·href="reference- | 107 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Status.html#torrent_status">torrent_status</a></div> |
Max diff block lines reached; 19865/32781 bytes (60.60%) of diff not shown. |
Offset 1, 175 lines modified | Offset 1, 174 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 | *\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 | Add·Torrent | ||
5 | Core | ||
6 | _\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k | ||
7 | _\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t | ||
8 | _\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o | ||
9 | _\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t | ||
10 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) | ||
11 | _\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | ||
12 | _\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | ||
13 | _\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | ||
14 | _\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | ||
15 | _\x8 | 6 | _\x8a_.d_.d_.__.t_.o_.r_.r_.e_.n_.t_.__.p_.a_.r_.a_.m_.s |
7 | _\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t | ||
8 | Settings | ||
9 | _\x8o_\x8v_\x8e_\x8r_\x8v_\x8i_\x8e_\x8w | ||
10 | _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k | ||
11 | _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8y_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8) | ||
12 | _\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8o_\x8r_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8(_\x8) | ||
13 | _\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) | ||
14 | _\x8h_\x8i_\x8g_\x8h_\x8__\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8) | ||
15 | _\x8m_\x8i_\x8n_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8u_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) | ||
16 | _\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8n_\x8g_\x8e_\x8r_\x8p_\x8r_\x8i_\x8n_\x8t_\x8(_\x8) | ||
17 | Torrent·Info | ||
18 | _\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8__\x8e_\x8n_\x8t_\x8r_\x8y | ||
16 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8 | 19 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8l_.i_.m_.i_.t_.s |
20 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o | ||
17 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8s_\x8e_\x8d_\x8(_\x8) | ||
18 | _\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n | ||
19 | _\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | ||
20 | _\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t | ||
21 | _\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l | ||
22 | _\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8t | ||
23 | _\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8y_\x8p_\x8e | ||
24 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t | ||
25 | _\x8p_\x8e_\x8x_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t | ||
26 | _\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t | ||
27 | _\x8i_\x8n_\x8t | ||
28 | _\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8* | ||
29 | _\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t | ||
30 | Torrent·Handle | 21 | Torrent·Handle |
31 | _\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8i_\x8n_\x8f_\x8o | 22 | _\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8i_\x8n_\x8f_\x8o |
32 | _\x8p_\x8a_\x8r_\x8t_\x8i_\x8a_\x8l_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o | 23 | _\x8p_\x8a_\x8r_\x8t_\x8i_\x8a_\x8l_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o |
33 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e | 24 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e |
34 | _\x8h_\x8a_\x8s_\x8h_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8) | 25 | _\x8h_\x8a_\x8s_\x8h_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8) |
35 | Torrent·Info | ||
36 | _\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8__\x8e_\x8n_\x8t_\x8r_\x8y | ||
37 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8s | ||
38 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o | ||
39 | Session | 26 | Session |
40 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y | 27 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y |
41 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n | 28 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n |
42 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s | 29 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s |
43 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e | 30 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e |
44 | _\x8r_\x8e_\x8a_\x8d_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | ||
45 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | 31 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) |
32 | _\x8r_\x8e_\x8a_\x8d_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | ||
46 | _\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) | 33 | _\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) |
47 | Stats | 34 | Stats |
48 | _\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c | ||
49 | _\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s | 35 | _\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s |
36 | _\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c | ||
50 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8s_\x8(_\x8) | 37 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8s_\x8(_\x8) |
51 | _\x8f_\x8i_\x8n_\x8d_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8i_\x8d_\x8x_\x8(_\x8) | 38 | _\x8f_\x8i_\x8n_\x8d_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8i_\x8d_\x8x_\x8(_\x8) |
52 | _\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 39 | _\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
53 | Add·Torrent | ||
54 | _\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t | ||
55 | _\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s | ||
56 | Trackers | 40 | Trackers |
57 | _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h | 41 | _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h |
58 | _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t | 42 | _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t |
59 | _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y | 43 | _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y |
44 | Core | ||
45 | _\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t | ||
46 | _\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k | ||
47 | _\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o | ||
48 | _\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t | ||
49 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | ||
50 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8s_\x8e_\x8d_\x8(_\x8) | ||
51 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8) | ||
52 | _\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | ||
53 | _\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | ||
54 | _\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | ||
55 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) | ||
56 | _\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | ||
57 | _\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8t | ||
58 | _\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t | ||
59 | _\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l | ||
60 | _\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n | ||
61 | _\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | ||
62 | _\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8y_\x8p_\x8e | ||
63 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t | ||
64 | _\x8i_\x8n_\x8t | ||
65 | _\x8p_\x8e_\x8x_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t | ||
66 | _\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8* | ||
67 | _\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t | ||
68 | _\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t | ||
60 | Torrent·Status | 69 | Torrent·Status |
61 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s | 70 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s |
62 | Settings | ||
63 | _\x8o_\x8v_\x8e_\x8r_\x8v_\x8i_\x8e_\x8w | ||
64 | _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k | ||
65 | _\x8m_\x8i_\x8n_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8u_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) | ||
66 | _\x8h_\x8i_\x8g_\x8h_\x8__\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8) | ||
67 | _\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8n_\x8g_\x8e_\x8r_\x8p_\x8r_\x8i_\x8n_\x8t_\x8(_\x8) | ||
68 | _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8y_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8) | ||
69 | _\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8o_\x8r_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8(_\x8) | ||
70 | _\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) | ||
71 | DHT | 71 | DHT |
72 | _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e | ||
72 | _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s | 73 | _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s |
73 | _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | 74 | _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e |
74 | _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e | ||
75 | _\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) | 75 | _\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 | _\x8s_\x8i_\x8g_\x8n_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) | 76 | _\x8s_\x8i_\x8g_\x8n_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\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) | ||
81 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8b_\x8u_\x8f_\x8(_\x8) | 80 | _\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(_\x8) | ||
82 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\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) | 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) |
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 |
Max diff block lines reached; 6584/12542 bytes (52.50%) of diff not shown. |
Offset 28, 12558 lines modified | Offset 28, 2800 lines modified | ||
28 | <td>2.0.10</td></tr> | 28 | <td>2.0.10</td></tr> |
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="#a-word-of-caution"·id="toc-entry-1">a·word·of·caution</a></li> | ||
35 | <li><a·class="reference·internal"·href="#pi | 36 | <li><a·class="reference·internal"·href="#plugin-interface"·id="toc-entry-2">plugin-interface</a></li> |
37 | <li><a·class="reference·internal"·href="#custom-alerts"·id="toc-entry-3">custom·alerts</a></li> | ||
38 | <li><a·class="reference·internal"·href="#peer-connection-handle"·id="toc-entry-4">peer_connection_handle</a></li> | ||
39 | <li><a·class="reference·internal"·href="#bt-peer-connection-handle"·id="toc-entry-5">bt_peer_connection_handle</a></li> | ||
36 | <li><a·class="reference·internal"·href="# | 40 | <li><a·class="reference·internal"·href="#plugin"·id="toc-entry-6">plugin</a><ul> |
41 | <li><a·class="reference·internal"·href="#implemented-features"·id="toc-entry-7">implemented_features()</a></li> | ||
37 | <li><a·class="reference·internal"·href="# | 42 | <li><a·class="reference·internal"·href="#new-torrent"·id="toc-entry-8">new_torrent()</a></li> |
38 | <li><a·class="reference·internal"·href="#has-has-v2-has-v1"·id="toc-entry-4">has()·has_v2()·has_v1()</a></li> | ||
39 | <li><a·class="reference·internal"·href="# | 43 | <li><a·class="reference·internal"·href="#added"·id="toc-entry-9">added()</a></li> |
40 | <li><a·class="reference·internal"·href="# | 44 | <li><a·class="reference·internal"·href="#abort"·id="toc-entry-10">abort()</a></li> |
45 | <li><a·class="reference·internal"·href="#on-dht-request"·id="toc-entry-11">on_dht_request()</a></li> | ||
46 | <li><a·class="reference·internal"·href="#on-alert"·id="toc-entry-12">on_alert()</a></li> | ||
47 | <li><a·class="reference·internal"·href="#on-unknown-torrent"·id="toc-entry-13">on_unknown_torrent()</a></li> | ||
41 | <li><a·class="reference·internal"·href="# | 48 | <li><a·class="reference·internal"·href="#on-tick"·id="toc-entry-14">on_tick()</a></li> |
49 | <li><a·class="reference·internal"·href="#get-unchoke-priority"·id="toc-entry-15">get_unchoke_priority()</a></li> | ||
50 | <li><a·class="reference·internal"·href="#load-state"·id="toc-entry-16">load_state()</a></li> | ||
42 | </ul> | 51 | </ul> |
43 | </li> | 52 | </li> |
53 | <li><a·class="reference·internal"·href="#torrent-plugin"·id="toc-entry-17">torrent_plugin</a><ul> | ||
54 | <li><a·class="reference·internal"·href="#new-connection"·id="toc-entry-18">new_connection()</a></li> | ||
55 | <li><a·class="reference·internal"·href="#on-piece-pass-on-piece-failed"·id="toc-entry-19">on_piece_pass()·on_piece_failed()</a></li> | ||
44 | <li><a·class="reference·internal"·href="# | 56 | <li><a·class="reference·internal"·href="#tick"·id="toc-entry-20">tick()</a></li> |
57 | <li><a·class="reference·internal"·href="#on-pause-on-resume"·id="toc-entry-21">on_pause()·on_resume()</a></li> | ||
58 | <li><a·class="reference·internal"·href="#on-files-checked"·id="toc-entry-22">on_files_checked()</a></li> | ||
45 | <li><a·class="reference·internal"·href="# | 59 | <li><a·class="reference·internal"·href="#on-state"·id="toc-entry-23">on_state()</a></li> |
60 | <li><a·class="reference·internal"·href="#on-add-peer"·id="toc-entry-24">on_add_peer()</a></li> | ||
46 | </ul> | 61 | </ul> |
47 | </li> | 62 | </li> |
63 | <li><a·class="reference·internal"·href="#peer-plugin"·id="toc-entry-25">peer_plugin</a><ul> | ||
64 | <li><a·class="reference·internal"·href="#type"·id="toc-entry-26">type()</a></li> | ||
65 | <li><a·class="reference·internal"·href="#add-handshake"·id="toc-entry-27">add_handshake()</a></li> | ||
66 | <li><a·class="reference·internal"·href="#on-disconnect"·id="toc-entry-28">on_disconnect()</a></li> | ||
67 | <li><a·class="reference·internal"·href="#on-connected"·id="toc-entry-29">on_connected()</a></li> | ||
68 | <li><a·class="reference·internal"·href="#on-handshake"·id="toc-entry-30">on_handshake()</a></li> | ||
69 | <li><a·class="reference·internal"·href="#on-extension-handshake"·id="toc-entry-31">on_extension_handshake()</a></li> | ||
70 | <li><a·class="reference·internal"·href="#on-have-all-on-not-interested-on-have-none-on-choke-on-have-on-bitfield-on-unchoke-on-request-on-allowed-fast-on-interested-on-dont-have"·id="toc-entry-32">on_have_all()·on_not_interested()·on_have_none()·on_choke()·on_have()·on_bitfield()·on_unchoke()·on_request()·on_allowed_fast()·on_interested()·on_dont_have()</a></li> | ||
71 | <li><a·class="reference·internal"·href="#on-piece"·id="toc-entry-33">on_piece()</a></li> | ||
72 | <li><a·class="reference·internal"·href="#sent-interested-sent-not-interested-sent-piece-sent-unchoke-sent-have"·id="toc-entry-34">sent_interested()·sent_not_interested()·sent_piece()·sent_unchoke()·sent_have()</a></li> | ||
73 | <li><a·class="reference·internal"·href="#sent-payload"·id="toc-entry-35">sent_payload()</a></li> | ||
74 | <li><a·class="reference·internal"·href="#can-disconnect"·id="toc-entry-36">can_disconnect()</a></li> | ||
75 | <li><a·class="reference·internal"·href="#on-extended"·id="toc-entry-37">on_extended()</a></li> | ||
76 | <li><a·class="reference·internal"·href="#on-unknown-message"·id="toc-entry-38">on_unknown_message()</a></li> | ||
77 | <li><a·class="reference·internal"·href="#on-piece-pass-on-piece-failed-1"·id="toc-entry-39">on_piece_pass()·on_piece_failed()</a></li> | ||
78 | <li><a·class="reference·internal"·href="#tick-1"·id="toc-entry-40">tick()</a></li> | ||
48 | <li><a·class="reference·internal"·href="# | 79 | <li><a·class="reference·internal"·href="#write-request"·id="toc-entry-41">write_request()</a></li> |
49 | <li><a·class="reference·internal"·href="#operator"·id="toc-entry-11">operator==()</a></li> | ||
50 | </ul> | 80 | </ul> |
51 | </li> | 81 | </li> |
52 | <li><a·class="reference·internal"·href="#torrent-peer-equal"·id="toc-entry-12">torrent_peer_equal()</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> | ||
55 | <li><a·class="reference·internal"·href="#truncate-files"·id="toc-entry-15">truncate_files()</a></li> | ||
56 | <li><a·class="reference·internal"·href="#version"·id="toc-entry-16">version()</a></li> | ||
57 | <li><a·class="reference·internal"·href="#load-torrent-buffer-load-torrent-file-load-torrent-parsed"·id="toc-entry-17">load_torrent_buffer()·load_torrent_file()·load_torrent_parsed()</a></li> | ||
58 | <li><a·class="reference·internal"·href="#enum-protocol-version"·id="toc-entry-18">enum·protocol_version</a></li> | ||
59 | <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-19">enum·socket_type_t</a></li> | ||
60 | <li><a·class="reference·internal"·href="#enum-portmap-transport"·id="toc-entry-20">enum·portmap_transport</a></li> | ||
61 | <li><a·class="reference·internal"·href="#enum-portmap-protocol"·id="toc-entry-21">enum·portmap_protocol</a></li> | ||
62 | <li><a·class="reference·internal"·href="#enum-event-t"·id="toc-entry-22">enum·event_t</a></li> | ||
63 | <li><a·class="reference·internal"·href="#enum-connection-type"·id="toc-entry-23">enum·connection_type</a></li> | ||
64 | <li><a·class="reference·internal"·href="#torrent-flags-t"·id="toc-entry-24">torrent_flags_t</a></li> | ||
65 | <li><a·class="reference·internal"·href="#p | 82 | <li><a·class="reference·internal"·href="#crypto-plugin"·id="toc-entry-42">crypto_plugin</a><ul> |
66 | <li><a·class="reference·internal"·href="#download-priority-t"·id="toc-entry-26">download_priority_t</a></li> | ||
67 | <li><a·class="reference·internal"·href="# | 83 | <li><a·class="reference·internal"·href="#decrypt"·id="toc-entry-43">decrypt()</a></li> |
68 | <li><a·class="reference·internal"·href="#char-const"·id="toc-entry-28">char·const*</a></li> | ||
69 | <li><a·class="reference·internal"·href="#std-uint64-t"·id="toc-entry-29">std::uint64_t</a></li> | ||
70 | <li><a·class="reference·internal"·href="#block-info"·id="toc-entry-30">block_info</a><ul> | ||
71 | <li><a·class="reference·internal"·href="#set-peer-peer"·id="toc-entry-31">set_peer()·peer()</a></li> | ||
72 | <li><a·class="reference·internal"·href="#enum-block-state-t"·id="toc-entry-32">enum·block_state_t</a></li> | ||
73 | </ul> | 84 | </ul> |
74 | </li> | 85 | </li> |
75 | <li><a·class="reference·internal"·href="#partial-piece-info"·id="toc-entry-33">partial_piece_info</a></li> | ||
76 | <li><a·class="reference·internal"·href="#torrent-handle"·id="toc-entry-34">torrent_handle</a><ul> | ||
77 | <li><a·class="reference·internal"·href="#torrent-handle-1"·id="toc-entry-35">torrent_handle()</a></li> | ||
78 | <li><a·class="reference·internal"·href="#add-piece"·id="toc-entry-36">add_piece()</a></li> | ||
79 | <li><a·class="reference·internal"·href="#rea | 86 | <li><a·class="reference·internal"·href="#create-ut-pex-plugin"·id="toc-entry-44">create_ut_pex_plugin()</a></li> |
80 | <li><a·class="reference·internal"·href="#have-piece"·id="toc-entry-38">have_piece()</a></li> | ||
81 | <li><a·class="reference·internal"·href="#post-peer-info-get-peer-info"·id="toc-entry-39">post_peer_info()·get_peer_info()</a></li> | ||
82 | <li><a·class="reference·internal"·href="#status-post-status"·id="toc-entry-40">status()·post_status()</a></li> | ||
83 | <li><a·class="reference·internal"·href="#post-download-queue-get-download-queue"·id="toc-entry-41">post_download_queue()·get_download_queue()</a></li> | ||
84 | <li><a·class="reference·internal"·href="#clear-piece-deadlines-reset-piece-deadline-set-piece-deadline"·id="toc-entry-42">clear_piece_deadlines()·reset_piece_deadline()·set_piece_deadline()</a></li> | ||
85 | <li><a·class="reference·internal"·href="#post-file-progress-file-progress"·id="toc-entry-43">post_file_progress()·file_progress()</a></li> | ||
86 | <li><a·class="reference·internal"·href="# | 87 | <li><a·class="reference·internal"·href="#create-smart-ban-plugin"·id="toc-entry-45">create_smart_ban_plugin()</a></li> |
87 | <li><a·class="reference·internal"·href="#clear-error"·id="toc-entry-45">clear_error()</a></li> | ||
88 | <li><a·class="reference·internal"·href="#replace-trackers-post-trackers-add-tracker-trackers"·id="toc-entry-46">replace_trackers()·post_trackers()·add_tracker()·trackers()</a></li> | ||
89 | <li><a·class="reference·internal"·href="#url-seeds-add-url-seed-remove-url-seed"·id="toc-entry-47">url_seeds()·add_url_seed()·remove_url_seed()</a></li> | ||
90 | <li><a·class="reference·internal"·href="#http-seeds-remove-http-seed-add-http-seed"·id="toc-entry-48">http_seeds()·remove_http_seed()·add_http_seed()</a></li> | ||
91 | <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-49">add_extension()</a></li> | ||
92 | <li><a·class="reference·internal"·href="# | 88 | <li><a·class="reference·internal"·href="#create-ut-metadata-plugin"·id="toc-entry-46">create_ut_metadata_plugin()</a></li> |
93 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-51">is_valid()</a></li> | ||
94 | <li><a·class="reference·internal"·href="#pause-resume"·id="toc-entry-52">pause()·resume()</a></li> | ||
95 | <li><a·class="reference·internal"·href="#unset-flags-set-flags-flags"·id="toc-entry-53">unset_flags()·set_flags()·flags()</a></li> | ||
96 | <li><a·class="reference·internal"·href="#flush-cache"·id="toc-entry-54">flush_cache()</a></li> | ||
97 | <li><a·class="reference·internal"·href="#force-recheck"·id="toc-entry-55">force_recheck()</a></li> | ||
98 | <li><a·class="reference·internal"·href="#save-resume-data"·id="toc-entry-56">save_resume_data()</a></li> | ||
99 | <li><a·class="reference·internal"·href="#need-save-resume-data"·id="toc-entry-57">need_save_resume_data()</a></li> | ||
100 | <li><a·class="reference·internal"·href="#queue-position-up-queue-position-queue-position-bottom-queue-position-down-queue-position-top"·id="toc-entry-58">queue_position_up()·queue_position()·queue_position_bottom()·queue_position_down()·queue_position_top()</a></li> | ||
101 | <li><a·class="reference·internal"·href="#queue-position-set"·id="toc-entry-59">queue_position_set()</a></li> | ||
102 | <li><a·class="reference·internal"·href="#set-ssl-certificate-set-ssl-certificate-buffer"·id="toc-entry-60">set_ssl_certificate()·set_ssl_certificate_buffer()</a></li> | ||
103 | <li><a·class="reference·internal"·href="#torrent-file-with-hashes-torrent-file"·id="toc-entry-61">torrent_file_with_hashes()·torrent_file()</a></li> | ||
104 | <li><a·class="reference·internal"·href="#piece-layers"·id="toc-entry-62">piece_layers()</a></li> | ||
105 | <li><a·class="reference·internal"·href="#piece-availability-post-piece-availability"·id="toc-entry-63">piece_availability()·post_piece_availability()</a></li> | ||
106 | <li><a·class="reference·internal"·href="#prioritize-pieces-piece-priority-get-piece-priorities"·id="toc-entry-64">prioritize_pieces()·piece_priority()·get_piece_priorities()</a></li> | ||
107 | <li><a·class="reference·internal"·href="#prioritize-files-file-priority-get-file-priorities"·id="toc-entry-65">prioritize_files()·file_priority()·get_file_priorities()</a></li> | ||
108 | <li><a·class="reference·internal"·href="#force-dht-announce-force-reannounce-force-lsd-announce"·id="toc-entry-66">force_dht_announce()·force_reannounce()·force_lsd_announce()</a></li> | ||
109 | <li><a·class="reference·internal"·href="#scrape-tracker"·id="toc-entry-67">scrape_tracker()</a></li> | ||
110 | <li><a·class="reference·internal"·href="#download-limit-set-download-limit-set-upload-limit-upload-limit"·id="toc-entry-68">download_limit()·set_download_limit()·set_upload_limit()·upload_limit()</a></li> | ||
111 | <li><a·class="reference·internal"·href="# | 89 | <li><a·class="reference·internal"·href="#add-torrent-params"·id="toc-entry-47">add_torrent_params</a></li> |
112 | <li><a·class="reference·internal"·href="#clear-peers"·id="toc-entry-70">clear_peers()</a></li> | ||
113 | <li><a·class="reference·internal"·href="#max-uploads-set-max-uploads"·id="toc-entry-71">max_uploads()·set_max_uploads()</a></li> | ||
114 | <li><a·class="reference·internal"·href="#max-connections-set-max-connections"·id="toc-entry-72">max_connections()·set_max_connections()</a></li> | ||
115 | <li><a·class="reference·internal"·href="#move-storage"·id="toc-entry-73">move_storage()</a></li> | ||
116 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-74">rename_file()</a></li> | ||
117 | <li><a·class="reference·internal"·href="#info-hashes-info-hash"·id="toc-entry-75">info_hashes()·info_hash()</a></li> | ||
118 | <li><a·class="reference·internal"·href="#operator-operator-operator"·id="toc-entry-76">operator==()·operator!=()·operator<()</a></li> | ||
119 | <li><a·class="reference·internal"·href="#id"·id="toc-entry- | 90 | <li><a·class="reference·internal"·href="#client-data-t"·id="toc-entry-48">client_data_t</a><ul> |
120 | <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-78">native_handle()</a></li> | ||
121 | <li><a·class="reference·internal"·href="# | 91 | <li><a·class="reference·internal"·href="#client-data-t-1"·id="toc-entry-49">client_data_t()</a></li> |
122 | <li><a·class="reference·internal"·href="#in- | 92 | <li><a·class="reference·internal"·href="#void-const-operator"·id="toc-entry-50">void*()·const*()·operator=()</a></li> |
Max diff block lines reached; 2467076/2482182 bytes (99.39%) of diff not shown. |
Offset 1, 115 lines modified | Offset 1, 163 lines modified | ||
1 | > | 1 | > |
2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] | 2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] |
3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 | 3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 |
4 | _\x8h_\x8o_\x8m_\x8e | 4 | _\x8h_\x8o_\x8m_\x8e |
5 | Table·of·contents | 5 | Table·of·contents |
6 | ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k | ||
7 | ····*·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t | ||
8 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t_\x8(_\x8) | ||
9 | ···· | 6 | ····*·_.a_.·_.w_.o_.r_.d_.·_.o_.f_.·_.c_.a_.u_.t_.i_.o_.n |
7 | ····*·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8-_\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
8 | ····*·_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8s | ||
9 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e | ||
10 | ····*·_\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 | ||
11 | ····*·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n | ||
12 | ··········o·_\x8i_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8e_\x8d_\x8__\x8f_\x8e_\x8a_\x8t_\x8u_\x8r_\x8e_\x8s_\x8(_\x8) | ||
13 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | ||
10 | ··········o·_\x8 | 14 | ··········o·_\x8a_.d_.d_.e_.d_\x8(_\x8) |
11 | ··········o·_\x8 | 15 | ··········o·_\x8a_.b_.o_.r_\x8t_\x8(_\x8) |
16 | ··········o·_\x8o_\x8n_\x8__\x8d_\x8h_\x8t_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8) | ||
17 | ··········o·_\x8o_\x8n_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8(_\x8) | ||
18 | ··········o·_\x8o_\x8n_\x8__\x8u_\x8n_\x8k_\x8n_\x8o_\x8w_\x8n_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | ||
12 | ··········o·_\x8 | 19 | ··········o·_\x8o_.n_.__.t_.i_.c_.k_\x8(_\x8) |
13 | ···· | 20 | ··········o·_.g_.e_.t_.__.u_.n_.c_.h_.o_.k_.e_.__.p_.r_.i_.o_.r_.i_.t_.y_.(_.) |
14 | ··········o·_\x8 | 21 | ··········o·_\x8l_.o_.a_.d_.__.s_.t_.a_.t_.e_\x8(_\x8) |
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) | ||
17 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\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) | ||
20 | ····*·_\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | ||
21 | ····*·_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | ||
22 | ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8)_\x8·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)_\x8·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8s_\x8e_\x8d_\x8(_\x8) | ||
23 | ····*·_\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·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | ||
25 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t | ||
26 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l | ||
27 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8t | ||
28 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8y_\x8p_\x8e | ||
29 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8 | 22 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_.l_.u_.g_.i_.n |
23 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) | ||
24 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8a_\x8s_\x8s_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8(_\x8) | ||
25 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) | ||
26 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8) | ||
27 | ··········o·_\x8o_\x8n_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8__\x8c_\x8h_\x8e_\x8c_\x8k_\x8e_\x8d_\x8(_\x8) | ||
28 | ··········o·_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) | ||
29 | ··········o·_\x8o_\x8n_\x8__\x8a_\x8d_\x8d_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) | ||
30 | ····*·_\x8p_\x8e_\x8 | 30 | ····*·_\x8p_\x8e_\x8e_.r_.__.p_.l_.u_.g_.i_.n |
31 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) | ||
32 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) | ||
33 | ··········o·_\x8o_\x8n_\x8__\x8d_\x8i_\x8s_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8(_\x8) | ||
34 | ··········o·_\x8o_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8e_\x8d_\x8(_\x8) | ||
31 | ····*·_\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t | ||
32 | ····*·_\x8i_\x8n_\x8t | ||
33 | ····*·_\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8* | ||
34 | ····*·_\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t | ||
35 | ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8i_\x8n_\x8f_\x8o | ||
36 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8)_\x8·_\x8p_\x8e_\x8e_\x8r_\x8(_\x8) | ||
37 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8__\x8t | ||
38 | ····*·_\x8p_\x8a_\x8r_\x8t_\x8i_\x8a_\x8l_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o | ||
39 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e | ||
40 | ··········o·_\x8 | 35 | ··········o·_\x8o_.n_.__.h_.a_.n_.d_.s_.h_.a_.k_\x8e_\x8(_\x8) |
36 | ··········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) | ||
37 | ··········o·_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8a_\x8l_\x8l_\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__\x8h_\x8a_\x8v_\x8e_\x8__\x8n_\x8o_\x8n_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e | ||
38 | ············_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8u_\x8n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8a_\x8l_\x8l_\x8o_\x8w_\x8e_\x8d_\x8__\x8f_\x8a_\x8s_\x8t_\x8(_\x8) | ||
39 | ············_\x8o_\x8n_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8d_\x8o_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8) | ||
41 | ··········o·_\x8 | 40 | ··········o·_\x8o_.n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
41 | ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)_\x8·_\x8s_\x8e_\x8n_\x8t_\x8__\x8n_\x8o_\x8t_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)_\x8·_\x8s_\x8e_\x8n_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8n_\x8t_\x8__\x8u_\x8n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8) | ||
42 | ·········· | 42 | ············_.s_.e_.n_.t_.__.h_.a_.v_\x8e_\x8(_\x8) |
43 | ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8y_\x8l_\x8o_\x8a_\x8d_\x8(_\x8) | ||
44 | ··········o·_\x8c_\x8a_\x8n_\x8__\x8d_\x8i_\x8s_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8(_\x8) | ||
43 | ··········o·_\x8 | 45 | ··········o·_\x8o_.n_.__.e_.x_.t_.e_.n_.d_.e_.d_\x8(_\x8) |
46 | ··········o·_\x8o_\x8n_\x8__\x8u_\x8n_\x8k_\x8n_\x8o_\x8w_\x8n_\x8__\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) | ||
44 | ··········o·_\x8 | 47 | ··········o·_\x8o_.n_.__.p_.i_.e_.c_.e_.__.p_.a_.s_.s_.(_.)_.·_.o_.n_.__.p_.i_.e_.c_.e_.__.f_.a_.i_.l_.e_.d_\x8(_\x8) |
45 | ··········o·_\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) | ||
46 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8q_\x8u_\x8e_\x8u_\x8e_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8q_\x8u_\x8e_\x8u_\x8e_\x8(_\x8) | ||
47 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8s_\x8(_\x8)_\x8·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8(_\x8) | ||
48 | ··········o·_\x8 | 48 | ··········o·_\x8t_.i_.c_.k_\x8(_\x8) |
49 | ··········o·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8) | ||
50 | ····*·_\x8c_\x8r_\x8y_\x8p_\x8t_\x8o_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n | ||
51 | ··········o·_\x8d_\x8e_\x8c_\x8r_\x8y_\x8p_\x8t_\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) | ||
53 | ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8s_\x8m_\x8a_\x8r_\x8t_\x8__\x8b_\x8a_\x8n_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8(_\x8) | ||
54 | ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8u_\x8t_\x8__\x8m_\x8e_\x8t_\x8a_\x8d_\x8a_\x8t_\x8a_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8(_\x8) | ||
55 | ····*·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s | ||
56 | ····*·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t | ||
57 | ··········o·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8(_\x8) | ||
58 | ··········o·_\x8v_\x8o_\x8i_\x8d_\x8*_\x8(_\x8)_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8*_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8) | ||
59 | ····*·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
60 | ····*·_\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8a_\x8l_\x8l_\x8o_\x8c_\x8a_\x8t_\x8o_\x8r_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
61 | ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r | ||
62 | ··········o·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8) | ||
63 | ··········o·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8) | ||
64 | ··········o·_\x8~_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8) | ||
65 | ··········o·_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | ||
66 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8) | ||
67 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) | ||
68 | ··········o·_\x8i_\x8s_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8(_\x8) | ||
69 | ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8) | ||
70 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e | ||
71 | ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
72 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | ||
73 | ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | ||
74 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8w_\x8r_\x8i_\x8t_\x8e_\x8(_\x8)_\x8·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8a_\x8d_\x8(_\x8) | ||
75 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) | ||
76 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8h_\x8a_\x8s_\x8h_\x82_\x8(_\x8) | ||
77 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8) | ||
78 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | ||
79 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8c_\x8h_\x8e_\x8c_\x8k_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | ||
80 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | ||
81 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | ||
82 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | ||
83 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8s_\x8e_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8) | ||
84 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | ||
85 | ··········o·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s_\x8(_\x8) | ||
49 | ··········o·_\x8 | 86 | ··········o·_\x8g_.e_.t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) |
87 | ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8) | ||
88 | ··········o·_\x8s_\x8u_\x8b_\x8m_\x8i_\x8t_\x8__\x8j_\x8o_\x8b_\x8s_\x8(_\x8) | ||
50 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8(_\x8) | ||
51 | ··········o·_\x8r_\x8e_\x8p_\x8l_\x8a_\x8c_\x8e_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\x8t_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8)_\x8·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8) | ||
52 | ··········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) | ||
53 | ··········o·_\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8)_\x8·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8) | ||
54 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | ||
55 | ··········o·_\x8s_\x8e_\x8t_\x8__. | 89 | ··········o·_\x8s_\x8e_\x8t_\x8t_.i_.n_.g_.s_.__.u_.p_.d_.a_.t_.e_.d_\x8(_\x8) |
90 | ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r | ||
91 | ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8o_\x8b_\x8s_\x8e_\x8r_\x8v_\x8e_\x8r | ||
92 | ··········o·_\x8o_\x8n_\x8__\x8d_\x8i_\x8s_\x8k_\x8(_\x8) | ||
93 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8o_\x8p_\x8e_\x8n_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t | ||
Max diff block lines reached; 1045159/1060740 bytes (98.53%) of diff not shown. |
Offset 459, 67 lines modified | Offset 459, 338 lines modified | ||
459 | » auto·o·=·rpc.allocate_observer<null_observer>(std::move(algo),·source,·node_id()); | 459 | » auto·o·=·rpc.allocate_observer<null_observer>(std::move(algo),·source,·node_id()); |
460 | #if·TORRENT_USE_ASSERTS | 460 | #if·TORRENT_USE_ASSERTS |
461 | » o->m_in_constructor·=·false; | 461 | » o->m_in_constructor·=·false; |
462 | #endif | 462 | #endif |
463 | » o->flags·|=·observer::flag_queried; | 463 | » o->flags·|=·observer::flag_queried; |
464 | » rpc.invoke(req,·source,·o); | 464 | » rpc.invoke(req,·source,·o); |
465 | </pre></td></tr><tr·style="background:·#fcc"><td>relevance 3</td><td><a·href="javascript:expand(9)">../src/session_handle.cpp:672</a></td><td>expose·the·sequence_number,·public_key,·secret_key·and·signature·types·to·the·client</td></tr><tr·id="9"·style="display:·none;"·colspan="3"><td·colspan="3"><h2>expose·the·sequence_number,·public_key,·secret_key·and·signature | ||
466 | 465 | </pre></td></tr><tr·style="background:·#fcc"><td>relevance 3</td><td><a·href="javascript:expand(9)">../src/ut_metadata.cpp:268</a></td><td>use·the·aux::write_*·functions·and·the·span·here·instead,·it·will·fit·better·with·send_buffer()</td></tr><tr·id=[·...·truncated·by·diffoscope;·len:·119,·SHA:·9b53bea66e9dd673af63d930c9bc8c14644b05a7b8a02b44c16255328d09e490·...·] | |
466 | will·fit·better·with·send_buffer()</h2><h4>../src/ut_metadata.cpp:268</h4><pre·style="background:·#f6f6f6;·border:·solid·1px·#ddd;">» » » int·metadata_piece_size·=·0; | ||
467 | » » » if·(m_torrent.valid_metadata()) | ||
468 | » » » » e["total_size"]·=·m_tp.metadata().size(); | ||
469 | » » » if·(type·==·msg_t::piece) | ||
470 | » » » { | ||
471 | » » » » TORRENT_ASSERT(piece·>=·0·&&·piece·<·(m_tp.metadata().size()·+·16·*·1024·-·1)·/·(16·*·1024)); | ||
472 | » » » » TORRENT_ASSERT(m_pc.associated_torrent().lock()->valid_metadata()); | ||
473 | » » » » TORRENT_ASSERT(m_torrent.valid_metadata()); | ||
474 | » » » » int·const·offset·=·piece·*·16·*·1024; | ||
475 | » » » » metadata·=·m_tp.metadata().data()·+·offset; | ||
476 | » » » » metadata_piece_size·=·std::min( | ||
477 | » » » » » int(m_tp.metadata().size())·-·offset,·16·*·1024); | ||
478 | » » » » TORRENT_ASSERT(metadata_piece_size·>·0); | ||
479 | » » » » TORRENT_ASSERT(offset·>=·0); | ||
480 | » » » » TORRENT_ASSERT(offset·+·metadata_piece_size·<=·m_tp.metadata().size()); | ||
481 | » » » } | ||
482 | <div·style="background:·#ffff00"·width="100%">» » » char·msg[200]; | ||
483 | </div>» » » char*·header·=·msg; | ||
484 | » » » char*·p·=·&msg[6]; | ||
485 | » » » int·const·len·=·bencode(p,·e); | ||
486 | » » » int·const·total_size·=·2·+·len·+·metadata_piece_size; | ||
487 | » » » namespace·io·=·aux; | ||
488 | » » » io::write_uint32(total_size,·header); | ||
489 | » » » io::write_uint8(bt_peer_connection::msg_extended,·header); | ||
490 | » » » io::write_uint8(m_message_index,·header); | ||
491 | » » » m_pc.send_buffer({msg,·len·+·6}); | ||
492 | </pre></td></tr><tr·style="background:·#fcc"><td>relevance 3</td><td><a·href="javascript:expand(10)">../src/torrent.cpp:418</a></td><td>we·could·probably·get·away·with·just·saving·a·few·fields·here</td></tr><tr·id="10"·style="display:·none;"·colspan="3"><td·colspan="3"><h2>we·could·probably·get·away·with·just·saving·a·few·fields·here</h2><h4>../src/torrent.cpp:418</h4><pre·style="background:·#f6f6f6;·border:·solid·1px·#ddd;">» » //·---·V2·HASHES·--- | ||
493 | » » if·(m_torrent_file->is_valid()·&&·m_torrent_file->info_hashes().has_v2()) | ||
494 | » » { | ||
495 | » » » if·(!p.merkle_trees.empty()) | ||
496 | » » » » load_merkle_trees( | ||
497 | » » » » » std::move(p.merkle_trees) | ||
498 | » » » » » ,·std::move(p.merkle_tree_mask) | ||
499 | » » » » » ,·std::move(p.verified_leaf_hashes)); | ||
500 | » » » //·we·really·don't·want·to·store·extra·copies·of·the·trees | ||
501 | » » » TORRENT_ASSERT(p.merkle_trees.empty()); | ||
502 | » » } | ||
503 | » » if·(valid_metadata()) | ||
504 | » » { | ||
505 | » » » inc_stats_counter(counters::num_total_pieces_added | ||
506 | » » » » ,·m_torrent_file->num_pieces()); | ||
507 | » » } | ||
508 | <div·style="background:·#ffff00"·width="100%">» » m_add_torrent_params·=·std::make_unique<add_torrent_params>(std::move(p)); | ||
509 | </div>» } | ||
510 | » void·torrent::load_merkle_trees( | ||
511 | » » aux::vector<std::vector<sha256_hash>,·file_index_t>·trees_import | ||
512 | » » ,·aux::vector<std::vector<bool>,·file_index_t>·mask | ||
513 | » » ,·aux::vector<std::vector<bool>,·file_index_t>·verified) | ||
467 | » { | 514 | » { |
468 | #ifndef·TORRENT_DISABLE_DHT | ||
469 | » » async_call(&session_impl::dht_get_immutable_item,·target); | ||
470 | #else | ||
471 | » » TORRENT_UNUSED(target); | ||
472 | 515 | » » auto·const&·fs·=·m_torrent_file->orig_files(); | |
516 | » » std::vector<bool>·const·empty_verified; | ||
517 | » » for·(file_index_t·i{0};·i·<·fs.end_file();·++i) | ||
518 | » » { | ||
519 | » » » if·(fs.pad_file_at(i)·||·fs.file_size(i)·==·0) | ||
520 | » » » » continue; | ||
521 | » » » if·(i·>=·trees_import.end_index())·break; | ||
522 | » » » std::vector<bool>·const&·verified_bitmask·=·(i·>=·verified.end_index())·?·empty_verified·:·verified[i]; | ||
523 | » » » if·(i·<·mask.end_index()·&&·!mask[i].empty()) | ||
524 | » » » { | ||
525 | » » » » mask[i].resize(m_merkle_trees[i].size(),·false); | ||
526 | » » » » m_merkle_trees[i].load_sparse_tree(trees_import[i],·mask[i],·verified_bitmask); | ||
527 | » » » } | ||
528 | » » » else | ||
529 | » » » { | ||
530 | » » » » m_merkle_trees[i].load_tree(trees_import[i],·verified_bitmask); | ||
531 | » » » } | ||
532 | » » } | ||
473 | » } | 533 | » } |
474 | » void·session_handle::dht_get_item(std::array<char,·32>·key | ||
475 | » | 534 | » void·torrent::inc_stats_counter(int·c,·int·value) |
535 | </pre></td></tr><tr·style="background:·#fcc"><td>relevance 3</td><td><a·href="javascript:expand(11)">../src/torrent.cpp:714</a></td><td>assert·there·are·no·outstanding·async·operations·on·this·torrent</td></tr><tr·id="11"·style="display:·none;"·colspan="3"><td·colspan="3"><h2>assert·there·are·no·outstanding·async·operations·on·this | ||
536 | torrent</h2><h4>../src/torrent.cpp:714</h4><pre·style="background:·#f6f6f6;·border:·solid·1px·#ddd;">#endif | ||
537 | » » if·(!m_ses.dht())·return·false; | ||
538 | » » if·(m_torrent_file->is_valid()·&&·!m_files_checked)·return·false; | ||
539 | » » if·(!m_announce_to_dht)·return·false; | ||
540 | » » if·(m_paused)·return·false; | ||
541 | » » //·don't·announce·private·torrents | ||
542 | » » if·(m_torrent_file->is_valid()·&&·m_torrent_file->priv())·return·false; | ||
543 | » » if·(m_trackers.empty())·return·true; | ||
544 | » » if·(!settings().get_bool(settings_pack::use_dht_as_fallback))·return·true; | ||
545 | » » return·std::none_of(m_trackers.begin(),·m_trackers.end() | ||
546 | » » » ,·[](aux::announce_entry·const&·tr)·{·return·bool(tr.verified);·}); | ||
547 | » } | ||
548 | #endif | ||
549 | » torrent::~torrent() | ||
476 | » { | 550 | » { |
477 | #ifndef·TORRENT_DISABLE_DHT | ||
478 | » » async_call(&session_impl::dht_get_mutable_item,·key,·salt); | ||
479 | #else | ||
480 | » » TORRENT_UNUSED(key); | ||
481 | 551 | <div·style="background:·#ffff00"·width="100%"> | |
552 | </div>#if·TORRENT_USE_ASSERTS | ||
553 | » » for·(torrent_list_index_t·i{};·i·!=·m_links.end_index();·++i) | ||
554 | » » { | ||
555 | » » » if·(!m_links[i].in_list())·continue; | ||
556 | » » » m_links[i].unlink(m_ses.torrent_list(i),·i); | ||
Max diff block lines reached; 725635/731983 bytes (99.13%) of diff not shown. |
Offset 454, 68 lines modified | Offset 454, 352 lines modified | ||
454 | |···············································································································································································| | 454 | |···············································································································································································| |
455 | |» auto·o·=·rpc.allocate_observer<null_observer>(std::move(algo),·source,·node_id());····························································································| | 455 | |» auto·o·=·rpc.allocate_observer<null_observer>(std::move(algo),·source,·node_id());····························································································| |
456 | |#if·TORRENT_USE_ASSERTS························································································································································| | 456 | |#if·TORRENT_USE_ASSERTS························································································································································| |
457 | |» o->m_in_constructor·=·false;··················································································································································| | 457 | |» o->m_in_constructor·=·false;··················································································································································| |
458 | |#endif·········································································································································································| | 458 | |#endif·········································································································································································| |
459 | |» o->flags·|=·observer::flag_queried;···········································································································································| | 459 | |» o->flags·|=·observer::flag_queried;···········································································································································| |
460 | |_\x8» _\x8r_\x8p_\x8c_\x8._\x8i_\x8n_\x8v_\x8o_\x8k_\x8e_\x8(_\x8r_\x8e_\x8q_\x8,_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8,_\x8·_\x8o_\x8)_\x8;_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 460 | |_\x8» _\x8r_\x8p_\x8c_\x8._\x8i_\x8n_\x8v_\x8o_\x8k_\x8e_\x8(_\x8r_\x8e_\x8q_\x8,_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8,_\x8·_\x8o_\x8)_\x8;_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
461 | |_\x8r_\x8e_\x8l_\x8e_\x8v_\x8a_\x8n_\x8c_\x8e_\x8 _\x83_\x8|_\x8._\x8._\x8/_\x8s_\x8r_\x8c_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8c_\x8p_\x8p_\x8:_\x86_\x87_\x82_\x8·_\x8|_\x8e_\x8x_\x8p_\x8o_\x8s_\x8e_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8e_\x8q_\x8u_\x8e_\x8n_\x8c_\x8e_\x8__\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8,_\x8·_\x8p_\x8u_\x8b_\x8l_\x8i_\x8c_\x8__\x8k_\x8e_\x8y_\x8,_\x8·_\x8s_\x8e_\x8c_\x8r_\x8e_\x8t_\x8__\x8k_\x8e_\x8y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8s_\x8i_\x8g_\x8n_\x8a_\x8t_\x8u_\x8r_\x8e_\x8·_\x8t_\x8y_\x8p_\x8e_\x8s_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
462 | | | 461 | |_.r_.e_.l_.e_.v_.a_.n_.c_.e_. _.3_.|_.._.._./_.s_.r_.c_./_.u_.t_.__.m_.e_.t_.a_.d_.a_.t_.a_.._.c_.p_.p_.:_.2_.6_.8_.·_.·_.·_.·_.|_.u_.s_.e_.·_.t_.h_.e_.·_.a_.u_.x_.:_.:_.w_.r_.i_.t_.e_.__.*_.·_.f_.u_.n_.c_.t_.i_.o_.n_.s_.·_.a_.n_.d_.·_.t_.h_.e_.·_.s_.p_.a_[·...·truncated·by·diffoscope;·len:·268,·SHA:·e89fd1104366965cc766e63e8a02f2694035adf1a1f3065e1de8540bd8f48d34·...·]·| |
462 | |*\x8**\x8**\x8**\x8**\x8*·u\x8us\x8se\x8e·t\x8th\x8he\x8e·a\x8au\x8ux\x8x:\x8::\x8:w\x8wr\x8ri\x8it\x8te\x8e_\x8_*\x8*·f\x8fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s·a\x8an\x8nd\x8d·t\x8th\x8he\x8e·s\x8sp\x8pa\x8an\x8n·h\x8he\x8er\x8re\x8e·i\x8in\x8ns\x8st\x8te\x8ea\x8ad\x8d,\x8,·i\x8it\x8t·w\x8wi\x8il\x8ll\x8l·f\x8fi\x8it\x8t·b\x8be\x8et\x8tt\x8te\x8er\x8r·w\x8wi\x8it\x8th\x8h·s\x8se\x8en\x8nd\x8d_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*····································································| | ||
463 | |*\x8**\x8**\x8*·.\x8..\x8./\x8/s\x8sr\x8rc\x8c/\x8/u\x8ut\x8t_\x8_m\x8me\x8et\x8ta\x8ad\x8da\x8at\x8ta\x8a.\x8.c\x8cp\x8pp\x8p:\x8:2\x826\x868\x88·*\x8**\x8**\x8*·············································································································································| | ||
464 | |int·metadata_piece_size·=·0;···················································································································································| | ||
465 | |···············································································································································································| | ||
466 | |» » » if·(m_torrent.valid_metadata())·············································································································································| | ||
467 | |» » » » e["total_size"]·=·m_tp.metadata().size();··································································································································| | ||
468 | |···············································································································································································| | ||
469 | |» » » if·(type·==·msg_t::piece)···················································································································································| | ||
470 | |» » » {···········································································································································································| | ||
471 | |» » » » TORRENT_ASSERT(piece·>=·0·&&·piece·<·(m_tp.metadata().size()·+·16·*·1024·-·1)·/·(16·*·1024));··············································································| | ||
472 | |» » » » TORRENT_ASSERT(m_pc.associated_torrent().lock()->valid_metadata());········································································································| | ||
473 | |» » » » TORRENT_ASSERT(m_torrent.valid_metadata());································································································································| | ||
474 | |···············································································································································································| | ||
475 | |» » » » int·const·offset·=·piece·*·16·*·1024;······································································································································| | ||
476 | |» » » » metadata·=·m_tp.metadata().data()·+·offset;································································································································| | ||
477 | |» » » » metadata_piece_size·=·std::min(············································································································································| | ||
478 | |» » » » » int(m_tp.metadata().size())·-·offset,·16·*·1024);·························································································································| | ||
479 | |» » » » TORRENT_ASSERT(metadata_piece_size·>·0);···································································································································| | ||
480 | |» » » » TORRENT_ASSERT(offset·>=·0);···············································································································································| | ||
481 | |» » » » TORRENT_ASSERT(offset·+·metadata_piece_size·<=·m_tp.metadata().size());····································································································| | ||
482 | |» » » }···········································································································································································| | ||
483 | |···············································································································································································| | ||
484 | |char·msg[200];·································································································································································| | ||
485 | |char*·header·=·msg;····························································································································································| | ||
486 | |» » » char*·p·=·&msg[6];··························································································································································| | ||
487 | |» » » int·const·len·=·bencode(p,·e);··············································································································································| | ||
488 | |» » » int·const·total_size·=·2·+·len·+·metadata_piece_size;·······················································································································| | ||
489 | |» » » namespace·io·=·aux;·························································································································································| | ||
490 | |» » » io::write_uint32(total_size,·header);·······································································································································| | ||
491 | |» » » io::write_uint8(bt_peer_connection::msg_extended,·header);··················································································································| | ||
492 | |» » » io::write_uint8(m_message_index,·header);···································································································································| | ||
493 | |···············································································································································································| | ||
494 | |_\x8» _\x8» _\x8» _\x8m_\x8__\x8p_\x8c_\x8._\x8s_\x8e_\x8n_\x8d_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8{_\x8m_\x8s_\x8g_\x8,_\x8·_\x8l_\x8e_\x8n_\x8·_\x8+_\x8·_\x86_\x8}_\x8)_\x8;_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
495 | |_\x8r_\x8e_\x8l_\x8e_\x8v_\x8a_\x8n_\x8c_\x8e_\x8 _\x83_\x8|_\x8._\x8._\x8/_\x8s_\x8r_\x8c_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8._\x8c_\x8p_\x8p_\x8:_\x84_\x81_\x88_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8w_\x8e_\x8·_\x8c_\x8o_\x8u_\x8l_\x8d_\x8·_\x8p_\x8r_\x8o_\x8b_\x8a_\x8b_\x8l_\x8y_\x8·_\x8g_\x8e_\x8t_\x8·_\x8a_\x8w_\x8a_\x8y_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8j_\x8u_\x8s_\x8t_\x8·_\x8s_\x8a_\x8v_\x8i_\x8n_\x8g_\x8·_\x8a_\x8·_\x8f_\x8e_\x8w_\x8·_\x8f_\x8i_\x8e_\x8l_\x8d_\x8s_\x8·_\x8h_\x8e_\x8r_\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
496 | |*\x8**\x8**\x8**\x8**\x8*·w\x8we\x8e·c\x8co\x8ou\x8ul\x8ld\x8d·p\x8pr\x8ro\x8ob\x8ba\x8ab\x8bl\x8ly\x8y·g\x8ge\x8et\x8t·a\x8aw\x8wa\x8ay\x8y·w\x8wi\x8it\x8th\x8h·j\x8ju\x8us\x8st\x8t·s\x8sa\x8av\x8vi\x8in\x8ng\x8g·a\x8a·f\x8fe\x8ew\x8w·f\x8fi\x8ie\x8el\x8ld\x8ds\x8s·h\x8he\x8er\x8re\x8e·*\x8**\x8**\x8**\x8**\x8*······································································································| | ||
463 | |*\x8**\x8**\x8*·.\x8..\x8./\x8/s\x8sr\x8rc\x8c/\x8/ | 497 | |*\x8**\x8**\x8*·.\x8..\x8./\x8/s\x8sr\x8rc\x8c/\x8/t.to.or.rr.re.en.nt.t...c.cp.pp.p:.:4.41.18.8·*.**.**.*·················································································································································| |
498 | |//·---·V2·HASHES·---···························································································································································| | ||
499 | |···············································································································································································| | ||
500 | |» » if·(m_torrent_file->is_valid()·&&·m_torrent_file->info_hashes().has_v2())····································································································| | ||
501 | |» » {············································································································································································| | ||
502 | |» » » if·(!p.merkle_trees.empty())················································································································································| | ||
503 | |» » » » load_merkle_trees(·························································································································································| | ||
504 | |» » » » » std::move(p.merkle_trees)·················································································································································| | ||
505 | |» » » » » ,·std::move(p.merkle_tree_mask)···········································································································································| | ||
464 | | | 506 | |» » » » » ,·std::move(p.verified_leaf_hashes));·····································································································································| |
507 | |···············································································································································································| | ||
508 | |» » » //·we·really·don't·want·to·store·extra·copies·of·the·trees··················································································································| | ||
509 | |» » » TORRENT_ASSERT(p.merkle_trees.empty());·····································································································································| | ||
510 | |» » }············································································································································································| | ||
511 | |···············································································································································································| | ||
512 | |» » if·(valid_metadata())························································································································································| | ||
513 | |» » {············································································································································································| | ||
514 | |» » » inc_stats_counter(counters::num_total_pieces_added··························································································································| | ||
515 | |» » » » ,·m_torrent_file->num_pieces());···········································································································································| | ||
516 | |» » }············································································································································································| | ||
517 | |···············································································································································································| | ||
518 | |m_add_torrent_params·=·std::make_unique<add_torrent_params>(std::move(p));·····································································································| | ||
519 | |}··············································································································································································| | ||
520 | |···············································································································································································| | ||
521 | |» void·torrent::load_merkle_trees(··············································································································································| | ||
522 | |» » aux::vector<std::vector<sha256_hash>,·file_index_t>·trees_import·············································································································| | ||
523 | |» » ,·aux::vector<std::vector<bool>,·file_index_t>·mask··························································································································| | ||
524 | |» » ,·aux::vector<std::vector<bool>,·file_index_t>·verified)·····················································································································| | ||
465 | |» {·············································································································································································| | 525 | |» {·············································································································································································| |
526 | |» » auto·const&·fs·=·m_torrent_file->orig_files();·······························································································································| | ||
527 | |···············································································································································································| | ||
528 | |» » std::vector<bool>·const·empty_verified;······································································································································| | ||
529 | |» » for·(file_index_t·i{0};·i·<·fs.end_file();·++i)······························································································································| | ||
530 | |» » {············································································································································································| | ||
531 | |» » » if·(fs.pad_file_at(i)·||·fs.file_size(i)·==·0)······························································································································| | ||
466 | | | 532 | |» » » » continue;··································································································································································| |
533 | |···············································································································································································| | ||
534 | |» » » if·(i·>=·trees_import.end_index())·break;···································································································································| | ||
535 | |» » » std::vector<bool>·const&·verified_bitmask·=·(i·>=·verified.end_index())·?·empty_verified·:·verified[i];·····································································| | ||
536 | |» » » if·(i·<·mask.end_index()·&&·!mask[i].empty())·······························································································································| | ||
537 | |» » » {···········································································································································································| | ||
467 | |» » | 538 | |» » » » mask[i].resize(m_merkle_trees[i].size(),·false);···························································································································| |
539 | |» » » » m_merkle_trees[i].load_sparse_tree(trees_import[i],·mask[i],·verified_bitmask);····························································································| | ||
540 | |» » » }···········································································································································································| | ||
468 | | | 541 | |» » » else········································································································································································| |
469 | |» » | 542 | |» » » {···········································································································································································| |
543 | |» » » » m_merkle_trees[i].load_tree(trees_import[i],·verified_bitmask);············································································································| | ||
544 | |» » » }···········································································································································································| | ||
545 | |» » }············································································································································································| | ||
546 | |» }·············································································································································································| | ||
547 | |···············································································································································································| | ||
548 | |_\x8» _\x8v_\x8o_\x8i_\x8d_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8:_\x8:_\x8i_\x8n_\x8c_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8(_\x8i_\x8n_\x8t_\x8·_\x8c_\x8,_\x8·_\x8i_\x8n_\x8t_\x8·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8)_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
549 | |_\x8r_\x8e_\x8l_\x8e_\x8v_\x8a_\x8n_\x8c_\x8e_\x8 _\x83_\x8|_\x8._\x8._\x8/_\x8s_\x8r_\x8c_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8._\x8c_\x8p_\x8p_\x8:_\x87_\x81_\x84_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8a_\x8s_\x8s_\x8e_\x8r_\x8t_\x8·_\x8t_\x8h_\x8e_\x8r_\x8e_\x8·_\x8a_\x8r_\x8e_\x8·_\x8n_\x8o_\x8·_\x8o_\x8u_\x8t_\x8s_\x8t_\x8a_\x8n_\x8d_\x8i_\x8n_\x8g_\x8·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8o_\x8n_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
550 | |*\x8**\x8**\x8**\x8**\x8*·a\x8as\x8ss\x8se\x8er\x8rt\x8t·t\x8th\x8he\x8er\x8re\x8e·a\x8ar\x8re\x8e·n\x8no\x8o·o\x8ou\x8ut\x8ts\x8st\x8ta\x8an\x8nd\x8di\x8in\x8ng\x8g·a\x8as\x8sy\x8yn\x8nc\x8c·o\x8op\x8pe\x8er\x8ra\x8at\x8ti\x8io\x8on\x8ns\x8s·o\x8on\x8n·t\x8th\x8hi\x8is\x8s·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*···································································································| | ||
551 | |*\x8**\x8**\x8*·.\x8..\x8./\x8/s\x8sr\x8rc\x8c/\x8/t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t.\x8.c\x8cp\x8pp\x8p:\x8:7\x871\x814\x84·*\x8**\x8**\x8*·················································································································································| | ||
470 | |#endif·········································································································································································| | 552 | |#endif·········································································································································································| |
553 | |···············································································································································································| | ||
554 | |» » if·(!m_ses.dht())·return·false;··············································································································································| | ||
555 | |» » if·(m_torrent_file->is_valid()·&&·!m_files_checked)·return·false;············································································································| | ||
556 | |» » if·(!m_announce_to_dht)·return·false;········································································································································| | ||
557 | |» » if·(m_paused)·return·false;··················································································································································| | ||
558 | |···············································································································································································| | ||
559 | |» » //·don't·announce·private·torrents···········································································································································| | ||
560 | |» » if·(m_torrent_file->is_valid()·&&·m_torrent_file->priv())·return·false;······································································································| | ||
561 | |» » if·(m_trackers.empty())·return·true;·········································································································································| | ||
562 | |» » if·(!settings().get_bool(settings_pack::use_dht_as_fallback))·return·true;···································································································| | ||
563 | |···············································································································································································| | ||
564 | |» » return·std::none_of(m_trackers.begin(),·m_trackers.end()·····················································································································| | ||
565 | |» » » ,·[](aux::announce_entry·const&·tr)·{·return·bool(tr.verified);·});·········································································································| | ||
471 | |» }·············································································································································································| | 566 | |» }·············································································································································································| |
472 | |···············································································································································································| | 567 | |···············································································································································································| |
473 | | | 568 | |#endif·········································································································································································| |
569 | |···············································································································································································| | ||
474 | |» | 570 | |» torrent::~torrent()···························································································································································| |
475 | |» {·············································································································································································| | 571 | |» {·············································································································································································| |
476 | |#ifndef·TORRENT_DISABLE_DHT····················································································································································| | ||
477 | |» » async_call(&session_impl::dht_get_mutable_item,·key,·salt);··················································································································| | ||
478 | | | 572 | |···············································································································································································| |
479 | | | 573 | |#if·TORRENT_USE_ASSERTS························································································································································| |
574 | |» » for·(torrent_list_index_t·i{};·i·!=·m_links.end_index();·++i)················································································································| | ||
480 | |» » | 575 | |» » {············································································································································································| |
576 | |» » » if·(!m_links[i].in_list())·continue;········································································································································| | ||
577 | |» » » m_links[i].unlink(m_ses.torrent_list(i),·i);································································································································| | ||
Max diff block lines reached; 3008675/3037233 bytes (99.06%) of diff not shown. |