Offset 1, 7 lines modified | Offset 1, 7 lines modified | ||
1 | ·85658556f3f4325be28d4a13aee8c5ee·365492·libdevel·optional·libtorrent-rasterbar-dev_2.0.10-1.1_amd64.deb | 1 | ·85658556f3f4325be28d4a13aee8c5ee·365492·libdevel·optional·libtorrent-rasterbar-dev_2.0.10-1.1_amd64.deb |
2 | · | 2 | ·7ee3227f35da7e50da6a95d8bcfd13ae·1668620·doc·optional·libtorrent-rasterbar-doc_2.0.10-1.1_all.deb |
3 | ·90b6bce22602c0fcdf351bc04a652127·51324096·debug·optional·libtorrent-rasterbar2.0t64-dbgsym_2.0.10-1.1_amd64.deb | 3 | ·90b6bce22602c0fcdf351bc04a652127·51324096·debug·optional·libtorrent-rasterbar2.0t64-dbgsym_2.0.10-1.1_amd64.deb |
4 | ·3d32f9ad30e9b964960dd25a82dad4f7·1665720·libs·optional·libtorrent-rasterbar2.0t64_2.0.10-1.1_amd64.deb | 4 | ·3d32f9ad30e9b964960dd25a82dad4f7·1665720·libs·optional·libtorrent-rasterbar2.0t64_2.0.10-1.1_amd64.deb |
5 | ·7097fc544b56e7d934eac8259048c852·13346124·debug·optional·python3-libtorrent-dbgsym_2.0.10-1.1_amd64.deb | 5 | ·7097fc544b56e7d934eac8259048c852·13346124·debug·optional·python3-libtorrent-dbgsym_2.0.10-1.1_amd64.deb |
6 | ·b5255d11342c72941064e16e29b19c23·706220·python·optional·python3-libtorrent_2.0.10-1.1_amd64.deb | 6 | ·b5255d11342c72941064e16e29b19c23·706220·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··1664800·2024-02-28·20:35:15.000000·data.tar.xz |
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)····46279·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)····46279·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)···144610·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)····2743 | 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)····889 | 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)····50884·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Custom_Storage.html | 89 | -rw-r--r--···0·root·········(0)·root·········(0)····50884·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)···101856·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)····56856·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)···1298 | 100 | -rw-r--r--···0·root·········(0)·root·········(0)···129808·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)····55640·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)····48266·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Torrent_Status.html | 102 | -rw-r--r--···0·root·········(0)·root·········(0)····48266·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)····16462·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)··12722 | 108 | -rw-r--r--···0·root·········(0)·root·········(0)··1272286·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 100, 30 lines modified | Offset 100, 30 lines modified | ||
100 | the·<tt·class="docutils·literal">session</tt>,·it·contains·the·main·loop·that·serves·all·torrents.</p> | 100 | the·<tt·class="docutils·literal">session</tt>,·it·contains·the·main·loop·that·serves·all·torrents.</p> |
101 | <p>The·basic·usage·is·as·follows:</p> | 101 | <p>The·basic·usage·is·as·follows:</p> |
102 | <ul> | 102 | <ul> |
103 | <li><p·class="first">construct·a·<a·class="reference·external"·href="reference-Session.html#session">session</a>,·possibly·passing·in·the·state·from·a·previous·<a·class="reference·external"·href="reference-Session.html#session">session</a>. | 103 | <li><p·class="first">construct·a·<a·class="reference·external"·href="reference-Session.html#session">session</a>,·possibly·passing·in·the·state·from·a·previous·<a·class="reference·external"·href="reference-Session.html#session">session</a>. |
104 | use·<a·class="reference·external"·href="reference-Session.html#read_session_params()">read_session_params()</a>·and·pass·in·the·resulting·<a·class="reference·external"·href="reference-Session.html#session_params">session_params</a>·object·to | 104 | use·<a·class="reference·external"·href="reference-Session.html#read_session_params()">read_session_params()</a>·and·pass·in·the·resulting·<a·class="reference·external"·href="reference-Session.html#session_params">session_params</a>·object·to |
105 | the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·constructor.</p> | 105 | the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·constructor.</p> |
106 | </li> | 106 | </li> |
107 | <li><p·class="first">start·extensions·(see·<a·class="reference·external"·href="reference- | 107 | <li><p·class="first">start·extensions·(see·<a·class="reference·external"·href="reference-Session.html#add_extension()">add_extension()</a>).</p> |
108 | </li> | 108 | </li> |
109 | <li><p·class="first">start·DHT,·LSD,·UPnP,·NAT-PMP·etc·(see·start_dht(),·start_lsd(),·start_upnp() | 109 | <li><p·class="first">start·DHT,·LSD,·UPnP,·NAT-PMP·etc·(see·start_dht(),·start_lsd(),·start_upnp() |
110 | and·start_natpmp()).</p> | 110 | and·start_natpmp()).</p> |
111 | </li> | 111 | </li> |
112 | <li><p·class="first">parse·.torrent-files·and·add·them·to·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·(see·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>, | 112 | <li><p·class="first">parse·.torrent-files·and·add·them·to·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·(see·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>, |
113 | <a·class="reference·external"·href="reference-Session.html#async_add_torrent()">async_add_torrent()</a>·and·<a·class="reference·external"·href="reference-Session.html#add_torrent()">add_torrent()</a>)</p> | 113 | <a·class="reference·external"·href="reference-Session.html#async_add_torrent()">async_add_torrent()</a>·and·<a·class="reference·external"·href="reference-Session.html#add_torrent()">add_torrent()</a>)</p> |
114 | </li> | 114 | </li> |
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-Custom_Storage.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 30, 15 lines modified | Offset 30, 15 lines modified | ||
30 | </table> | 30 | </table> |
31 | <p><a·class="reference·external"·href="reference.html">home</a></p> | 31 | <p><a·class="reference·external"·href="reference.html">home</a></p> |
32 | <div·class="contents·topic"·id="table-of-contents"> | 32 | <div·class="contents·topic"·id="table-of-contents"> |
33 | <p·class="topic-title">Table·of·contents</p> | 33 | <p·class="topic-title">Table·of·contents</p> |
34 | <ul·class="simple"> | 34 | <ul·class="simple"> |
35 | <li><a·class="reference·internal"·href="#client-data-t"·id="toc-entry-1">client_data_t</a><ul> | 35 | <li><a·class="reference·internal"·href="#client-data-t"·id="toc-entry-1">client_data_t</a><ul> |
36 | <li><a·class="reference·internal"·href="#client-data-t-1"·id="toc-entry-2">client_data_t()</a></li> | 36 | <li><a·class="reference·internal"·href="#client-data-t-1"·id="toc-entry-2">client_data_t()</a></li> |
37 | <li><a·class="reference·internal"·href="#operator | 37 | <li><a·class="reference·internal"·href="#const-operator-void"·id="toc-entry-3">const*()·operator=()·void*()</a></li> |
38 | </ul> | 38 | </ul> |
39 | </li> | 39 | </li> |
40 | <li><a·class="reference·internal"·href="#add-torrent-params"·id="toc-entry-4">add_torrent_params</a></li> | 40 | <li><a·class="reference·internal"·href="#add-torrent-params"·id="toc-entry-4">add_torrent_params</a></li> |
41 | </ul> | 41 | </ul> |
42 | </div> | 42 | </div> |
43 | <a·name="client_data_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+client_data_t&labels=documentation&body=Documentation+under+heading+%22class+client_data_t%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="client-data-t"> | 43 | <a·name="client_data_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+client_data_t&labels=documentation&body=Documentation+under+heading+%22class+client_data_t%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="client-data-t"> |
44 | <h1>client_data_t</h1> | 44 | <h1>client_data_t</h1> |
Offset 50, 38 lines modified | Offset 50, 38 lines modified | ||
50 | struct·client_data_t | 50 | struct·client_data_t |
51 | { | 51 | { |
52 | ···<strong>client_data_t</strong>·()·=·default; | 52 | ···<strong>client_data_t</strong>·()·=·default; |
53 | ···explicit·<strong>client_data_t</strong>·(T*·v); | 53 | ···explicit·<strong>client_data_t</strong>·(T*·v); |
54 | ···client_data_t&·<strong>operator=</strong>·(T*·v); | 54 | ···client_data_t&·<strong>operator=</strong>·(T*·v); |
55 | ···T*·<strong>get</strong>·()·const; | 55 | ···T*·<strong>get</strong>·()·const; |
56 | ···explicit·operator·<strong>T</strong>·()·const; | 56 | ···explicit·operator·<strong>T</strong>·()·const; |
57 | ···operator·<strong>void*</strong>·()·const·=·delete; | ||
58 | ···client_data_t&·<strong>operator=</strong>·(void*)·=·delete; | 57 | ···client_data_t&·<strong>operator=</strong>·(void*)·=·delete; |
59 | ···client_data_t&·<strong>operator=</strong>·(void·const*)·=·delete; | 58 | ···client_data_t&·<strong>operator=</strong>·(void·const*)·=·delete; |
60 | ···operator·void·<strong>const*</strong>·()·const·=·delete; | 59 | ···operator·void·<strong>const*</strong>·()·const·=·delete; |
60 | ···operator·<strong>void*</strong>·()·const·=·delete; | ||
61 | ···template·<typename·T,·typename·<strong>U</strong>··=·typename·std::enable_if<std::is_pointer<T>::value>::type> | 61 | ···template·<typename·T,·typename·<strong>U</strong>··=·typename·std::enable_if<std::is_pointer<T>::value>::type> |
62 | }; | 62 | }; |
63 | </pre> | 63 | </pre> |
64 | <a·name="client_data_t()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:client_data_t%3A%3A%5Bclient_data_t%28%29%5D&labels=documentation&body=Documentation+under+heading+%22client_data_t%3A%3A%5Bclient_data_t%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="client-data-t-1"> | 64 | <a·name="client_data_t()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:client_data_t%3A%3A%5Bclient_data_t%28%29%5D&labels=documentation&body=Documentation+under+heading+%22client_data_t%3A%3A%5Bclient_data_t%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="client-data-t-1"> |
65 | <h2>client_data_t()</h2> | 65 | <h2>client_data_t()</h2> |
66 | <pre·class="literal-block"> | 66 | <pre·class="literal-block"> |
67 | <strong>client_data_t</strong>·()·=·default; | 67 | <strong>client_data_t</strong>·()·=·default; |
68 | </pre> | 68 | </pre> |
69 | <p>construct·a·nullptr·client·data</p> | 69 | <p>construct·a·nullptr·client·data</p> |
70 | <a·name="operator=()"></a> | ||
71 | <a·name="const*()"></a> | 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%5B | 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="operator | 73 | <div·class="section"·id="const-operator-void"> |
74 | <h2> | 74 | <h2>const*()·operator=()·void*()</h2> |
75 | <pre·class="literal-block"> | 75 | <pre·class="literal-block"> |
76 | operator·<strong>void*</strong>·()·const·=·delete; | ||
77 | client_data_t&·<strong>operator=</strong>·(void*)·=·delete; | 76 | client_data_t&·<strong>operator=</strong>·(void*)·=·delete; |
78 | client_data_t&·<strong>operator=</strong>·(void·const*)·=·delete; | 77 | client_data_t&·<strong>operator=</strong>·(void·const*)·=·delete; |
79 | operator·void·<strong>const*</strong>·()·const·=·delete; | 78 | operator·void·<strong>const*</strong>·()·const·=·delete; |
79 | operator·<strong>void*</strong>·()·const·=·delete; | ||
80 | </pre> | 80 | </pre> |
81 | <p>we·don't·allow·type-unsafe·operations</p> | 81 | <p>we·don't·allow·type-unsafe·operations</p> |
82 | <a·name="add_torrent_params"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+add_torrent_params&labels=documentation&body=Documentation+under+heading+%22class+add_torrent_params%22+could+be+improved">report·issue</a>]</span></div> | 82 | <a·name="add_torrent_params"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+add_torrent_params&labels=documentation&body=Documentation+under+heading+%22class+add_torrent_params%22+could+be+improved">report·issue</a>]</span></div> |
83 | </div> | 83 | </div> |
84 | <div·class="section"·id="add-torrent-params"> | 84 | <div·class="section"·id="add-torrent-params"> |
85 | <h1>add_torrent_params</h1> | 85 | <h1>add_torrent_params</h1> |
86 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/add_torrent_params.hpp">libtorrent/add_torrent_params.hpp</a>"</p> | 86 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/add_torrent_params.hpp">libtorrent/add_torrent_params.hpp</a>"</p> |
Offset 1, 47 lines modified | Offset 1, 47 lines modified | ||
1 | > | 1 | > |
2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] | 2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] |
3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 | 3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 |
4 | _\x8h_\x8o_\x8m_\x8e | 4 | _\x8h_\x8o_\x8m_\x8e |
5 | Table·of·contents | 5 | Table·of·contents |
6 | ····*·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t | 6 | ····*·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t |
7 | ··········o·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8(_\x8) | 7 | ··········o·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8(_\x8) |
8 | ··········o·_\x8 | 8 | ··········o·_\x8c_.o_.n_.s_.t_.*_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_\x8(_\x8)_\x8·_\x8v_\x8o_\x8i_\x8d_\x8*_\x8(_\x8) |
9 | ····*·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s | 9 | ····*·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s |
10 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 10 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
11 | *\x8**\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* | 11 | *\x8**\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* |
12 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p" | 12 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p" |
13 | A·thin·wrapper·around·a·void·pointer·used·as·"user·data".·i.e.·an·opaque·cookie | 13 | A·thin·wrapper·around·a·void·pointer·used·as·"user·data".·i.e.·an·opaque·cookie |
14 | passed·in·to·libtorrent·and·returned·on·demand.·It·adds·type-safety·by | 14 | passed·in·to·libtorrent·and·returned·on·demand.·It·adds·type-safety·by |
15 | requiring·the·same·type·be·requested·out·of·it·as·was·assigned·to·it. | 15 | requiring·the·same·type·be·requested·out·of·it·as·was·assigned·to·it. |
16 | struct·client_data_t | 16 | struct·client_data_t |
17 | { | 17 | { |
18 | ···c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·()·=·default; | 18 | ···c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·()·=·default; |
19 | ···explicit·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·(T*·v); | 19 | ···explicit·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·(T*·v); |
20 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(T*·v); | 20 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(T*·v); |
21 | ···T*·g\x8ge\x8et\x8t·()·const; | 21 | ···T*·g\x8ge\x8et\x8t·()·const; |
22 | ···explicit·operator·T\x8T·()·const; | 22 | ···explicit·operator·T\x8T·()·const; |
23 | ···operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; | ||
24 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete; | 23 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete; |
25 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; | 24 | ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; |
26 | ···operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete; | 25 | ···operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete; |
26 | ···operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; | ||
27 | ···template·<typename·T,·typename·U\x8U··=·typename·std::enable_if<std:: | 27 | ···template·<typename·T,·typename·U\x8U··=·typename·std::enable_if<std:: |
28 | is_pointer<T>::value>::type> | 28 | is_pointer<T>::value>::type> |
29 | }; | 29 | }; |
30 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 30 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
31 | *\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 31 | *\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
32 | c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·()·=·default; | 32 | c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·()·=·default; |
33 | construct·a·nullptr·client·data | 33 | construct·a·nullptr·client·data |
34 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 34 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
35 | *\x8**\x8**\x8**\x8**\x8*· | 35 | *\x8**\x8**\x8**\x8**\x8*·c.co.on.ns.st.t*.*(.().)·o.op.pe.er.ra.at.to.or.r=.=(\x8()\x8)·v\x8vo\x8oi\x8id\x8d*\x8*(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
36 | operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; | ||
37 | client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete; | 36 | client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete; |
38 | client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; | 37 | client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; |
39 | operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete; | 38 | operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete; |
39 | operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; | ||
40 | we·don't·allow·type-unsafe·operations | 40 | we·don't·allow·type-unsafe·operations |
41 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 41 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
42 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·*\x8**\x8**\x8**\x8**\x8**\x8* | 42 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·*\x8**\x8**\x8**\x8**\x8**\x8* |
43 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8._\x8h_\x8p_\x8p" | 43 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8._\x8h_\x8p_\x8p" |
44 | The·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·contains·all·the·information·in·a·.torrent·file·along | 44 | The·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·contains·all·the·information·in·a·.torrent·file·along |
45 | with·all·information·necessary·to·add·that·torrent·to·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n.·The·key·fields | 45 | with·all·information·necessary·to·add·that·torrent·to·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n.·The·key·fields |
46 | when·adding·a·torrent·are: | 46 | when·adding·a·torrent·are: |
Offset 50, 15 lines modified | Offset 50, 15 lines modified | ||
50 | <li><a·class="reference·internal"·href="#tracker-url"·id="toc-entry-12">tracker_url()</a></li> | 50 | <li><a·class="reference·internal"·href="#tracker-url"·id="toc-entry-12">tracker_url()</a></li> |
51 | </ul> | 51 | </ul> |
52 | </li> | 52 | </li> |
53 | <li><a·class="reference·internal"·href="#torrent-removed-alert"·id="toc-entry-13">torrent_removed_alert</a></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> | 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> | 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-16">file_renamed_alert</a><ul> | 56 | <li><a·class="reference·internal"·href="#file-renamed-alert"·id="toc-entry-16">file_renamed_alert</a><ul> |
57 | <li><a·class="reference·internal"·href="# | 57 | <li><a·class="reference·internal"·href="#old-name-new-name"·id="toc-entry-17">old_name()·new_name()</a></li> |
58 | </ul> | 58 | </ul> |
59 | </li> | 59 | </li> |
60 | <li><a·class="reference·internal"·href="#file-rename-failed-alert"·id="toc-entry-18">file_rename_failed_alert</a></li> | 60 | <li><a·class="reference·internal"·href="#file-rename-failed-alert"·id="toc-entry-18">file_rename_failed_alert</a></li> |
61 | <li><a·class="reference·internal"·href="#performance-alert"·id="toc-entry-19">performance_alert</a><ul> | 61 | <li><a·class="reference·internal"·href="#performance-alert"·id="toc-entry-19">performance_alert</a><ul> |
62 | <li><a·class="reference·internal"·href="#enum-performance-warning-t"·id="toc-entry-20">enum·performance_warning_t</a></li> | 62 | <li><a·class="reference·internal"·href="#enum-performance-warning-t"·id="toc-entry-20">enum·performance_warning_t</a></li> |
63 | </ul> | 63 | </ul> |
64 | </li> | 64 | </li> |
Offset 199, 15 lines modified | Offset 199, 15 lines modified | ||
199 | </ul> | 199 | </ul> |
200 | </li> | 200 | </li> |
201 | <li><a·class="reference·internal"·href="#dht-get-peers-reply-alert"·id="toc-entry-117">dht_get_peers_reply_alert</a></li> | 201 | <li><a·class="reference·internal"·href="#dht-get-peers-reply-alert"·id="toc-entry-117">dht_get_peers_reply_alert</a></li> |
202 | <li><a·class="reference·internal"·href="#dht-direct-response-alert"·id="toc-entry-118">dht_direct_response_alert</a></li> | 202 | <li><a·class="reference·internal"·href="#dht-direct-response-alert"·id="toc-entry-118">dht_direct_response_alert</a></li> |
203 | <li><a·class="reference·internal"·href="#picker-log-alert"·id="toc-entry-119">picker_log_alert</a></li> | 203 | <li><a·class="reference·internal"·href="#picker-log-alert"·id="toc-entry-119">picker_log_alert</a></li> |
204 | <li><a·class="reference·internal"·href="#session-error-alert"·id="toc-entry-120">session_error_alert</a></li> | 204 | <li><a·class="reference·internal"·href="#session-error-alert"·id="toc-entry-120">session_error_alert</a></li> |
205 | <li><a·class="reference·internal"·href="#dht-live-nodes-alert"·id="toc-entry-121">dht_live_nodes_alert</a><ul> | 205 | <li><a·class="reference·internal"·href="#dht-live-nodes-alert"·id="toc-entry-121">dht_live_nodes_alert</a><ul> |
206 | <li><a·class="reference·internal"·href="#n | 206 | <li><a·class="reference·internal"·href="#nodes-num-nodes"·id="toc-entry-122">nodes()·num_nodes()</a></li> |
207 | </ul> | 207 | </ul> |
208 | </li> | 208 | </li> |
209 | <li><a·class="reference·internal"·href="#session-stats-header-alert"·id="toc-entry-123">session_stats_header_alert</a></li> | 209 | <li><a·class="reference·internal"·href="#session-stats-header-alert"·id="toc-entry-123">session_stats_header_alert</a></li> |
210 | <li><a·class="reference·internal"·href="#dht-sample-infohashes-alert"·id="toc-entry-124">dht_sample_infohashes_alert</a><ul> | 210 | <li><a·class="reference·internal"·href="#dht-sample-infohashes-alert"·id="toc-entry-124">dht_sample_infohashes_alert</a><ul> |
211 | <li><a·class="reference·internal"·href="#samples-num-samples"·id="toc-entry-125">samples()·num_samples()</a></li> | 211 | <li><a·class="reference·internal"·href="#samples-num-samples"·id="toc-entry-125">samples()·num_samples()</a></li> |
212 | <li><a·class="reference·internal"·href="#num-nodes"·id="toc-entry-126">num_nodes()</a></li> | 212 | <li><a·class="reference·internal"·href="#num-nodes"·id="toc-entry-126">num_nodes()</a></li> |
213 | <li><a·class="reference·internal"·href="#nodes"·id="toc-entry-127">nodes()</a></li> | 213 | <li><a·class="reference·internal"·href="#nodes"·id="toc-entry-127">nodes()</a></li> |
Offset 220, 16 lines modified | Offset 220, 16 lines modified | ||
220 | <li><a·class="reference·internal"·href="#oversized-file-alert"·id="toc-entry-132">oversized_file_alert</a></li> | 220 | <li><a·class="reference·internal"·href="#oversized-file-alert"·id="toc-entry-132">oversized_file_alert</a></li> |
221 | <li><a·class="reference·internal"·href="#torrent-conflict-alert"·id="toc-entry-133">torrent_conflict_alert</a></li> | 221 | <li><a·class="reference·internal"·href="#torrent-conflict-alert"·id="toc-entry-133">torrent_conflict_alert</a></li> |
222 | <li><a·class="reference·internal"·href="#peer-info-alert"·id="toc-entry-134">peer_info_alert</a></li> | 222 | <li><a·class="reference·internal"·href="#peer-info-alert"·id="toc-entry-134">peer_info_alert</a></li> |
223 | <li><a·class="reference·internal"·href="#file-progress-alert"·id="toc-entry-135">file_progress_alert</a></li> | 223 | <li><a·class="reference·internal"·href="#file-progress-alert"·id="toc-entry-135">file_progress_alert</a></li> |
224 | <li><a·class="reference·internal"·href="#piece-info-alert"·id="toc-entry-136">piece_info_alert</a></li> | 224 | <li><a·class="reference·internal"·href="#piece-info-alert"·id="toc-entry-136">piece_info_alert</a></li> |
225 | <li><a·class="reference·internal"·href="#piece-availability-alert"·id="toc-entry-137">piece_availability_alert</a></li> | 225 | <li><a·class="reference·internal"·href="#piece-availability-alert"·id="toc-entry-137">piece_availability_alert</a></li> |
226 | <li><a·class="reference·internal"·href="#tracker-list-alert"·id="toc-entry-138">tracker_list_alert</a></li> | 226 | <li><a·class="reference·internal"·href="#tracker-list-alert"·id="toc-entry-138">tracker_list_alert</a></li> |
227 | <li><a·class="reference·internal"·href="#alert-cast"·id="toc-entry-139">alert_cast()</a></li> | ||
227 | <li><a·class="reference·internal"·href="#operation-name"·id="toc-entry-1 | 228 | <li><a·class="reference·internal"·href="#operation-name"·id="toc-entry-140">operation_name()</a></li> |
228 | <li><a·class="reference·internal"·href="#alert-cast"·id="toc-entry-140">alert_cast()</a></li> | ||
229 | <li><a·class="reference·internal"·href="#enum-operation-t"·id="toc-entry-141">enum·operation_t</a></li> | 229 | <li><a·class="reference·internal"·href="#enum-operation-t"·id="toc-entry-141">enum·operation_t</a></li> |
230 | <li><a·class="reference·internal"·href="#alert-category-t"·id="toc-entry-142">alert_category_t</a></li> | 230 | <li><a·class="reference·internal"·href="#alert-category-t"·id="toc-entry-142">alert_category_t</a></li> |
231 | <li><a·class="reference·internal"·href="#int"·id="toc-entry-143">int</a></li> | 231 | <li><a·class="reference·internal"·href="#int"·id="toc-entry-143">int</a></li> |
232 | </ul> | 232 | </ul> |
233 | </div> | 233 | </div> |
234 | <p>The·<a·class="reference·external"·href="reference-Session.html#pop_alerts()">pop_alerts()</a>·function·on·<a·class="reference·external"·href="reference-Session.html#session">session</a>·is·the·main·interface·for·retrieving | 234 | <p>The·<a·class="reference·external"·href="reference-Session.html#pop_alerts()">pop_alerts()</a>·function·on·<a·class="reference·external"·href="reference-Session.html#session">session</a>·is·the·main·interface·for·retrieving |
235 | alerts·(warnings,·messages·and·errors·from·libtorrent).·If·no·alerts·have | 235 | alerts·(warnings,·messages·and·errors·from·libtorrent).·If·no·alerts·have |
Offset 544, 27 lines modified | Offset 544, 27 lines modified | ||
544 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/alert_types.hpp">libtorrent/alert_types.hpp</a>"</p> | 544 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/alert_types.hpp">libtorrent/alert_types.hpp</a>"</p> |
545 | <p>This·is·posted·as·a·response·to·a·<a·class="reference·external"·href="reference-Torrent_Handle.html#rename_file()">torrent_handle::rename_file()</a>·call,·if·the·rename | 545 | <p>This·is·posted·as·a·response·to·a·<a·class="reference·external"·href="reference-Torrent_Handle.html#rename_file()">torrent_handle::rename_file()</a>·call,·if·the·rename |
546 | operation·succeeds.</p> | 546 | operation·succeeds.</p> |
547 | <pre·class="literal-block"> | 547 | <pre·class="literal-block"> |
548 | struct·file_renamed_alert·final·:·torrent_alert | 548 | struct·file_renamed_alert·final·:·torrent_alert |
549 | { | 549 | { |
550 | ···std::string·<strong>message</strong>·()·const·override; | 550 | ···std::string·<strong>message</strong>·()·const·override; |
551 | ···char·const*·<strong>old_name</strong>·()·const; | ||
552 | ···char·const*·<strong>new_name</strong>·()·const; | 551 | ···char·const*·<strong>new_name</strong>·()·const; |
552 | ···char·const*·<strong>old_name</strong>·()·const; | ||
553 | ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::storage; | 553 | ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::storage; |
554 | ···file_index_t·const·index; | 554 | ···file_index_t·const·index; |
555 | }; | 555 | }; |
556 | </pre> | 556 | </pre> |
557 | <a·name=" | 557 | <a·name="old_name()"></a> |
558 | <a·name=" | 558 | <a·name="new_name()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:file_renamed_alert%3A%3A%5Bold_name%28%29+new_name%28%29%5D&labels=documentation&body=Documentation+under+heading+%22file_renamed_alert%3A%3A%5Bo[·...·truncated·by·diffoscope;·len:·115,·SHA:·72da25389de135e3f51a83f0cc6caaa34d6efcd577f35b0f4e8bfdffb5229c12·...·]-name"> |
559 | <h2> | 559 | <h2>old_name()·new_name()</h2> |
560 | <pre·class="literal-block"> | 560 | <pre·class="literal-block"> |
561 | char·const*·<strong>old_name</strong>·()·const; | ||
562 | char·const*·<strong>new_name</strong>·()·const; | 561 | char·const*·<strong>new_name</strong>·()·const; |
562 | char·const*·<strong>old_name</strong>·()·const; | ||
563 | </pre> | 563 | </pre> |
564 | <p>returns·the·new·and·previous·file·name,·respectively.</p> | 564 | <p>returns·the·new·and·previous·file·name,·respectively.</p> |
565 | <a·name="index"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:file_renamed_alert%3A%3A%5Bindex%5D&labels=documentation&body=Documentation+under+heading+%22file_renamed_alert%3A%3A%5Bindex%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | 565 | <a·name="index"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:file_renamed_alert%3A%3A%5Bindex%5D&labels=documentation&body=Documentation+under+heading+%22file_renamed_alert%3A%3A%5Bindex%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> |
566 | <dt>index</dt> | 566 | <dt>index</dt> |
567 | <dd>refers·to·the·index·of·the·file·that·was·renamed,</dd> | 567 | <dd>refers·to·the·index·of·the·file·that·was·renamed,</dd> |
568 | </dl> | 568 | </dl> |
569 | <a·name="file_rename_failed_alert"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+file_rename_failed_alert&labels=documentation&body=Documentation+under+heading+%22class+file_rename_failed_alert%22+could+be+improved">report·issue</a>]</span></div> | 569 | <a·name="file_rename_failed_alert"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+file_rename_failed_alert&labels=documentation&body=Documentation+under+heading+%22class+file_rename_failed_alert%22+could+be+improved">report·issue</a>]</span></div> |
Offset 1287, 26 lines modified | Offset 1287, 26 lines modified | ||
1287 | <tt·class="docutils·literal"><span·class="pre">torrent_handle::move_storage</span></tt>.·This·is·useful·to·synchronize·with·the | 1287 | <tt·class="docutils·literal"><span·class="pre">torrent_handle::move_storage</span></tt>.·This·is·useful·to·synchronize·with·the |
1288 | actual·disk.·The·<tt·class="docutils·literal">storage_path()</tt>·member·return·the·new·path·of·the | 1288 | actual·disk.·The·<tt·class="docutils·literal">storage_path()</tt>·member·return·the·new·path·of·the |
1289 | storage.</p> | 1289 | storage.</p> |
1290 | <pre·class="literal-block"> | 1290 | <pre·class="literal-block"> |
1291 | struct·storage_moved_alert·final·:·torrent_alert | 1291 | struct·storage_moved_alert·final·:·torrent_alert |
1292 | { | 1292 | { |
1293 | ···std::string·<strong>message</strong>·()·const·override; | 1293 | ···std::string·<strong>message</strong>·()·const·override; |
1294 | ···char·const*·<strong>storage_path</strong>·()·const; | ||
1295 | ···char·const*·<strong>old_path</strong>·()·const; | 1294 | ···char·const*·<strong>old_path</strong>·()·const; |
1295 | ···char·const*·<strong>storage_path</strong>·()·const; | ||
1296 | ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::storage; | 1296 | ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::storage; |
1297 | }; | 1297 | }; |
1298 | </pre> | 1298 | </pre> |
1299 | <a·name="old_path()"></a> | 1299 | <a·name="old_path()"></a> |
1300 | <a·name="storage_path()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:storage_moved_alert%3A%3A%5Bold_path%28%29+storage_path%28%29%5D&labels=documentation&body=Documentation+under+heading+%22storage_moved_alert%3A%3A%5Bold_path%28%29+storage_path%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="old-path-storage-path"> | 1300 | <a·name="storage_path()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:storage_moved_alert%3A%3A%5Bold_path%28%29+storage_path%28%29%5D&labels=documentation&body=Documentation+under+heading+%22storage_moved_alert%3A%3A%5Bold_path%28%29+storage_path%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="old-path-storage-path"> |
1301 | <h2>old_path()·storage_path()</h2> | 1301 | <h2>old_path()·storage_path()</h2> |
1302 | <pre·class="literal-block"> | 1302 | <pre·class="literal-block"> |
1303 | char·const*·<strong>storage_path</strong>·()·const; | ||
1304 | char·const*·<strong>old_path</strong>·()·const; | 1303 | char·const*·<strong>old_path</strong>·()·const; |
1304 | char·const*·<strong>storage_path</strong>·()·const; | ||
1305 | </pre> | 1305 | </pre> |
1306 | <p>the·path·the·torrent·was·moved·to·and·from,·respectively.</p> | 1306 | <p>the·path·the·torrent·was·moved·to·and·from,·respectively.</p> |
1307 | <a·name="storage_moved_failed_alert"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+storage_moved_failed_alert&labels=documentation&body=Documentation+under+heading+%22class+storage_moved_failed_alert%22+could+be+improved">report·issue</a>]</span></div> | 1307 | <a·name="storage_moved_failed_alert"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+storage_moved_failed_alert&labels=documentation&body=Documentation+under+heading+%22class+storage_moved_failed_alert%22+could+be+improved">report·issue</a>]</span></div> |
1308 | </div> | 1308 | </div> |
1309 | <div·class="section"·id="storage-moved-failed-alert"> | 1309 | <div·class="section"·id="storage-moved-failed-alert"> |
1310 | <h1>storage_moved_failed_alert</h1> | 1310 | <h1>storage_moved_failed_alert</h1> |
1311 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/alert_types.hpp">libtorrent/alert_types.hpp</a>"</p> | 1311 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/alert_types.hpp">libtorrent/alert_types.hpp</a>"</p> |
Offset 2951, 17 lines modified | Offset 2951, 17 lines modified | ||
2951 | ···std::vector<std::pair<sha1_hash,·udp::endpoint>>·<strong>nodes</strong>·()·const; | 2951 | ···std::vector<std::pair<sha1_hash,·udp::endpoint>>·<strong>nodes</strong>·()·const; |
2952 | ···int·<strong>num_nodes</strong>·()·const; | 2952 | ···int·<strong>num_nodes</strong>·()·const; |
2953 | ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::dht; | 2953 | ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::dht; |
2954 | ···sha1_hash·node_id; | 2954 | ···sha1_hash·node_id; |
2955 | }; | 2955 | }; |
2956 | </pre> | 2956 | </pre> |
2957 | <a·name="n | 2957 | <a·name="nodes()"></a> |
2958 | <a·name="nodes()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_live_nodes_alert%3A%3A%5B | 2958 | <a·name="num_nodes()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_live_nodes_alert%3A%3A%5Bnodes%28%29+num_nodes%28%29%5D&labels=documentation&body=Documentation+under+heading+%22dht_live_nodes_alert%3A%3A%5[·...·truncated·by·diffoscope;·len:·112,·SHA:·3a1ead096c1b6f4d8c08f8cebbc1cb82e60a0d0d4f8869de2f6db1b5ac5dcca1·...·]-nodes"> |
2959 | <h2>n | 2959 | <h2>nodes()·num_nodes()</h2> |
2960 | <pre·class="literal-block"> | 2960 | <pre·class="literal-block"> |
2961 | std::vector<std::pair<sha1_hash,·udp::endpoint>>·<strong>nodes</strong>·()·const; | 2961 | std::vector<std::pair<sha1_hash,·udp::endpoint>>·<strong>nodes</strong>·()·const; |
2962 | int·<strong>num_nodes</strong>·()·const; | 2962 | int·<strong>num_nodes</strong>·()·const; |
2963 | </pre> | 2963 | </pre> |
2964 | <p>the·number·of·nodes·in·the·routing·table·and·the·actual·nodes.</p> | 2964 | <p>the·number·of·nodes·in·the·routing·table·and·the·actual·nodes.</p> |
2965 | <a·name="node_id"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_live_nodes_alert%3A%3A%5Bnode_id%5D&labels=documentation&body=Documentation+under+heading+%22dht_live_nodes_alert%3A%3A%5Bnode_id%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | 2965 | <a·name="node_id"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_live_nodes_alert%3A%3A%5Bnode_id%5D&labels=documentation&body=Documentation+under+heading+%22dht_live_nodes_alert%3A%3A%5Bnode_id%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> |
2966 | <dt>node_id</dt> | 2966 | <dt>node_id</dt> |
Offset 3294, 38 lines modified | Offset 3294, 38 lines modified | ||
Max diff block lines reached; 4261/15006 bytes (28.40%) of diff not shown. |
Offset 15, 15 lines modified | Offset 15, 15 lines modified | ||
15 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 15 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
16 | ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 16 | ····*·_\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) | 17 | ··········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 | 18 | ····*·_\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 | 19 | ····*·_\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 | 20 | ····*·_\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 | 21 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
22 | ··········o·_\x8 | 22 | ··········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 | 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 |
24 | ····*·_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 24 | ····*·_\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 | 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 |
26 | ····*·_\x8s_\x8t_\x8a_\x8t_\x8e_\x8__\x8c_\x8h_\x8a_\x8n_\x8g_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 26 | ····*·_\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 | 27 | ····*·_\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) | 28 | ··········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 | 29 | ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8w_\x8a_\x8r_\x8n_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
Offset 120, 15 lines modified | Offset 120, 15 lines modified | ||
120 | ··········o·_\x8p_\x8k_\x8t_\x8__\x8b_\x8u_\x8f_\x8(_\x8) | 120 | ··········o·_\x8p_\x8k_\x8t_\x8__\x8b_\x8u_\x8f_\x8(_\x8) |
121 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t | 121 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t |
122 | ····*·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8__\x8r_\x8e_\x8p_\x8l_\x8y_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 122 | ····*·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8__\x8r_\x8e_\x8p_\x8l_\x8y_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
123 | ····*·_\x8d_\x8h_\x8t_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8__\x8r_\x8e_\x8s_\x8p_\x8o_\x8n_\x8s_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 123 | ····*·_\x8d_\x8h_\x8t_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8__\x8r_\x8e_\x8s_\x8p_\x8o_\x8n_\x8s_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
124 | ····*·_\x8p_\x8i_\x8c_\x8k_\x8e_\x8r_\x8__\x8l_\x8o_\x8g_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 124 | ····*·_\x8p_\x8i_\x8c_\x8k_\x8e_\x8r_\x8__\x8l_\x8o_\x8g_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
125 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 125 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
126 | ····*·_\x8d_\x8h_\x8t_\x8__\x8l_\x8i_\x8v_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 126 | ····*·_\x8d_\x8h_\x8t_\x8__\x8l_\x8i_\x8v_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
127 | ··········o·_\x8n_\x8 | 127 | ··········o·_\x8n_\x8o_.d_.e_.s_.(_.)_.·_.n_.u_.m_.__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) |
128 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8h_\x8e_\x8a_\x8d_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 128 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8h_\x8e_\x8a_\x8d_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
129 | ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 129 | ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
130 | ··········o·_\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8n_\x8u_\x8m_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s_\x8(_\x8) | 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) |
131 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) | 131 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) |
132 | ··········o·_\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) | 132 | ··········o·_\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) |
133 | ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 133 | ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
134 | ····*·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8__\x8d_\x8r_\x8o_\x8p_\x8p_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 134 | ····*·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8__\x8d_\x8r_\x8o_\x8p_\x8p_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t |
Offset 137, 16 lines modified | Offset 137, 16 lines modified | ||
137 | ····*·_\x8o_\x8v_\x8e_\x8r_\x8s_\x8i_\x8z_\x8e_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t | 137 | ····*·_\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 | 138 | ····*·_\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 | 139 | ····*·_\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 | 140 | ····*·_\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 | 141 | ····*·_\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 | 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 |
143 | ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8l_\x8i_\x8s_\x8t_\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 |
144 | ····*·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8) | ||
145 | ····*·_\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) | ||
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 | 147 | ····*·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8__\x8t |
148 | ····*·_\x8i_\x8n_\x8t | 148 | ····*·_\x8i_\x8n_\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 |
Offset 400, 25 lines modified | Offset 400, 25 lines modified | ||
400 | *\x8**\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8il\x8le\x8e_\x8_r\x8re\x8en\x8na\x8am\x8me\x8ed\x8d_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* | 400 | *\x8**\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8il\x8le\x8e_\x8_r\x8re\x8en\x8na\x8am\x8me\x8ed\x8d_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* |
401 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p" | 401 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p" |
402 | This·is·posted·as·a·response·to·a·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8:_\x8:_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)·call,·if·the | 402 | This·is·posted·as·a·response·to·a·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8:_\x8:_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)·call,·if·the |
403 | rename·operation·succeeds. | 403 | rename·operation·succeeds. |
404 | struct·file_renamed_alert·final·:·torrent_alert | 404 | struct·file_renamed_alert·final·:·torrent_alert |
405 | { | 405 | { |
406 | ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override; | 406 | ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override; |
407 | ···char·const*·o\x8ol\x8ld\x8d_\x8_n\x8na\x8am\x8me\x8e·()·const; | ||
408 | ···char·const*·n\x8ne\x8ew\x8w_\x8_n\x8na\x8am\x8me\x8e·()·const; | 407 | ···char·const*·n\x8ne\x8ew\x8w_\x8_n\x8na\x8am\x8me\x8e·()·const; |
408 | ···char·const*·o\x8ol\x8ld\x8d_\x8_n\x8na\x8am\x8me\x8e·()·const; | ||
409 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category:: | 409 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category:: |
410 | storage; | 410 | storage; |
411 | ···file_index_t·const·index; | 411 | ···file_index_t·const·index; |
412 | }; | 412 | }; |
413 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 413 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
414 | *\x8**\x8**\x8**\x8**\x8*· | 414 | *\x8**\x8**\x8**\x8**\x8*·o.ol.ld.d_._n.na.am.me.e(.().)·n.ne.ew.w_\x8_n\x8na\x8am\x8me\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
415 | char·const*·o\x8ol\x8ld\x8d_\x8_n\x8na\x8am\x8me\x8e·()·const; | ||
416 | char·const*·n\x8ne\x8ew\x8w_\x8_n\x8na\x8am\x8me\x8e·()·const; | 415 | char·const*·n\x8ne\x8ew\x8w_\x8_n\x8na\x8am\x8me\x8e·()·const; |
416 | char·const*·o\x8ol\x8ld\x8d_\x8_n\x8na\x8am\x8me\x8e·()·const; | ||
417 | returns·the·new·and·previous·file·name,·respectively. | 417 | returns·the·new·and·previous·file·name,·respectively. |
418 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 418 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
419 | ··index | 419 | ··index |
420 | ······refers·to·the·index·of·the·file·that·was·renamed, | 420 | ······refers·to·the·index·of·the·file·that·was·renamed, |
421 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 421 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
422 | *\x8**\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8il\x8le\x8e_\x8_r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* | 422 | *\x8**\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8il\x8le\x8e_\x8_r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* |
423 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p" | 423 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p" |
Offset 1035, 24 lines modified | Offset 1035, 24 lines modified | ||
1035 | The·storage_moved_alert·is·generated·when·all·the·disk·IO·has·completed·and·the | 1035 | The·storage_moved_alert·is·generated·when·all·the·disk·IO·has·completed·and·the |
1036 | files·have·been·moved,·as·an·effect·of·a·call·to·torrent_handle::move_storage. | 1036 | files·have·been·moved,·as·an·effect·of·a·call·to·torrent_handle::move_storage. |
1037 | This·is·useful·to·synchronize·with·the·actual·disk.·The·storage_path()·member | 1037 | This·is·useful·to·synchronize·with·the·actual·disk.·The·storage_path()·member |
1038 | return·the·new·path·of·the·storage. | 1038 | return·the·new·path·of·the·storage. |
1039 | struct·storage_moved_alert·final·:·torrent_alert | 1039 | struct·storage_moved_alert·final·:·torrent_alert |
1040 | { | 1040 | { |
1041 | ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override; | 1041 | ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override; |
1042 | ···char·const*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h·()·const; | ||
1043 | ···char·const*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h·()·const; | 1042 | ···char·const*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h·()·const; |
1043 | ···char·const*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h·()·const; | ||
1044 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category:: | 1044 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category:: |
1045 | storage; | 1045 | storage; |
1046 | }; | 1046 | }; |
1047 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1047 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1048 | *\x8**\x8**\x8**\x8**\x8*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h(\x8()\x8)·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 1048 | *\x8**\x8**\x8**\x8**\x8*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h(\x8()\x8)·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
1049 | char·const*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h·()·const; | ||
1050 | char·const*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h·()·const; | 1049 | char·const*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h·()·const; |
1050 | char·const*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h·()·const; | ||
1051 | the·path·the·torrent·was·moved·to·and·from,·respectively. | 1051 | the·path·the·torrent·was·moved·to·and·from,·respectively. |
1052 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1052 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1053 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_m\x8mo\x8ov\x8ve\x8ed\x8d_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* | 1053 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_m\x8mo\x8ov\x8ve\x8ed\x8d_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* |
1054 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p" | 1054 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p" |
1055 | The·storage_moved_failed_alert·is·generated·when·an·attempt·to·move·the | 1055 | The·storage_moved_failed_alert·is·generated·when·an·attempt·to·move·the |
1056 | storage,·via·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8:_\x8:_\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8),·fails. | 1056 | storage,·via·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8:_\x8:_\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8),·fails. |
1057 | struct·storage_moved_failed_alert·final·:·torrent_alert | 1057 | struct·storage_moved_failed_alert·final·:·torrent_alert |
Offset 2295, 15 lines modified | Offset 2295, 15 lines modified | ||
2295 | ···std::vector<std::pair<sha1_hash,·udp::endpoint>>·n\x8no\x8od\x8de\x8es\x8s·()·const; | 2295 | ···std::vector<std::pair<sha1_hash,·udp::endpoint>>·n\x8no\x8od\x8de\x8es\x8s·()·const; |
2296 | ···int·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s·()·const; | 2296 | ···int·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s·()·const; |
2297 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category::dht; | 2297 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category::dht; |
2298 | ···sha1_hash·node_id; | 2298 | ···sha1_hash·node_id; |
2299 | }; | 2299 | }; |
2300 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 2300 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
2301 | *\x8**\x8**\x8**\x8**\x8*·n\x8n | 2301 | *\x8**\x8**\x8**\x8**\x8*·n\x8no.od.de.es.s(.().)·n.nu.um.m_._n\x8no\x8od\x8de\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
2302 | std::vector<std::pair<sha1_hash,·udp::endpoint>>·n\x8no\x8od\x8de\x8es\x8s·()·const; | 2302 | std::vector<std::pair<sha1_hash,·udp::endpoint>>·n\x8no\x8od\x8de\x8es\x8s·()·const; |
2303 | int·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s·()·const; | 2303 | int·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s·()·const; |
2304 | the·number·of·nodes·in·the·routing·table·and·the·actual·nodes. | 2304 | the·number·of·nodes·in·the·routing·table·and·the·actual·nodes. |
2305 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 2305 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
2306 | ··node_id | 2306 | ··node_id |
2307 | ······the·local·DHT·node's·node-ID·this·routing·table·belongs·to | 2307 | ······the·local·DHT·node's·node-ID·this·routing·table·belongs·to |
2308 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 2308 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
Offset 2572, 29 lines modified | Offset 2572, 29 lines modified | ||
2572 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category::status; | 2572 | ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category::status; |
2573 | ···std::vector<announce_entry>·trackers; | 2573 | ···std::vector<announce_entry>·trackers; |
2574 | }; | 2574 | }; |
2575 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 2575 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
2576 | ··trackers | 2576 | ··trackers |
2577 | ······list·of·trackers·and·their·status·for·the·torrent | 2577 | ······list·of·trackers·and·their·status·for·the·torrent |
Max diff block lines reached; 2791/10444 bytes (26.72%) of diff not shown. |
Offset 35, 18 lines modified | Offset 35, 18 lines modified | ||
35 | <li><a·class="reference·internal"·href="#bdecode-node"·id="toc-entry-1">bdecode_node</a><ul> | 35 | <li><a·class="reference·internal"·href="#bdecode-node"·id="toc-entry-1">bdecode_node</a><ul> |
36 | <li><a·class="reference·internal"·href="#bdecode-node-1"·id="toc-entry-2">bdecode_node()</a></li> | 36 | <li><a·class="reference·internal"·href="#bdecode-node-1"·id="toc-entry-2">bdecode_node()</a></li> |
37 | <li><a·class="reference·internal"·href="#operator-bdecode-node"·id="toc-entry-3">operator=()·bdecode_node()</a></li> | 37 | <li><a·class="reference·internal"·href="#operator-bdecode-node"·id="toc-entry-3">operator=()·bdecode_node()</a></li> |
38 | <li><a·class="reference·internal"·href="#type"·id="toc-entry-4">type()</a></li> | 38 | <li><a·class="reference·internal"·href="#type"·id="toc-entry-4">type()</a></li> |
39 | <li><a·class="reference·internal"·href="#bool"·id="toc-entry-5">bool()</a></li> | 39 | <li><a·class="reference·internal"·href="#bool"·id="toc-entry-5">bool()</a></li> |
40 | <li><a·class="reference·internal"·href="#non-owning"·id="toc-entry-6">non_owning()</a></li> | 40 | <li><a·class="reference·internal"·href="#non-owning"·id="toc-entry-6">non_owning()</a></li> |
41 | <li><a·class="reference·internal"·href="#data-offset-data-section"·id="toc-entry-7">data_offset()·data_section()</a></li> | 41 | <li><a·class="reference·internal"·href="#data-offset-data-section"·id="toc-entry-7">data_offset()·data_section()</a></li> |
42 | <li><a·class="reference·internal"·href="#list- | 42 | <li><a·class="reference·internal"·href="#list-int-value-at-list-string-value-at-list-at-list-size"·id="toc-entry-8">list_int_value_at()·list_string_value_at()·list_at()·list_size()</a></li> |
43 | <li><a·class="reference·internal"·href="#dict-find- | 43 | <li><a·class="reference·internal"·href="#dict-find-int-value-dict-find-list-dict-find-dict-at-dict-find-dict-dict-find-int-dict-find-string-dict-at-node-dict-find-string-value-dict-size"·id="toc-entry-9">dict_find_int_value()·dict_find_list()·dict_find()·dict_at()·dict_find_dict()·dict_find_int()·dict_find[·...·truncated·by·diffoscope;·len:·59,·SHA:·a576d4969f1ddd44caba8182aa597a18428946e4ec22ddaababd78c477b015da·...·]()</a></li> |
44 | <li><a·class="reference·internal"·href="#int-value"·id="toc-entry-10">int_value()</a></li> | 44 | <li><a·class="reference·internal"·href="#int-value"·id="toc-entry-10">int_value()</a></li> |
45 | <li><a·class="reference·internal"·href="#string- | 45 | <li><a·class="reference·internal"·href="#string-value-string-offset-string-ptr-string-length"·id="toc-entry-11">string_value()·string_offset()·string_ptr()·string_length()</a></li> |
46 | <li><a·class="reference·internal"·href="#clear"·id="toc-entry-12">clear()</a></li> | 46 | <li><a·class="reference·internal"·href="#clear"·id="toc-entry-12">clear()</a></li> |
47 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-13">swap()</a></li> | 47 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-13">swap()</a></li> |
48 | <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-14">reserve()</a></li> | 48 | <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-14">reserve()</a></li> |
49 | <li><a·class="reference·internal"·href="#switch-underlying-buffer"·id="toc-entry-15">switch_underlying_buffer()</a></li> | 49 | <li><a·class="reference·internal"·href="#switch-underlying-buffer"·id="toc-entry-15">switch_underlying_buffer()</a></li> |
50 | <li><a·class="reference·internal"·href="#has-soft-error"·id="toc-entry-16">has_soft_error()</a></li> | 50 | <li><a·class="reference·internal"·href="#has-soft-error"·id="toc-entry-16">has_soft_error()</a></li> |
51 | <li><a·class="reference·internal"·href="#enum-type-t"·id="toc-entry-17">enum·type_t</a></li> | 51 | <li><a·class="reference·internal"·href="#enum-type-t"·id="toc-entry-17">enum·type_t</a></li> |
52 | </ul> | 52 | </ul> |
Offset 62, 46 lines modified | Offset 62, 46 lines modified | ||
62 | to·be·able·to·copy·it·as·a·reference·for·instance).·For·that,·use·the | 62 | to·be·able·to·copy·it·as·a·reference·for·instance).·For·that,·use·the |
63 | <a·class="reference·external"·href="reference-Bdecoding.html#non_owning()">non_owning()</a>·member·function.</p> | 63 | <a·class="reference·external"·href="reference-Bdecoding.html#non_owning()">non_owning()</a>·member·function.</p> |
64 | <p>There·are·5·different·types·of·nodes,·see·<a·class="reference·external"·href="reference-Bdecoding.html#type_t">type_t</a>.</p> | 64 | <p>There·are·5·different·types·of·nodes,·see·<a·class="reference·external"·href="reference-Bdecoding.html#type_t">type_t</a>.</p> |
65 | <pre·class="literal-block"> | 65 | <pre·class="literal-block"> |
66 | struct·bdecode_node | 66 | struct·bdecode_node |
67 | { | 67 | { |
68 | ···<strong>bdecode_node</strong>·()·=·default; | 68 | ···<strong>bdecode_node</strong>·()·=·default; |
69 | ···<strong>bdecode_node</strong>·(bdecode_node&&)·noexcept; | ||
69 | ···bdecode_node&·<strong>operator=</strong>·(bdecode_node&&)·&·=·default; | 70 | ···bdecode_node&·<strong>operator=</strong>·(bdecode_node&&)·&·=·default; |
70 | ···<strong>bdecode_node</strong>·(bdecode_node·const&); | ||
71 | ···bdecode_node&·<strong>operator=</strong>·(bdecode_node·const&)·&; | 71 | ···bdecode_node&·<strong>operator=</strong>·(bdecode_node·const&)·&; |
72 | ···<strong>bdecode_node</strong>·(bdecode_node | 72 | ···<strong>bdecode_node</strong>·(bdecode_node·const&); |
73 | ···type_t·<strong>type</strong>·()·const·noexcept; | 73 | ···type_t·<strong>type</strong>·()·const·noexcept; |
74 | ···explicit·operator·<strong>bool</strong>·()·const·noexcept; | 74 | ···explicit·operator·<strong>bool</strong>·()·const·noexcept; |
75 | ···bdecode_node·<strong>non_owning</strong>·()·const; | 75 | ···bdecode_node·<strong>non_owning</strong>·()·const; |
76 | ···span<char·const>·<strong>data_section</strong>·()·const·noexcept; | ||
77 | ···std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept; | 76 | ···std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept; |
77 | ···span<char·const>·<strong>data_section</strong>·()·const·noexcept; | ||
78 | ···int·<strong>list_size</strong>·()·const; | 78 | ···int·<strong>list_size</strong>·()·const; |
79 | ···bdecode_node·<strong>list_at</strong>·(int·i)·const; | 79 | ···bdecode_node·<strong>list_at</strong>·(int·i)·const; |
80 | ···string_view·<strong>list_string_value_at</strong>·(int·i | 80 | ···string_view·<strong>list_string_value_at</strong>·(int·i |
81 | ······,·string_view·default_val·=·string_view())·const; | 81 | ······,·string_view·default_val·=·string_view())·const; |
82 | ···std::int64_t·<strong>list_int_value_at</strong>·(int·i | 82 | ···std::int64_t·<strong>list_int_value_at</strong>·(int·i |
83 | ······,·std::int64_t·default_val·=·0)·const; | 83 | ······,·std::int64_t·default_val·=·0)·const; |
84 | ···bdecode_node·<strong>dict_find_list</strong>·(string_view·key)·const; | ||
85 | ···bdecode_node·<strong>dict_find</strong>·(string_view·key)·const; | ||
86 | ···std::int64_t·<strong>dict_find_int_value</strong>·(string_view·key | ||
87 | ······,·std::int64_t·default_val·=·0)·const; | ||
84 | ···bdecode_node·<strong>dict_find_dict</strong>·(string_view·key)·const; | 88 | ···bdecode_node·<strong>dict_find_dict</strong>·(string_view·key)·const; |
85 | ···string_view·<strong>dict_find_string_value</strong>·(string_view·key | 89 | ···string_view·<strong>dict_find_string_value</strong>·(string_view·key |
86 | ······,·string_view·default_value·=·string_view())·const; | 90 | ······,·string_view·default_value·=·string_view())·const; |
87 | ···bdecode_node·<strong>dict_find_int</strong>·(string_view·key)·const; | ||
88 | ···std::pair<string_view,·bdecode_node>·<strong>dict_at</strong>·(int·i)·const; | ||
89 | ···std::int64_t·<strong>dict_find_int_value</strong>·(string_view·key | ||
90 | ······,·std::int64_t·default_val·=·0)·const; | ||
91 | ···bdecode_node·<strong>dict_find_string</strong>·(string_view·key)·const; | 91 | ···bdecode_node·<strong>dict_find_string</strong>·(string_view·key)·const; |
92 | ···bdecode_node·<strong>dict_find</strong>·(string_view·key)·const; | ||
93 | ···std::pair<bdecode_node,·bdecode_node>·<strong>dict_at_node</strong>·(int·i)·const; | ||
94 | ···bdecode_node·<strong>dict_find_list</strong>·(string_view·key)·const; | ||
95 | ···int·<strong>dict_size</strong>·()·const; | 92 | ···int·<strong>dict_size</strong>·()·const; |
93 | ···std::pair<string_view,·bdecode_node>·<strong>dict_at</strong>·(int·i)·const; | ||
94 | ···bdecode_node·<strong>dict_find_int</strong>·(string_view·key)·const; | ||
95 | ···std::pair<bdecode_node,·bdecode_node>·<strong>dict_at_node</strong>·(int·i)·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; | 97 | ···int·<strong>string_length</strong>·()·const; |
98 | ···std::ptrdiff_t·<strong>string_offset</strong>·()·const; | ||
99 | ···char·const*·<strong>string_ptr</strong>·()·const; | ||
100 | ···string_view·<strong>string_value</strong>·()·const; | 98 | ···string_view·<strong>string_value</strong>·()·const; |
99 | ···char·const*·<strong>string_ptr</strong>·()·const; | ||
100 | ···std::ptrdiff_t·<strong>string_offset</strong>·()·const; | ||
101 | ···void·<strong>clear</strong>·(); | 101 | ···void·<strong>clear</strong>·(); |
102 | ···void·<strong>swap</strong>·(bdecode_node&·n); | 102 | ···void·<strong>swap</strong>·(bdecode_node&·n); |
103 | ···void·<strong>reserve</strong>·(int·tokens); | 103 | ···void·<strong>reserve</strong>·(int·tokens); |
104 | ···void·<strong>switch_underlying_buffer</strong>·(char·const*·buf)·noexcept; | 104 | ···void·<strong>switch_underlying_buffer</strong>·(char·const*·buf)·noexcept; |
105 | ···bool·<strong>has_soft_error</strong>·(span<char>·error)·const; | 105 | ···bool·<strong>has_soft_error</strong>·(span<char>·error)·const; |
106 | ···enum·type_t | 106 | ···enum·type_t |
Offset 121, 18 lines modified | Offset 121, 18 lines modified | ||
121 | </pre> | 121 | </pre> |
122 | <p>creates·a·default·constructed·node,·it·will·have·the·type·<tt·class="docutils·literal">none_t</tt>.</p> | 122 | <p>creates·a·default·constructed·node,·it·will·have·the·type·<tt·class="docutils·literal">none_t</tt>.</p> |
123 | <a·name="operator=()"></a> | 123 | <a·name="operator=()"></a> |
124 | <a·name="bdecode_node()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Boperator%3D%28%29+bdecode_node%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Boperator%3D%28%29+bdecode_node%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 124 | <a·name="bdecode_node()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Boperator%3D%28%29+bdecode_node%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Boperator%3D%28%29+bdecode_node%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
125 | <div·class="section"·id="operator-bdecode-node"> | 125 | <div·class="section"·id="operator-bdecode-node"> |
126 | <h2>operator=()·bdecode_node()</h2> | 126 | <h2>operator=()·bdecode_node()</h2> |
127 | <pre·class="literal-block"> | 127 | <pre·class="literal-block"> |
128 | <strong>bdecode_node</strong>·(bdecode_node&&)·noexcept; | ||
128 | bdecode_node&·<strong>operator=</strong>·(bdecode_node&&)·&·=·default; | 129 | bdecode_node&·<strong>operator=</strong>·(bdecode_node&&)·&·=·default; |
129 | <strong>bdecode_node</strong>·(bdecode_node·const&); | ||
130 | bdecode_node&·<strong>operator=</strong>·(bdecode_node·const&)·&; | 130 | bdecode_node&·<strong>operator=</strong>·(bdecode_node·const&)·&; |
131 | <strong>bdecode_node</strong>·(bdecode_node | 131 | <strong>bdecode_node</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 141, 80 lines modified | Offset 141, 80 lines modified | ||
141 | <p>the·type·of·this·node.·See·<a·class="reference·external"·href="reference-Bdecoding.html#type_t">type_t</a>.</p> | 141 | <p>the·type·of·this·node.·See·<a·class="reference·external"·href="reference-Bdecoding.html#type_t">type_t</a>.</p> |
142 | <a·name="bool()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bbool%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bbool%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 142 | <a·name="bool()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bbool%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bbool%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
143 | <div·class="section"·id="bool"> | 143 | <div·class="section"·id="bool"> |
144 | <h2>bool()</h2> | 144 | <h2>bool()</h2> |
145 | <pre·class="literal-block"> | 145 | <pre·class="literal-block"> |
146 | explicit·operator·<strong>bool</strong>·()·const·noexcept; | 146 | explicit·operator·<strong>bool</strong>·()·const·noexcept; |
147 | </pre> | 147 | </pre> |
148 | <p>returns·true·if·<a·class="reference·external"·href="reference- | 148 | <p>returns·true·if·<a·class="reference·external"·href="reference-Bencoding.html#type()">type()</a>·!=·none_t.</p> |
149 | <a·name="non_owning()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bnon_owning%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bnon_owning%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 149 | <a·name="non_owning()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bnon_owning%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bnon_owning%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
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_offset()"></a> | 157 | <a·name="data_offset()"></a> |
158 | <a·name="data_section()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bdata_offset%28%29+data_section%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bdata_offset%28%29+data_section%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 158 | <a·name="data_section()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bdata_offset%28%29+data_section%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bdata_offset%28%29+data_section%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
159 | <div·class="section"·id="data-offset-data-section"> | 159 | <div·class="section"·id="data-offset-data-section"> |
160 | <h2>data_offset()·data_section()</h2> | 160 | <h2>data_offset()·data_section()</h2> |
161 | <pre·class="literal-block"> | 161 | <pre·class="literal-block"> |
162 | span<char·const>·<strong>data_section</strong>·()·const·noexcept; | ||
163 | std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept; | 162 | std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept; |
163 | span<char·const>·<strong>data_section</strong>·()·const·noexcept; | ||
164 | </pre> | 164 | </pre> |
165 | <p>returns·the·buffer·and·length·of·the·section·in·the·original·bencoded | 165 | <p>returns·the·buffer·and·length·of·the·section·in·the·original·bencoded |
166 | buffer·where·this·node·is·defined.·For·a·dictionary·for·instance,·this | 166 | buffer·where·this·node·is·defined.·For·a·dictionary·for·instance,·this |
167 | starts·with·<tt·class="docutils·literal">d</tt>·and·ends·with·<tt·class="docutils·literal">e</tt>,·and·has·all·the·content·of·the | 167 | starts·with·<tt·class="docutils·literal">d</tt>·and·ends·with·<tt·class="docutils·literal">e</tt>,·and·has·all·the·content·of·the |
168 | dictionary·in·between. | 168 | dictionary·in·between. |
169 | the·<tt·class="docutils·literal">data_offset()</tt>·function·returns·the·byte-offset·to·this·node·in, | 169 | the·<tt·class="docutils·literal">data_offset()</tt>·function·returns·the·byte-offset·to·this·node·in, |
Max diff block lines reached; 9574/20239 bytes (47.30%) of diff not shown. |
Offset 6, 20 lines modified | Offset 6, 20 lines modified | ||
6 | ····*·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e | 6 | ····*·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e |
7 | ··········o·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) | 7 | ··········o·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) |
8 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)_\x8·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) | 8 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)_\x8·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) |
9 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) | 9 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) |
10 | ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8) | 10 | ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8) |
11 | ··········o·_\x8n_\x8o_\x8n_\x8__\x8o_\x8w_\x8n_\x8i_\x8n_\x8g_\x8(_\x8) | 11 | ··········o·_\x8n_\x8o_\x8n_\x8__\x8o_\x8w_\x8n_\x8i_\x8n_\x8g_\x8(_\x8) |
12 | ··········o·_\x8d_\x8a_\x8t_\x8a_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8d_\x8a_\x8t_\x8a_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) | 12 | ··········o·_\x8d_\x8a_\x8t_\x8a_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8d_\x8a_\x8t_\x8a_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) |
13 | ··········o·_\x8l_\x8i_\x8s_\x8t_\x8__\x8 | 13 | ··········o·_\x8l_\x8i_\x8s_\x8t_\x8__\x8i_.n_.t_.__.v_.a_.l_.u_.e_.__.a_.t_.(_.)_.·_.l_.i_.s_.t_.__.s_.t_.r_.i_.n_.g_.__.v_.a_.l_.u_.e_.__.a_.t_.(_.)_.·_.l_.i_.s_.t_.__.a_.t_.(_.)_.·_.l_.i_.s_.t_.__.s_.i_.z_.e_\x8(_\x8) |
14 | ··········o·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8 | 14 | ··········o·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8i_.n_.t_.__.v_.a_.l_.u_.e_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.l_.i_.s_.t_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.(_.)_.·_.d_.i_.c_.t_.__.a_.t_\x8(_\x8) |
15 | ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8 | 15 | ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_.i_.n_.d_.__.d_.i_.c_.t_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.i_.n_.t_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.s_.t_.r_.i_.n_.g_.(_.)_.·_.d_.i_.c_.t_.__.a_.t_.__.n_.o_.d_\x8e_\x8(_\x8) |
16 | ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8 | 16 | ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8s_.t_.r_.i_.n_.g_.__.v_.a_.l_.u_.e_.(_.)_.·_.d_.i_.c_.t_.__.s_.i_.z_.e_\x8(_\x8) |
17 | ··········o·_\x8i_\x8n_\x8t_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8) | 17 | ··········o·_\x8i_\x8n_\x8t_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8) |
18 | ··········o·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8 | 18 | ··········o·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8v_.a_.l_.u_.e_.(_.)_.·_.s_.t_.r_.i_.n_.g_.__.o_.f_.f_.s_.e_.t_.(_.)_.·_.s_.t_.r_.i_.n_.g_.__.p_.t_.r_\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) |
24 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 24 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
25 | ····*·_\x8p_\x8r_\x8i_\x8n_\x8t_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8) | 25 | ····*·_\x8p_\x8r_\x8i_\x8n_\x8t_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8) |
Offset 30, 46 lines modified | Offset 30, 46 lines modified | ||
30 | Sometimes·it's·important·to·get·a·non-owning·reference·to·the·root·node·(·to·be | 30 | Sometimes·it's·important·to·get·a·non-owning·reference·to·the·root·node·(·to·be |
31 | able·to·copy·it·as·a·reference·for·instance).·For·that,·use·the·_\x8n_\x8o_\x8n_\x8__\x8o_\x8w_\x8n_\x8i_\x8n_\x8g_\x8(_\x8) | 31 | able·to·copy·it·as·a·reference·for·instance).·For·that,·use·the·_\x8n_\x8o_\x8n_\x8__\x8o_\x8w_\x8n_\x8i_\x8n_\x8g_\x8(_\x8) |
32 | member·function. | 32 | member·function. |
33 | There·are·5·different·types·of·nodes,·see·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t. | 33 | There·are·5·different·types·of·nodes,·see·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t. |
34 | struct·bdecode_node | 34 | struct·bdecode_node |
35 | { | 35 | { |
36 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·()·=·default; | 36 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·()·=·default; |
37 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept; | ||
37 | ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default; | 38 | ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default; |
38 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&); | ||
39 | ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; | 39 | ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; |
40 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node | 40 | ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&); |
41 | ···type_t·t\x8ty\x8yp\x8pe\x8e·()·const·noexcept; | 41 | ···type_t·t\x8ty\x8yp\x8pe\x8e·()·const·noexcept; |
42 | ···explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const·noexcept; | 42 | ···explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const·noexcept; |
43 | ···bdecode_node·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g·()·const; | 43 | ···bdecode_node·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g·()·const; |
44 | ···span<char·const>·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const·noexcept; | ||
45 | ···std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept; | 44 | ···std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept; |
45 | ···span<char·const>·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const·noexcept; | ||
46 | ···int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | 46 | ···int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; |
47 | ···bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const; | 47 | ···bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const; |
48 | ···string_view·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i | 48 | ···string_view·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i |
49 | ······,·string_view·default_val·=·string_view())·const; | 49 | ······,·string_view·default_val·=·string_view())·const; |
50 | ···std::int64_t·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i | 50 | ···std::int64_t·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i |
51 | ······,·std::int64_t·default_val·=·0)·const; | 51 | ······,·std::int64_t·default_val·=·0)·const; |
52 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_l\x8li\x8is\x8st\x8t·(string_view·key)·const; | ||
53 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d·(string_view·key)·const; | ||
54 | ···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 | ||
55 | ······,·std::int64_t·default_val·=·0)·const; | ||
52 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_d\x8di\x8ic\x8ct\x8t·(string_view·key)·const; | 56 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_d\x8di\x8ic\x8ct\x8t·(string_view·key)·const; |
53 | ···string_view·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(string_view·key | 57 | ···string_view·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 |
54 | ······,·string_view·default_value·=·string_view())·const; | 58 | ······,·string_view·default_value·=·string_view())·const; |
55 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_i\x8in\x8nt\x8t·(string_view·key)·const; | ||
56 | ···std::pair<string_view,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t·(int·i)·const; | ||
57 | ···std::int64_t·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(string_view·key | ||
58 | ······,·std::int64_t·default_val·=·0)·const; | ||
59 | ···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; | 59 | ···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; |
60 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d·(string_view·key)·const; | ||
61 | ···std::pair<bdecode_node,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t_\x8_n\x8no\x8od\x8de\x8e·(int·i)·const; | ||
62 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_l\x8li\x8is\x8st\x8t·(string_view·key)·const; | ||
63 | ···int·d\x8di\x8ic\x8ct\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | 60 | ···int·d\x8di\x8ic\x8ct\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; |
61 | ···std::pair<string_view,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t·(int·i)·const; | ||
62 | ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_i\x8in\x8nt\x8t·(string_view·key)·const; | ||
63 | ···std::pair<bdecode_node,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t_\x8_n\x8no\x8od\x8de\x8e·(int·i)·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; | 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 | ···char·const*·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_p\x8pt\x8tr\x8r·()·const; | ||
68 | ···string_view·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·()·const; | 66 | ···string_view·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·()·const; |
67 | ···char·const*·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_p\x8pt\x8tr\x8r·()·const; | ||
68 | ···std::ptrdiff_t·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const; | ||
69 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r·(); | 69 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r·(); |
70 | ···void·s\x8sw\x8wa\x8ap\x8p·(bdecode_node&·n); | 70 | ···void·s\x8sw\x8wa\x8ap\x8p·(bdecode_node&·n); |
71 | ···void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·tokens); | 71 | ···void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·tokens); |
72 | ···void·s\x8sw\x8wi\x8it\x8tc\x8ch\x8h_\x8_u\x8un\x8nd\x8de\x8er\x8rl\x8ly\x8yi\x8in\x8ng\x8g_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r·(char·const*·buf)·noexcept; | 72 | ···void·s\x8sw\x8wi\x8it\x8tc\x8ch\x8h_\x8_u\x8un\x8nd\x8de\x8er\x8rl\x8ly\x8yi\x8in\x8ng\x8g_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r·(char·const*·buf)·noexcept; |
73 | ···bool·h\x8ha\x8as\x8s_\x8_s\x8so\x8of\x8ft\x8t_\x8_e\x8er\x8rr\x8ro\x8or\x8r·(span<char>·error)·const; | 73 | ···bool·h\x8ha\x8as\x8s_\x8_s\x8so\x8of\x8ft\x8t_\x8_e\x8er\x8rr\x8ro\x8or\x8r·(span<char>·error)·const; |
74 | ···enum·type_t | 74 | ···enum·type_t |
Offset 83, 18 lines modified | Offset 83, 18 lines modified | ||
83 | }; | 83 | }; |
84 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 84 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
85 | *\x8**\x8**\x8**\x8**\x8*·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 85 | *\x8**\x8**\x8**\x8**\x8*·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
86 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·()·=·default; | 86 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·()·=·default; |
87 | creates·a·default·constructed·node,·it·will·have·the·type·none_t. | 87 | creates·a·default·constructed·node,·it·will·have·the·type·none_t. |
88 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 88 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
89 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 89 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
90 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept; | ||
90 | bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default; | 91 | bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default; |
91 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&); | ||
92 | bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; | 92 | bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; |
93 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node | 93 | b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&); |
94 | For·owning·nodes,·the·copy·will·create·a·copy·of·the·tree,·but·the·underlying | 94 | For·owning·nodes,·the·copy·will·create·a·copy·of·the·tree,·but·the·underlying |
95 | buffer·remains·the·same. | 95 | buffer·remains·the·same. |
96 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 96 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
97 | *\x8**\x8**\x8**\x8**\x8*·t\x8ty\x8yp\x8pe\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 97 | *\x8**\x8**\x8**\x8**\x8*·t\x8ty\x8yp\x8pe\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
98 | type_t·t\x8ty\x8yp\x8pe\x8e·()·const·noexcept; | 98 | type_t·t\x8ty\x8yp\x8pe\x8e·()·const·noexcept; |
99 | the·type·of·this·node.·See·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t. | 99 | the·type·of·this·node.·See·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t. |
100 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 100 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
Offset 104, 49 lines modified | Offset 104, 49 lines modified | ||
104 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 104 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
105 | *\x8**\x8**\x8**\x8**\x8*·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 105 | *\x8**\x8**\x8**\x8**\x8*·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
106 | bdecode_node·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g·()·const; | 106 | bdecode_node·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g·()·const; |
107 | return·a·non-owning·reference·to·this·node.·This·is·useful·to·refer·to·the·root | 107 | return·a·non-owning·reference·to·this·node.·This·is·useful·to·refer·to·the·root |
108 | node·without·copying·it·in·assignments. | 108 | node·without·copying·it·in·assignments. |
109 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 109 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
110 | *\x8**\x8**\x8**\x8**\x8*·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t(\x8()\x8)·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 110 | *\x8**\x8**\x8**\x8**\x8*·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t(\x8()\x8)·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
111 | span<char·const>·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const·noexcept; | ||
112 | std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept; | 111 | std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept; |
112 | span<char·const>·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const·noexcept; | ||
113 | returns·the·buffer·and·length·of·the·section·in·the·original·bencoded·buffer | 113 | returns·the·buffer·and·length·of·the·section·in·the·original·bencoded·buffer |
114 | where·this·node·is·defined.·For·a·dictionary·for·instance,·this·starts·with·d | 114 | where·this·node·is·defined.·For·a·dictionary·for·instance,·this·starts·with·d |
115 | and·ends·with·e,·and·has·all·the·content·of·the·dictionary·in·between.·the | 115 | and·ends·with·e,·and·has·all·the·content·of·the·dictionary·in·between.·the |
116 | data_offset()·function·returns·the·byte-offset·to·this·node·in,·starting·from | 116 | data_offset()·function·returns·the·byte-offset·to·this·node·in,·starting·from |
117 | the·beginning·of·the·buffer·that·was·parsed. | 117 | the·beginning·of·the·buffer·that·was·parsed. |
118 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 118 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
119 | *\x8**\x8**\x8**\x8**\x8*·l\x8li\x8is\x8st\x8t_\x8_ | 119 | *\x8**\x8**\x8**\x8**\x8*·l\x8li\x8is\x8st\x8t_\x8_i.in.nt.t_._v.va.al.lu.ue.e_._a.at.t(.().)·l.li.is.st.t_._s.st.tr.ri.in.ng.g_._v.va.al.lu.ue.e_._a.at.t(.().)·l.li.is.st.t_._a.at.t(.().)·l.li.is.st.t_._s.si.iz.ze.e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
120 | int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | 120 | int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; |
121 | bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const; | 121 | bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const; |
122 | string_view·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i | 122 | string_view·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i |
123 | ······,·string_view·default_val·=·string_view())·const; | 123 | ······,·string_view·default_val·=·string_view())·const; |
124 | std::int64_t·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i | 124 | std::int64_t·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i |
125 | ······,·std::int64_t·default_val·=·0)·const; | 125 | ······,·std::int64_t·default_val·=·0)·const; |
126 | functions·with·the·list_·prefix·operate·on·lists.·These·functions·are·only | 126 | functions·with·the·list_·prefix·operate·on·lists.·These·functions·are·only |
127 | valid·if·type()·==·list_t.·list_at()·returns·the·item·in·the·list·at·index·i.·i | 127 | valid·if·type()·==·list_t.·list_at()·returns·the·item·in·the·list·at·index·i.·i |
128 | may·not·be·greater·than·or·equal·to·the·size·of·the·list.·size()·returns·the | 128 | may·not·be·greater·than·or·equal·to·the·size·of·the·list.·size()·returns·the |
129 | size·of·the·list. | 129 | size·of·the·list. |
130 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 130 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
Max diff block lines reached; 3070/14166 bytes (21.67%) of diff not shown. |
Offset 34, 24 lines modified | Offset 34, 24 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="#string- | 41 | <li><a·class="reference·internal"·href="#string-preformatted-list-integer-dict"·id="toc-entry-7">string()·preformatted()·list()·integer()·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> |
49 | <li><a·class="reference·internal"·href="#bencode"·id="toc-entry-13">bencode()</a></li> | ||
49 | <li><a·class="reference·internal"·href="#operator-2"·id="toc-entry-1 | 50 | <li><a·class="reference·internal"·href="#operator-2"·id="toc-entry-14">operator<<()</a></li> |
50 | <li><a·class="reference·internal"·href="#bencode"·id="toc-entry-14">bencode()</a></li> | ||
51 | </ul> | 51 | </ul> |
52 | </div> | 52 | </div> |
53 | <p>Bencoding·is·a·common·representation·in·bittorrent·used·for·dictionary, | 53 | <p>Bencoding·is·a·common·representation·in·bittorrent·used·for·dictionary, |
54 | list,·<a·class="reference·external"·href="reference-Core.html#int">int</a>·and·string·hierarchies.·It's·used·to·encode·.torrent·files·and | 54 | list,·<a·class="reference·external"·href="reference-Core.html#int">int</a>·and·string·hierarchies.·It's·used·to·encode·.torrent·files·and |
55 | some·messages·in·the·network·protocol.·libtorrent·also·uses·it·to·store | 55 | some·messages·in·the·network·protocol.·libtorrent·also·uses·it·to·store |
56 | settings,·resume·data·and·other·<a·class="reference·external"·href="reference-Session.html#session">session</a>·state.</p> | 56 | settings,·resume·data·and·other·<a·class="reference·external"·href="reference-Session.html#session">session</a>·state.</p> |
57 | <p>Strings·in·bencoded·structures·do·not·necessarily·represent·text. | 57 | <p>Strings·in·bencoded·structures·do·not·necessarily·represent·text. |
Offset 69, 41 lines modified | Offset 69, 41 lines modified | ||
69 | <p>The·<tt·class="docutils·literal">entry</tt>·class·represents·one·node·in·a·bencoded·hierarchy.·It·works·as·a | 69 | <p>The·<tt·class="docutils·literal">entry</tt>·class·represents·one·node·in·a·bencoded·hierarchy.·It·works·as·a |
70 | variant·type,·it·can·be·either·a·list,·a·dictionary·(<tt·class="docutils·literal"><span·class="pre">std::map</span></tt>),·an·integer | 70 | variant·type,·it·can·be·either·a·list,·a·dictionary·(<tt·class="docutils·literal"><span·class="pre">std::map</span></tt>),·an·integer |
71 | or·a·string.</p> | 71 | or·a·string.</p> |
72 | <pre·class="literal-block"> | 72 | <pre·class="literal-block"> |
73 | class·entry | 73 | class·entry |
74 | { | 74 | { |
75 | ···data_type·<strong>type</strong>·()·const; | 75 | ···data_type·<strong>type</strong>·()·const; |
76 | ···<strong>entry</strong>·(preformatted_type); | ||
77 | ···<strong>entry</strong>·(span<char·const>); | ||
78 | ···<strong>entry</strong>·(list_type); | ||
79 | ···<strong>entry</strong>·(integer_type); | 76 | ···<strong>entry</strong>·(integer_type); |
80 | ···<strong>entry</strong>·(dictionary_type); | 77 | ···<strong>entry</strong>·(dictionary_type); |
78 | ···<strong>entry</strong>·(list_type); | ||
79 | ···<strong>entry</strong>·(preformatted_type); | ||
80 | ···<strong>entry</strong>·(span<char·const>); | ||
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; | ||
84 | ···entry&·<strong>operator=</strong>·(dictionary_type)·&; | 85 | ···entry&·<strong>operator=</strong>·(dictionary_type)·&; |
85 | ···entry&·<strong>operator=</strong>·( | 86 | ···entry&·<strong>operator=</strong>·(bdecode_node·const&)·&; |
86 | ···entry&·<strong>operator=</strong>·(integer_type)·&; | 87 | ···entry&·<strong>operator=</strong>·(integer_type)·&; |
87 | ···entry&·<strong>operator=</strong>·(entry·const&)·&; | ||
88 | ···entry&·<strong>operator=</strong>·(preformatted_type)·&; | 88 | ···entry&·<strong>operator=</strong>·(preformatted_type)·&; |
89 | ···entry&·<strong>operator=</strong>·(span<char·const>)·&; | ||
89 | ···entry&·<strong>operator=</strong>·(list_type)·&; | 90 | ···entry&·<strong>operator=</strong>·(list_type)·&; |
90 | ···entry&·<strong>operator=</strong>·(entry&&)·&·noexcept; | ||
91 | ···entry&·<strong>operator=</strong>·( | 91 | ···entry&·<strong>operator=</strong>·(entry·const&)·&; |
92 | ···entry&·<strong>operator=</strong>·(U·v)·&; | 92 | ···entry&·<strong>operator=</strong>·(U·v)·&; |
93 | ···preformatted_type·const&·<strong>preformatted</strong>·()·const; | ||
93 | ···dictionary_type·const&·<strong>dict</strong>·()·const; | 94 | ···dictionary_type·const&·<strong>dict</strong>·()·const; |
94 | ···integer_type·const&·<strong>integer</strong>·()·const; | ||
95 | ···string_type&·<strong>string</strong>·(); | ||
96 | ···list_type&·<strong>list</strong>·(); | 95 | ···list_type&·<strong>list</strong>·(); |
97 | ···integer_type&·<strong>integer</strong>·(); | ||
98 | ···preformatted_type·const&·<strong>preformatted</strong>·()·const; | ||
99 | ···dictionary_type&·<strong>dict</strong>·(); | ||
100 | ···list_type·const&·<strong>list</strong>·()·const; | 96 | ···list_type·const&·<strong>list</strong>·()·const; |
101 | ··· | 97 | ···string_type&·<strong>string</strong>·(); |
98 | ···integer_type&·<strong>integer</strong>·(); | ||
102 | ···string_type·const&·<strong>string</strong>·()·const; | 99 | ···string_type·const&·<strong>string</strong>·()·const; |
100 | ···integer_type·const&·<strong>integer</strong>·()·const; | ||
101 | ···preformatted_type&·<strong>preformatted</strong>·(); | ||
102 | ···dictionary_type&·<strong>dict</strong>·(); | ||
103 | ···void·<strong>swap</strong>·(entry&·e); | 103 | ···void·<strong>swap</strong>·(entry&·e); |
104 | ···entry&·<strong>operator[]</strong>·(string_view·key); | 104 | ···entry&·<strong>operator[]</strong>·(string_view·key); |
105 | ···entry·const&·<strong>operator[]</strong>·(string_view·key)·const; | 105 | ···entry·const&·<strong>operator[]</strong>·(string_view·key)·const; |
106 | ···entry·const*·<strong>find_key</strong>·(string_view·key)·const; | 106 | ···entry·const*·<strong>find_key</strong>·(string_view·key)·const; |
107 | ···entry*·<strong>find_key</strong>·(string_view·key); | 107 | ···entry*·<strong>find_key</strong>·(string_view·key); |
108 | ···std::string·<strong>to_string</strong>·(bool·single_line·=·false)·const; | 108 | ···std::string·<strong>to_string</strong>·(bool·single_line·=·false)·const; |
Offset 124, 19 lines modified | Offset 124, 19 lines modified | ||
124 | data_type·<strong>type</strong>·()·const; | 124 | data_type·<strong>type</strong>·()·const; |
125 | </pre> | 125 | </pre> |
126 | <p>returns·the·concrete·type·of·the·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a></p> | 126 | <p>returns·the·concrete·type·of·the·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a></p> |
127 | <a·name="entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Bentry%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Bentry%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 127 | <a·name="entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Bentry%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Bentry%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
128 | <div·class="section"·id="entry-1"> | 128 | <div·class="section"·id="entry-1"> |
129 | <h2>entry()</h2> | 129 | <h2>entry()</h2> |
130 | <pre·class="literal-block"> | 130 | <pre·class="literal-block"> |
131 | <strong>entry</strong>·(preformatted_type); | ||
132 | <strong>entry</strong>·(span<char·const>); | ||
133 | <strong>entry</strong>·(list_type); | ||
134 | <strong>entry</strong>·(integer_type); | 131 | <strong>entry</strong>·(integer_type); |
135 | <strong>entry</strong>·(dictionary_type); | 132 | <strong>entry</strong>·(dictionary_type); |
133 | <strong>entry</strong>·(list_type); | ||
134 | <strong>entry</strong>·(preformatted_type); | ||
135 | <strong>entry</strong>·(span<char·const>); | ||
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; | ||
159 | entry&·<strong>operator=</strong>·(dictionary_type)·&; | 160 | entry&·<strong>operator=</strong>·(dictionary_type)·&; |
160 | entry&·<strong>operator=</strong>·( | 161 | entry&·<strong>operator=</strong>·(bdecode_node·const&)·&; |
161 | entry&·<strong>operator=</strong>·(integer_type)·&; | 162 | entry&·<strong>operator=</strong>·(integer_type)·&; |
162 | entry&·<strong>operator=</strong>·(entry·const&)·&; | ||
163 | entry&·<strong>operator=</strong>·(preformatted_type)·&; | 163 | entry&·<strong>operator=</strong>·(preformatted_type)·&; |
164 | entry&·<strong>operator=</strong>·(span<char·const>)·&; | ||
164 | entry&·<strong>operator=</strong>·(list_type)·&; | 165 | entry&·<strong>operator=</strong>·(list_type)·&; |
165 | entry&·<strong>operator=</strong>·(entry&&)·&·noexcept; | ||
166 | entry&·<strong>operator=</strong>·( | 166 | entry&·<strong>operator=</strong>·(entry·const&)·&; |
167 | </pre> | 167 | </pre> |
168 | <p>copies·the·structure·of·the·right·hand·side·into·this | 168 | <p>copies·the·structure·of·the·right·hand·side·into·this |
169 | <a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>.</p> | 169 | <a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>.</p> |
170 | <a·name="string()"></a> | 170 | <a·name="string()"></a> |
171 | <a·name="list()"></a> | ||
172 | <a·name="dict()"></a> | ||
173 | <a·name="preformatted()"></a> | 171 | <a·name="preformatted()"></a> |
172 | <a·name="list()"></a> | ||
173 | <a·name="integer()"></a> | ||
Max diff block lines reached; 4378/13999 bytes (31.27%) of diff not shown. |
Offset 5, 22 lines modified | Offset 5, 22 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·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8(_\x8)_\x8·_\x8 | 12 | ··········o·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8(_\x8)_\x8·_\x8p_.r_.e_.f_.o_.r_.m_.a_.t_.t_.e_.d_.(_.)_.·_.l_.i_.s_.t_.(_.)_.·_.i_.n_.t_.e_.g_.e_.r_.(_.)_.·_.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 | ····*·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<_\x8(_\x8) | ||
19 | ····*·_\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) | ||
20 | Bencoding·is·a·common·representation·in·bittorrent·used·for·dictionary,·list, | 20 | Bencoding·is·a·common·representation·in·bittorrent·used·for·dictionary,·list, |
21 | _\x8i_\x8n_\x8t·and·string·hierarchies.·It's·used·to·encode·.torrent·files·and·some | 21 | _\x8i_\x8n_\x8t·and·string·hierarchies.·It's·used·to·encode·.torrent·files·and·some |
22 | messages·in·the·network·protocol.·libtorrent·also·uses·it·to·store·settings, | 22 | messages·in·the·network·protocol.·libtorrent·also·uses·it·to·store·settings, |
23 | resume·data·and·other·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·state. | 23 | resume·data·and·other·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·state. |
24 | Strings·in·bencoded·structures·do·not·necessarily·represent·text.·Strings·are | 24 | Strings·in·bencoded·structures·do·not·necessarily·represent·text.·Strings·are |
25 | raw·byte·buffers·of·a·certain·length.·If·a·string·is·meant·to·be·interpreted·as | 25 | raw·byte·buffers·of·a·certain·length.·If·a·string·is·meant·to·be·interpreted·as |
26 | text,·it·is·required·to·be·UTF-8·encoded.·See·_\x8B_\x8E_\x8P_\x8·_\x83. | 26 | text,·it·is·required·to·be·UTF-8·encoded.·See·_\x8B_\x8E_\x8P_\x8·_\x83. |
Offset 35, 41 lines modified | Offset 35, 41 lines modified | ||
35 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p" | 35 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p" |
36 | The·entry·class·represents·one·node·in·a·bencoded·hierarchy.·It·works·as·a | 36 | The·entry·class·represents·one·node·in·a·bencoded·hierarchy.·It·works·as·a |
37 | variant·type,·it·can·be·either·a·list,·a·dictionary·(std::map),·an·integer·or·a | 37 | variant·type,·it·can·be·either·a·list,·a·dictionary·(std::map),·an·integer·or·a |
38 | string. | 38 | string. |
39 | class·entry | 39 | class·entry |
40 | { | 40 | { |
41 | ···data_type·t\x8ty\x8yp\x8pe\x8e·()·const; | 41 | ···data_type·t\x8ty\x8yp\x8pe\x8e·()·const; |
42 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type); | ||
43 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>); | ||
44 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(list_type); | ||
45 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type); | 42 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type); |
46 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); | 43 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); |
44 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(list_type); | ||
45 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type); | ||
46 | ···e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>); | ||
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; | ||
50 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&; | 51 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&; |
51 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·( | 52 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; |
52 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&; | 53 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&; |
53 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·const&)·&; | ||
54 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&; | 54 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&; |
55 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&; | ||
55 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&; | 56 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&; |
56 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept; | ||
57 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·( | 57 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·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; | ||
59 | ···dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; | 60 | ···dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; |
60 | ···integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const; | ||
61 | ···string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(); | ||
62 | ···list_type&·l\x8li\x8is\x8st\x8t·(); | 61 | ···list_type&·l\x8li\x8is\x8st\x8t·(); |
63 | ···integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·(); | ||
64 | ···preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const; | ||
65 | ···dictionary_type&·d\x8di\x8ic\x8ct\x8t·(); | ||
66 | ···list_type·const&·l\x8li\x8is\x8st\x8t·()·const; | 62 | ···list_type·const&·l\x8li\x8is\x8st\x8t·()·const; |
67 | ··· | 63 | ···string_type&·s.st.tr.ri.in.ng.g·(); |
64 | ···integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·(); | ||
68 | ···string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const; | 65 | ···string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const; |
66 | ···integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const; | ||
67 | ···preformatted_type&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·(); | ||
68 | ···dictionary_type&·d\x8di\x8ic\x8ct\x8t·(); | ||
69 | ···void·s\x8sw\x8wa\x8ap\x8p·(entry&·e); | 69 | ···void·s\x8sw\x8wa\x8ap\x8p·(entry&·e); |
70 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(string_view·key); | 70 | ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(string_view·key); |
71 | ···entry·const&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(string_view·key)·const; | 71 | ···entry·const&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(string_view·key)·const; |
72 | ···entry·const*·f\x8fi\x8in\x8nd\x8d_\x8_k\x8ke\x8ey\x8y·(string_view·key)·const; | 72 | ···entry·const*·f\x8fi\x8in\x8nd\x8d_\x8_k\x8ke\x8ey\x8y·(string_view·key)·const; |
73 | ···entry*·f\x8fi\x8in\x8nd\x8d_\x8_k\x8ke\x8ey\x8y·(string_view·key); | 73 | ···entry*·f\x8fi\x8in\x8nd\x8d_\x8_k\x8ke\x8ey\x8y·(string_view·key); |
74 | ···std::string·t\x8to\x8o_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(bool·single_line·=·false)·const; | 74 | ···std::string·t\x8to\x8o_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(bool·single_line·=·false)·const; |
Offset 85, 52 lines modified | Offset 85, 52 lines modified | ||
85 | }; | 85 | }; |
86 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 86 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
87 | *\x8**\x8**\x8**\x8**\x8*·t\x8ty\x8yp\x8pe\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 87 | *\x8**\x8**\x8**\x8**\x8*·t\x8ty\x8yp\x8pe\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
88 | data_type·t\x8ty\x8yp\x8pe\x8e·()·const; | 88 | data_type·t\x8ty\x8yp\x8pe\x8e·()·const; |
89 | returns·the·concrete·type·of·the·_\x8e_\x8n_\x8t_\x8r_\x8y | 89 | returns·the·concrete·type·of·the·_\x8e_\x8n_\x8t_\x8r_\x8y |
90 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 90 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
91 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 91 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
92 | e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type); | ||
93 | e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>); | ||
94 | e\x8en\x8nt\x8tr\x8ry\x8y·(list_type); | ||
95 | e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type); | 92 | e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type); |
96 | e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); | 93 | e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); |
94 | e\x8en\x8nt\x8tr\x8ry\x8y·(list_type); | ||
95 | e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type); | ||
96 | e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>); | ||
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; | ||
109 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&; | 110 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&; |
110 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·( | 111 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; |
111 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&; | 112 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&; |
112 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·const&)·&; | ||
113 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&; | 113 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&; |
114 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&; | ||
114 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&; | 115 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&; |
115 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept; | ||
116 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·( | 116 | entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·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*·s\x8st\x8tr\x8ri\x8in\x8ng\x8g(\x8()\x8)· | 119 | *\x8**\x8**\x8**\x8**\x8*·s\x8st\x8tr\x8ri\x8in\x8ng\x8g(\x8()\x8)·p.pr.re.ef.fo.or.rm.ma.at.tt.te.ed.d(.().)·l.li.is.st.t(.().)·i.in.nt.te.eg.ge.er.r(.().)·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; | ||
120 | dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; | 121 | dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; |
121 | integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const; | ||
122 | string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(); | ||
123 | list_type&·l\x8li\x8is\x8st\x8t·(); | 122 | list_type&·l\x8li\x8is\x8st\x8t·(); |
124 | integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·(); | ||
125 | preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const; | ||
126 | dictionary_type&·d\x8di\x8ic\x8ct\x8t·(); | ||
127 | list_type·const&·l\x8li\x8is\x8st\x8t·()·const; | 123 | list_type·const&·l\x8li\x8is\x8st\x8t·()·const; |
128 | 124 | string_type&·s.st.tr.ri.in.ng.g·(); | |
125 | integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·(); | ||
Max diff block lines reached; 3110/10218 bytes (30.44%) of diff not shown. |
Offset 28, 71 lines modified | Offset 28, 89 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="#piece-block"·id="toc-entry-1">piece_block</a></li> | ||
35 | <li><a·class="reference·internal"·href="#info-hash-t"·id="toc-entry- | 36 | <li><a·class="reference·internal"·href="#info-hash-t"·id="toc-entry-2">info_hash_t</a><ul> |
36 | <li><a·class="reference·internal"·href="#info-hash-t-1"·id="toc-entry- | 37 | <li><a·class="reference·internal"·href="#info-hash-t-1"·id="toc-entry-3">info_hash_t()</a></li> |
37 | <li><a·class="reference·internal"·href="#has-v | 38 | <li><a·class="reference·internal"·href="#has-v1-has-has-v2"·id="toc-entry-4">has_v1()·has()·has_v2()</a></li> |
38 | <li><a·class="reference·internal"·href="#get"·id="toc-entry- | 39 | <li><a·class="reference·internal"·href="#get"·id="toc-entry-5">get()</a></li> |
39 | <li><a·class="reference·internal"·href="#get-best"·id="toc-entry- | 40 | <li><a·class="reference·internal"·href="#get-best"·id="toc-entry-6">get_best()</a></li> |
40 | <li><a·class="reference·internal"·href="#for-each"·id="toc-entry- | 41 | <li><a·class="reference·internal"·href="#for-each"·id="toc-entry-7">for_each()</a></li> |
41 | </ul> | 42 | </ul> |
42 | </li> | 43 | </li> |
43 | <li><a·class="reference·internal"·href="#peer-info"·id="toc-entry- | 44 | <li><a·class="reference·internal"·href="#peer-info"·id="toc-entry-8">peer_info</a><ul> |
44 | <li><a·class="reference·internal"·href="#i2p-destination"·id="toc-entry- | 45 | <li><a·class="reference·internal"·href="#i2p-destination"·id="toc-entry-9">i2p_destination()</a></li> |
45 | </ul> | 46 | </ul> |
46 | </li> | 47 | </li> |
47 | <li><a·class="reference·internal"·href="#peer-request"·id="toc-entry- | 48 | <li><a·class="reference·internal"·href="#peer-request"·id="toc-entry-10">peer_request</a><ul> |
48 | <li><a·class="reference·internal"·href="#operator"·id="toc-entry-1 | 49 | <li><a·class="reference·internal"·href="#operator"·id="toc-entry-11">operator==()</a></li> |
49 | </ul> | 50 | </ul> |
50 | </li> | 51 | </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> | ||
51 | <li><a·class="reference·internal"·href="# | 56 | <li><a·class="reference·internal"·href="#version"·id="toc-entry-16">version()</a></li> |
52 | <li><a·class="reference·internal"·href="#load-torrent-parsed-load-torrent-buffer-load-torrent-file"·id="toc-entry-1 | 57 | <li><a·class="reference·internal"·href="#load-torrent-parsed-load-torrent-buffer-load-torrent-file"·id="toc-entry-17">load_torrent_parsed()·load_torrent_buffer()·load_torrent_file()</a></li> |
53 | <li><a·class="reference·internal"·href="#torrent-peer-equal"·id="toc-entry-13">torrent_peer_equal()</a></li> | ||
54 | <li><a·class="reference·internal"·href="#version"·id="toc-entry-14">version()</a></li> | ||
55 | <li><a·class="reference·internal"·href="#make-magnet-uri"·id="toc-entry-15">make_magnet_uri()</a></li> | ||
56 | <li><a·class="reference·internal"·href="#parse-magnet-uri"·id="toc-entry-16">parse_magnet_uri()</a></li> | ||
57 | <li><a·class="reference·internal"·href="#truncate-files"·id="toc-entry-17">truncate_files()</a></li> | ||
58 | <li><a·class="reference·internal"·href="#enum-protocol-version"·id="toc-entry-18">enum·protocol_version</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-connection-type"·id="toc-entry-19">enum·connection_type</a></li> | ||
60 | <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry- | 59 | <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-19">enum·socket_type_t</a></li> |
61 | <li><a·class="reference·internal"·href="#enum-event-t"·id="toc-entry-21">enum·event_t</a></li> | ||
62 | <li><a·class="reference·internal"·href="#enum-portmap-transport"·id="toc-entry-2 | 60 | <li><a·class="reference·internal"·href="#enum-portmap-transport"·id="toc-entry-20">enum·portmap_transport</a></li> |
63 | <li><a·class="reference·internal"·href="#enum-portmap-protocol"·id="toc-entry-2 | 61 | <li><a·class="reference·internal"·href="#enum-portmap-protocol"·id="toc-entry-21">enum·portmap_protocol</a></li> |
64 | <li><a·class="reference·internal"·href="# | 62 | <li><a·class="reference·internal"·href="#enum-event-t"·id="toc-entry-22">enum·event_t</a></li> |
65 | <li><a·class="reference·internal"·href="#c | 63 | <li><a·class="reference·internal"·href="#enum-connection-type"·id="toc-entry-23">enum·connection_type</a></li> |
66 | <li><a·class="reference·internal"·href="#std-uint64-t"·id="toc-entry-26">std::uint64_t</a></li> | ||
67 | <li><a·class="reference·internal"·href="#torrent-flags-t"·id="toc-entry-2 | 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="#pex-flags-t"·id="toc-entry-25">pex_flags_t</a></li> | ||
68 | <li><a·class="reference·internal"·href="#download-priority-t"·id="toc-entry-2 | 66 | <li><a·class="reference·internal"·href="#download-priority-t"·id="toc-entry-26">download_priority_t</a></li> |
69 | <li><a·class="reference·internal"·href="# | 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="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·class="section"·id="piece-block"> | ||
73 | <h1>piece_block</h1> | ||
74 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/piece_block.hpp">libtorrent/piece_block.hpp</a>"</p> | ||
75 | <pre·class="literal-block"> | ||
76 | struct·piece_block | ||
77 | { | ||
78 | ···<strong>piece_block</strong>·()·=·default; | ||
79 | ···<strong>piece_block</strong>·(piece_index_t·p_index,·int·b_index); | ||
80 | ···bool·<strong>operator<</strong>·(piece_block·const&·b)·const; | ||
81 | ···bool·<strong>operator==</strong>·(piece_block·const&·b)·const; | ||
82 | ···bool·<strong>operator!=</strong>·(piece_block·const&·b)·const; | ||
83 | ···static·const·piece_block·invalid; | ||
84 | ···piece_index_t·piece_index·{0}; | ||
85 | ···int·<strong>block_index</strong>··=·0; | ||
86 | }; | ||
87 | </pre> | ||
72 | <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>< | 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"> | ||
73 | <h1>info_hash_t</h1> | 90 | <h1>info_hash_t</h1> |
74 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/info_hash.hpp">libtorrent/info_hash.hpp</a>"</p> | 91 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/info_hash.hpp">libtorrent/info_hash.hpp</a>"</p> |
75 | <p>class·holding·the·info-hash·of·a·torrent.·It·can·hold·a·v1·info-hash | 92 | <p>class·holding·the·info-hash·of·a·torrent.·It·can·hold·a·v1·info-hash |
76 | (SHA-1)·or·a·v2·info-hash·(SHA-256)·or·both.</p> | 93 | (SHA-1)·or·a·v2·info-hash·(SHA-256)·or·both.</p> |
77 | <div·class="admonition·note"> | 94 | <div·class="admonition·note"> |
78 | <p·class="first·admonition-title">Note</p> | 95 | <p·class="first·admonition-title">Note</p> |
79 | <p·class="last">If·<tt·class="docutils·literal">has_v2()</tt>·is·false·then·the·v1·hash·might·actually·be·a·truncated | 96 | <p·class="last">If·<tt·class="docutils·literal">has_v2()</tt>·is·false·then·the·v1·hash·might·actually·be·a·truncated |
80 | v2·hash</p> | 97 | v2·hash</p> |
81 | </div> | 98 | </div> |
82 | <pre·class="literal-block"> | 99 | <pre·class="literal-block"> |
83 | struct·info_hash_t | 100 | struct·info_hash_t |
84 | { | 101 | { |
102 | ···<strong>info_hash_t</strong>·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
85 | ···<strong>info_hash_t</strong>·()·noexcept·=·default; | 103 | ···<strong>info_hash_t</strong>·()·noexcept·=·default; |
86 | ···explicit·<strong>info_hash_t</strong>·(sha256_hash·h2)·noexcept; | ||
87 | ···explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept; | 104 | ···explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept; |
88 | ···<strong>info_hash_t</strong>·( | 105 | ···explicit·<strong>info_hash_t</strong>·(sha256_hash·h2)·noexcept; |
89 | ···bool·<strong>has_v1</strong>·()·const; | 106 | ···bool·<strong>has_v1</strong>·()·const; |
90 | ···bool·<strong>has</strong>·(protocol_version·v)·const; | ||
91 | ···bool·<strong>has_v2</strong>·()·const; | 107 | ···bool·<strong>has_v2</strong>·()·const; |
108 | ···bool·<strong>has</strong>·(protocol_version·v)·const; | ||
92 | ···sha1_hash·<strong>get</strong>·(protocol_version·v)·const; | 109 | ···sha1_hash·<strong>get</strong>·(protocol_version·v)·const; |
93 | ···sha1_hash·<strong>get_best</strong>·()·const; | 110 | ···sha1_hash·<strong>get_best</strong>·()·const; |
94 | ···friend·bool·<strong>operator!=</strong>·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs); | 111 | ···friend·bool·<strong>operator!=</strong>·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs); |
95 | ···friend·bool·<strong>operator==</strong>·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs)·noexcept; | 112 | ···friend·bool·<strong>operator==</strong>·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs)·noexcept; |
96 | ···template·<typename·F>·void·<strong>for_each</strong>·(F·f)·const; | 113 | ···template·<typename·F>·void·<strong>for_each</strong>·(F·f)·const; |
97 | ···bool·<strong>operator<</strong>·(info_hash_t·const&·o)·const; | 114 | ···bool·<strong>operator<</strong>·(info_hash_t·const&·o)·const; |
98 | ···friend·std::ostream&·<strong>operator<<</strong>·(std::ostream&·os,·info_hash_t·const&·ih); | 115 | ···friend·std::ostream&·<strong>operator<<</strong>·(std::ostream&·os,·info_hash_t·const&·ih); |
Offset 100, 33 lines modified | Offset 118, 33 lines modified | ||
100 | ···sha1_hash·v1; | 118 | ···sha1_hash·v1; |
101 | ···sha256_hash·v2; | 119 | ···sha256_hash·v2; |
102 | }; | 120 | }; |
103 | </pre> | 121 | </pre> |
104 | <a·name="info_hash_t()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:info_hash_t%3A%3A%5Binfo_hash_t%28%29%5D&labels=documentation&body=Documentation+under+heading+%22info_hash_t%3A%3A%5Binfo_hash_t%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="info-hash-t-1"> | 122 | <a·name="info_hash_t()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:info_hash_t%3A%3A%5Binfo_hash_t%28%29%5D&labels=documentation&body=Documentation+under+heading+%22info_hash_t%3A%3A%5Binfo_hash_t%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="info-hash-t-1"> |
105 | <h2>info_hash_t()</h2> | 123 | <h2>info_hash_t()</h2> |
106 | <pre·class="literal-block"> | 124 | <pre·class="literal-block"> |
125 | <strong>info_hash_t</strong>·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
107 | <strong>info_hash_t</strong>·()·noexcept·=·default; | 126 | <strong>info_hash_t</strong>·()·noexcept·=·default; |
108 | explicit·<strong>info_hash_t</strong>·(sha256_hash·h2)·noexcept; | ||
109 | explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept; | 127 | explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept; |
110 | <strong>info_hash_t</strong>·( | 128 | explicit·<strong>info_hash_t</strong>·(sha256_hash·h2)·noexcept; |
111 | </pre> | 129 | </pre> |
112 | <p>The·default·constructor·creates·an·object·that·has·neither·a·v1·or·v2 | 130 | <p>The·default·constructor·creates·an·object·that·has·neither·a·v1·or·v2 |
113 | hash.</p> | 131 | hash.</p> |
114 | <p>For·backwards·compatibility,·make·it·possible·to·construct·directly | 132 | <p>For·backwards·compatibility,·make·it·possible·to·construct·directly |
115 | from·a·v1·hash.·This·constructor·allows·<em>implicit</em>·conversion·from·a | 133 | from·a·v1·hash.·This·constructor·allows·<em>implicit</em>·conversion·from·a |
116 | v1·hash,·but·the·implicitness·is·deprecated.</p> | 134 | v1·hash,·but·the·implicitness·is·deprecated.</p> |
117 | <a·name="has_v2()"></a> | ||
118 | <a·name="has_v1()"></a> | 135 | <a·name="has_v1()"></a> |
136 | <a·name="has()"></a> | ||
119 | <a·name="has()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:info_hash_t%3A%3A%5Bhas_v | 137 | <a·name="has_v2()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:info_hash_t%3A%3A%5Bhas_v1%28%29+has%28%29+has_v2%28%29%5D&labels=documentation&body=Documentation+under+heading+%22info_hash_t%3A%3A%5Bhas_v1%28%29+h[·...·truncated·by·diffoscope;·len:·15,·SHA:·f72150bba880c0a7eba13289385780a10bba675fd32659812e6063de225caace·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
120 | <div·class="section"·id="has-v | 138 | <div·class="section"·id="has-v1-has-has-v2"> |
121 | <h2>has_v | 139 | <h2>has_v1()·has()·has_v2()</h2> |
122 | <pre·class="literal-block"> | 140 | <pre·class="literal-block"> |
123 | bool·<strong>has_v1</strong>·()·const; | 141 | bool·<strong>has_v1</strong>·()·const; |
124 | bool·<strong>has</strong>·(protocol_version·v)·const; | ||
Max diff block lines reached; 31317/43007 bytes (72.82%) of diff not shown. |
Offset 1, 84 lines modified | Offset 1, 99 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 | ||
6 | ····*·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t | 7 | ····*·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t |
7 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t_\x8(_\x8) | 8 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t_\x8(_\x8) |
8 | ··········o·_\x8h_\x8a_\x8s_\x8__\x8v_\x8 | 9 | ··········o·_\x8h_\x8a_\x8s_\x8__\x8v_\x81_.(_.)_.·_.h_.a_.s_.(_.)_.·_.h_.a_.s_.__.v_.2_\x8(_\x8) |
9 | ··········o·_\x8g_\x8e_\x8t_\x8(_\x8) | 10 | ··········o·_\x8g_\x8e_\x8t_\x8(_\x8) |
10 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8e_\x8s_\x8t_\x8(_\x8) | 11 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8e_\x8s_\x8t_\x8(_\x8) |
11 | ··········o·_\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8(_\x8) | 12 | ··········o·_\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8(_\x8) |
12 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o | 13 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o |
13 | ··········o·_\x8i_\x82_\x8p_\x8__\x8d_\x8e_\x8s_\x8t_\x8i_\x8n_\x8a_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) | 14 | ··········o·_\x8i_\x82_\x8p_\x8__\x8d_\x8e_\x8s_\x8t_\x8i_\x8n_\x8a_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) |
14 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t | 15 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t |
15 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) | 16 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) |
16 | ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k | ||
17 | ····*·_\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)_\x8·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | ||
18 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) | 17 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) |
19 | ····*·_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | ||
20 | ····*·_\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | 18 | ····*·_\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) |
21 | ····*·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | 19 | ····*·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) |
22 | ····*·_\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\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__\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)_\x8·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | ||
23 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n | 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·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8y_\x8p_\x8e | ||
25 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 24 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
26 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8t | ||
27 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t | 25 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t |
28 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l | 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__\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 | ||
29 | ····*·_\x8i_\x8n_\x8t | 32 | ····*·_\x8i_\x8n_\x8t |
30 | ····*·_\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8* | 33 | ····*·_\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8* |
31 | ····*·_\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t | 34 | ····*·_\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t |
32 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t | ||
33 | ····*·_\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t | ||
34 | 35 | [_.r_.e_.p_.o_.r_.t_.·_.i_.s_.s_.u_.e] | |
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* | ||
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" | ||
38 | struct·piece_block | ||
39 | { | ||
40 | ···p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·()·=·default; | ||
41 | ···p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·p_index,·int·b_index); | ||
42 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<·(piece_block·const&·b)·const; | ||
43 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(piece_block·const&·b)·const; | ||
44 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(piece_block·const&·b)·const; | ||
45 | ···static·const·piece_block·invalid; | ||
46 | ···piece_index_t·piece_index·{0}; | ||
47 | ···int·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_i\x8in\x8nd\x8de\x8ex\x8x··=·0; | ||
48 | }; | ||
35 | [_\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] |
36 | *\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* | 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* |
37 | 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" | 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" |
38 | class·holding·the·info-hash·of·a·torrent.·It·can·hold·a·v1·info-hash·(SHA-1)·or | 52 | class·holding·the·info-hash·of·a·torrent.·It·can·hold·a·v1·info-hash·(SHA-1)·or |
39 | a·v2·info-hash·(SHA-256)·or·both. | 53 | a·v2·info-hash·(SHA-256)·or·both. |
40 | Note | 54 | Note |
41 | If·has_v2()·is·false·then·the·v1·hash·might·actually·be·a·truncated·v2·hash | 55 | If·has_v2()·is·false·then·the·v1·hash·might·actually·be·a·truncated·v2·hash |
42 | struct·info_hash_t | 56 | struct·info_hash_t |
43 | { | 57 | { |
58 | ···i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
44 | ···i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·()·noexcept·=·default; | 59 | ···i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·()·noexcept·=·default; |
45 | ···explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha256_hash·h2)·noexcept; | ||
46 | ···explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept; | 60 | ···explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept; |
47 | ···i.in.nf.fo.o_._h.ha.as.sh.h_._t.t·( | 61 | ···explicit·i.in.nf.fo.o_._h.ha.as.sh.h_._t.t·(sha256_hash·h2)·noexcept; |
48 | ···bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const; | 62 | ···bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const; |
49 | ···bool·h\x8ha\x8as\x8s·(protocol_version·v)·const; | ||
50 | ···bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const; | 63 | ···bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const; |
64 | ···bool·h\x8ha\x8as\x8s·(protocol_version·v)·const; | ||
51 | ···sha1_hash·g\x8ge\x8et\x8t·(protocol_version·v)·const; | 65 | ···sha1_hash·g\x8ge\x8et\x8t·(protocol_version·v)·const; |
52 | ···sha1_hash·g\x8ge\x8et\x8t_\x8_b\x8be\x8es\x8st\x8t·()·const; | 66 | ···sha1_hash·g\x8ge\x8et\x8t_\x8_b\x8be\x8es\x8st\x8t·()·const; |
53 | ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs); | 67 | ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs); |
54 | ···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) |
55 | noexcept; | 69 | noexcept; |
56 | ···template·<typename·F>·void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(F·f)·const; | 70 | ···template·<typename·F>·void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(F·f)·const; |
57 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<·(info_hash_t·const&·o)·const; | 71 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<·(info_hash_t·const&·o)·const; |
58 | ···friend·std::ostream&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<<\x8<·(std::ostream&·os,·info_hash_t·const&·ih); | 72 | ···friend·std::ostream&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<<\x8<·(std::ostream&·os,·info_hash_t·const&·ih); |
59 | ···sha1_hash·v1; | 73 | ···sha1_hash·v1; |
60 | ···sha256_hash·v2; | 74 | ···sha256_hash·v2; |
61 | }; | 75 | }; |
62 | [_\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] |
63 | *\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* | 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·(sha1_hash·h1,·sha256_hash·h2)·noexcept; | ||
64 | i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·()·noexcept·=·default; | 79 | i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·()·noexcept·=·default; |
65 | explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha256_hash·h2)·noexcept; | ||
66 | explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept; | 80 | explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept; |
67 | i.in.nf.fo.o_._h.ha.as.sh.h_._t.t·( | 81 | explicit·i.in.nf.fo.o_._h.ha.as.sh.h_._t.t·(sha256_hash·h2)·noexcept; |
68 | The·default·constructor·creates·an·object·that·has·neither·a·v1·or·v2·hash. | 82 | The·default·constructor·creates·an·object·that·has·neither·a·v1·or·v2·hash. |
69 | For·backwards·compatibility,·make·it·possible·to·construct·directly·from·a·v1 | 83 | For·backwards·compatibility,·make·it·possible·to·construct·directly·from·a·v1 |
70 | hash.·This·constructor·allows·i\x8im\x8mp\x8pl\x8li\x8ic\x8ci\x8it\x8t·conversion·from·a·v1·hash,·but·the | 84 | hash.·This·constructor·allows·i\x8im\x8mp\x8pl\x8li\x8ic\x8ci\x8it\x8t·conversion·from·a·v1·hash,·but·the |
71 | implicitness·is·deprecated. | 85 | implicitness·is·deprecated. |
72 | [_\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] |
73 | *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8s_\x8_v\x8v | 87 | *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8s_\x8_v\x8v1.1(.().)·h.ha.as.s(.().)·h.ha.as.s_._v.v2.2(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
74 | bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const; | 88 | bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const; |
75 | bool·h\x8ha\x8as\x8s·(protocol_version·v)·const; | ||
76 | bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const; | 89 | bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const; |
90 | bool·h\x8ha\x8as\x8s·(protocol_version·v)·const; | ||
77 | returns·true·if·the·corresponding·info·hash·is·present·in·this·object. | 91 | returns·true·if·the·corresponding·info·hash·is·present·in·this·object. |
78 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 92 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
79 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 93 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
80 | sha1_hash·g\x8ge\x8et\x8t·(protocol_version·v)·const; | 94 | sha1_hash·g\x8ge\x8et\x8t·(protocol_version·v)·const; |
81 | returns·the·has·for·the·specified·protocol·version | 95 | returns·the·has·for·the·specified·protocol·version |
82 | [_\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] |
83 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t_\x8_b\x8be\x8es\x8st\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 97 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t_\x8_b\x8be\x8es\x8st\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
Offset 491, 67 lines modified | Offset 506, 24 lines modified | ||
491 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 506 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
492 | ··start | 507 | ··start |
493 | ······The·byte·offset·within·that·piece·where·the·range·starts. | 508 | ······The·byte·offset·within·that·piece·where·the·range·starts. |
494 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 509 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
495 | ··length | 510 | ··length |
496 | ······The·size·of·the·range,·in·bytes. | 511 | ······The·size·of·the·range,·in·bytes. |
497 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 512 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
498 | *\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* | ||
499 | 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" | ||
500 | struct·piece_block | ||
501 | { | ||
502 | ···p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·p_index,·int·b_index); | ||
503 | ···p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·()·=·default; | ||
504 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<·(piece_block·const&·b)·const; | ||
505 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(piece_block·const&·b)·const; | ||
506 | ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(piece_block·const&·b)·const; | ||
Max diff block lines reached; 17355/26570 bytes (65.32%) of diff not shown. |
Offset 30, 22 lines modified | Offset 30, 22 lines modified | ||
30 | </table> | 30 | </table> |
31 | <p><a·class="reference·external"·href="reference.html">home</a></p> | 31 | <p><a·class="reference·external"·href="reference.html">home</a></p> |
32 | <div·class="contents·topic"·id="table-of-contents"> | 32 | <div·class="contents·topic"·id="table-of-contents"> |
33 | <p·class="topic-title">Table·of·contents</p> | 33 | <p·class="topic-title">Table·of·contents</p> |
34 | <ul·class="simple"> | 34 | <ul·class="simple"> |
35 | <li><a·class="reference·internal"·href="#create-torrent"·id="toc-entry-1">create_torrent</a><ul> | 35 | <li><a·class="reference·internal"·href="#create-torrent"·id="toc-entry-1">create_torrent</a><ul> |
36 | <li><a·class="reference·internal"·href="#create-torrent-1"·id="toc-entry-2">create_torrent()</a></li> | 36 | <li><a·class="reference·internal"·href="#create-torrent-1"·id="toc-entry-2">create_torrent()</a></li> |
37 | <li><a·class="reference·internal"·href="#generate-generate | 37 | <li><a·class="reference·internal"·href="#generate-buf-generate"·id="toc-entry-3">generate_buf()·generate()</a></li> |
38 | <li><a·class="reference·internal"·href="#files"·id="toc-entry-4">files()</a></li> | 38 | <li><a·class="reference·internal"·href="#files"·id="toc-entry-4">files()</a></li> |
39 | <li><a·class="reference·internal"·href="#set-comment"·id="toc-entry-5">set_comment()</a></li> | 39 | <li><a·class="reference·internal"·href="#set-comment"·id="toc-entry-5">set_comment()</a></li> |
40 | <li><a·class="reference·internal"·href="#set-creator"·id="toc-entry-6">set_creator()</a></li> | 40 | <li><a·class="reference·internal"·href="#set-creator"·id="toc-entry-6">set_creator()</a></li> |
41 | <li><a·class="reference·internal"·href="#set-creation-date"·id="toc-entry-7">set_creation_date()</a></li> | 41 | <li><a·class="reference·internal"·href="#set-creation-date"·id="toc-entry-7">set_creation_date()</a></li> |
42 | <li><a·class="reference·internal"·href="#set-hash"·id="toc-entry-8">set_hash()</a></li> | 42 | <li><a·class="reference·internal"·href="#set-hash"·id="toc-entry-8">set_hash()</a></li> |
43 | <li><a·class="reference·internal"·href="#set-hash2"·id="toc-entry-9">set_hash2()</a></li> | 43 | <li><a·class="reference·internal"·href="#set-hash2"·id="toc-entry-9">set_hash2()</a></li> |
44 | <li><a·class="reference·internal"·href="#add- | 44 | <li><a·class="reference·internal"·href="#add-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> |
Offset 116, 34 lines modified | Offset 116, 34 lines modified | ||
116 | ···std::vector<char>·<strong>generate_buf</strong>·()·const; | 116 | ···std::vector<char>·<strong>generate_buf</strong>·()·const; |
117 | ···file_storage·const&·<strong>files</strong>·()·const; | 117 | ···file_storage·const&·<strong>files</strong>·()·const; |
118 | ···void·<strong>set_comment</strong>·(char·const*·str); | 118 | ···void·<strong>set_comment</strong>·(char·const*·str); |
119 | ···void·<strong>set_creator</strong>·(char·const*·str); | 119 | ···void·<strong>set_creator</strong>·(char·const*·str); |
120 | ···void·<strong>set_creation_date</strong>·(std::time_t·timestamp); | 120 | ···void·<strong>set_creation_date</strong>·(std::time_t·timestamp); |
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); | ||
124 | ···void·<strong>add_url_seed</strong>·(string_view·url); | 123 | ···void·<strong>add_url_seed</strong>·(string_view·url); |
124 | ···void·<strong>add_http_seed</strong>·(string_view·url); | ||
125 | ···void·<strong>add_node</strong>·(std::pair<std::string,·int>·node); | 125 | ···void·<strong>add_node</strong>·(std::pair<std::string,·int>·node); |
126 | ···void·<strong>add_tracker</strong>·(string_view·url,·int·tier·=·0); | 126 | ···void·<strong>add_tracker</strong>·(string_view·url,·int·tier·=·0); |
127 | ···void·<strong>set_root_cert</strong>·(string_view·cert); | 127 | ···void·<strong>set_root_cert</strong>·(string_view·cert); |
128 | ···bool·<strong>priv</strong>·()·const; | ||
129 | ···void·<strong>set_priv</strong>·(bool·p); | 128 | ···void·<strong>set_priv</strong>·(bool·p); |
129 | ···bool·<strong>priv</strong>·()·const; | ||
130 | ···bool·<strong>is_v1_only</strong>·()·const; | 130 | ···bool·<strong>is_v1_only</strong>·()·const; |
131 | ···bool·<strong>is_v2_only</strong>·()·const; | 131 | ···bool·<strong>is_v2_only</strong>·()·const; |
132 | ···int·<strong>num_pieces</strong>·()·const; | 132 | ···int·<strong>num_pieces</strong>·()·const; |
133 | ···piece_index_t·<strong>end_piece</strong>·()·const; | 133 | ···piece_index_t·<strong>end_piece</strong>·()·const; |
134 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const·noexcept; | 134 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const·noexcept; |
135 | ···file_index_t·<strong>end_file</strong>·()·const; | 135 | ···file_index_t·<strong>end_file</strong>·()·const; |
136 | ···index_range<file_index_t>·<strong>file_range</strong>·()·const·noexcept; | 136 | ···index_range<file_index_t>·<strong>file_range</strong>·()·const·noexcept; |
137 | ···index_range<piece_index_t::diff_type>·<strong>file_piece_range</strong>·(file_index_t·f); | 137 | ···index_range<piece_index_t::diff_type>·<strong>file_piece_range</strong>·(file_index_t·f); |
138 | ···std::int64_t·<strong>total_size</strong>·()·const; | 138 | ···std::int64_t·<strong>total_size</strong>·()·const; |
139 | ···int·<strong>piece_length</strong>·()·const; | ||
140 | ···int·<strong>piece_size</strong>·(piece_index_t·i)·const; | 139 | ···int·<strong>piece_size</strong>·(piece_index_t·i)·const; |
141 | ··· | 140 | ···int·<strong>piece_length</strong>·()·const; |
142 | ···void·<strong>add_collection</strong>·(string_view·c); | 141 | ···void·<strong>add_collection</strong>·(string_view·c); |
142 | ···void·<strong>add_similar_torrent</strong>·(sha1_hash·ih); | ||
143 | ···static·constexpr·create_flags_t·<strong>modification_time</strong>··=·2_bit; | 143 | ···static·constexpr·create_flags_t·<strong>modification_time</strong>··=·2_bit; |
144 | ···static·constexpr·create_flags_t·<strong>symlinks</strong>··=·3_bit; | 144 | ···static·constexpr·create_flags_t·<strong>symlinks</strong>··=·3_bit; |
145 | ···static·constexpr·create_flags_t·<strong>v2_only</strong>··=·5_bit; | 145 | ···static·constexpr·create_flags_t·<strong>v2_only</strong>··=·5_bit; |
146 | ···static·constexpr·create_flags_t·<strong>v1_only</strong>··=·6_bit; | 146 | ···static·constexpr·create_flags_t·<strong>v1_only</strong>··=·6_bit; |
147 | ···static·constexpr·create_flags_t·<strong>canonical_files</strong>··=·7_bit; | 147 | ···static·constexpr·create_flags_t·<strong>canonical_files</strong>··=·7_bit; |
148 | ···static·constexpr·create_flags_t·<strong>no_attributes</strong>··=·8_bit; | 148 | ···static·constexpr·create_flags_t·<strong>no_attributes</strong>··=·8_bit; |
Offset 173, 18 lines modified | Offset 173, 18 lines modified | ||
173 | have·any·affect.·Instead·of·using·this·overload,·consider·using | 173 | have·any·affect.·Instead·of·using·this·overload,·consider·using |
174 | <a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_file()">write_torrent_file()</a>·instead.</p> | 174 | <a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_file()">write_torrent_file()</a>·instead.</p> |
175 | <div·class="admonition·warning"> | 175 | <div·class="admonition·warning"> |
176 | <p·class="first·admonition-title">Warning</p> | 176 | <p·class="first·admonition-title">Warning</p> |
177 | <p·class="last">The·<a·class="reference·external"·href="reference-Storage.html#file_storage">file_storage</a>·and·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·objects·must·stay·alive·for·the | 177 | <p·class="last">The·<a·class="reference·external"·href="reference-Storage.html#file_storage">file_storage</a>·and·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·objects·must·stay·alive·for·the |
178 | entire·duration·of·the·<a·class="reference·external"·href="reference-Create_Torrents.html#create_torrent">create_torrent</a>·object.</p> | 178 | entire·duration·of·the·<a·class="reference·external"·href="reference-Create_Torrents.html#create_torrent">create_torrent</a>·object.</p> |
179 | </div> | 179 | </div> |
180 | <a·name="generate()"></a> | 180 | <a·name="generate_buf()"></a> |
181 | <a·name="generate | 181 | <a·name="generate()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bgenerate_buf%28%29+generate%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bgenerate_buf%[·...·truncated·by·diffoscope;·len:·14,·SHA:·da7ff81a04108ddc9d51fa94f7c6bf16b3b4e092fb43062679c84423292b8802·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
182 | <div·class="section"·id="generate-generate | 182 | <div·class="section"·id="generate-buf-generate"> |
183 | <h2>generate()·generate | 183 | <h2>generate_buf()·generate()</h2> |
184 | <pre·class="literal-block"> | 184 | <pre·class="literal-block"> |
185 | entry·<strong>generate</strong>·()·const; | 185 | entry·<strong>generate</strong>·()·const; |
186 | std::vector<char>·<strong>generate_buf</strong>·()·const; | 186 | std::vector<char>·<strong>generate_buf</strong>·()·const; |
187 | </pre> | 187 | </pre> |
188 | <p>This·function·will·generate·the·.torrent·file·as·a·bencode·tree,·or·a | 188 | <p>This·function·will·generate·the·.torrent·file·as·a·bencode·tree,·or·a |
189 | bencoded·into·a·buffer. | 189 | bencoded·into·a·buffer. |
190 | In·order·to·encode·the·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>·into·a·flat·file,·use·the·<a·class="reference·external"·href="reference-Bencoding.html#bencode()">bencode()</a>·function.</p> | 190 | In·order·to·encode·the·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>·into·a·flat·file,·use·the·<a·class="reference·external"·href="reference-Bencoding.html#bencode()">bencode()</a>·function.</p> |
Offset 270, 21 lines modified | Offset 270, 21 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); | ||
283 | void·<strong>add_url_seed</strong>·(string_view·url); | 282 | void·<strong>add_url_seed</strong>·(string_view·url); |
283 | void·<strong>add_http_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 |
288 | a·directory·containing·a·directory·with·the·same·name·as·this·torrent,·and·all·the | 288 | a·directory·containing·a·directory·with·the·same·name·as·this·torrent,·and·all·the |
289 | files·of·the·torrent·in·it.</p> | 289 | files·of·the·torrent·in·it.</p> |
290 | <p>The·second·function,·<tt·class="docutils·literal">add_http_seed()</tt>·adds·an·HTTP·seed·instead.</p> | 290 | <p>The·second·function,·<tt·class="docutils·literal">add_http_seed()</tt>·adds·an·HTTP·seed·instead.</p> |
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 372, 27 lines modified | Offset 372, 27 lines modified | ||
372 | </pre> | 372 | </pre> |
373 | <p>the·total·number·of·bytes·of·all·files·and·pad·files</p> | 373 | <p>the·total·number·of·bytes·of·all·files·and·pad·files</p> |
374 | <a·name="piece_length()"></a> | 374 | <a·name="piece_length()"></a> |
375 | <a·name="piece_size()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bpiece_length%28%29+piece_size%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bpiece_length%28%29+piece_size%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 375 | <a·name="piece_size()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bpiece_length%28%29+piece_size%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bpiece_length%28%29+piece_size%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
376 | <div·class="section"·id="piece-length-piece-size"> | 376 | <div·class="section"·id="piece-length-piece-size"> |
377 | <h2>piece_length()·piece_size()</h2> | 377 | <h2>piece_length()·piece_size()</h2> |
Max diff block lines reached; 6588/17319 bytes (38.04%) of diff not shown. |
Offset 1, 22 lines modified | Offset 1, 22 lines modified | ||
1 | > | 1 | > |
2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] | 2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] |
3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 | 3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 |
4 | _\x8h_\x8o_\x8m_\x8e | 4 | _\x8h_\x8o_\x8m_\x8e |
5 | Table·of·contents | 5 | Table·of·contents |
6 | ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t | 6 | ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t |
7 | ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 7 | ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
8 | ··········o·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8 | 8 | ··········o·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__.b_.u_.f_.(_.)_.·_.g_.e_.n_.e_.r_.a_.t_.e_\x8(_\x8) |
9 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 9 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
10 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8o_\x8m_\x8m_\x8e_\x8n_\x8t_\x8(_\x8) | 10 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8o_\x8m_\x8m_\x8e_\x8n_\x8t_\x8(_\x8) |
11 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8o_\x8r_\x8(_\x8) | 11 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8o_\x8r_\x8(_\x8) |
12 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8d_\x8a_\x8t_\x8e_\x8(_\x8) | 12 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8d_\x8a_\x8t_\x8e_\x8(_\x8) |
13 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) | 13 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) |
14 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x82_\x8(_\x8) | 14 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x82_\x8(_\x8) |
15 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8 | 15 | ··········o·_\x8a_\x8d_\x8d_\x8__\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) |
Offset 78, 34 lines modified | Offset 78, 34 lines modified | ||
78 | ···file_storage·const&·f\x8fi\x8il\x8le\x8es\x8s·()·const; | 78 | ···file_storage·const&·f\x8fi\x8il\x8le\x8es\x8s·()·const; |
79 | ···void·s\x8se\x8et\x8t_\x8_c\x8co\x8om\x8mm\x8me\x8en\x8nt\x8t·(char·const*·str); | 79 | ···void·s\x8se\x8et\x8t_\x8_c\x8co\x8om\x8mm\x8me\x8en\x8nt\x8t·(char·const*·str); |
80 | ···void·s\x8se\x8et\x8t_\x8_c\x8cr\x8re\x8ea\x8at\x8to\x8or\x8r·(char·const*·str); | 80 | ···void·s\x8se\x8et\x8t_\x8_c\x8cr\x8re\x8ea\x8at\x8to\x8or\x8r·(char·const*·str); |
81 | ···void·s\x8se\x8et\x8t_\x8_c\x8cr\x8re\x8ea\x8at\x8ti\x8io\x8on\x8n_\x8_d\x8da\x8at\x8te\x8e·(std::time_t·timestamp); | 81 | ···void·s\x8se\x8et\x8t_\x8_c\x8cr\x8re\x8ea\x8at\x8ti\x8io\x8on\x8n_\x8_d\x8da\x8at\x8te\x8e·(std::time_t·timestamp); |
82 | ···void·s\x8se\x8et\x8t_\x8_h\x8ha\x8as\x8sh\x8h·(piece_index_t·index,·sha1_hash·const&·h); | 82 | ···void·s\x8se\x8et\x8t_\x8_h\x8ha\x8as\x8sh\x8h·(piece_index_t·index,·sha1_hash·const&·h); |
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); | ||
86 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url); | 85 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url); |
86 | ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url); | ||
87 | ···void·a\x8ad\x8dd\x8d_\x8_n\x8no\x8od\x8de\x8e·(std::pair<std::string,·int>·node); | 87 | ···void·a\x8ad\x8dd\x8d_\x8_n\x8no\x8od\x8de\x8e·(std::pair<std::string,·int>·node); |
88 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(string_view·url,·int·tier·=·0); | 88 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(string_view·url,·int·tier·=·0); |
89 | ···void·s\x8se\x8et\x8t_\x8_r\x8ro\x8oo\x8ot\x8t_\x8_c\x8ce\x8er\x8rt\x8t·(string_view·cert); | 89 | ···void·s\x8se\x8et\x8t_\x8_r\x8ro\x8oo\x8ot\x8t_\x8_c\x8ce\x8er\x8rt\x8t·(string_view·cert); |
90 | ···bool·p\x8pr\x8ri\x8iv\x8v·()·const; | ||
91 | ···void·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v·(bool·p); | 90 | ···void·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v·(bool·p); |
91 | ···bool·p\x8pr\x8ri\x8iv\x8v·()·const; | ||
92 | ···bool·i\x8is\x8s_\x8_v\x8v1\x81_\x8_o\x8on\x8nl\x8ly\x8y·()·const; | 92 | ···bool·i\x8is\x8s_\x8_v\x8v1\x81_\x8_o\x8on\x8nl\x8ly\x8y·()·const; |
93 | ···bool·i\x8is\x8s_\x8_v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y·()·const; | 93 | ···bool·i\x8is\x8s_\x8_v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y·()·const; |
94 | ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; | 94 | ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; |
95 | ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; | 95 | ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; |
96 | ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; | 96 | ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; |
97 | ···file_index_t·e\x8en\x8nd\x8d_\x8_f\x8fi\x8il\x8le\x8e·()·const; | 97 | ···file_index_t·e\x8en\x8nd\x8d_\x8_f\x8fi\x8il\x8le\x8e·()·const; |
98 | ···index_range<file_index_t>·f\x8fi\x8il\x8le\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; | 98 | ···index_range<file_index_t>·f\x8fi\x8il\x8le\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept; |
99 | ···index_range<piece_index_t::diff_type>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·(file_index_t·f); | 99 | ···index_range<piece_index_t::diff_type>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·(file_index_t·f); |
100 | ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | 100 | ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; |
101 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | ||
102 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·i)·const; | 101 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·i)·const; |
103 | ··· | 102 | ···int·p.pi.ie.ec.ce.e_._l.le.en.ng.gt.th.h·()·const; |
104 | ···void·a\x8ad\x8dd\x8d_\x8_c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8n·(string_view·c); | 103 | ···void·a\x8ad\x8dd\x8d_\x8_c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8n·(string_view·c); |
104 | ···void·a\x8ad\x8dd\x8d_\x8_s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(sha1_hash·ih); | ||
105 | ···static·constexpr·create_flags_t·m\x8mo\x8od\x8di\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n_\x8_t\x8ti\x8im\x8me\x8e··=·2_bit; | 105 | ···static·constexpr·create_flags_t·m\x8mo\x8od\x8di\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n_\x8_t\x8ti\x8im\x8me\x8e··=·2_bit; |
106 | ···static·constexpr·create_flags_t·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8ks\x8s··=·3_bit; | 106 | ···static·constexpr·create_flags_t·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8ks\x8s··=·3_bit; |
107 | ···static·constexpr·create_flags_t·v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y··=·5_bit; | 107 | ···static·constexpr·create_flags_t·v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y··=·5_bit; |
108 | ···static·constexpr·create_flags_t·v\x8v1\x81_\x8_o\x8on\x8nl\x8ly\x8y··=·6_bit; | 108 | ···static·constexpr·create_flags_t·v\x8v1\x81_\x8_o\x8on\x8nl\x8ly\x8y··=·6_bit; |
109 | ···static·constexpr·create_flags_t·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8l_\x8_f\x8fi\x8il\x8le\x8es\x8s··=·7_bit; | 109 | ···static·constexpr·create_flags_t·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8l_\x8_f\x8fi\x8il\x8le\x8es\x8s··=·7_bit; |
110 | ···static·constexpr·create_flags_t·n\x8no\x8o_\x8_a\x8at\x8tt\x8tr\x8ri\x8ib\x8bu\x8ut\x8te\x8es\x8s··=·8_bit; | 110 | ···static·constexpr·create_flags_t·n\x8no\x8o_\x8_a\x8at\x8tt\x8tr\x8ri\x8ib\x8bu\x8ut\x8te\x8es\x8s··=·8_bit; |
Offset 130, 15 lines modified | Offset 130, 15 lines modified | ||
130 | functions·of·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t·that·affects·the·content·of·the·info·dictionary | 130 | functions·of·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t·that·affects·the·content·of·the·info·dictionary |
131 | (such·as·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)),·will·have·any·affect.·Instead·of·using·this·overload, | 131 | (such·as·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)),·will·have·any·affect.·Instead·of·using·this·overload, |
132 | consider·using·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)·instead. | 132 | consider·using·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)·instead. |
133 | Warning | 133 | Warning |
134 | The·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e·and·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·objects·must·stay·alive·for·the·entire | 134 | The·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e·and·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·objects·must·stay·alive·for·the·entire |
135 | duration·of·the·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t·object. | 135 | duration·of·the·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t·object. |
136 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 136 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
137 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e(.().)·g.ge.en.ne.er.ra.at.te.e | 137 | *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_._b.bu.uf.f(.().)·g.ge.en.ne.er.ra.at.te.e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
138 | entry·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e·()·const; | 138 | entry·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e·()·const; |
139 | std::vector<char>·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_\x8_b\x8bu\x8uf\x8f·()·const; | 139 | std::vector<char>·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_\x8_b\x8bu\x8uf\x8f·()·const; |
140 | This·function·will·generate·the·.torrent·file·as·a·bencode·tree,·or·a·bencoded | 140 | This·function·will·generate·the·.torrent·file·as·a·bencode·tree,·or·a·bencoded |
141 | into·a·buffer.·In·order·to·encode·the·_\x8e_\x8n_\x8t_\x8r_\x8y·into·a·flat·file,·use·the·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8(_\x8) | 141 | into·a·buffer.·In·order·to·encode·the·_\x8e_\x8n_\x8t_\x8r_\x8y·into·a·flat·file,·use·the·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8(_\x8) |
142 | function. | 142 | function. |
143 | The·function·returning·an·_\x8e_\x8n_\x8t_\x8r_\x8y·may·be·useful·to·add·custom·entries·to·the | 143 | The·function·returning·an·_\x8e_\x8n_\x8t_\x8r_\x8y·may·be·useful·to·add·custom·entries·to·the |
144 | torrent·file·before·bencoding·it·and·saving·it·to·disk. | 144 | torrent·file·before·bencoding·it·and·saving·it·to·disk. |
Offset 197, 17 lines modified | Offset 197, 17 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_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d(\x8()\x8)·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
204 | *\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d(\x8()\x8)·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\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); | ||
206 | void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url); | 205 | 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_h\x8ht\x8tt\x8tp\x8p_\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. |
212 | The·second·function,·add_http_seed()·adds·an·HTTP·seed·instead. | 212 | The·second·function,·add_http_seed()·adds·an·HTTP·seed·instead. |
213 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 213 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
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 263, 23 lines modified | Offset 263, 23 lines modified | ||
263 | delta·from·the·first·piece·in·the·file.·i.e.·the·first·index·is·0. | 263 | delta·from·the·first·piece·in·the·file.·i.e.·the·first·index·is·0. |
264 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 264 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
265 | *\x8**\x8**\x8**\x8**\x8*·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 265 | *\x8**\x8**\x8**\x8**\x8*·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
266 | std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | 266 | std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; |
267 | the·total·number·of·bytes·of·all·files·and·pad·files | 267 | the·total·number·of·bytes·of·all·files·and·pad·files |
268 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 268 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
269 | *\x8**\x8**\x8**\x8**\x8*·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h(\x8()\x8)·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 269 | *\x8**\x8**\x8**\x8**\x8*·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h(\x8()\x8)·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
270 | int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | ||
271 | int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·i)·const; | 270 | int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·i)·const; |
271 | int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | ||
272 | piece_length()·returns·the·piece·size·of·all·pieces·but·the·last·one. | 272 | piece_length()·returns·the·piece·size·of·all·pieces·but·the·last·one. |
273 | piece_size()·returns·the·size·of·the·specified·piece.·these·functions·are·just | 273 | piece_size()·returns·the·size·of·the·specified·piece.·these·functions·are·just |
Max diff block lines reached; 4851/13102 bytes (37.02%) of diff not shown. |
Offset 55, 27 lines modified | Offset 55, 27 lines modified | ||
55 | <li><a·class="reference·internal"·href="#get-status"·id="toc-entry-19">get_status()</a></li> | 55 | <li><a·class="reference·internal"·href="#get-status"·id="toc-entry-19">get_status()</a></li> |
56 | <li><a·class="reference·internal"·href="#abort"·id="toc-entry-20">abort()</a></li> | 56 | <li><a·class="reference·internal"·href="#abort"·id="toc-entry-20">abort()</a></li> |
57 | <li><a·class="reference·internal"·href="#submit-jobs"·id="toc-entry-21">submit_jobs()</a></li> | 57 | <li><a·class="reference·internal"·href="#submit-jobs"·id="toc-entry-21">submit_jobs()</a></li> |
58 | <li><a·class="reference·internal"·href="#settings-updated"·id="toc-entry-22">settings_updated()</a></li> | 58 | <li><a·class="reference·internal"·href="#settings-updated"·id="toc-entry-22">settings_updated()</a></li> |
59 | </ul> | 59 | </ul> |
60 | </li> | 60 | </li> |
61 | <li><a·class="reference·internal"·href="#storage-holder"·id="toc-entry-23">storage_holder</a></li> | 61 | <li><a·class="reference·internal"·href="#storage-holder"·id="toc-entry-23">storage_holder</a></li> |
62 | <li><a·class="reference·internal"·href="#settings-interface"·id="toc-entry-24">settings_interface</a></li> | ||
62 | <li><a·class="reference·internal"·href="#buffer-allocator-interface"·id="toc-entry-2 | 63 | <li><a·class="reference·internal"·href="#buffer-allocator-interface"·id="toc-entry-25">buffer_allocator_interface</a></li> |
63 | <li><a·class="reference·internal"·href="#disk-buffer-holder"·id="toc-entry-2 | 64 | <li><a·class="reference·internal"·href="#disk-buffer-holder"·id="toc-entry-26">disk_buffer_holder</a><ul> |
64 | <li><a·class="reference·internal"·href="#disk-buffer-holder-1"·id="toc-entry-2 | 65 | <li><a·class="reference·internal"·href="#disk-buffer-holder-1"·id="toc-entry-27">disk_buffer_holder()</a></li> |
65 | <li><a·class="reference·internal"·href="#disk-buffer-holder-2"·id="toc-entry-2 | 66 | <li><a·class="reference·internal"·href="#disk-buffer-holder-2"·id="toc-entry-28">disk_buffer_holder()</a></li> |
66 | <li><a·class="reference·internal"·href="#disk-buffer-holder-3"·id="toc-entry-2 | 67 | <li><a·class="reference·internal"·href="#disk-buffer-holder-3"·id="toc-entry-29">~disk_buffer_holder()</a></li> |
67 | <li><a·class="reference·internal"·href="#data"·id="toc-entry- | 68 | <li><a·class="reference·internal"·href="#data"·id="toc-entry-30">data()</a></li> |
68 | <li><a·class="reference·internal"·href="#reset"·id="toc-entry-3 | 69 | <li><a·class="reference·internal"·href="#reset"·id="toc-entry-31">reset()</a></li> |
69 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-3 | 70 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-32">swap()</a></li> |
70 | <li><a·class="reference·internal"·href="#is-mutable"·id="toc-entry-3 | 71 | <li><a·class="reference·internal"·href="#is-mutable"·id="toc-entry-33">is_mutable()</a></li> |
71 | <li><a·class="reference·internal"·href="#bool"·id="toc-entry-3 | 72 | <li><a·class="reference·internal"·href="#bool"·id="toc-entry-34">bool()</a></li> |
72 | </ul> | 73 | </ul> |
73 | </li> | 74 | </li> |
74 | <li><a·class="reference·internal"·href="#settings-interface"·id="toc-entry-34">settings_interface</a></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() | 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> | 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> | 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 | 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 |
Offset 152, 21 lines modified | Offset 152, 21 lines modified | ||
152 | the·constructor.·The·callbacks·will·be·run·in·the·network·thread.</p> | 152 | the·constructor.·The·callbacks·will·be·run·in·the·network·thread.</p> |
153 | <pre·class="literal-block"> | 153 | <pre·class="literal-block"> |
154 | struct·disk_interface | 154 | struct·disk_interface |
155 | { | 155 | { |
156 | ···virtual·storage_holder·<strong>new_torrent</strong>·(storage_params·const&·p | 156 | ···virtual·storage_holder·<strong>new_torrent</strong>·(storage_params·const&·p |
157 | ······,·std::shared_ptr<void>·const&·torrent)·=·0; | 157 | ······,·std::shared_ptr<void>·const&·torrent)·=·0; |
158 | ···virtual·void·<strong>remove_torrent</strong>·(storage_index_t)·=·0; | 158 | ···virtual·void·<strong>remove_torrent</strong>·(storage_index_t)·=·0; |
159 | ···virtual·void·<strong>async_read</strong>·(storage_index_t·storage,·peer_request·const&·r | ||
160 | ······,·std::function<void(disk_buffer_holder,·storage_error·const&)>·handler | ||
161 | ······,·disk_job_flags_t·flags·=·{})·=·0; | ||
162 | ···virtual·bool·<strong>async_write</strong>·(storage_index_t·storage,·peer_request·const&·r | 159 | ···virtual·bool·<strong>async_write</strong>·(storage_index_t·storage,·peer_request·const&·r |
163 | ······,·char·const*·buf,·std::shared_ptr<disk_observer>·o | 160 | ······,·char·const*·buf,·std::shared_ptr<disk_observer>·o |
164 | ······,·std::function<void(storage_error·const&)>·handler | 161 | ······,·std::function<void(storage_error·const&)>·handler |
165 | ······,·disk_job_flags_t·flags·=·{})·=·0; | 162 | ······,·disk_job_flags_t·flags·=·{})·=·0; |
163 | ···virtual·void·<strong>async_read</strong>·(storage_index_t·storage,·peer_request·const&·r | ||
164 | ······,·std::function<void(disk_buffer_holder,·storage_error·const&)>·handler | ||
165 | ······,·disk_job_flags_t·flags·=·{})·=·0; | ||
166 | ···virtual·void·<strong>async_hash</strong>·(storage_index_t·storage,·piece_index_t·piece,·span<sha256_hash>·v2 | 166 | ···virtual·void·<strong>async_hash</strong>·(storage_index_t·storage,·piece_index_t·piece,·span<sha256_hash>·v2 |
167 | ······,·disk_job_flags_t·flags | 167 | ······,·disk_job_flags_t·flags |
168 | ······,·std::function<void(piece_index_t,·sha1_hash·const&,·storage_error·const&)>·handler)·=·0; | 168 | ······,·std::function<void(piece_index_t,·sha1_hash·const&,·storage_error·const&)>·handler)·=·0; |
169 | ···virtual·void·<strong>async_hash2</strong>·(storage_index_t·storage,·piece_index_t·piece,·int·offset,·disk_job_flags_t·flags | 169 | ···virtual·void·<strong>async_hash2</strong>·(storage_index_t·storage,·piece_index_t·piece,·int·offset,·disk_job_flags_t·flags |
170 | ······,·std::function<void(piece_index_t,·sha256_hash·const&,·storage_error·const&)>·handler)·=·0; | 170 | ······,·std::function<void(piece_index_t,·sha256_hash·const&,·storage_error·const&)>·handler)·=·0; |
171 | ···virtual·void·<strong>async_move_storage</strong>·(storage_index_t·storage,·std::string·p,·move_flags_t·flags | 171 | ···virtual·void·<strong>async_move_storage</strong>·(storage_index_t·storage,·std::string·p,·move_flags_t·flags |
172 | ······,·std::function<void(status_t,·std::string·const&,·storage_error·const&)>·handler)·=·0; | 172 | ······,·std::function<void(status_t,·std::string·const&,·storage_error·const&)>·handler)·=·0; |
Offset 223, 21 lines modified | Offset 223, 21 lines modified | ||
223 | delete·any·files·from·disk,·just·to·clean·up·any·resources·associated | 223 | delete·any·files·from·disk,·just·to·clean·up·any·resources·associated |
224 | with·the·specified·storage.</p> | 224 | with·the·specified·storage.</p> |
225 | <a·name="async_write()"></a> | 225 | <a·name="async_write()"></a> |
226 | <a·name="async_read()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:disk_interface%3A%3A%5Basync_write%28%29+async_read%28%29%5D&labels=documentation&body=Documentation+under+heading+%22disk_interface%3A%3A%5Basync_write%28%29+async_read%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 226 | <a·name="async_read()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:disk_interface%3A%3A%5Basync_write%28%29+async_read%28%29%5D&labels=documentation&body=Documentation+under+heading+%22disk_interface%3A%3A%5Basync_write%28%29+async_read%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
227 | <div·class="section"·id="async-write-async-read"> | 227 | <div·class="section"·id="async-write-async-read"> |
228 | <h2>async_write()·async_read()</h2> | 228 | <h2>async_write()·async_read()</h2> |
229 | <pre·class="literal-block"> | 229 | <pre·class="literal-block"> |
230 | virtual·void·<strong>async_read</strong>·(storage_index_t·storage,·peer_request·const&·r | ||
231 | ······,·std::function<void(disk_buffer_holder,·storage_error·const&)>·handler | ||
232 | ······,·disk_job_flags_t·flags·=·{})·=·0; | ||
233 | virtual·bool·<strong>async_write</strong>·(storage_index_t·storage,·peer_request·const&·r | 230 | virtual·bool·<strong>async_write</strong>·(storage_index_t·storage,·peer_request·const&·r |
234 | ······,·char·const*·buf,·std::shared_ptr<disk_observer>·o | 231 | ······,·char·const*·buf,·std::shared_ptr<disk_observer>·o |
235 | ······,·std::function<void(storage_error·const&)>·handler | 232 | ······,·std::function<void(storage_error·const&)>·handler |
236 | ······,·disk_job_flags_t·flags·=·{})·=·0; | 233 | ······,·disk_job_flags_t·flags·=·{})·=·0; |
234 | virtual·void·<strong>async_read</strong>·(storage_index_t·storage,·peer_request·const&·r | ||
235 | ······,·std::function<void(disk_buffer_holder,·storage_error·const&)>·handler | ||
236 | ······,·disk_job_flags_t·flags·=·{})·=·0; | ||
237 | </pre> | 237 | </pre> |
238 | <p>perform·a·read·or·write·operation·from/to·the·specified·storage | 238 | <p>perform·a·read·or·write·operation·from/to·the·specified·storage |
239 | index·and·the·specified·request.·When·the·operation·completes,·call | 239 | index·and·the·specified·request.·When·the·operation·completes,·call |
240 | handler·possibly·with·a·<a·class="reference·external"·href="reference-Custom_Storage.html#disk_buffer_holder">disk_buffer_holder</a>,·holding·the·buffer·with | 240 | handler·possibly·with·a·<a·class="reference·external"·href="reference-Custom_Storage.html#disk_buffer_holder">disk_buffer_holder</a>,·holding·the·buffer·with |
241 | the·result.·Flags·may·be·set·to·affect·the·read·operation.·See | 241 | the·result.·Flags·may·be·set·to·affect·the·read·operation.·See |
242 | disk_job_flags_t.</p> | 242 | disk_job_flags_t.</p> |
243 | <p>The·<a·class="reference·external"·href="reference-Custom_Storage.html#disk_observer">disk_observer</a>·is·a·callback·to·indicate·that | 243 | <p>The·<a·class="reference·external"·href="reference-Custom_Storage.html#disk_observer">disk_observer</a>·is·a·callback·to·indicate·that |
Offset 488, 26 lines modified | Offset 488, 44 lines modified | ||
488 | internal·libtorrent·torrent·object·to·tie·the·storage·object·allocated | 488 | internal·libtorrent·torrent·object·to·tie·the·storage·object·allocated |
489 | for·a·torrent·to·the·lifetime·of·the·internal·torrent·object.·When·a | 489 | for·a·torrent·to·the·lifetime·of·the·internal·torrent·object.·When·a |
490 | torrent·is·removed·from·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>,·this·holder·is·destructed·and·will | 490 | torrent·is·removed·from·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>,·this·holder·is·destructed·and·will |
491 | inform·the·disk·object.</p> | 491 | inform·the·disk·object.</p> |
492 | <pre·class="literal-block"> | 492 | <pre·class="literal-block"> |
493 | struct·storage_holder | 493 | struct·storage_holder |
494 | { | 494 | { |
495 | ···<strong>storage_holder</strong>·(storage_index_t·idx,·disk_interface&·disk_io); | ||
496 | ···<strong>storage_holder</strong>·()·=·default; | 495 | ···<strong>storage_holder</strong>·()·=·default; |
496 | ···<strong>storage_holder</strong>·(storage_index_t·idx,·disk_interface&·disk_io); | ||
497 | ···<strong>~storage_holder</strong>·(); | 497 | ···<strong>~storage_holder</strong>·(); |
498 | ···explicit·operator·<strong>bool</strong>·()·const; | 498 | ···explicit·operator·<strong>bool</strong>·()·const; |
499 | ···operator·<strong>storage_index_t</strong>·()·const; | 499 | ···operator·<strong>storage_index_t</strong>·()·const; |
500 | ···void·<strong>reset</strong>·(); | 500 | ···void·<strong>reset</strong>·(); |
501 | ···storage_holder&·<strong>operator=</strong>·(storage_holder·const&)·=·delete; | 501 | ···storage_holder&·<strong>operator=</strong>·(storage_holder·const&)·=·delete; |
502 | ···<strong>storage_holder</strong>·(storage_holder·const&)·=·delete; | 502 | ···<strong>storage_holder</strong>·(storage_holder·const&)·=·delete; |
503 | ···<strong>storage_holder</strong>·(storage_holder&&·rhs)·noexcept; | 503 | ···<strong>storage_holder</strong>·(storage_holder&&·rhs)·noexcept; |
504 | ···storage_holder&·<strong>operator=</strong>·(storage_holder&&·rhs)·noexcept; | 504 | ···storage_holder&·<strong>operator=</strong>·(storage_holder&&·rhs)·noexcept; |
505 | }; | 505 | }; |
506 | </pre> | 506 | </pre> |
507 | <a·name="settings_interface"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+settings_interface&labels=documentation&body=Documentation+under+heading+%22class+settings_interface%22+could+be+improved">report·issue</a>]</span></div> | ||
508 | <div·class="section"·id="settings-interface"> | ||
509 | <h1>settings_interface</h1> | ||
510 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/settings_pack.hpp">libtorrent/settings_pack.hpp</a>"</p> | ||
511 | <p>the·common·interface·to·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·and·the·internal·representation·of | ||
512 | settings.</p> | ||
513 | <pre·class="literal-block"> | ||
514 | struct·settings_interface | ||
515 | { | ||
516 | ···virtual·void·<strong>set_str</strong>·(int·name,·std::string·val)·=·0; | ||
517 | ···virtual·bool·<strong>has_val</strong>·(int·name)·const·=·0; | ||
518 | ···virtual·void·<strong>set_int</strong>·(int·name,·int·val)·=·0; | ||
519 | ···virtual·void·<strong>set_bool</strong>·(int·name,·bool·val)·=·0; | ||
520 | ···virtual·int·<strong>get_int</strong>·(int·name)·const·=·0; | ||
521 | ···virtual·bool·<strong>get_bool</strong>·(int·name)·const·=·0; | ||
522 | ···virtual·std::string·const&·<strong>get_str</strong>·(int·name)·const·=·0; | ||
523 | }; | ||
524 | </pre> | ||
507 | <a·name="buffer_allocator_interface"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+buffer_allocator_interface&labels=documentation&body=Documentation+under+heading+%22class+buffer_allocator_interface%22+could+be+improved">report·issue</a>]</span></div> | 525 | <a·name="buffer_allocator_interface"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+buffer_allocator_interface&labels=documentation&body=Documentation+under+heading+%22class+buffer_allocator_interface%22+could+be+improved">report·issue</a>]</span></div> |
508 | <div·class="section"·id="buffer-allocator-interface"> | 526 | <div·class="section"·id="buffer-allocator-interface"> |
509 | <h1>buffer_allocator_interface</h1> | 527 | <h1>buffer_allocator_interface</h1> |
510 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/disk_buffer_holder.hpp">libtorrent/disk_buffer_holder.hpp</a>"</p> | 528 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/disk_buffer_holder.hpp">libtorrent/disk_buffer_holder.hpp</a>"</p> |
511 | <p>the·interface·for·freeing·disk·buffers,·used·by·the·<a·class="reference·external"·href="reference-Custom_Storage.html#disk_buffer_holder">disk_buffer_holder</a>. | 529 | <p>the·interface·for·freeing·disk·buffers,·used·by·the·<a·class="reference·external"·href="reference-Custom_Storage.html#disk_buffer_holder">disk_buffer_holder</a>. |
512 | when·implementing·<a·class="reference·external"·href="reference-Custom_Storage.html#disk_interface">disk_interface</a>,·this·must·also·be·implemented·in·order | 530 | when·implementing·<a·class="reference·external"·href="reference-Custom_Storage.html#disk_interface">disk_interface</a>,·this·must·also·be·implemented·in·order |
513 | to·return·disk·buffers·back·to·libtorrent</p> | 531 | to·return·disk·buffers·back·to·libtorrent</p> |
Offset 524, 16 lines modified | Offset 542, 16 lines modified | ||
524 | <p>The·disk·buffer·holder·acts·like·a·<tt·class="docutils·literal">unique_ptr</tt>·that·frees·a·disk·buffer | 542 | <p>The·disk·buffer·holder·acts·like·a·<tt·class="docutils·literal">unique_ptr</tt>·that·frees·a·disk·buffer |
525 | when·it's·destructed</p> | 543 | when·it's·destructed</p> |
Max diff block lines reached; 2983/13660 bytes (21.84%) of diff not shown. |
Offset 22, 25 lines modified | Offset 22, 25 lines modified | ||
22 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 22 | ··········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) | 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) |
24 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) | 24 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) |
25 | ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8) | 25 | ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8) |
26 | ··········o·_\x8s_\x8u_\x8b_\x8m_\x8i_\x8t_\x8__\x8j_\x8o_\x8b_\x8s_\x8(_\x8) | 26 | ··········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) | 27 | ··········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 | 28 | ····*·_\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 | ||
29 | ····*·_\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 | 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 |
30 | ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r | 31 | ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r |
31 | ··········o·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8) | 32 | ··········o·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8) |
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) |
33 | ··········o·_\x8~_\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) |
34 | ··········o·_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | 35 | ··········o·_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) |
35 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8) | 36 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8) |
36 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) | 37 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) |
37 | ··········o·_\x8i_\x8s_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8(_\x8) | 38 | ··········o·_\x8i_\x8s_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8(_\x8) |
38 | ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8) | 39 | ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8) |
39 | ····*·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
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:: | 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, | 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 | 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(). | 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 | 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 | 46 | to·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·when·passed·to·session::apply_settings().·It's·empty·when |
Offset 102, 21 lines modified | Offset 102, 21 lines modified | ||
102 | thread·via·the·io_context·object·passed·into·the·constructor.·The·callbacks | 102 | thread·via·the·io_context·object·passed·into·the·constructor.·The·callbacks |
103 | will·be·run·in·the·network·thread. | 103 | will·be·run·in·the·network·thread. |
104 | struct·disk_interface | 104 | struct·disk_interface |
105 | { | 105 | { |
106 | ···virtual·storage_holder·n\x8ne\x8ew\x8w_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(storage_params·const&·p | 106 | ···virtual·storage_holder·n\x8ne\x8ew\x8w_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(storage_params·const&·p |
107 | ······,·std::shared_ptr<void>·const&·torrent)·=·0; | 107 | ······,·std::shared_ptr<void>·const&·torrent)·=·0; |
108 | ···virtual·void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(storage_index_t)·=·0; | 108 | ···virtual·void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(storage_index_t)·=·0; |
109 | ···virtual·void·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_r\x8re\x8ea\x8ad\x8d·(storage_index_t·storage,·peer_request·const&·r | ||
110 | ······,·std::function<void(disk_buffer_holder,·storage_error·const&)>·handler | ||
111 | ······,·disk_job_flags_t·flags·=·{})·=·0; | ||
112 | ···virtual·bool·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_w\x8wr\x8ri\x8it\x8te\x8e·(storage_index_t·storage,·peer_request·const&·r | 109 | ···virtual·bool·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_w\x8wr\x8ri\x8it\x8te\x8e·(storage_index_t·storage,·peer_request·const&·r |
113 | ······,·char·const*·buf,·std::shared_ptr<disk_observer>·o | 110 | ······,·char·const*·buf,·std::shared_ptr<disk_observer>·o |
114 | ······,·std::function<void(storage_error·const&)>·handler | 111 | ······,·std::function<void(storage_error·const&)>·handler |
115 | ······,·disk_job_flags_t·flags·=·{})·=·0; | 112 | ······,·disk_job_flags_t·flags·=·{})·=·0; |
113 | ···virtual·void·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_r\x8re\x8ea\x8ad\x8d·(storage_index_t·storage,·peer_request·const&·r | ||
114 | ······,·std::function<void(disk_buffer_holder,·storage_error·const&)>·handler | ||
115 | ······,·disk_job_flags_t·flags·=·{})·=·0; | ||
116 | ···virtual·void·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_h\x8ha\x8as\x8sh\x8h·(storage_index_t·storage,·piece_index_t·piece, | 116 | ···virtual·void·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_h\x8ha\x8as\x8sh\x8h·(storage_index_t·storage,·piece_index_t·piece, |
117 | span<sha256_hash>·v2 | 117 | span<sha256_hash>·v2 |
118 | ······,·disk_job_flags_t·flags | 118 | ······,·disk_job_flags_t·flags |
119 | ······,·std::function<void(piece_index_t,·sha1_hash·const&,·storage_error | 119 | ······,·std::function<void(piece_index_t,·sha1_hash·const&,·storage_error |
120 | const&)>·handler)·=·0; | 120 | const&)>·handler)·=·0; |
121 | ···virtual·void·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_h\x8ha\x8as\x8sh\x8h2\x82·(storage_index_t·storage,·piece_index_t·piece,·int | 121 | ···virtual·void·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_h\x8ha\x8as\x8sh\x8h2\x82·(storage_index_t·storage,·piece_index_t·piece,·int |
122 | offset,·disk_job_flags_t·flags | 122 | offset,·disk_job_flags_t·flags |
Offset 172, 21 lines modified | Offset 172, 21 lines modified | ||
172 | *\x8**\x8**\x8**\x8**\x8*·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 172 | *\x8**\x8**\x8**\x8**\x8*·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
173 | virtual·void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(storage_index_t)·=·0; | 173 | virtual·void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(storage_index_t)·=·0; |
174 | remove·the·storage·with·the·specified·index.·This·is·not·expected·to·delete·any | 174 | remove·the·storage·with·the·specified·index.·This·is·not·expected·to·delete·any |
175 | files·from·disk,·just·to·clean·up·any·resources·associated·with·the·specified | 175 | files·from·disk,·just·to·clean·up·any·resources·associated·with·the·specified |
176 | storage. | 176 | storage. |
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] |
178 | *\x8**\x8**\x8**\x8**\x8*·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_w\x8wr\x8ri\x8it\x8te\x8e(\x8()\x8)·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_r\x8re\x8ea\x8ad\x8d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 178 | *\x8**\x8**\x8**\x8**\x8*·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_w\x8wr\x8ri\x8it\x8te\x8e(\x8()\x8)·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_r\x8re\x8ea\x8ad\x8d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
179 | virtual·void·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_r\x8re\x8ea\x8ad\x8d·(storage_index_t·storage,·peer_request·const&·r | ||
180 | ······,·std::function<void(disk_buffer_holder,·storage_error·const&)>·handler | ||
181 | ······,·disk_job_flags_t·flags·=·{})·=·0; | ||
182 | virtual·bool·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_w\x8wr\x8ri\x8it\x8te\x8e·(storage_index_t·storage,·peer_request·const&·r | 179 | virtual·bool·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_w\x8wr\x8ri\x8it\x8te\x8e·(storage_index_t·storage,·peer_request·const&·r |
183 | ······,·char·const*·buf,·std::shared_ptr<disk_observer>·o | 180 | ······,·char·const*·buf,·std::shared_ptr<disk_observer>·o |
184 | ······,·std::function<void(storage_error·const&)>·handler | 181 | ······,·std::function<void(storage_error·const&)>·handler |
185 | ······,·disk_job_flags_t·flags·=·{})·=·0; | 182 | ······,·disk_job_flags_t·flags·=·{})·=·0; |
183 | virtual·void·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_r\x8re\x8ea\x8ad\x8d·(storage_index_t·storage,·peer_request·const&·r | ||
184 | ······,·std::function<void(disk_buffer_holder,·storage_error·const&)>·handler | ||
185 | ······,·disk_job_flags_t·flags·=·{})·=·0; | ||
186 | perform·a·read·or·write·operation·from/to·the·specified·storage·index·and·the | 186 | perform·a·read·or·write·operation·from/to·the·specified·storage·index·and·the |
187 | specified·request.·When·the·operation·completes,·call·handler·possibly·with·a | 187 | specified·request.·When·the·operation·completes,·call·handler·possibly·with·a |
188 | _\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r,·holding·the·buffer·with·the·result.·Flags·may·be·set·to | 188 | _\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r,·holding·the·buffer·with·the·result.·Flags·may·be·set·to |
189 | affect·the·read·operation.·See·disk_job_flags_t. | 189 | affect·the·read·operation.·See·disk_job_flags_t. |
190 | The·_\x8d_\x8i_\x8s_\x8k_\x8__\x8o_\x8b_\x8s_\x8e_\x8r_\x8v_\x8e_\x8r·is·a·callback·to·indicate·that·the·store·buffer/disk·write | 190 | The·_\x8d_\x8i_\x8s_\x8k_\x8__\x8o_\x8b_\x8s_\x8e_\x8r_\x8v_\x8e_\x8r·is·a·callback·to·indicate·that·the·store·buffer/disk·write |
191 | queue·is·below·the·watermark·to·let·peers·start·writing·buffers·to·disk·again. | 191 | queue·is·below·the·watermark·to·let·peers·start·writing·buffers·to·disk·again. |
192 | When·async_write()·returns·true,·indicating·the·write·queue·is·full,·the·peer | 192 | When·async_write()·returns·true,·indicating·the·write·queue·is·full,·the·peer |
Offset 373, 26 lines modified | Offset 373, 41 lines modified | ||
373 | a·unique,·owning,·reference·to·the·storage·of·a·torrent·in·a·disk·io·subsystem | 373 | a·unique,·owning,·reference·to·the·storage·of·a·torrent·in·a·disk·io·subsystem |
374 | (class·that·implements·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e).·This·is·held·by·the·internal·libtorrent | 374 | (class·that·implements·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e).·This·is·held·by·the·internal·libtorrent |
375 | torrent·object·to·tie·the·storage·object·allocated·for·a·torrent·to·the | 375 | torrent·object·to·tie·the·storage·object·allocated·for·a·torrent·to·the |
376 | lifetime·of·the·internal·torrent·object.·When·a·torrent·is·removed·from·the | 376 | lifetime·of·the·internal·torrent·object.·When·a·torrent·is·removed·from·the |
377 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n,·this·holder·is·destructed·and·will·inform·the·disk·object. | 377 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n,·this·holder·is·destructed·and·will·inform·the·disk·object. |
378 | struct·storage_holder | 378 | struct·storage_holder |
379 | { | 379 | { |
380 | ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_index_t·idx,·disk_interface&·disk_io); | ||
381 | ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·()·=·default; | 380 | ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·()·=·default; |
381 | ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_index_t·idx,·disk_interface&·disk_io); | ||
382 | ···~\x8~s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(); | 382 | ···~\x8~s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(); |
383 | ···explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const; | 383 | ···explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const; |
384 | ···operator·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_t\x8t·()·const; | 384 | ···operator·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_t\x8t·()·const; |
385 | ···void·r\x8re\x8es\x8se\x8et\x8t·(); | 385 | ···void·r\x8re\x8es\x8se\x8et\x8t·(); |
386 | ···storage_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(storage_holder·const&)·=·delete; | 386 | ···storage_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(storage_holder·const&)·=·delete; |
387 | ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_holder·const&)·=·delete; | 387 | ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_holder·const&)·=·delete; |
388 | ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_holder&&·rhs)·noexcept; | 388 | ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_holder&&·rhs)·noexcept; |
389 | ···storage_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(storage_holder&&·rhs)·noexcept; | 389 | ···storage_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(storage_holder&&·rhs)·noexcept; |
390 | }; | 390 | }; |
391 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 391 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
392 | *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8gs\x8s_\x8_i\x8in\x8nt\x8te\x8er\x8rf\x8fa\x8ac\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
393 | 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" | ||
394 | the·common·interface·to·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·and·the·internal·representation·of | ||
395 | settings. | ||
396 | struct·settings_interface | ||
397 | { | ||
398 | ···virtual·void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·=·0; | ||
399 | ···virtual·bool·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l·(int·name)·const·=·0; | ||
400 | ···virtual·void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·int·val)·=·0; | ||
401 | ···virtual·void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·=·0; | ||
402 | ···virtual·int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·=·0; | ||
403 | ···virtual·bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·=·0; | ||
404 | ···virtual·std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·=·0; | ||
405 | }; | ||
406 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
392 | *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_a\x8al\x8ll\x8lo\x8oc\x8ca\x8at\x8to\x8or\x8r_\x8_i\x8in\x8nt\x8te\x8er\x8rf\x8fa\x8ac\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* | 407 | *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_a\x8al\x8ll\x8lo\x8oc\x8ca\x8at\x8to\x8or\x8r_\x8_i\x8in\x8nt\x8te\x8er\x8rf\x8fa\x8ac\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* |
393 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" | 408 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" |
394 | the·interface·for·freeing·disk·buffers,·used·by·the·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r.·when | 409 | the·interface·for·freeing·disk·buffers,·used·by·the·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r.·when |
395 | implementing·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e,·this·must·also·be·implemented·in·order·to·return | 410 | implementing·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e,·this·must·also·be·implemented·in·order·to·return |
396 | disk·buffers·back·to·libtorrent | 411 | disk·buffers·back·to·libtorrent |
397 | struct·buffer_allocator_interface | 412 | struct·buffer_allocator_interface |
398 | { | 413 | { |
Offset 403, 16 lines modified | Offset 418, 16 lines modified | ||
403 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" | 418 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" |
404 | The·disk·buffer·holder·acts·like·a·unique_ptr·that·frees·a·disk·buffer·when | 419 | The·disk·buffer·holder·acts·like·a·unique_ptr·that·frees·a·disk·buffer·when |
405 | it's·destructed | 420 | it's·destructed |
406 | If·this·buffer·holder·is·moved-from,·default·constructed·or·reset,·data()·will | 421 | If·this·buffer·holder·is·moved-from,·default·constructed·or·reset,·data()·will |
407 | return·nullptr. | 422 | return·nullptr. |
408 | struct·disk_buffer_holder | 423 | struct·disk_buffer_holder |
409 | { | 424 | { |
Max diff block lines reached; 2147/10239 bytes (20.97%) of diff not shown. |
Offset 33, 44 lines modified | Offset 33, 44 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="#i2p-category"·id="toc-entry-4">i2p_category()</a></li> | ||
41 | <li><a·class="reference·internal"·href="#libtorrent-category"·id="toc-entry- | 40 | <li><a·class="reference·internal"·href="#libtorrent-category"·id="toc-entry-4">libtorrent_category()</a></li> |
42 | <li><a·class="reference·internal"·href="#http-category"·id="toc-entry- | 41 | <li><a·class="reference·internal"·href="#http-category"·id="toc-entry-5">http_category()</a></li> |
43 | <li><a·class="reference·internal"·href="#upnp-category"·id="toc-entry-7">upnp_category()</a></li> | ||
44 | <li><a·class="reference·internal"·href="# | 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> | ||
45 | <li><a·class="reference·internal"·href="#pcp-category"·id="toc-entry- | 44 | <li><a·class="reference·internal"·href="#pcp-category"·id="toc-entry-8">pcp_category()</a></li> |
46 | <li><a·class="reference·internal"·href="#socks-category"·id="toc-entry- | 45 | <li><a·class="reference·internal"·href="#socks-category"·id="toc-entry-9">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="# | 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-i2p-error-code"·id="toc-entry-12">enum·i2p_error_code</a></li> | ||
49 | <li><a·class="reference·internal"·href="#enum-error-code-enum"·id="toc-entry-1 | 48 | <li><a·class="reference·internal"·href="#enum-error-code-enum"·id="toc-entry-12">enum·error_code_enum</a></li> |
50 | <li><a·class="reference·internal"·href="#enum-http-errors"·id="toc-entry-1 | 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-15">enum·error_code_enum</a></li> | 51 | <li><a·class="reference·internal"·href="#enum-error-code-enum-1"·id="toc-entry-15">enum·error_code_enum</a></li> |
52 | <li><a·class="reference·internal"·href="#enum-error-code-enum-2"·id="toc-entry-16">enum·error_code_enum</a></li> | ||
53 | <li><a·class="reference·internal"·href="#enum-pcp-errors"·id="toc-entry-1 | 52 | <li><a·class="reference·internal"·href="#enum-pcp-errors"·id="toc-entry-16">enum·pcp_errors</a></li> |
54 | <li><a·class="reference·internal"·href="#enum-socks-error-code"·id="toc-entry-1 | 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-18">enum·error_code_enum</a></li> | ||
55 | <li><a·class="reference·internal"·href="#enum-error-code-enum-3"·id="toc-entry-19">enum·error_code_enum</a></li> | 55 | <li><a·class="reference·internal"·href="#enum-error-code-enum-3"·id="toc-entry-19">enum·error_code_enum</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 |
63 | error·happened·on</p> | 63 | error·happened·on</p> |
64 | <pre·class="literal-block"> | 64 | <pre·class="literal-block"> |
65 | struct·storage_error | 65 | struct·storage_error |
66 | { | 66 | { |
67 | ···explicit·operator·<strong>bool</strong>·()·const; | 67 | ···explicit·operator·<strong>bool</strong>·()·const; |
68 | ···void·<strong>file</strong>·(file_index_t·f); | ||
69 | ···file_index_t·<strong>file</strong>·()·const; | 68 | ···file_index_t·<strong>file</strong>·()·const; |
69 | ···void·<strong>file</strong>·(file_index_t·f); | ||
70 | ···error_code·ec; | 70 | ···error_code·ec; |
71 | ···operation_t·operation; | 71 | ···operation_t·operation; |
72 | }; | 72 | }; |
73 | </pre> | 73 | </pre> |
74 | <a·name="bool()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:storage_error%3A%3A%5Bbool%28%29%5D&labels=documentation&body=Documentation+under+heading+%22storage_error%3A%3A%5Bbool%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="bool"> | 74 | <a·name="bool()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:storage_error%3A%3A%5Bbool%28%29%5D&labels=documentation&body=Documentation+under+heading+%22storage_error%3A%3A%5Bbool%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="bool"> |
75 | <h2>bool()</h2> | 75 | <h2>bool()</h2> |
Offset 79, 39 lines modified | Offset 79, 31 lines modified | ||
79 | </pre> | 79 | </pre> |
80 | <p>explicitly·converts·to·true·if·this·object·represents·an·error,·and | 80 | <p>explicitly·converts·to·true·if·this·object·represents·an·error,·and |
81 | false·if·it·does·not.</p> | 81 | false·if·it·does·not.</p> |
82 | <a·name="file()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:storage_error%3A%3A%5Bfile%28%29%5D&labels=documentation&body=Documentation+under+heading+%22storage_error%3A%3A%5Bfile%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | 82 | <a·name="file()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:storage_error%3A%3A%5Bfile%28%29%5D&labels=documentation&body=Documentation+under+heading+%22storage_error%3A%3A%5Bfile%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
83 | <div·class="section"·id="file"> | 83 | <div·class="section"·id="file"> |
84 | <h2>file()</h2> | 84 | <h2>file()</h2> |
85 | <pre·class="literal-block"> | 85 | <pre·class="literal-block"> |
86 | void·<strong>file</strong>·(file_index_t·f); | ||
87 | file_index_t·<strong>file</strong>·()·const; | 86 | file_index_t·<strong>file</strong>·()·const; |
87 | void·<strong>file</strong>·(file_index_t·f); | ||
88 | </pre> | 88 | </pre> |
89 | <p>set·and·query·the·index·(in·the·torrent)·of·the·file·this·error | 89 | <p>set·and·query·the·index·(in·the·torrent)·of·the·file·this·error |
90 | occurred·on.·This·may·also·have·special·values·defined·in | 90 | occurred·on.·This·may·also·have·special·values·defined·in |
91 | <a·class="reference·external"·href="reference-Torrent_Status.html#torrent_status">torrent_status</a>.</p> | 91 | <a·class="reference·external"·href="reference-Torrent_Status.html#torrent_status">torrent_status</a>.</p> |
92 | <a·name="ec"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:storage_error%3A%3A%5Bec%5D&labels=documentation&body=Documentation+under+heading+%22storage_error%3A%3A%5Bec%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | 92 | <a·name="ec"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:storage_error%3A%3A%5Bec%5D&labels=documentation&body=Documentation+under+heading+%22storage_error%3A%3A%5Bec%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> |
93 | <dt>ec</dt> | 93 | <dt>ec</dt> |
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="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> | ||
102 | </div> | ||
103 | <div·class="section"·id="i2p-category"> | ||
104 | <h1>i2p_category()</h1> | ||
105 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/i2p_stream.hpp">libtorrent/i2p_stream.hpp</a>"</p> | ||
106 | <pre·class="literal-block"> | ||
107 | boost::system::error_category&·<strong>i2p_category</strong>·(); | ||
108 | </pre> | ||
109 | <p>returns·the·error·category·for·I2P·errors</p> | ||
110 | <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> | 101 | <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> |
102 | </div> | ||
111 | <div·class="section"·id="libtorrent-category"> | 103 | <div·class="section"·id="libtorrent-category"> |
112 | <h1>libtorrent_category()</h1> | 104 | <h1>libtorrent_category()</h1> |
113 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/error_code.hpp">libtorrent/error_code.hpp</a>"</p> | 105 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/error_code.hpp">libtorrent/error_code.hpp</a>"</p> |
114 | <pre·class="literal-block"> | 106 | <pre·class="literal-block"> |
115 | boost::system::error_category&·<strong>libtorrent_category</strong>·(); | 107 | boost::system::error_category&·<strong>libtorrent_category</strong>·(); |
116 | </pre> | 108 | </pre> |
117 | <p>return·the·instance·of·the·libtorrent_error_category·which | 109 | <p>return·the·instance·of·the·libtorrent_error_category·which |
Offset 120, 30 lines modified | Offset 112, 29 lines modified | ||
120 | <div·class="section"·id="http-category"> | 112 | <div·class="section"·id="http-category"> |
121 | <h1>http_category()</h1> | 113 | <h1>http_category()</h1> |
122 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/error_code.hpp">libtorrent/error_code.hpp</a>"</p> | 114 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/error_code.hpp">libtorrent/error_code.hpp</a>"</p> |
123 | <pre·class="literal-block"> | 115 | <pre·class="literal-block"> |
124 | boost::system::error_category&·<strong>http_category</strong>·(); | 116 | boost::system::error_category&·<strong>http_category</strong>·(); |
125 | </pre> | 117 | </pre> |
126 | <p>returns·the·error_category·for·HTTP·errors</p> | 118 | <p>returns·the·error_category·for·HTTP·errors</p> |
127 | <a·name=" | 119 | <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> |
128 | <div·class="section"·id=" | 120 | <div·class="section"·id="i2p-category"> |
129 | <h1> | 121 | <h1>i2p_category()</h1> |
130 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/ | 122 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/i2p_stream.hpp">libtorrent/i2p_stream.hpp</a>"</p> |
131 | <pre·class="literal-block"> | 123 | <pre·class="literal-block"> |
132 | boost::system::error_category&·<strong> | 124 | boost::system::error_category&·<strong>i2p_category</strong>·(); |
133 | </pre> | 125 | </pre> |
134 | <p> | 126 | <p>returns·the·error·category·for·I2P·errors</p> |
135 | <a·name=" | 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> |
136 | <div·class="section"·id=" | 128 | <div·class="section"·id="bdecode-category"> |
137 | <h1> | 129 | <h1>bdecode_category()</h1> |
138 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/ | 130 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/bdecode.hpp">libtorrent/bdecode.hpp</a>"</p> |
139 | <pre·class="literal-block"> | 131 | <pre·class="literal-block"> |
140 | boost::system::error_category&·<strong> | 132 | boost::system::error_category&·<strong>bdecode_category</strong>·(); |
141 | </pre> | 133 | </pre> |
142 | <p>get·the·<tt·class="docutils·literal">error_category</tt>·for·zip·errors</p> | ||
143 | <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> | 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> |
144 | <div·class="section"·id="pcp-category"> | 135 | <div·class="section"·id="pcp-category"> |
145 | <h1>pcp_category()</h1> | 136 | <h1>pcp_category()</h1> |
146 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/natpmp.hpp">libtorrent/natpmp.hpp</a>"</p> | 137 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/natpmp.hpp">libtorrent/natpmp.hpp</a>"</p> |
147 | <pre·class="literal-block"> | 138 | <pre·class="literal-block"> |
148 | boost::system::error_category&·<strong>pcp_category</strong>·(); | 139 | boost::system::error_category&·<strong>pcp_category</strong>·(); |
149 | </pre> | 140 | </pre> |
Offset 151, 80 lines modified | Offset 142, 30 lines modified | ||
151 | <div·class="section"·id="socks-category"> | 142 | <div·class="section"·id="socks-category"> |
152 | <h1>socks_category()</h1> | 143 | <h1>socks_category()</h1> |
153 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/socks5_stream.hpp">libtorrent/socks5_stream.hpp</a>"</p> | 144 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/socks5_stream.hpp">libtorrent/socks5_stream.hpp</a>"</p> |
154 | <pre·class="literal-block"> | 145 | <pre·class="literal-block"> |
Max diff block lines reached; 17555/29092 bytes (60.34%) of diff not shown. |
Offset 2, 115 lines modified | Offset 2, 100 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 | ····*·_\x8i_\x82_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
10 | ····*·_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | 9 | ····*·_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
11 | ····*·_\x8h_\x8t_\x8t_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | 10 | ····*·_\x8h_\x8t_\x8t_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
12 | ····*·_\x8 | 11 | ····*·_\x8i_.2_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
13 | ····*·_\x8 | 12 | ····*·_\x8b_.d_.e_.c_.o_.d_.e_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
14 | ····*·_\x8p_\x8c_\x8p_\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) |
15 | ····*·_\x8s_\x8o_\x8c_\x8k_\x8s_\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 | ····*·_\x8 | 15 | ····*·_\x8g_.z_.i_.p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
17 | ····*·_\x8 | 16 | ····*·_\x8u_.p_.n_.p_.__.c_.a_.t_.e_.g_.o_.r_.y_.(_.) |
18 | ····*·_\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 |
19 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8h_\x8t_\x8t_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s | 18 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8h_\x8t_\x8t_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s |
20 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8 | 19 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8i_.2_.p_.__.e_.r_.r_.o_.r_.__.c_.o_.d_.e |
21 | ····*·_\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·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m |
22 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8c_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s | 21 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8c_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s |
23 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e | 22 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e |
24 | ····*·_\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·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m |
24 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m | ||
25 | [_\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 | { |
32 | ···explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const; | 32 | ···explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const; |
33 | ···void·f\x8fi\x8il\x8le\x8e·(file_index_t·f); | ||
34 | ···file_index_t·f\x8fi\x8il\x8le\x8e·()·const; | 33 | ···file_index_t·f\x8fi\x8il\x8le\x8e·()·const; |
34 | ···void·f\x8fi\x8il\x8le\x8e·(file_index_t·f); | ||
35 | ···error_code·ec; | 35 | ···error_code·ec; |
36 | ···operation_t·operation; | 36 | ···operation_t·operation; |
37 | }; | 37 | }; |
38 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 38 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
39 | *\x8**\x8**\x8**\x8**\x8*·b\x8bo\x8oo\x8ol\x8l(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 39 | *\x8**\x8**\x8**\x8**\x8*·b\x8bo\x8oo\x8ol\x8l(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
40 | explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const; | 40 | explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const; |
41 | explicitly·converts·to·true·if·this·object·represents·an·error,·and·false·if·it | 41 | explicitly·converts·to·true·if·this·object·represents·an·error,·and·false·if·it |
42 | does·not. | 42 | does·not. |
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*·f\x8fi\x8il\x8le\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 44 | *\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8il\x8le\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
45 | void·f\x8fi\x8il\x8le\x8e·(file_index_t·f); | ||
46 | file_index_t·f\x8fi\x8il\x8le\x8e·()·const; | 45 | file_index_t·f\x8fi\x8il\x8le\x8e·()·const; |
46 | void·f\x8fi\x8il\x8le\x8e·(file_index_t·f); | ||
47 | set·and·query·the·index·(in·the·torrent)·of·the·file·this·error·occurred·on. | 47 | set·and·query·the·index·(in·the·torrent)·of·the·file·this·error·occurred·on. |
48 | This·may·also·have·special·values·defined·in·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s. | 48 | This·may·also·have·special·values·defined·in·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s. |
49 | [_\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] |
50 | ··ec | 50 | ··ec |
51 | ······the·error·that·occurred | 51 | ······the·error·that·occurred |
52 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 52 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
53 | ··operation | 53 | ··operation |
54 | ······A·code·from·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8t·enum,·indicating·what·kind·of·operation·failed. | 54 | ······A·code·from·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8t·enum,·indicating·what·kind·of·operation·failed. |
55 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 55 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
56 | *\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* | ||
57 | 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" | ||
58 | boost::system::error_category&·i\x8i2\x82p\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | ||
59 | returns·the·error·category·for·I2P·errors | ||
60 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
61 | *\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* | 56 | *\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* |
62 | 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" | 57 | 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" |
63 | 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·(); | 58 | 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·(); |
64 | return·the·instance·of·the·libtorrent_error_category·which·maps·libtorrent | 59 | return·the·instance·of·the·libtorrent_error_category·which·maps·libtorrent |
65 | error·codes·to·human·readable·error·messages. | 60 | error·codes·to·human·readable·error·messages. |
66 | [_\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] |
67 | *\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* | 62 | *\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* |
68 | 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" | 63 | 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" |
69 | boost::system::error_category&·h\x8ht\x8tt\x8tp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | 64 | boost::system::error_category&·h\x8ht\x8tt\x8tp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); |
70 | returns·the·error_category·for·HTTP·errors | 65 | returns·the·error_category·for·HTTP·errors |
71 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 66 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
72 | *\x8**\x8**\x8**\x8**\x8**\x8*· | 67 | *\x8**\x8**\x8**\x8**\x8**\x8*·i.i2.2p\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
73 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8 | 68 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_.2_.p_.__.s_.t_.r_.e_.a_.m_\x8._\x8h_\x8p_\x8p" |
74 | boost::system::error_category&· | 69 | boost::system::error_category&·i.i2.2p\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); |
75 | 70 | returns·the·error·category·for·I2P·errors | |
76 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 71 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
77 | *\x8**\x8**\x8**\x8**\x8**\x8*· | 72 | *\x8**\x8**\x8**\x8**\x8**\x8*·b.bd.de.ec.co.od.de.e_\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/_\x8 | 73 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8b_.d_.e_.c_.o_.d_.e_\x8._\x8h_\x8p_\x8p" |
79 | boost::system::error_category&· | 74 | boost::system::error_category&·b.bd.de.ec.co.od.de.e_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); |
80 | get·the·error_category·for·zip·errors | ||
81 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 75 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
82 | *\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* | 76 | *\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* |
83 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8n_\x8a_\x8t_\x8p_\x8m_\x8p_\x8._\x8h_\x8p_\x8p" | 77 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8n_\x8a_\x8t_\x8p_\x8m_\x8p_\x8._\x8h_\x8p_\x8p" |
84 | boost::system::error_category&·p\x8pc\x8cp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | 78 | boost::system::error_category&·p\x8pc\x8cp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); |
85 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 79 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
86 | *\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* | 80 | *\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* |
87 | 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" | 81 | 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" |
88 | boost::system::error_category&·s\x8so\x8oc\x8ck\x8ks\x8s_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | 82 | boost::system::error_category&·s\x8so\x8oc\x8ck\x8ks\x8s_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); |
89 | returns·the·error_category·for·SOCKS5·errors | 83 | returns·the·error_category·for·SOCKS5·errors |
90 | [_\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] |
91 | *\x8**\x8**\x8**\x8**\x8**\x8*· | 85 | *\x8**\x8**\x8**\x8**\x8**\x8*·g.gz.zi.ip.p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* |
92 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8 | 86 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8g_.z_.i_.p_\x8._\x8h_\x8p_\x8p" |
93 | boost::system::error_category&· | 87 | boost::system::error_category&·g.gz.zi.ip.p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); |
88 | get·the·error_category·for·zip·errors | ||
94 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 89 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
95 | *\x8**\x8**\x8**\x8**\x8**\x8*· | 90 | *\x8**\x8**\x8**\x8**\x8**\x8*·u.up.pn.np.p_._c.ca.at.te.eg.go.or.ry.y(.().)·*\x8**\x8**\x8**\x8**\x8**\x8* |
96 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8 | 91 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8u_.p_.n_.p_\x8._\x8h_\x8p_\x8p" |
92 | boost::system::error_category&·u\x8up\x8pn\x8np\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); | ||
93 | the·boost.system·error·category·for·UPnP·errors | ||
97 | ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8· | ||
98 | |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\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| | ||
99 | |_\x8n_\x8o_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x80_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
100 | |_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8·_\x8·_\x8·_\x8|_\x81_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
101 | |_\x8c_\x8a_\x8n_\x8t_\x8__\x8r_\x8e_\x8a_\x8c_\x8h_\x8__\x8p_\x8e_\x8e_\x8r_\x8|_\x82_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
102 | |_\x8i_\x82_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x83_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
103 | |_\x8i_\x8n_\x8v_\x8a_\x8l_\x8i_\x8d_\x8__\x8k_\x8e_\x8y_\x8·_\x8·_\x8·_\x8·_\x8|_\x84_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
104 | |_\x8i_\x8n_\x8v_\x8a_\x8l_\x8i_\x8d_\x8__\x8i_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x85_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
105 | |_\x8t_\x8i_\x8m_\x8e_\x8o_\x8u_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x86_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
106 | |_\x8k_\x8e_\x8y_\x8__\x8n_\x8o_\x8t_\x8__\x8f_\x8o_\x8u_\x8n_\x8d_\x8·_\x8·_\x8|_\x87_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
107 | |_\x8d_\x8u_\x8p_\x8l_\x8i_\x8c_\x8a_\x8t_\x8e_\x8d_\x8__\x8i_\x8d_\x8·_\x8·_\x8|_\x88_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
108 | |_\x8n_\x8u_\x8m_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x89_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
109 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 94 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
110 | *\x8**\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·e\x8er\x8rr\x8ro\x8or\x8r_\x8_c\x8co\x8od\x8de\x8e_\x8_e\x8en\x8nu\x8um\x8m·*\x8**\x8**\x8**\x8**\x8**\x8* | 95 | *\x8**\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·e\x8er\x8rr\x8ro\x8or\x8r_\x8_c\x8co\x8od\x8de\x8e_\x8_e\x8en\x8nu\x8um\x8m·*\x8**\x8**\x8**\x8**\x8**\x8* |
111 | 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" | 96 | 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" |
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·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8· | 97 | ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8· |
113 | |_\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·_\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·| | 98 | |_\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·_\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·| |
114 | |_\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·_\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·| | 99 | |_\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·_\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·| |
115 | |file_collision······················|1····|Two·torrents·has·files·which·end··| | 100 | |file_collision······················|1····|Two·torrents·has·files·which·end··| |
Offset 505, 42 lines modified | Offset 490, 78 lines modified | ||
505 | |_\x8f_\x8o_\x8r_\x8b_\x8i_\x8d_\x8d_\x8e_\x8n_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x84_\x80_\x83_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 490 | |_\x8f_\x8o_\x8r_\x8b_\x8i_\x8d_\x8d_\x8e_\x8n_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x84_\x80_\x83_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
506 | |_\x8n_\x8o_\x8t_\x8__\x8f_\x8o_\x8u_\x8n_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x84_\x80_\x84_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 491 | |_\x8n_\x8o_\x8t_\x8__\x8f_\x8o_\x8u_\x8n_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x84_\x80_\x84_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
507 | |_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8__\x8s_\x8e_\x8r_\x8v_\x8e_\x8r_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8|_\x85_\x80_\x80_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 492 | |_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8__\x8s_\x8e_\x8r_\x8v_\x8e_\x8r_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8|_\x85_\x80_\x80_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
508 | |_\x8n_\x8o_\x8t_\x8__\x8i_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8e_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x85_\x80_\x81_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 493 | |_\x8n_\x8o_\x8t_\x8__\x8i_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8e_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x85_\x80_\x81_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
509 | |_\x8b_\x8a_\x8d_\x8__\x8g_\x8a_\x8t_\x8e_\x8w_\x8a_\x8y_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x85_\x80_\x82_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 494 | |_\x8b_\x8a_\x8d_\x8__\x8g_\x8a_\x8t_\x8e_\x8w_\x8a_\x8y_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x85_\x80_\x82_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
Max diff block lines reached; 27703/37731 bytes (73.42%) of diff not shown. |
Offset 59, 17 lines modified | Offset 59, 17 lines modified | ||
59 | <p>A·default·constructed·<a·class="reference·external"·href="reference-Filter.html#ip_filter">ip_filter</a>·does·not·filter·any·address.</p> | 59 | <p>A·default·constructed·<a·class="reference·external"·href="reference-Filter.html#ip_filter">ip_filter</a>·does·not·filter·any·address.</p> |
60 | <pre·class="literal-block"> | 60 | <pre·class="literal-block"> |
61 | struct·ip_filter | 61 | struct·ip_filter |
62 | { | 62 | { |
63 | ···<strong>ip_filter</strong>·(ip_filter·const&); | 63 | ···<strong>ip_filter</strong>·(ip_filter·const&); |
64 | ···<strong>ip_filter</strong>·(); | 64 | ···<strong>ip_filter</strong>·(); |
65 | ···<strong>~ip_filter</strong>·(); | 65 | ···<strong>~ip_filter</strong>·(); |
66 | ···<strong>ip_filter</strong>·(ip_filter&&); | ||
67 | ···ip_filter&·<strong>operator=</strong>·(ip_filter&&); | 66 | ···ip_filter&·<strong>operator=</strong>·(ip_filter&&); |
68 | ···ip_filter&·<strong>operator=</strong>·(ip_filter·const&); | 67 | ···ip_filter&·<strong>operator=</strong>·(ip_filter·const&); |
68 | ···<strong>ip_filter</strong>·(ip_filter&&); | ||
69 | ···bool·<strong>empty</strong>·()·const; | 69 | ···bool·<strong>empty</strong>·()·const; |
70 | ···void·<strong>add_rule</strong>·(address·const&·first,·address·const&·last,·std::uint32_t·flags); | 70 | ···void·<strong>add_rule</strong>·(address·const&·first,·address·const&·last,·std::uint32_t·flags); |
71 | ···std::uint32_t·<strong>access</strong>·(address·const&·addr)·const; | 71 | ···std::uint32_t·<strong>access</strong>·(address·const&·addr)·const; |
72 | ···filter_tuple_t·<strong>export_filter</strong>·()·const; | 72 | ···filter_tuple_t·<strong>export_filter</strong>·()·const; |
73 | ···enum·access_flags | 73 | ···enum·access_flags |
74 | ···{ | 74 | ···{ |
Offset 153, 20 lines modified | Offset 153, 20 lines modified | ||
153 | <p>the·port·filter·maps·non-overlapping·port·ranges·to·flags.·This | 153 | <p>the·port·filter·maps·non-overlapping·port·ranges·to·flags.·This |
154 | is·primarily·used·to·indicate·whether·a·range·of·ports·should | 154 | is·primarily·used·to·indicate·whether·a·range·of·ports·should |
155 | be·connected·to·or·not.·The·default·is·to·have·the·full·port | 155 | be·connected·to·or·not.·The·default·is·to·have·the·full·port |
156 | range·(0-65535)·set·to·flag·0.</p> | 156 | range·(0-65535)·set·to·flag·0.</p> |
157 | <pre·class="literal-block"> | 157 | <pre·class="literal-block"> |
158 | class·port_filter | 158 | class·port_filter |
159 | { | 159 | { |
160 | ···<strong>port_filter</strong>·(port_filter&&); | ||
161 | ···port_filter&·<strong>operator=</strong>·(port_filter·const&); | 160 | ···port_filter&·<strong>operator=</strong>·(port_filter·const&); |
162 | ···<strong>~port_filter</strong>·(); | 161 | ···<strong>~port_filter</strong>·(); |
163 | ···<strong>port_filter</strong>·(); | ||
164 | ···port_filter&·<strong>operator=</strong>·(port_filter&&); | 162 | ···port_filter&·<strong>operator=</strong>·(port_filter&&); |
165 | ···<strong>port_filter</strong>·(port_filter·const&); | 163 | ···<strong>port_filter</strong>·(port_filter·const&); |
164 | ···<strong>port_filter</strong>·(port_filter&&); | ||
165 | ···<strong>port_filter</strong>·(); | ||
166 | ···void·<strong>add_rule</strong>·(std::uint16_t·first,·std::uint16_t·last,·std::uint32_t·flags); | 166 | ···void·<strong>add_rule</strong>·(std::uint16_t·first,·std::uint16_t·last,·std::uint32_t·flags); |
167 | ···std::uint32_t·<strong>access</strong>·(std::uint16_t·port)·const; | 167 | ···std::uint32_t·<strong>access</strong>·(std::uint16_t·port)·const; |
168 | ···enum·access_flags | 168 | ···enum·access_flags |
169 | ···{ | 169 | ···{ |
170 | ······blocked, | 170 | ······blocked, |
171 | ···}; | 171 | ···}; |
Offset 22, 17 lines modified | Offset 22, 17 lines modified | ||
22 | and·the·equivalent·range·covering·all·addresses·for·the·IPv6·range). | 22 | and·the·equivalent·range·covering·all·addresses·for·the·IPv6·range). |
23 | A·default·constructed·_\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r·does·not·filter·any·address. | 23 | A·default·constructed·_\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r·does·not·filter·any·address. |
24 | struct·ip_filter | 24 | struct·ip_filter |
25 | { | 25 | { |
26 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter·const&); | 26 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter·const&); |
27 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | 27 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); |
28 | ···~\x8~i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | 28 | ···~\x8~i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); |
29 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter&&); | ||
30 | ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter&&); | 29 | ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter&&); |
31 | ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter·const&); | 30 | ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter·const&); |
31 | ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter&&); | ||
32 | ···bool·e\x8em\x8mp\x8pt\x8ty\x8y·()·const; | 32 | ···bool·e\x8em\x8mp\x8pt\x8ty\x8y·()·const; |
33 | ···void·a\x8ad\x8dd\x8d_\x8_r\x8ru\x8ul\x8le\x8e·(address·const&·first,·address·const&·last,·std::uint32_t | 33 | ···void·a\x8ad\x8dd\x8d_\x8_r\x8ru\x8ul\x8le\x8e·(address·const&·first,·address·const&·last,·std::uint32_t |
34 | flags); | 34 | flags); |
35 | ···std::uint32_t·a\x8ac\x8cc\x8ce\x8es\x8ss\x8s·(address·const&·addr)·const; | 35 | ···std::uint32_t·a\x8ac\x8cc\x8ce\x8es\x8ss\x8s·(address·const&·addr)·const; |
36 | ···filter_tuple_t·e\x8ex\x8xp\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·()·const; | 36 | ···filter_tuple_t·e\x8ex\x8xp\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·()·const; |
37 | ···enum·access_flags | 37 | ···enum·access_flags |
Offset 81, 20 lines modified | Offset 81, 20 lines modified | ||
81 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8* | 81 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8* |
82 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" | 82 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" |
83 | the·port·filter·maps·non-overlapping·port·ranges·to·flags.·This·is·primarily | 83 | the·port·filter·maps·non-overlapping·port·ranges·to·flags.·This·is·primarily |
84 | used·to·indicate·whether·a·range·of·ports·should·be·connected·to·or·not.·The | 84 | used·to·indicate·whether·a·range·of·ports·should·be·connected·to·or·not.·The |
85 | default·is·to·have·the·full·port·range·(0-65535)·set·to·flag·0. | 85 | default·is·to·have·the·full·port·range·(0-65535)·set·to·flag·0. |
86 | class·port_filter | 86 | class·port_filter |
87 | { | 87 | { |
88 | ···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&); | 88 | ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter·const&); |
90 | ···~\x8~p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | 89 | ···~\x8~p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); |
91 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | ||
92 | ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter&&); | 90 | ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(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·(port_filter&&); | ||
93 | ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); | ||
94 | ···void·a\x8ad\x8dd\x8d_\x8_r\x8ru\x8ul\x8le\x8e·(std::uint16_t·first,·std::uint16_t·last,·std::uint32_t | 94 | ···void·a\x8ad\x8dd\x8d_\x8_r\x8ru\x8ul\x8le\x8e·(std::uint16_t·first,·std::uint16_t·last,·std::uint32_t |
95 | flags); | 95 | flags); |
96 | ···std::uint32_t·a\x8ac\x8cc\x8ce\x8es\x8ss\x8s·(std::uint16_t·port)·const; | 96 | ···std::uint32_t·a\x8ac\x8cc\x8ce\x8es\x8ss\x8s·(std::uint16_t·port)·const; |
97 | ···enum·access_flags | 97 | ···enum·access_flags |
98 | ···{ | 98 | ···{ |
99 | ······blocked, | 99 | ······blocked, |
Offset 28, 37 lines modified | Offset 28, 94 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="#peer-class-info"·id="toc-entry-1">peer_class_info</a></li> | ||
35 | <li><a·class="reference·internal"·href="#peer-class-type-filter"·id="toc-entry- | 36 | <li><a·class="reference·internal"·href="#peer-class-type-filter"·id="toc-entry-2">peer_class_type_filter</a><ul> |
36 | <li><a·class="reference·internal"·href="# | 37 | <li><a·class="reference·internal"·href="#remove-add"·id="toc-entry-3">remove()·add()</a></li> |
37 | <li><a·class="reference·internal"·href="#allow- | 38 | <li><a·class="reference·internal"·href="#disallow-allow"·id="toc-entry-4">disallow()·allow()</a></li> |
38 | <li><a·class="reference·internal"·href="#apply"·id="toc-entry- | 39 | <li><a·class="reference·internal"·href="#apply"·id="toc-entry-5">apply()</a></li> |
39 | <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry- | 40 | <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-6">enum·socket_type_t</a></li> |
40 | </ul> | 41 | </ul> |
41 | </li> | 42 | </li> |
42 | <li><a·class="reference·internal"·href="#peer-class-info"·id="toc-entry-6">peer_class_info</a></li> | ||
43 | </ul> | 43 | </ul> |
44 | </div> | 44 | </div> |
45 | <a·name="peer_class_info"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+peer_class_info&labels=documentation&body=Documentation+under+heading+%22class+peer_class_info%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="peer-class-info"> | ||
46 | <h1>peer_class_info</h1> | ||
47 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/peer_class.hpp">libtorrent/peer_class.hpp</a>"</p> | ||
48 | <p>holds·settings·for·a·peer·class.·Used·in·<a·class="reference·external"·href="reference-Session.html#set_peer_class()">set_peer_class()</a>·and | ||
49 | <a·class="reference·external"·href="reference-Session.html#get_peer_class()">get_peer_class()</a>·calls.</p> | ||
50 | <pre·class="literal-block"> | ||
51 | struct·peer_class_info | ||
52 | { | ||
53 | ···bool·ignore_unchoke_slots; | ||
54 | ···int·connection_limit_factor; | ||
55 | ···std::string·label; | ||
56 | ···int·upload_limit; | ||
57 | ···int·download_limit; | ||
58 | ···int·upload_priority; | ||
59 | ···int·download_priority; | ||
60 | }; | ||
61 | </pre> | ||
62 | <a·name="ignore_unchoke_slots"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_info%3A%3A%5Bignore_unchoke_slots%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_info%3A%3A%5Bignore_unchoke_slots%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | ||
63 | <dt>ignore_unchoke_slots</dt> | ||
64 | <dd><tt·class="docutils·literal">ignore_unchoke_slots</tt>·determines·whether·peers·should·always | ||
65 | unchoke·a·peer,·regardless·of·the·choking·algorithm,·or·if·it·should | ||
66 | honor·the·unchoke·slot·limits.·It's·used·for·local·peers·by·default. | ||
67 | If·<em>any</em>·of·the·peer·classes·a·peer·belongs·to·has·this·set·to·true, | ||
68 | that·peer·will·be·unchoked·at·all·times.</dd> | ||
69 | </dl> | ||
70 | <a·name="connection_limit_factor"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_info%3A%3A%5Bconnection_limit_factor%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_info%3A%3A%5Bconnection_limit_factor%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | ||
71 | <dt>connection_limit_factor</dt> | ||
72 | <dd>adjusts·the·connection·limit·(global·and·per·torrent)·that·applies·to | ||
73 | this·peer·class.·By·default,·local·peers·are·allowed·to·exceed·the | ||
74 | normal·connection·limit·for·instance.·This·is·specified·as·a·percent | ||
75 | factor.·100·makes·the·peer·class·apply·normally·to·the·limit.·200 | ||
76 | means·as·long·as·there·are·fewer·connections·than·twice·the·limit,·we | ||
77 | accept·this·peer.·This·factor·applies·both·to·the·global·connection | ||
78 | limit·and·the·per-torrent·limit.·Note·that·if·not·used·carefully·one | ||
79 | peer·class·can·potentially·completely·starve·out·all·other·over·time.</dd> | ||
80 | </dl> | ||
81 | <a·name="label"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_info%3A%3A%5Blabel%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_info%3A%3A%5Blabel%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | ||
82 | <dt>label</dt> | ||
83 | <dd>not·used·by·libtorrent.·It's·intended·as·a·potentially·user-facing | ||
84 | identifier·of·this·peer·class.</dd> | ||
85 | </dl> | ||
86 | <a·name="upload_limit"></a> | ||
87 | <a·name="download_limit"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_info%3A%3A%5Bupload_limit+download_limit%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_info%3A%3A%5Bupload_limit+download_limit%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | ||
88 | <dt>upload_limit·download_limit</dt> | ||
89 | <dd>transfer·rates·limits·for·the·whole·peer·class.·They·are·specified·in | ||
90 | bytes·per·second·and·apply·to·the·sum·of·all·peers·that·are·members·of | ||
91 | this·class.</dd> | ||
92 | </dl> | ||
93 | <a·name="upload_priority"></a> | ||
94 | <a·name="download_priority"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_info%3A%3A%5Bupload_priority+download_priority%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_info%3A%3A%5Bupload_priority+download_priority%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> | ||
95 | <dt>upload_priority·download_priority</dt> | ||
96 | <dd>relative·priorities·used·by·the·bandwidth·allocator·in·the·rate | ||
97 | limiter.·If·no·rate·limits·are·in·use,·the·priority·is·not·used | ||
98 | either.·Priorities·start·at·1·(0·is·not·a·valid·priority)·and·may·not | ||
99 | exceed·255.</dd> | ||
100 | </dl> | ||
45 | <a·name="peer_class_type_filter"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+peer_class_type_filter&labels=documentation&body=Documentation+under+heading+%22class+peer_class_type_filter%22+could+be+improved">report·issue</a>]</span>< | 101 | <a·name="peer_class_type_filter"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+peer_class_type_filter&labels=documentation&body=Documentation+under+heading+%22class+peer_class_type_filter%22+could+be+improved">report·issue</a>]</span></div> |
102 | <div·class="section"·id="peer-class-type-filter"> | ||
46 | <h1>peer_class_type_filter</h1> | 103 | <h1>peer_class_type_filter</h1> |
47 | <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> |
48 | <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 |
49 | 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 |
50 | is·based·on·the·peer's·IP·address).</p> | 107 | is·based·on·the·peer's·IP·address).</p> |
51 | <pre·class="literal-block"> | 108 | <pre·class="literal-block"> |
52 | struct·peer_class_type_filter | 109 | struct·peer_class_type_filter |
53 | { | 110 | { |
54 | ···void·<strong>remove</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
55 | ···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); |
56 | ···void·<strong> | 112 | ···void·<strong>remove</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
57 | ···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); | ||
58 | ···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); |
59 | ···friend·bool·<strong>operator==</strong>·(peer_class_type_filter·const&·lhs | 116 | ···friend·bool·<strong>operator==</strong>·(peer_class_type_filter·const&·lhs |
60 | ······,·peer_class_type_filter·const&·rhs); | 117 | ······,·peer_class_type_filter·const&·rhs); |
61 | ···enum·socket_type_t | 118 | ···enum·socket_type_t |
62 | ···{ | 119 | ···{ |
63 | ······tcp_socket, | 120 | ······tcp_socket, |
Offset 66, 30 lines modified | Offset 123, 30 lines modified | ||
66 | ······ssl_tcp_socket, | 123 | ······ssl_tcp_socket, |
67 | ······ssl_utp_socket, | 124 | ······ssl_utp_socket, |
68 | ······i2p_socket, | 125 | ······i2p_socket, |
69 | ······num_socket_types, | 126 | ······num_socket_types, |
70 | ···}; | 127 | ···}; |
71 | }; | 128 | }; |
72 | </pre> | 129 | </pre> |
73 | <a·name=" | 130 | <a·name="remove()"></a> |
74 | <a·name=" | 131 | <a·name="add()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Bremove%28%29+add%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5Bremov[·...·truncated·by·diffoscope;·len:·102,·SHA:·c40f3b2e2de81d19556aa32d64cbabec58a324f3665cb33e006a18f8dbae0e18·...·]"> |
75 | <h2> | 132 | <h2>remove()·add()</h2> |
76 | <pre·class="literal-block"> | 133 | <pre·class="literal-block"> |
77 | void·<strong>remove</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
78 | 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); | ||
79 | </pre> | 136 | </pre> |
80 | <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 |
81 | to·new·peers·based·on·socket·type.</p> | 138 | to·new·peers·based·on·socket·type.</p> |
82 | <a·name="allow()"></a> | 139 | <a·name="disallow()"></a> |
83 | <a·name=" | 140 | <a·name="allow()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Bdisallow%28%29+allow%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5[·...·truncated·by·diffoscope;·len:·16,·SHA:·397069b3a5f4ea80f7fd71ed3d7d96eae90f4b87e5e656a5155be89d0ee564ca·...·]allow%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
84 | <div·class="section"·id="allow- | 141 | <div·class="section"·id="disallow-allow"> |
85 | <h2>allow()· | 142 | <h2>disallow()·allow()</h2> |
86 | <pre·class="literal-block"> | 143 | <pre·class="literal-block"> |
87 | void·<strong>disallow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
88 | 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); | ||
89 | </pre> | 146 | </pre> |
90 | <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 |
91 | removed·from·new·peers·based·on·socket·type.</p> | 148 | removed·from·new·peers·based·on·socket·type.</p> |
92 | <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 |
93 | 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> |
Max diff block lines reached; 4702/15988 bytes (29.41%) of diff not shown. |
Offset 1, 30 lines modified | Offset 1, 76 lines modified | ||
1 | > | 1 | > |
2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] | 2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] |
3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 | 3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 |
4 | _\x8h_\x8o_\x8m_\x8e | 4 | _\x8h_\x8o_\x8m_\x8e |
5 | Table·of·contents | 5 | Table·of·contents |
6 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8i_\x8n_\x8f_\x8o | ||
6 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r | 7 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r |
8 | ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8(_\x8) | ||
7 | ··········o·_\x8a_. | 9 | ··········o·_\x8d_.i_.s_.a_.l_.l_.o_.w_.(_.)_.·_.a_.l_.l_.o_.w_\x8(_\x8) |
8 | ··········o·_\x8a_\x8l_\x8l_\x8o_\x8w_\x8(_\x8)_\x8·_\x8d_\x8i_\x8s_\x8a_\x8l_\x8l_\x8o_\x8w_\x8(_\x8) | ||
9 | ··········o·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8(_\x8) | 10 | ··········o·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8(_\x8) |
10 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 11 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
11 | 12 | [_.r_.e_.p_.o_.r_.t_.·_.i_.s_.s_.u_.e] | |
13 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r_\x8_c\x8cl\x8la\x8as\x8ss\x8s_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
14 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8._\x8h_\x8p_\x8p" | ||
15 | holds·settings·for·a·peer·class.·Used·in·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)·and·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) | ||
16 | calls. | ||
17 | struct·peer_class_info | ||
18 | { | ||
19 | ···bool·ignore_unchoke_slots; | ||
20 | ···int·connection_limit_factor; | ||
21 | ···std::string·label; | ||
22 | ···int·upload_limit; | ||
23 | ···int·download_limit; | ||
24 | ···int·upload_priority; | ||
25 | ···int·download_priority; | ||
26 | }; | ||
27 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
28 | ··ignore_unchoke_slots | ||
29 | ······ignore_unchoke_slots·determines·whether·peers·should·always·unchoke·a | ||
30 | ······peer,·regardless·of·the·choking·algorithm,·or·if·it·should·honor·the | ||
31 | ······unchoke·slot·limits.·It's·used·for·local·peers·by·default.·If·a\x8an\x8ny\x8y·of·the | ||
32 | ······peer·classes·a·peer·belongs·to·has·this·set·to·true,·that·peer·will·be | ||
33 | ······unchoked·at·all·times. | ||
34 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
35 | ··connection_limit_factor | ||
36 | ······adjusts·the·connection·limit·(global·and·per·torrent)·that·applies·to | ||
37 | ······this·peer·class.·By·default,·local·peers·are·allowed·to·exceed·the·normal | ||
38 | ······connection·limit·for·instance.·This·is·specified·as·a·percent·factor.·100 | ||
39 | ······makes·the·peer·class·apply·normally·to·the·limit.·200·means·as·long·as | ||
40 | ······there·are·fewer·connections·than·twice·the·limit,·we·accept·this·peer. | ||
41 | ······This·factor·applies·both·to·the·global·connection·limit·and·the·per- | ||
42 | ······torrent·limit.·Note·that·if·not·used·carefully·one·peer·class·can | ||
43 | ······potentially·completely·starve·out·all·other·over·time. | ||
44 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
45 | ··label | ||
46 | ······not·used·by·libtorrent.·It's·intended·as·a·potentially·user-facing | ||
47 | ······identifier·of·this·peer·class. | ||
48 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
49 | ··upload_limit·download_limit | ||
50 | ······transfer·rates·limits·for·the·whole·peer·class.·They·are·specified·in | ||
51 | ······bytes·per·second·and·apply·to·the·sum·of·all·peers·that·are·members·of | ||
52 | ······this·class. | ||
53 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
54 | ··upload_priority·download_priority | ||
55 | ······relative·priorities·used·by·the·bandwidth·allocator·in·the·rate·limiter. | ||
56 | ······If·no·rate·limits·are·in·use,·the·priority·is·not·used·either.·Priorities | ||
57 | ······start·at·1·(0·is·not·a·valid·priority)·and·may·not·exceed·255. | ||
12 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 58 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
13 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r_\x8_c\x8cl\x8la\x8as\x8ss\x8s_\x8_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* |
14 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\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" |
15 | 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 |
16 | 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 |
17 | is·applied·(which·is·based·on·the·peer's·IP·address). | 63 | is·applied·(which·is·based·on·the·peer's·IP·address). |
18 | struct·peer_class_type_filter | 64 | struct·peer_class_type_filter |
19 | { | 65 | { |
20 | ···void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
21 | ···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); |
22 | ···void· | 67 | ···void·r.re.em.mo.ov.ve.e·(socket_type_t·const·st,·peer_class_t·const·peer_class); |
23 | ···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); | ||
24 | ···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); |
25 | ···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 |
26 | ······,·peer_class_type_filter·const&·rhs); | 72 | ······,·peer_class_type_filter·const&·rhs); |
27 | ···enum·socket_type_t | 73 | ···enum·socket_type_t |
28 | ···{ | 74 | ···{ |
29 | ······tcp_socket, | 75 | ······tcp_socket, |
Offset 32, 23 lines modified | Offset 78, 23 lines modified | ||
32 | ······ssl_tcp_socket, | 78 | ······ssl_tcp_socket, |
33 | ······ssl_utp_socket, | 79 | ······ssl_utp_socket, |
34 | ······i2p_socket, | 80 | ······i2p_socket, |
35 | ······num_socket_types, | 81 | ······num_socket_types, |
36 | ···}; | 82 | ···}; |
37 | }; | 83 | }; |
38 | [_\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] |
39 | *\x8**\x8**\x8**\x8**\x8*· | 85 | *\x8**\x8**\x8**\x8**\x8*·r.re.em.mo.ov.ve.e(.().)·a.ad.dd.d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
40 | void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
41 | 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); | ||
42 | 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 |
43 | on·socket·type. | 89 | on·socket·type. |
44 | [_\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] |
45 | *\x8**\x8**\x8**\x8**\x8*·a.al.ll.lo.ow.w(.().)· | 91 | *\x8**\x8**\x8**\x8**\x8*·d.di.is.sa.al.ll.lo.ow.w(.().)·a\x8al\x8ll\x8lo\x8ow\x8w(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
46 | void·d\x8di\x8is\x8sa\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); | ||
47 | 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); | ||
48 | 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 |
49 | peers·based·on·socket·type. | 95 | peers·based·on·socket·type. |
50 | 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 |
51 | peer·classes·in·the·peer_class_type_filter·are·32·bits. | 97 | peer·classes·in·the·peer_class_type_filter·are·32·bits. |
52 | [_\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] |
53 | *\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* |
54 | 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 62, 60 lines modified | Offset 108, 14 lines modified | ||
62 | |tcp_socket······|0····|these·match·the·socket·types·from·socket_type.hpp| | 108 | |tcp_socket······|0····|these·match·the·socket·types·from·socket_type.hpp| |
63 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8s_\x8h_\x8i_\x8f_\x8t_\x8e_\x8d_\x8·_\x8o_\x8n_\x8e_\x8·_\x8d_\x8o_\x8w_\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·| | 109 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8s_\x8h_\x8i_\x8f_\x8t_\x8e_\x8d_\x8·_\x8o_\x8n_\x8e_\x8·_\x8d_\x8o_\x8w_\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·| |
64 | |_\x8u_\x8t_\x8p_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x81_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 110 | |_\x8u_\x8t_\x8p_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x81_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
65 | |_\x8s_\x8s_\x8l_\x8__\x8t_\x8c_\x8p_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8·_\x8·_\x8|_\x82_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 111 | |_\x8s_\x8s_\x8l_\x8__\x8t_\x8c_\x8p_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8·_\x8·_\x8|_\x82_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
66 | |_\x8s_\x8s_\x8l_\x8__\x8u_\x8t_\x8p_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8·_\x8·_\x8|_\x83_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 112 | |_\x8s_\x8s_\x8l_\x8__\x8u_\x8t_\x8p_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8·_\x8·_\x8|_\x83_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
67 | |_\x8i_\x82_\x8p_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x84_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 113 | |_\x8i_\x82_\x8p_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x84_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
68 | |_\x8n_\x8u_\x8m_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8|_\x85_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | 114 | |_\x8n_\x8u_\x8m_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8|_\x85_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| |
69 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
70 | *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r_\x8_c\x8cl\x8la\x8as\x8ss\x8s_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
71 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8._\x8h_\x8p_\x8p" | ||
72 | holds·settings·for·a·peer·class.·Used·in·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)·and·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) | ||
73 | calls. | ||
74 | struct·peer_class_info | ||
75 | { | ||
76 | ···bool·ignore_unchoke_slots; | ||
77 | ···int·connection_limit_factor; | ||
78 | ···std::string·label; | ||
79 | ···int·upload_limit; | ||
80 | ···int·download_limit; | ||
81 | ···int·upload_priority; | ||
82 | ···int·download_priority; | ||
83 | }; | ||
Max diff block lines reached; 192/9894 bytes (1.94%) of diff not shown. |
Offset 31, 64 lines modified | Offset 31, 64 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="#a-word-of-caution"·id="toc-entry-1">a·word·of·caution</a></li> | 35 | <li><a·class="reference·internal"·href="#a-word-of-caution"·id="toc-entry-1">a·word·of·caution</a></li> |
36 | <li><a·class="reference·internal"·href="#plugin-interface"·id="toc-entry-2">plugin-interface</a></li> | 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> | 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> | ||
38 | <li><a·class="reference·internal"·href="#plugin"·id="toc-entry- | 40 | <li><a·class="reference·internal"·href="#plugin"·id="toc-entry-6">plugin</a><ul> |
39 | <li><a·class="reference·internal"·href="#implemented-features"·id="toc-entry- | 41 | <li><a·class="reference·internal"·href="#implemented-features"·id="toc-entry-7">implemented_features()</a></li> |
40 | <li><a·class="reference·internal"·href="#new-torrent"·id="toc-entry- | 42 | <li><a·class="reference·internal"·href="#new-torrent"·id="toc-entry-8">new_torrent()</a></li> |
41 | <li><a·class="reference·internal"·href="#added"·id="toc-entry- | 43 | <li><a·class="reference·internal"·href="#added"·id="toc-entry-9">added()</a></li> |
42 | <li><a·class="reference·internal"·href="#abort"·id="toc-entry- | 44 | <li><a·class="reference·internal"·href="#abort"·id="toc-entry-10">abort()</a></li> |
43 | <li><a·class="reference·internal"·href="#on-dht-request"·id="toc-entry- | 45 | <li><a·class="reference·internal"·href="#on-dht-request"·id="toc-entry-11">on_dht_request()</a></li> |
44 | <li><a·class="reference·internal"·href="#on-alert"·id="toc-entry-1 | 46 | <li><a·class="reference·internal"·href="#on-alert"·id="toc-entry-12">on_alert()</a></li> |
45 | <li><a·class="reference·internal"·href="#on-unknown-torrent"·id="toc-entry-1 | 47 | <li><a·class="reference·internal"·href="#on-unknown-torrent"·id="toc-entry-13">on_unknown_torrent()</a></li> |
46 | <li><a·class="reference·internal"·href="#on-tick"·id="toc-entry-1 | 48 | <li><a·class="reference·internal"·href="#on-tick"·id="toc-entry-14">on_tick()</a></li> |
47 | <li><a·class="reference·internal"·href="#get-unchoke-priority"·id="toc-entry-1 | 49 | <li><a·class="reference·internal"·href="#get-unchoke-priority"·id="toc-entry-15">get_unchoke_priority()</a></li> |
48 | <li><a·class="reference·internal"·href="#load-state"·id="toc-entry-1 | 50 | <li><a·class="reference·internal"·href="#load-state"·id="toc-entry-16">load_state()</a></li> |
49 | </ul> | 51 | </ul> |
50 | </li> | 52 | </li> |
51 | <li><a·class="reference·internal"·href="#torrent-plugin"·id="toc-entry-1 | 53 | <li><a·class="reference·internal"·href="#torrent-plugin"·id="toc-entry-17">torrent_plugin</a><ul> |
52 | <li><a·class="reference·internal"·href="#new-connection"·id="toc-entry-1 | 54 | <li><a·class="reference·internal"·href="#new-connection"·id="toc-entry-18">new_connection()</a></li> |
53 | <li><a·class="reference·internal"·href="#on-piece-pass-on-piece-failed"·id="toc-entry-1 | 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> |
54 | <li><a·class="reference·internal"·href="#tick"·id="toc-entry- | 56 | <li><a·class="reference·internal"·href="#tick"·id="toc-entry-20">tick()</a></li> |
55 | <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> |
56 | <li><a·class="reference·internal"·href="#on-files-checked"·id="toc-entry-2 | 58 | <li><a·class="reference·internal"·href="#on-files-checked"·id="toc-entry-22">on_files_checked()</a></li> |
57 | <li><a·class="reference·internal"·href="#on-state"·id="toc-entry-2 | 59 | <li><a·class="reference·internal"·href="#on-state"·id="toc-entry-23">on_state()</a></li> |
58 | <li><a·class="reference·internal"·href="#on-add-peer"·id="toc-entry-2 | 60 | <li><a·class="reference·internal"·href="#on-add-peer"·id="toc-entry-24">on_add_peer()</a></li> |
59 | </ul> | 61 | </ul> |
60 | </li> | 62 | </li> |
61 | <li><a·class="reference·internal"·href="#peer-plugin"·id="toc-entry-2 | 63 | <li><a·class="reference·internal"·href="#peer-plugin"·id="toc-entry-25">peer_plugin</a><ul> |
62 | <li><a·class="reference·internal"·href="#type"·id="toc-entry-2 | 64 | <li><a·class="reference·internal"·href="#type"·id="toc-entry-26">type()</a></li> |
63 | <li><a·class="reference·internal"·href="#add-handshake"·id="toc-entry-2 | 65 | <li><a·class="reference·internal"·href="#add-handshake"·id="toc-entry-27">add_handshake()</a></li> |
64 | <li><a·class="reference·internal"·href="#on-disconnect"·id="toc-entry-2 | 66 | <li><a·class="reference·internal"·href="#on-disconnect"·id="toc-entry-28">on_disconnect()</a></li> |
65 | <li><a·class="reference·internal"·href="#on-connected"·id="toc-entry-2 | 67 | <li><a·class="reference·internal"·href="#on-connected"·id="toc-entry-29">on_connected()</a></li> |
66 | <li><a·class="reference·internal"·href="#on-handshake"·id="toc-entry- | 68 | <li><a·class="reference·internal"·href="#on-handshake"·id="toc-entry-30">on_handshake()</a></li> |
67 | <li><a·class="reference·internal"·href="#on-extension-handshake"·id="toc-entry- | 69 | <li><a·class="reference·internal"·href="#on-extension-handshake"·id="toc-entry-31">on_extension_handshake()</a></li> |
68 | <li><a·class="reference·internal"·href="#on-not-interested-on- | 70 | <li><a·class="reference·internal"·href="#on-not-interested-on-request-on-dont-have-on-have-on-have-all-on-choke-on-interested-on-bitfield-on-unchoke-on-have-none-on-allowed-fast"·id="toc-entry-32">on_not_interested()·on_request()·on_dont_have()·on_have()·on_have_all()·on_choke()·on_interested()·on_bitfield()·on_uncho[·...·truncated·by·diffoscope;·len:·35,·SHA:·2c220cc1cd4a2fe82a0fe56e0ac97c6f00313a474a83833bb6dbbe6a66c8ca51·...·]()</a></li> |
69 | <li><a·class="reference·internal"·href="#on-piece"·id="toc-entry-3 | 71 | <li><a·class="reference·internal"·href="#on-piece"·id="toc-entry-33">on_piece()</a></li> |
70 | <li><a·class="reference·internal"·href="#sent-not-interested-sent-piece-sent- | 72 | <li><a·class="reference·internal"·href="#sent-not-interested-sent-piece-sent-have-sent-unchoke-sent-interested"·id="toc-entry-34">sent_not_interested()·sent_piece()·sent_have()·sent_unchoke()·sent_interested()</a></li> |
71 | <li><a·class="reference·internal"·href="#sent-payload"·id="toc-entry-3 | 73 | <li><a·class="reference·internal"·href="#sent-payload"·id="toc-entry-35">sent_payload()</a></li> |
72 | <li><a·class="reference·internal"·href="#can-disconnect"·id="toc-entry-3 | 74 | <li><a·class="reference·internal"·href="#can-disconnect"·id="toc-entry-36">can_disconnect()</a></li> |
73 | <li><a·class="reference·internal"·href="#on-extended"·id="toc-entry-3 | 75 | <li><a·class="reference·internal"·href="#on-extended"·id="toc-entry-37">on_extended()</a></li> |
74 | <li><a·class="reference·internal"·href="#on-unknown-message"·id="toc-entry-3 | 76 | <li><a·class="reference·internal"·href="#on-unknown-message"·id="toc-entry-38">on_unknown_message()</a></li> |
75 | <li><a·class="reference·internal"·href="#on-piece-pass-on-piece-failed-1"·id="toc-entry-3 | 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> |
76 | <li><a·class="reference·internal"·href="#tick-1"·id="toc-entry- | 78 | <li><a·class="reference·internal"·href="#tick-1"·id="toc-entry-40">tick()</a></li> |
77 | <li><a·class="reference·internal"·href="#write-request"·id="toc-entry- | 79 | <li><a·class="reference·internal"·href="#write-request"·id="toc-entry-41">write_request()</a></li> |
78 | </ul> | 80 | </ul> |
79 | </li> | 81 | </li> |
80 | <li><a·class="reference·internal"·href="#crypto-plugin"·id="toc-entry-4 | 82 | <li><a·class="reference·internal"·href="#crypto-plugin"·id="toc-entry-42">crypto_plugin</a><ul> |
81 | <li><a·class="reference·internal"·href="#decrypt"·id="toc-entry-4 | 83 | <li><a·class="reference·internal"·href="#decrypt"·id="toc-entry-43">decrypt()</a></li> |
82 | </ul> | 84 | </ul> |
83 | </li> | 85 | </li> |
84 | <li><a·class="reference·internal"·href="#peer-connection-handle"·id="toc-entry-42">peer_connection_handle</a></li> | ||
85 | <li><a·class="reference·internal"·href="#bt-peer-connection-handle"·id="toc-entry-43">bt_peer_connection_handle</a></li> | ||
86 | <li><a·class="reference·internal"·href="#create-ut-pex-plugin"·id="toc-entry-44">create_ut_pex_plugin()</a></li> | ||
87 | <li><a·class="reference·internal"·href="#create-smart-ban-plugin"·id="toc-entry-4 | 86 | <li><a·class="reference·internal"·href="#create-smart-ban-plugin"·id="toc-entry-44">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 178, 14 lines modified | Offset 178, 84 lines modified | ||
178 | expected.</p> | 178 | expected.</p> |
179 | <p>The·static·category·is·required·for·checking·whether·or·not·the·category | 179 | <p>The·static·category·is·required·for·checking·whether·or·not·the·category |
180 | for·a·specific·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>·is·enabled·or·not,·without·instantiating·the·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>. | 180 | for·a·specific·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>·is·enabled·or·not,·without·instantiating·the·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>. |
181 | The·<tt·class="docutils·literal">category</tt>·virtual·function·is·the·run-time·equivalence.</p> | 181 | The·<tt·class="docutils·literal">category</tt>·virtual·function·is·the·run-time·equivalence.</p> |
182 | <p>The·<tt·class="docutils·literal">what()</tt>·virtual·function·may·simply·be·a·string·literal·of·the·class | 182 | <p>The·<tt·class="docutils·literal">what()</tt>·virtual·function·may·simply·be·a·string·literal·of·the·class |
183 | name·of·your·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>.</p> | 183 | name·of·your·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>.</p> |
184 | <p>For·more·information,·see·the·<a·class="reference·external"·href="reference-Alerts.html">alert·section</a>.</p> | 184 | <p>For·more·information,·see·the·<a·class="reference·external"·href="reference-Alerts.html">alert·section</a>.</p> |
185 | <a·name="peer_connection_handle"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+peer_connection_handle&labels=documentation&body=Documentation+under+heading+%22class+peer_connection_handle%22+could+be+improved">report·issue</a>]</span></div> | ||
186 | <div·class="section"·id="peer-connection-handle"> | ||
187 | <h1>peer_connection_handle</h1> | ||
188 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/peer_connection_handle.hpp">libtorrent/peer_connection_handle.hpp</a>"</p> | ||
189 | <p>the·<a·class="reference·external"·href="reference-Plugins.html#peer_connection_handle">peer_connection_handle</a>·class·provides·a·handle·to·the·internal·peer | ||
190 | connection·object,·to·be·used·by·plugins.·This·is·a·low·level·interface·that | ||
191 | may·not·be·stable·across·libtorrent·versions</p> | ||
192 | <pre·class="literal-block"> | ||
193 | struct·peer_connection_handle | ||
194 | { | ||
195 | ···explicit·<strong>peer_connection_handle</strong>·(std::weak_ptr<peer_connection>·impl); | ||
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>); | ||
199 | ···bool·<strong>is_seed</strong>·()·const; | ||
200 | ···bool·<strong>upload_only</strong>·()·const; | ||
201 | ···peer_id·const&·<strong>pid</strong>·()·const; | ||
202 | ···bool·<strong>has_piece</strong>·(piece_index_t·i)·const; | ||
203 | ···bool·<strong>is_interesting</strong>·()·const; | ||
204 | ···bool·<strong>is_choked</strong>·()·const; | ||
205 | ···bool·<strong>has_peer_choked</strong>·()·const; | ||
206 | ···bool·<strong>is_peer_interested</strong>·()·const; | ||
207 | ···void·<strong>maybe_unchoke_this_peer</strong>·(); | ||
208 | ···void·<strong>choke_this_peer</strong>·(); | ||
209 | ···void·<strong>get_peer_info</strong>·(peer_info&·p)·const; | ||
210 | ···torrent_handle·<strong>associated_torrent</strong>·()·const; | ||
211 | ···<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>·const&·<strong>remote</strong>·()·const; | ||
213 | ···bool·<strong>is_disconnecting</strong>·()·const; | ||
214 | ···bool·<strong>is_outgoing</strong>·()·const; | ||
215 | ···void·<strong>disconnect</strong>·(error_code·const&·ec,·operation_t·op | ||
216 | ······,·disconnect_severity_t·=·peer_connection_interface::normal); | ||
217 | ···bool·<strong>is_connecting</strong>·()·const; | ||
218 | ···bool·<strong>on_local_network</strong>·()·const; | ||
219 | ···bool·<strong>ignore_unchoke_slots</strong>·()·const; | ||
220 | ···bool·<strong>failed</strong>·()·const; | ||
221 | ···bool·<strong>should_log</strong>·(peer_log_alert::direction_t·direction)·const; | ||
222 | ···void·<strong>peer_log</strong>·(peer_log_alert::direction_t·direction | ||
223 | ······,·char·const*·event,·char·const*·fmt·=·"",·...)·const·TORRENT_FORMAT(4,5); | ||
224 | ···bool·<strong>can_disconnect</strong>·(error_code·const&·ec)·const; | ||
225 | ···bool·<strong>has_metadata</strong>·()·const; | ||
226 | ···bool·<strong>in_handshake</strong>·()·const; | ||
227 | ···void·<strong>send_buffer</strong>·(char·const*·begin,·int·size); | ||
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; | ||
231 | ···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; | ||
234 | }; | ||
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> | ||
Max diff block lines reached; 24290/40539 bytes (59.92%) of diff not shown. |
Offset 2, 14 lines modified | Offset 2, 16 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_\x8·_\x8w_\x8o_\x8r_\x8d_\x8·_\x8o_\x8f_\x8·_\x8c_\x8a_\x8u_\x8t_\x8i_\x8o_\x8n | 6 | ····*·_\x8a_\x8·_\x8w_\x8o_\x8r_\x8d_\x8·_\x8o_\x8f_\x8·_\x8c_\x8a_\x8u_\x8t_\x8i_\x8o_\x8n |
7 | ····*·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8-_\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | 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 | 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 | ||
9 | ····*·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n | 11 | ····*·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n |
10 | ··········o·_\x8i_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8e_\x8d_\x8__\x8f_\x8e_\x8a_\x8t_\x8u_\x8r_\x8e_\x8s_\x8(_\x8) | 12 | ··········o·_\x8i_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8e_\x8d_\x8__\x8f_\x8e_\x8a_\x8t_\x8u_\x8r_\x8e_\x8s_\x8(_\x8) |
11 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | 13 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) |
12 | ··········o·_\x8a_\x8d_\x8d_\x8e_\x8d_\x8(_\x8) | 14 | ··········o·_\x8a_\x8d_\x8d_\x8e_\x8d_\x8(_\x8) |
13 | ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8) | 15 | ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8) |
14 | ··········o·_\x8o_\x8n_\x8__\x8d_\x8h_\x8t_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8) | 16 | ··········o·_\x8o_\x8n_\x8__\x8d_\x8h_\x8t_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8) |
15 | ··········o·_\x8o_\x8n_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8(_\x8) | 17 | ··········o·_\x8o_\x8n_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8(_\x8) |
Offset 17, 44 lines modified | Offset 19, 42 lines modified | ||
17 | ··········o·_\x8o_\x8n_\x8__\x8t_\x8i_\x8c_\x8k_\x8(_\x8) | 19 | ··········o·_\x8o_\x8n_\x8__\x8t_\x8i_\x8c_\x8k_\x8(_\x8) |
18 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8u_\x8n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8) | 20 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8u_\x8n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8) |
19 | ··········o·_\x8l_\x8o_\x8a_\x8d_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) | 21 | ··········o·_\x8l_\x8o_\x8a_\x8d_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) |
20 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n | 22 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n |
21 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) | 23 | ··········o·_\x8n_\x8e_\x8w_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) |
22 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\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) |
23 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) | 25 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) |
24 | ··········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) |
25 | ··········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) |
26 | ··········o·_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) | 28 | ··········o·_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) |
27 | ··········o·_\x8o_\x8n_\x8__\x8a_\x8d_\x8d_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) | 29 | ··········o·_\x8o_\x8n_\x8__\x8a_\x8d_\x8d_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) |
28 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n | 30 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n |
29 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) | 31 | ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) |
30 | ··········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) |
31 | ··········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) |
32 | ··········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) |
33 | ··········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) |
34 | ··········o·_\x8o_\x8n_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8) | 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) |
35 | ··········o·_\x8o_\x8n_\x8__\x8n_\x8o_\x8t_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\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__\x8r_.e_.q_.u_.e_.s_.t_.(_.)_.·_.o_.n_.__.d_.o_.n_.t_.__.h_.a_.v_.e_.(_.)_.·_.o_.n_.__.h_.a_.v_\x8e_\x8(_\x8) |
36 | ············_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8a_\x8l_\x8l_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8 | 38 | ············_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8a_\x8l_\x8l_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8c_.h_.o_.k_.e_.(_.)_.·_.o_.n_.__.i_.n_.t_.e_.r_.e_.s_.t_.e_.d_.(_.)_.·_.o_.n_.__.b_.i_.t_.f_.i_.e_.l_.d_.(_.)_.·_.o_.n_.__.u_.n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8) |
37 | ············_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8n_\x8o_\x8n_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8 | 39 | ············_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8n_\x8o_\x8n_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8a_.l_.l_.o_.w_.e_.d_.__.f_.a_.s_.t_\x8(_\x8) |
38 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 40 | ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
39 | ··········o·_\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__\x8 | 41 | ··········o·_\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__\x8h_.a_.v_.e_.(_.)_.·_.s_.e_.n_.t_.__.u_.n_.c_.h_.o_.k_\x8e_\x8(_\x8) |
40 | ············_\x8s_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8) | 42 | ············_\x8s_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8) |
41 | ··········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) |
42 | ··········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) |
43 | ··········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) |
44 | ··········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) |
45 | ··········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) |
46 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) | 48 | ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8) |
47 | ··········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) |
48 | ····*·_\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 |
49 | ··········o·_\x8d_\x8e_\x8c_\x8r_\x8y_\x8p_\x8t_\x8(_\x8) | 51 | ··········o·_\x8d_\x8e_\x8c_\x8r_\x8y_\x8p_\x8t_\x8(_\x8) |
50 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e | ||
51 | ····*·_\x8b_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e | ||
52 | ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8u_\x8t_\x8__\x8p_\x8e_\x8x_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8(_\x8) | ||
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) | 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) | ||
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 131, 14 lines modified | Offset 131, 79 lines modified | ||
131 | The·static·category·is·required·for·checking·whether·or·not·the·category·for·a | 131 | The·static·category·is·required·for·checking·whether·or·not·the·category·for·a |
132 | specific·_\x8a_\x8l_\x8e_\x8r_\x8t·is·enabled·or·not,·without·instantiating·the·_\x8a_\x8l_\x8e_\x8r_\x8t.·The·category | 132 | specific·_\x8a_\x8l_\x8e_\x8r_\x8t·is·enabled·or·not,·without·instantiating·the·_\x8a_\x8l_\x8e_\x8r_\x8t.·The·category |
133 | virtual·function·is·the·run-time·equivalence. | 133 | virtual·function·is·the·run-time·equivalence. |
134 | The·what()·virtual·function·may·simply·be·a·string·literal·of·the·class·name·of | 134 | The·what()·virtual·function·may·simply·be·a·string·literal·of·the·class·name·of |
135 | your·_\x8a_\x8l_\x8e_\x8r_\x8t. | 135 | your·_\x8a_\x8l_\x8e_\x8r_\x8t. |
136 | For·more·information,·see·the·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8·_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n. | 136 | For·more·information,·see·the·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8·_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n. |
137 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 137 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
138 | *\x8**\x8**\x8**\x8**\x8**\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* | ||
139 | 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" | ||
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 | ||
142 | may·not·be·stable·across·libtorrent·versions | ||
143 | struct·peer_connection_handle | ||
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); | ||
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>); | ||
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; | ||
151 | ···peer_id·const&·p\x8pi\x8id\x8d·()·const; | ||
152 | ···bool·h\x8ha\x8as\x8s_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·i)·const; | ||
153 | ···bool·i\x8is\x8s_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8ti\x8in\x8ng\x8g·()·const; | ||
154 | ···bool·i\x8is\x8s_\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; | ||
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·(); | ||
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; | ||
161 | ···_\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·const&·r\x8re\x8em\x8mo\x8ot\x8te\x8e·()·const; | ||
163 | ···bool·i\x8is\x8s_\x8_d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8in\x8ng\x8g·()·const; | ||
164 | ···bool·i\x8is\x8s_\x8_o\x8ou\x8ut\x8tg\x8go\x8oi\x8in\x8ng\x8g·()·const; | ||
165 | ···void·d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t·(error_code·const&·ec,·operation_t·op | ||
166 | ······,·disconnect_severity_t·=·peer_connection_interface::normal); | ||
167 | ···bool·i\x8is\x8s_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8in\x8ng\x8g·()·const; | ||
168 | ···bool·o\x8on\x8n_\x8_l\x8lo\x8oc\x8ca\x8al\x8l_\x8_n\x8ne\x8et\x8tw\x8wo\x8or\x8rk\x8k·()·const; | ||
169 | ···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; | ||
170 | ···bool·f\x8fa\x8ai\x8il\x8le\x8ed\x8d·()·const; | ||
171 | ···bool·s\x8sh\x8ho\x8ou\x8ul\x8ld\x8d_\x8_l\x8lo\x8og\x8g·(peer_log_alert::direction_t·direction)·const; | ||
172 | ···void·p\x8pe\x8ee\x8er\x8r_\x8_l\x8lo\x8og\x8g·(peer_log_alert::direction_t·direction | ||
173 | ······,·char·const*·event,·char·const*·fmt·=·"",·...)·const·TORRENT_FORMAT | ||
174 | (4,5); | ||
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; | ||
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); | ||
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; | ||
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<·(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; | ||
185 | }; | ||
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* | ||
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 | ||
190 | connection·object·to·plugins.·It's·low·level·and·may·not·be·a·stable·API·across | ||
191 | libtorrent·versions. | ||
192 | struct·bt_peer_connection_handle·:·peer_connection_handle | ||
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); | ||
Max diff block lines reached; 19570/29537 bytes (66.26%) of diff not shown. |
Offset 28, 60 lines modified | Offset 28, 28 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="#read-resume-data"·id="toc-entry-1">read_resume_data()</a></li> | ||
35 | <li><a·class="reference·internal"·href="#write-resume-data-buf-write-resume-data"·id="toc-entry- | 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> |
36 | <li><a·class="reference·internal"·href="#write-torrent-file- | 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="#read-resume-data"·id="toc-entry-3">read_resume_data()</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="write_resume_data_buf()"></a> | ||
42 | <a·name="write_resume_data()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_resume_data_buf%28%29+write_resume_data%28%29&labels=documentation&body=Documentation+under+heading+%22write_resume_data_buf%28%29+write_resume_data%28%29%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="write-resume-data-buf-write-resume-data"> | ||
43 | <h1>write_resume_data_buf()·write_resume_data()</h1> | ||
44 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/write_resume_data.hpp">libtorrent/write_resume_data.hpp</a>"</p> | ||
45 | <pre·class="literal-block"> | ||
46 | entry·<strong>write_resume_data</strong>·(add_torrent_params·const&·atp); | ||
47 | std::vector<char>·<strong>write_resume_data_buf</strong>·(add_torrent_params·const&·atp); | ||
48 | </pre> | ||
49 | <p>this·function·turns·the·resume·data·in·an·<tt·class="docutils·literal">add_torrent_params</tt>·object | ||
50 | into·a·bencoded·structure</p> | ||
51 | <a·name="write_torrent_file_buf()"></a> | ||
52 | <a·name="write_torrent_file()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_torrent_file_buf%28%29+write_torrent_file%28%29&labels=documentation&body=Documentation+under+heading+%22write_torrent_file_buf%28%29+write_torrent_file%28%29%22+could+be+improved">report·issue</a>]</span></div> | ||
53 | <div·class="section"·id="write-torrent-file-buf-write-torrent-file"> | ||
54 | <h1>write_torrent_file_buf()·write_torrent_file()</h1> | ||
55 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/write_resume_data.hpp">libtorrent/write_resume_data.hpp</a>"</p> | ||
56 | <pre·class="literal-block"> | ||
57 | entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&·atp); | ||
58 | std::vector<char>·<strong>write_torrent_file_buf</strong>·(add_torrent_params·const&·atp | ||
59 | ···,·write_torrent_flags_t·flags); | ||
60 | entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&·atp,·write_torrent_flags_t·flags); | ||
61 | </pre> | ||
62 | <p>writes·only·the·fields·to·create·a·.torrent·file.·This·function·may·fail | ||
63 | with·a·<tt·class="docutils·literal"><span·class="pre">std::system_error</span></tt>·exception·if:</p> | ||
64 | <ul·class="simple"> | ||
65 | <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 | ||
66 | info·dictionary·(the·<tt·class="docutils·literal">ti</tt>·field)</li> | ||
67 | <li>The·piece·layers·are·not·complete·for·all·files·that·need·them</li> | ||
68 | </ul> | ||
69 | <p>The·<tt·class="docutils·literal">write_torrent_file_buf()</tt>·overload·returns·the·torrent·file·in | ||
70 | bencoded·buffer·form.·This·overload·may·be·faster·at·the·expense·of·lost | ||
71 | flexibility·to·add·custom·fields.</p> | ||
72 | <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>< | 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"> |
73 | <div·class="section"·id="read-resume-data"> | ||
74 | <h1>read_resume_data()</h1> | 42 | <h1>read_resume_data()</h1> |
75 | <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> |
76 | <pre·class="literal-block"> | 44 | <pre·class="literal-block"> |
77 | add_torrent_params·<strong>read_resume_data</strong>·(bdecode_node·const&·rd | ||
78 | ···,·error_code&·ec,·int·piece_limit·=·0x200000); | ||
79 | 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 |
80 | ···,·error_code&·ec,·load_torrent_limits·const&·cfg·=·{}); | 46 | ···,·error_code&·ec,·load_torrent_limits·const&·cfg·=·{}); |
47 | add_torrent_params·<strong>read_resume_data</strong>·(bdecode_node·const&·rd | ||
48 | ···,·error_code&·ec,·int·piece_limit·=·0x200000); | ||
81 | add_torrent_params·<strong>read_resume_data</strong>·(span<char·const>·buffer | 49 | add_torrent_params·<strong>read_resume_data</strong>·(span<char·const>·buffer |
82 | ···,·load_torrent_limits·const&·cfg·=·{}); | 50 | ···,·load_torrent_limits·const&·cfg·=·{}); |
83 | add_torrent_params·<strong>read_resume_data</strong>·(bdecode_node·const&·rd | 51 | add_torrent_params·<strong>read_resume_data</strong>·(bdecode_node·const&·rd |
84 | ···,·int·piece_limit·=·0x200000); | 52 | ···,·int·piece_limit·=·0x200000); |
85 | </pre> | 53 | </pre> |
86 | <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 |
87 | fields·in·an·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·object.·This·object·can·then·be·used·to·add | 55 | fields·in·an·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·object.·This·object·can·then·be·used·to·add |
Offset 93, 14 lines modified | Offset 61, 46 lines modified | ||
93 | <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 |
94 | 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 |
95 | 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 |
96 | 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> |
97 | <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 |
98 | <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 |
99 | to·<a·class="reference·external"·href="reference-Torrent_Info.html#parse_info_section()">torrent_info::parse_info_section()</a>.</p> | 67 | to·<a·class="reference·external"·href="reference-Torrent_Info.html#parse_info_section()">torrent_info::parse_info_section()</a>.</p> |
68 | <a·name="write_resume_data_buf()"></a> | ||
69 | <a·name="write_resume_data()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_resume_data_buf%28%29+write_resume_data%28%29&labels=documentation&body=Documentation+under+heading+%22write_resume_data_buf%28%29+write_resume_data%28%29%22+could+be+improved">report·issue</a>]</span></div> | ||
70 | <div·class="section"·id="write-resume-data-buf-write-resume-data"> | ||
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> | ||
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); | ||
76 | </pre> | ||
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> | ||
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> | ||
81 | <div·class="section"·id="write-torrent-file-write-torrent-file-buf"> | ||
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> | ||
84 | <pre·class="literal-block"> | ||
85 | entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&·atp); | ||
86 | entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&·atp,·write_torrent_flags_t·flags); | ||
87 | std::vector<char>·<strong>write_torrent_file_buf</strong>·(add_torrent_params·const&·atp | ||
88 | ···,·write_torrent_flags_t·flags); | ||
89 | </pre> | ||
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> | ||
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 | ||
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> | ||
96 | </ul> | ||
97 | <p>The·<tt·class="docutils·literal">write_torrent_file_buf()</tt>·overload·returns·the·torrent·file·in | ||
98 | bencoded·buffer·form.·This·overload·may·be·faster·at·the·expense·of·lost | ||
99 | flexibility·to·add·custom·fields.</p> | ||
100 | <a·name="write_torrent_flags_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_torrent_flags_t&labels=documentation&body=Documentation+under+heading+%22write_torrent_flags_t%22+could+be+improved">report·issue</a>]</span></div> | 100 | <a·name="write_torrent_flags_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_torrent_flags_t&labels=documentation&body=Documentation+under+heading+%22write_torrent_flags_t%22+could+be+improved">report·issue</a>]</span></div> |
101 | <div·class="section"·id="write-torrent-flags-t"> | 101 | <div·class="section"·id="write-torrent-flags-t"> |
102 | <h1>write_torrent_flags_t</h1> | 102 | <h1>write_torrent_flags_t</h1> |
103 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/write_resume_data.hpp">libtorrent/write_resume_data.hpp</a>"</p> | 103 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/write_resume_data.hpp">libtorrent/write_resume_data.hpp</a>"</p> |
104 | <a·name="write_torrent_flags_t::allow_missing_piece_layer"></a><dl·class="docutils"> | 104 | <a·name="write_torrent_flags_t::allow_missing_piece_layer"></a><dl·class="docutils"> |
105 | <dt>allow_missing_piece_layer</dt> | 105 | <dt>allow_missing_piece_layer</dt> |
106 | <dd>this·makes·<a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_file()">write_torrent_file()</a>·not·fail·when·attempting·to·write·a | 106 | <dd>this·makes·<a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_file()">write_torrent_file()</a>·not·fail·when·attempting·to·write·a |
Offset 1, 46 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 | ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8b_\x8u_\x8f_\x8(_\x8)_\x8·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | ||
7 | ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8b_\x8u_\x8f_\x8(_\x8)_\x8·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | ||
8 | ····*·_\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__\x8b_\x8u_\x8f_\x8(_\x8)_\x8·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\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*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a_\x8_b\x8bu\x8uf\x8f(\x8()\x8)·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
12 | 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" | ||
13 | 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); | ||
14 | 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); | ||
15 | this·function·turns·the·resume·data·in·an·add_torrent_params·object·into·a | ||
16 | bencoded·structure | ||
17 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
18 | *\x8**\x8**\x8**\x8**\x8**\x8*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bu\x8uf\x8f(\x8()\x8)·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
19 | 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" | ||
20 | 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); | ||
21 | 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 | ||
22 | ···,·write_torrent_flags_t·flags); | ||
23 | 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 | ||
24 | flags); | ||
25 | writes·only·the·fields·to·create·a·.torrent·file.·This·function·may·fail·with·a | ||
26 | std::system_error·exception·if: | ||
27 | ····*·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 | ||
28 | ······the·info·dictionary·(the·ti·field) | ||
29 | ····*·The·piece·layers·are·not·complete·for·all·files·that·need·them | ||
30 | The·write_torrent_file_buf()·overload·returns·the·torrent·file·in·bencoded | ||
31 | buffer·form.·This·overload·may·be·faster·at·the·expense·of·lost·flexibility·to | ||
32 | add·custom·fields. | ||
33 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
34 | *\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* |
35 | 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" |
36 | 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 | ||
37 | ···,·error_code&·ec,·int·piece_limit·=·0x200000); | ||
38 | 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 |
39 | ···,·error_code&·ec,·load_torrent_limits·const&·cfg·=·{}); | 14 | ···,·error_code&·ec,·load_torrent_limits·const&·cfg·=·{}); |
15 | add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(bdecode_node·const&·rd | ||
16 | ···,·error_code&·ec,·int·piece_limit·=·0x200000); | ||
40 | add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(span<char·const>·buffer | 17 | add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(span<char·const>·buffer |
41 | ···,·load_torrent_limits·const&·cfg·=·{}); | 18 | ···,·load_torrent_limits·const&·cfg·=·{}); |
42 | add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(bdecode_node·const&·rd | 19 | add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(bdecode_node·const&·rd |
43 | ···,·int·piece_limit·=·0x200000); | 20 | ···,·int·piece_limit·=·0x200000); |
44 | 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 |
45 | 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 |
46 | actual·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·object·to·and·pass·to·session::add_torrent()·or·session:: | 23 | actual·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·object·to·and·pass·to·session::add_torrent()·or·session:: |
Offset 52, 14 lines modified | Offset 29, 37 lines modified | ||
52 | 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 |
53 | 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 |
54 | limits·on·torrent·sizes·via·load_torrent·limits. | 31 | limits·on·torrent·sizes·via·load_torrent·limits. |
55 | 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 |
56 | _\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 |
57 | _\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). |
58 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 35 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
36 | *\x8**\x8**\x8**\x8**\x8**\x8*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a_\x8_b\x8bu\x8uf\x8f(\x8()\x8)·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
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); | ||
40 | this·function·turns·the·resume·data·in·an·add_torrent_params·object·into·a | ||
41 | bencoded·structure | ||
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* | ||
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); | ||
46 | 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 | ||
47 | flags); | ||
48 | std::vector<char>·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bu\x8uf\x8f·(add_torrent_params·const&·atp | ||
49 | ···,·write_torrent_flags_t·flags); | ||
50 | writes·only·the·fields·to·create·a·.torrent·file.·This·function·may·fail·with·a | ||
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 | ||
53 | ······the·info·dictionary·(the·ti·field) | ||
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 | ||
56 | buffer·form.·This·overload·may·be·faster·at·the·expense·of·lost·flexibility·to | ||
57 | add·custom·fields. | ||
58 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
59 | *\x8**\x8**\x8**\x8**\x8**\x8*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fl\x8la\x8ag\x8gs\x8s_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* | 59 | *\x8**\x8**\x8**\x8**\x8**\x8*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fl\x8la\x8ag\x8gs\x8s_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* |
60 | 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" | 60 | 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" |
61 | ··allow_missing_piece_layer | 61 | ··allow_missing_piece_layer |
62 | ······this·makes·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)·not·fail·when·attempting·to·write·a·v2 | 62 | ······this·makes·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)·not·fail·when·attempting·to·write·a·v2 |
63 | ······torrent·file·that·does·not·have·all·the·piece·layers | 63 | ······torrent·file·that·does·not·have·all·the·piece·layers |
64 | ··no_http_seeds | 64 | ··no_http_seeds |
65 | ······don't·include·http·seeds·in·the·torrent·file,·even·if·some·are·present·in | 65 | ······don't·include·http·seeds·in·the·torrent·file,·even·if·some·are·present·in |
Offset 29, 101 lines modified | Offset 29, 101 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="# | 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> |
44 | </ul> | 44 | </ul> |
45 | </li> | 45 | </li> |
46 | <li><a·class="reference·internal"·href="#session- | 46 | <li><a·class="reference·internal"·href="#session-params"·id="toc-entry-8">session_params</a><ul> |
47 | <li><a·class="reference·internal"·href="#i | 47 | <li><a·class="reference·internal"·href="#session-params-1"·id="toc-entry-9">session_params()</a></li> |
48 | <li><a·class="reference·internal"·href="#session- | 48 | <li><a·class="reference·internal"·href="#session-params-2"·id="toc-entry-10">session_params()</a></li> |
49 | <li><a·class="reference·internal"·href="#get-torrent-status-refresh-torrent-status"·id="toc-entry-11">get_torrent_status()·refresh_torrent_status()</a></li> | ||
50 | <li><a·class="reference·internal"·href="#post-torrent-updates"·id="toc-entry-12">post_torrent_updates()</a></li> | ||
51 | <li><a·class="reference·internal"·href="#post-session-stats"·id="toc-entry-13">post_session_stats()</a></li> | ||
52 | <li><a·class="reference·internal"·href="#post-dht-stats"·id="toc-entry-14">post_dht_stats()</a></li> | ||
53 | <li><a·class="reference·internal"·href="#set-dht-state"·id="toc-entry-15">set_dht_state()</a></li> | ||
54 | <li><a·class="reference·internal"·href="#get-torrents-find-torrent"·id="toc-entry-16">get_torrents()·find_torrent()</a></li> | ||
55 | <li><a·class="reference·internal"·href="#add-torrent-async-add-torrent"·id="toc-entry-17">add_torrent()·async_add_torrent()</a></li> | ||
56 | <li><a·class="reference·internal"·href="#resume-is-paused-pause"·id="toc-entry-18">resume()·is_paused()·pause()</a></li> | ||
57 | <li><a·class="reference·internal"·href="#is-dht-running"·id="toc-entry-19">is_dht_running()</a></li> | ||
58 | <li><a·class="reference·internal"·href="#set-dht-storage"·id="toc-entry-20">set_dht_storage()</a></li> | ||
59 | <li><a·class="reference·internal"·href="#add-dht-node"·id="toc-entry-21">add_dht_node()</a></li> | ||
60 | <li><a·class="reference·internal"·href="#dht-get-item"·id="toc-entry-22">dht_get_item()</a></li> | ||
61 | <li><a·class="reference·internal"·href="#dht-get-item-1"·id="toc-entry-23">dht_get_item()</a></li> | ||
62 | <li><a·class="reference·internal"·href="#dht-put-item"·id="toc-entry-24">dht_put_item()</a></li> | ||
63 | <li><a·class="reference·internal"·href="#dht-put-item-1"·id="toc-entry-25">dht_put_item()</a></li> | ||
64 | <li><a·class="reference·internal"·href="#dht-announce-dht-get-peers"·id="toc-entry-26">dht_announce()·dht_get_peers()</a></li> | ||
65 | <li><a·class="reference·internal"·href="#dht-live-nodes"·id="toc-entry-27">dht_live_nodes()</a></li> | ||
66 | <li><a·class="reference·internal"·href="#dht-sample-infohashes"·id="toc-entry-28">dht_sample_infohashes()</a></li> | ||
67 | <li><a·class="reference·internal"·href="#dht-direct-request"·id="toc-entry-29">dht_direct_request()</a></li> | ||
68 | <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-30">add_extension()</a></li> | ||
69 | <li><a·class="reference·internal"·href="#get-ip-filter-set-ip-filter"·id="toc-entry-31">get_ip_filter()·set_ip_filter()</a></li> | ||
70 | <li><a·class="reference·internal"·href="#set-port-filter"·id="toc-entry-32">set_port_filter()</a></li> | ||
71 | <li><a·class="reference·internal"·href="#ssl-listen-port-is-listening-listen-port"·id="toc-entry-33">ssl_listen_port()·is_listening()·listen_port()</a></li> | ||
72 | <li><a·class="reference·internal"·href="#get-peer-class-filter-set-peer-class-filter"·id="toc-entry-34">get_peer_class_filter()·set_peer_class_filter()</a></li> | ||
73 | <li><a·class="reference·internal"·href="#get-peer-class-type-filter-set-peer-class-type-filter"·id="toc-entry-35">get_peer_class_type_filter()·set_peer_class_type_filter()</a></li> | ||
74 | <li><a·class="reference·internal"·href="#create-peer-class"·id="toc-entry-36">create_peer_class()</a></li> | ||
75 | <li><a·class="reference·internal"·href="#delete-peer-class"·id="toc-entry-37">delete_peer_class()</a></li> | ||
76 | <li><a·class="reference·internal"·href="#set-peer-class-get-peer-class"·id="toc-entry-38">set_peer_class()·get_peer_class()</a></li> | ||
77 | <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-39">remove_torrent()</a></li> | ||
78 | <li><a·class="reference·internal"·href="#get-settings-apply-settings"·id="toc-entry-40">get_settings()·apply_settings()</a></li> | ||
79 | <li><a·class="reference·internal"·href="#set-alert-notify-pop-alerts-wait-for-alert"·id="toc-entry-41">set_alert_notify()·pop_alerts()·wait_for_alert()</a></li> | ||
80 | <li><a·class="reference·internal"·href="#delete-port-mapping-add-port-mapping"·id="toc-entry-42">delete_port_mapping()·add_port_mapping()</a></li> | ||
81 | <li><a·class="reference·internal"·href="#reopen-network-sockets"·id="toc-entry-43">reopen_network_sockets()</a></li> | ||
82 | <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-44">native_handle()</a></li> | ||
83 | </ul> | 49 | </ul> |
84 | </li> | 50 | </li> |
85 | <li><a·class="reference·internal"·href="#session- | 51 | <li><a·class="reference·internal"·href="#session-handle"·id="toc-entry-11">session_handle</a><ul> |
52 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-12">is_valid()</a></li> | ||
86 | <li><a·class="reference·internal"·href="#session- | 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> | ||
55 | <li><a·class="reference·internal"·href="#post-torrent-updates"·id="toc-entry-15">post_torrent_updates()</a></li> | ||
87 | <li><a·class="reference·internal"·href="#session- | 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> | ||
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="#find-torrent-get-torrents"·id="toc-entry-19">find_torrent()·get_torrents()</a></li> | ||
60 | <li><a·class="reference·internal"·href="#async-add-torrent-add-torrent"·id="toc-entry-20">async_add_torrent()·add_torrent()</a></li> | ||
61 | <li><a·class="reference·internal"·href="#pause-resume-is-paused"·id="toc-entry-21">pause()·resume()·is_paused()</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> | ||
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> | ||
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> | ||
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> | ||
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> | ||
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> | ||
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> | ||
76 | <li><a·class="reference·internal"·href="#is-listening-listen-port-ssl-listen-port"·id="toc-entry-36">is_listening()·listen_port()·ssl_listen_port()</a></li> | ||
77 | <li><a·class="reference·internal"·href="#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="#set-peer-class-type-filter-get-peer-class-type-filter"·id="toc-entry-38">set_peer_class_type_filter()·get_peer_class_type_filter()</a></li> | ||
79 | <li><a·class="reference·internal"·href="#create-peer-class"·id="toc-entry-39">create_peer_class()</a></li> | ||
80 | <li><a·class="reference·internal"·href="#delete-peer-class"·id="toc-entry-40">delete_peer_class()</a></li> | ||
81 | <li><a·class="reference·internal"·href="#get-peer-class-set-peer-class"·id="toc-entry-41">get_peer_class()·set_peer_class()</a></li> | ||
82 | <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-42">remove_torrent()</a></li> | ||
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="#pop-alerts-wait-for-alert-set-alert-notify"·id="toc-entry-44">pop_alerts()·wait_for_alert()·set_alert_notify()</a></li> | ||
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> | ||
87 | <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-47">native_handle()</a></li> | ||
88 | </ul> | 88 | </ul> |
89 | </li> | 89 | </li> |
90 | <li><a·class="reference·internal"·href="#r | 90 | <li><a·class="reference·internal"·href="#write-session-params-write-session-params-buf-read-session-params"·id="toc-entry-48">write_session_params()·write_session_params_buf()·read_session_params()</a></li> |
91 | </ul> | 91 | </ul> |
92 | </div> | 92 | </div> |
93 | <a·name="session_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 |
98 | synchronize·the·completion·of·the·shutdown.·The·lifetime·of·this·object | 98 | synchronize·the·completion·of·the·shutdown.·The·lifetime·of·this·object |
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>·(); | 105 | ···<strong>~session_proxy</strong>·(); |
106 | ···session_proxy&·<strong>operator=</strong>·(session_proxy&&)·&·noexcept; | 106 | ···session_proxy&·<strong>operator=</strong>·(session_proxy&&)·&·noexcept; |
107 | ···<strong>session_proxy</strong>·(session_proxy&&)·noexcept; | ||
108 | ···session_proxy&·<strong>operator=</strong>·(session_proxy·const&)·&; | 107 | ···session_proxy&·<strong>operator=</strong>·(session_proxy·const&)·&; |
108 | ···<strong>session_proxy</strong>·(session_proxy&&)·noexcept; | ||
109 | ···<strong> | 109 | ···<strong>session_proxy</strong>·(); |
110 | ···<strong>session_proxy</strong>·(session_proxy·const&); | 110 | ···<strong>session_proxy</strong>·(session_proxy·const&); |
111 | }; | 111 | }; |
112 | </pre> | 112 | </pre> |
113 | <a·name="operator=()"></a> | ||
114 | <a·name="session_proxy()"></a> | 113 | <a·name="session_proxy()"></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+%22session_proxy%3A%3A%5Bsession_proxy%28%29+operator%3D%28%29+~session_proxy%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·cl[·...·truncated·by·diffoscope;·len:·40,·SHA:·d084897420ce73fd2ea472516e393298400ffb48406532431f75079573ba22b8·...·]-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>·(); | 118 | <strong>~session_proxy</strong>·(); |
119 | session_proxy&·<strong>operator=</strong>·(session_proxy&&)·&·noexcept; | 119 | session_proxy&·<strong>operator=</strong>·(session_proxy&&)·&·noexcept; |
Max diff block lines reached; 53033/67266 bytes (78.84%) of diff not shown. |
Offset 1, 85 lines modified | Offset 1, 85 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_.=_\x8(_\x8)_\x8·_\x8~_\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 | ||
14 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | ||
15 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | ||
13 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e | 16 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e |
14 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) | 17 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) |
15 | ··········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) |
16 | ··········o·_\x8 | 19 | ··········o·_\x8r_.e_.f_.r_.e_.s_.h_.__.t_.o_.r_.r_.e_.n_.t_.__.s_.t_.a_.t_.u_.s_.(_.)_.·_.g_.e_.t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) |
17 | ··········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) |
18 | ··········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) |
19 | ··········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) |
20 | ··········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) |
21 | ··········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) | ||
22 | ··········o·_\x8 | 24 | ··········o·_\x8f_.i_.n_.d_.__.t_.o_.r_.r_.e_.n_.t_.(_.)_.·_.g_.e_.t_.__.t_.o_.r_.r_.e_.n_.t_.s_\x8(_\x8) |
25 | ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) | ||
23 | ··········o·_\x8 | 26 | ··········o·_\x8p_.a_.u_.s_.e_.(_.)_.·_.r_.e_.s_.u_.m_.e_.(_.)_.·_.i_.s_.__.p_.a_.u_.s_.e_.d_\x8(_\x8) |
24 | ··········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) |
25 | ··········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) |
26 | ··········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) |
27 | ··········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) |
28 | ··········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) |
29 | ··········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) |
30 | ··········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) |
31 | ··········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) |
32 | ··········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) |
33 | ··········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) |
34 | ··········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) |
35 | ··········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) |
36 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) | 39 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) |
37 | ··········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) |
38 | ··········o·_\x8 | 41 | ··········o·_\x8i_.s_.__.l_.i_.s_.t_.e_.n_.i_.n_.g_.(_.)_.·_.l_.i_.s_.t_.e_.n_.__.p_.o_.r_.t_.(_.)_.·_.s_.s_.l_.__\x8l_\x8i_\x8s_\x8t_\x8e_\x8n_\x8__\x8p_\x8o_\x8r_\x8t_\x8(_\x8) |
39 | ··········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) |
40 | ··········o·_\x8 | 43 | ··········o·_\x8s_.e_.t_.__.p_.e_.e_.r_.__.c_.l_.a_.s_.s_.__.t_.y_.p_.e_.__.f_.i_.l_.t_.e_.r_.(_.)_.·_.g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) |
41 | ··········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) |
42 | ··········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) |
43 | ··········o·_\x8 | 46 | ··········o·_\x8g_.e_.t_.__.p_.e_.e_.r_.__.c_.l_.a_.s_.s_.(_.)_.·_.s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) |
44 | ··········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) |
45 | ··········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) | ||
46 | ··········o·_\x8 | 48 | ··········o·_\x8a_.p_.p_.l_.y_.__.s_.e_.t_.t_.i_.n_.g_.s_.(_.)_.·_.g_.e_.t_.__.s_.e_.t_.t_.i_.n_.g_.s_\x8(_\x8) |
49 | ··········o·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8)_\x8·_\x8w_\x8a_\x8i_\x8t_\x8__\x8f_\x8o_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8n_\x8o_\x8t_\x8i_\x8f_\x8y_\x8(_\x8) | ||
47 | ··········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) | 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) |
48 | ··········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) |
49 | ··········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 | ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\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)_\x8·_\x8r_\x8e_\x8a_\x8d_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | ||
50 | ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s | ||
51 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | ||
52 | ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | ||
53 | ····*·_\x8r_\x8e_\x8a_\x8d_\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(_\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·(); | 65 | ···~.~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); |
66 | ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy&&)·&·noexcept; | 66 | ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy&&)·&·noexcept; |
67 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept; | ||
68 | ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&; | 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·(session_proxy&&)·noexcept; | ||
69 | ··· | 69 | ···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·const&); | 70 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&); |
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=.=(\x8()\x8)·~\x8~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·(); | 74 | ~.~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(); |
75 | session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy&&)·&·noexcept; | 75 | session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy&&)·&·noexcept; |
76 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept; | ||
77 | session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&; | 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·(session_proxy&&)·noexcept; | ||
78 | 78 | 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·const&); | 79 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&); |
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 |
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&&·params,·session_flags_t·flags); | ||
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·(session_params·const&·params,·session_flags_t·flags); |
96 | ···explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params); | ||
97 | ···explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params); | ||
98 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(); | 97 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(); |
98 | ···explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params); | ||
99 | ···s.se.es.ss.si.io.on.n·(session_params&&·param | 99 | ···explicit·s.se.es.ss.si.io.on.n·(session_params&&·params); |
100 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params | 100 | ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·io_context&·ios); |
101 | ···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); |
102 | ···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); | 103 | ···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&&·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&&·params,·session_flags_t·flags); | ||
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·(session_params·const&·params,·session_flags_t·flags); |
110 | explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params); | ||
111 | explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params); | ||
112 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(); | 111 | s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(); |
112 | explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params); | ||
113 | s.se.es.ss.si.io.on.n·(session_params&&·param | 113 | explicit·s.se.es.ss.si.io.on.n·(session_params&&·params); |
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 |
Max diff block lines reached; 29122/39985 bytes (72.83%) 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-str-set- | 36 | <li><a·class="reference·internal"·href="#set-str-set-bool-set-int"·id="toc-entry-2">set_str()·set_bool()·set_int()</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-int-get-bool-get-str"·id="toc-entry-6">get_int()·get_bool()·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="# | 53 | <li><a·class="reference·internal"·href="#high-performance-seed-min-memory-usage"·id="toc-entry-17">high_performance_seed()·min_memory_usage()</a></li> |
54 | <li><a·class="reference·internal"·href="#name-for-setting-setting-by-name"·id="toc-entry-18">name_for_setting()·setting_by_name()</a></li> | ||
55 | <li><a·class="reference·internal"·href="#default-settings"·id="toc-entry-19">default_settings()</a></li> | ||
56 | <li><a·class="reference·internal"·href="#generate-fingerprint"·id="toc-entry- | 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-19">setting_by_name()·name_for_setting()</a></li> | ||
56 | <li><a·class="reference·internal"·href="#default-settings"·id="toc-entry-20">default_settings()</a></li> | ||
57 | </ul> | 57 | </ul> |
58 | </div> | 58 | </div> |
59 | <p>You·have·some·control·over·<a·class="reference·external"·href="reference-Session.html#session">session</a>·configuration·through·the·session::apply_settings() | 59 | <p>You·have·some·control·over·<a·class="reference·external"·href="reference-Session.html#session">session</a>·configuration·through·the·session::apply_settings() |
60 | member·function.·To·change·one·or·more·configuration·options,·create·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a> | 60 | member·function.·To·change·one·or·more·configuration·options,·create·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a> |
61 | object·and·fill·it·with·the·settings·to·be·set·and·pass·it·in·to·session::apply_settings().</p> | 61 | object·and·fill·it·with·the·settings·to·be·set·and·pass·it·in·to·session::apply_settings().</p> |
62 | <p>The·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·object·is·a·collection·of·settings·updates·that·are·applied | 62 | <p>The·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·object·is·a·collection·of·settings·updates·that·are·applied |
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, 23 lines modified | Offset 4562, 23 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_str</strong>·(int·name,·std::string·val)·override; | ||
4571 | ···void·<strong>set_bool</strong>·(int·name,·bool·val)·override; | 4571 | ···void·<strong>set_bool</strong>·(int·name,·bool·val)·override; |
4572 | ···void·<strong>set_ | 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; | 4576 | ···std::string·const&·<strong>get_str</strong>·(int·name)·const·override; |
4577 | ···int·<strong>get_int</strong>·(int·name)·const·override; | ||
4578 | ···bool·<strong>get_bool</strong>·(int·name)·const·override; | 4578 | ···bool·<strong>get_bool</strong>·(int·name)·const·override; |
4579 | ···void·<strong>for_each</strong>·(Fun&&·f)·const; | 4579 | ···void·<strong>for_each</strong>·(Fun&&·f)·const; |
4580 | ···enum·type_bases | 4580 | ···enum·type_bases |
4581 | ···{ | 4581 | ···{ |
4582 | ······string_type_base, | 4582 | ······string_type_base, |
4583 | ······int_type_base, | 4583 | ······int_type_base, |
Offset 4650, 22 lines modified | Offset 4650, 22 lines modified | ||
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> | 4656 | <a·name="set_str()"></a> |
4657 | <a·name="set_ | 4657 | <a·name="set_bool()"></a> |
4658 | <a·name="set_ | 4658 | <a·name="set_int()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bset_str%28%29+set_bool%28%29+set_int%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bset[·...·truncated·by·diffoscope;·len:·138,·SHA:·8b41e8cba67b3d3766a158041c9c2b83eb0b897be8f515c03736fc0f6a721cd7·...·]"> |
4659 | <h2>set_str()·set_ | 4659 | <h2>set_str()·set_bool()·set_int()</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_str</strong>·(int·name,·std::string·val)·override; | ||
4663 | void·<strong>set_bool</strong>·(int·name,·bool·val)·override; | 4663 | void·<strong>set_bool</strong>·(int·name,·bool·val)·override; |
4664 | void·<strong>set_ | 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"> |
4671 | <h2>has_val()</h2> | 4671 | <h2>has_val()</h2> |
Offset 4685, 22 lines modified | Offset 4685, 22 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_ | 4692 | <a·name="get_int()"></a> |
4693 | <a·name="get_bool()"></a> | 4693 | <a·name="get_bool()"></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_int%28%29+get_bool%28%29+get_str%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bget[·...·truncated·by·diffoscope;·len:·33,·SHA:·04e52b2c117044f0f45737b0a11282afc65e38a2646372f2ce2a0e38c9f774f6·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
4695 | <div·class="section"·id="get- | 4695 | <div·class="section"·id="get-int-get-bool-get-str"> |
4696 | <h2>get_ | 4696 | <h2>get_int()·get_bool()·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; | 4698 | std::string·const&·<strong>get_str</strong>·(int·name)·const·override; |
4699 | int·<strong>get_int</strong>·(int·name)·const·override; | ||
4700 | bool·<strong>get_bool</strong>·(int·name)·const·override; | 4700 | bool·<strong>get_bool</strong>·(int·name)·const·override; |
4701 | </pre> | 4701 | </pre> |
4702 | <p>queries·the·current·configuration·option·from·the·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>. | 4702 | <p>queries·the·current·configuration·option·from·the·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>. |
4703 | <tt·class="docutils·literal">name</tt>·is·one·of·the·enumeration·values·from·string_types,·int_types | 4703 | <tt·class="docutils·literal">name</tt>·is·one·of·the·enumeration·values·from·string_types,·int_types |
4704 | or·bool_types.·The·enum·value·must·match·the·type·of·the·get_* | 4704 | or·bool_types.·The·enum·value·must·match·the·type·of·the·get_* |
4705 | function.·If·the·specified·setting·field·has·not·been·set,·the·default | 4705 | function.·If·the·specified·setting·field·has·not·been·set,·the·default |
4706 | value·is·returned.</p> | 4706 | value·is·returned.</p> |
Offset 5060, 23 lines modified | Offset 5060, 23 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="high_performance_seed()"></a> |
5068 | <a·name=" | 5068 | <a·name="min_memory_usage()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:high_performance_seed%28%29+min_memory_usage%28%29&labels=documentation&body=Documentation+under+heading+%22high_performance_seed%28%29+m[·...·truncated·by·diffoscope;·len:·15,·SHA:·238ede134db0735281b721040dfa7bc22a7062f95523fcfe5144b41061731e21·...·]%28%29%22+could+be+improved">report·issue</a>]</span></div> |
5069 | </div> | 5069 | </div> |
5070 | <div·class="section"·id="min-memory-usage-high-performance-seed"> | ||
5071 | < | 5070 | <div·class="section"·id="high-performance-seed-min-memory-usage"> |
5071 | <h1>high_performance_seed()·min_memory_usage()</h1> | ||
5072 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/session.hpp">libtorrent/session.hpp</a>"</p> | 5072 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/session.hpp">libtorrent/session.hpp</a>"</p> |
5073 | <pre·class="literal-block"> | 5073 | <pre·class="literal-block"> |
Max diff block lines reached; 5642/16863 bytes (33.46%) 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__\x8s_\x8t_\x8r_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8 | 7 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8s_\x8t_\x8r_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8b_.o_.o_.l_.(_.)_.·_.s_.e_.t_.__.i_.n_.t_\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__\x8i_.n_.t_.(_.)_.·_.g_.e_.t_.__.b_.o_.o_.l_.(_.)_.·_.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 | ····*·_\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) | ||
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 | ····*·_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8o_\x8r_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8y_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8) | ||
24 | ····*·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\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) | 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) | ||
25 | ····*·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) | ||
26 | You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session:: | 26 | You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session:: |
27 | apply_settings()·member·function.·To·change·one·or·more·configuration·options, | 27 | apply_settings()·member·function.·To·change·one·or·more·configuration·options, |
28 | create·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·and·fill·it·with·the·settings·to·be·set·and·pass | 28 | create·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·and·fill·it·with·the·settings·to·be·set·and·pass |
29 | it·in·to·session::apply_settings(). | 29 | it·in·to·session::apply_settings(). |
30 | The·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·is·a·collection·of·settings·updates·that·are·applied | 30 | The·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·is·a·collection·of·settings·updates·that·are·applied |
31 | to·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·when·passed·to·session::apply_settings().·It's·empty·when | 31 | to·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·when·passed·to·session::apply_settings().·It's·empty·when |
32 | constructed. | 32 | constructed. |
Offset 1420, 23 lines modified | Offset 1420, 23 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_s\x8st\x8tr\x8r·(int·name,·std::string·val)·override; | ||
1429 | ···void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override; | 1429 | ···void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override; |
1430 | ···void·s\x8se\x8et\x8t_\x8_ | 1430 | ···void·s\x8se\x8et\x8t_\x8_s.st.tr.r·(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; | 1434 | ···std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·override; |
1435 | ···int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override; | ||
1436 | ···bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·override; | 1436 | ···bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·override; |
1437 | ···void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(Fun&&·f)·const; | 1437 | ···void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(Fun&&·f)·const; |
1438 | ···enum·type_bases | 1438 | ···enum·type_bases |
1439 | ···{ | 1439 | ···{ |
1440 | ······string_type_base, | 1440 | ······string_type_base, |
1441 | ······int_type_base, | 1441 | ······int_type_base, |
Offset 1507, 19 lines modified | Offset 1507, 19 lines modified | ||
1507 | ······socks5, | 1507 | ······socks5, |
1508 | ······socks5_pw, | 1508 | ······socks5_pw, |
1509 | ······http, | 1509 | ······http, |
1510 | ······http_pw, | 1510 | ······http_pw, |
1511 | ···}; | 1511 | ···}; |
1512 | }; | 1512 | }; |
1513 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1513 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1514 | *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r(\x8()\x8)·s\x8se\x8et\x8t_\x8_ | 1514 | *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r(\x8()\x8)·s\x8se\x8et\x8t_\x8_b.bo.oo.ol.l(.().)·s.se.et.t_._i.in.nt.t(\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_s\x8st\x8tr\x8r·(int·name,·std::string·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_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override; |
1518 | void·s\x8se\x8et\x8t_\x8_ | 1518 | void·s\x8se\x8et\x8t_\x8_s.st.tr.r·(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; |
1525 | queries·whether·the·specified·configuration·option·has·a·value·set·in·this | 1525 | queries·whether·the·specified·configuration·option·has·a·value·set·in·this |
Offset 1530, 17 lines modified | Offset 1530, 17 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_i.in.nt.t(.().)·g.ge.et.t_._b.bo.oo.ol.l(.().)·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; | 1538 | std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·override; |
1539 | int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override; | ||
1540 | bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·override; | 1540 | bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·override; |
1541 | queries·the·current·configuration·option·from·the·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.·name·is·one·of | 1541 | queries·the·current·configuration·option·from·the·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.·name·is·one·of |
1542 | the·enumeration·values·from·string_types,·int_types·or·bool_types.·The·enum | 1542 | the·enumeration·values·from·string_types,·int_types·or·bool_types.·The·enum |
1543 | value·must·match·the·type·of·the·get_*·function.·If·the·specified·setting·field | 1543 | value·must·match·the·type·of·the·get_*·function.·If·the·specified·setting·field |
1544 | has·not·been·set,·the·default·value·is·returned. | 1544 | has·not·been·set,·the·default·value·is·returned. |
1545 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 1545 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
1546 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·t\x8ty\x8yp\x8pe\x8e_\x8_b\x8ba\x8as\x8se\x8es\x8s·*\x8**\x8**\x8**\x8**\x8* | 1546 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·t\x8ty\x8yp\x8pe\x8e_\x8_b\x8ba\x8as\x8se\x8es\x8s·*\x8**\x8**\x8**\x8**\x8* |
Offset 1668, 18 lines modified | Offset 1668, 18 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*·h.hi.ig.gh.h_._p.pe.er.rf.fo.or.rm.ma.an.nc.ce.e_._s.se.ee.ed.d(.().)·m.mi.in.n_._m.me.em.mo.or.ry.y_._u.us.sa.ag.ge.e(\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" | 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" |
1677 | 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·(); | ||
1678 | settings_pack·m\x8mi\x8in\x8n_\x8_m\x8me\x8em\x8mo\x8or\x8ry\x8y_\x8_u\x8us\x8sa\x8ag\x8ge\x8e·(); | 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·(); | ||
1679 | The·default·values·of·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·settings·are·set·for·a·regular·bittorrent | 1679 | The·default·values·of·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·settings·are·set·for·a·regular·bittorrent |
1680 | client·running·on·a·desktop·system.·There·are·functions·that·can·set·the | 1680 | client·running·on·a·desktop·system.·There·are·functions·that·can·set·the |
1681 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·settings·to·pre·set·settings·for·other·environments.·These·can·be·used | 1681 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·settings·to·pre·set·settings·for·other·environments.·These·can·be·used |
1682 | for·the·basis,·and·should·be·tweaked·to·fit·your·needs·better. | 1682 | for·the·basis,·and·should·be·tweaked·to·fit·your·needs·better. |
1683 | min_memory_usage·returns·settings·that·will·use·the·minimal·amount·of·RAM,·at | 1683 | min_memory_usage·returns·settings·that·will·use·the·minimal·amount·of·RAM,·at |
1684 | the·potential·expense·of·upload·and·download·performance.·It·adjusts·the·socket | 1684 | the·potential·expense·of·upload·and·download·performance.·It·adjusts·the·socket |
1685 | buffer·sizes,·disables·the·disk·cache,·lowers·the·send·buffer·watermarks·so | 1685 | buffer·sizes,·disables·the·disk·cache,·lowers·the·send·buffer·watermarks·so |
Offset 1692, 26 lines modified | Offset 1692, 14 lines modified | ||
1692 | This·configuration·is·intended·to·be·the·starting·point·for·embedded·devices. | 1692 | This·configuration·is·intended·to·be·the·starting·point·for·embedded·devices. |
1693 | It·will·significantly·reduce·memory·usage. | 1693 | It·will·significantly·reduce·memory·usage. |
1694 | high_performance_seed·returns·settings·optimized·for·a·seed·box,·serving·many | 1694 | high_performance_seed·returns·settings·optimized·for·a·seed·box,·serving·many |
1695 | peers·and·that·doesn't·do·any·downloading.·It·has·a·128·MB·disk·cache·and·has·a | 1695 | peers·and·that·doesn't·do·any·downloading.·It·has·a·128·MB·disk·cache·and·has·a |
1696 | limit·of·400·files·in·its·file·pool.·It·support·fast·upload·rates·by·allowing | 1696 | limit·of·400·files·in·its·file·pool.·It·support·fast·upload·rates·by·allowing |
Max diff block lines reached; 3234/12125 bytes (26.67%) of diff not shown. |
Offset 70, 16 lines modified | Offset 70, 16 lines modified | ||
70 | <div·class="section"·id="counters"> | 70 | <div·class="section"·id="counters"> |
71 | <h1>counters</h1> | 71 | <h1>counters</h1> |
72 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/performance_counters.hpp">libtorrent/performance_counters.hpp</a>"</p> | 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"> | 73 | <pre·class="literal-block"> |
74 | struct·counters | 74 | struct·counters |
75 | { | 75 | { |
76 | ···<strong>counters</strong>·()·; | 76 | ···<strong>counters</strong>·()·; |
77 | ···<strong>counters</strong>·(counters·const&)·; | ||
78 | ···counters&·<strong>operator=</strong>·(counters·const&)·&·; | 77 | ···counters&·<strong>operator=</strong>·(counters·const&)·&·; |
78 | ···<strong>counters</strong>·(counters·const&)·; | ||
79 | ···std::int64_t·<strong>inc_stats_counter</strong>·(int·c,·std::int64_t·value·=·1)·; | 79 | ···std::int64_t·<strong>inc_stats_counter</strong>·(int·c,·std::int64_t·value·=·1)·; |
80 | ···std::int64_t·<strong>operator[]</strong>·(int·i)·const·; | 80 | ···std::int64_t·<strong>operator[]</strong>·(int·i)·const·; |
81 | ···void·<strong>blend_stats_counter</strong>·(int·c,·std::int64_t·value,·int·ratio)·; | 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)·; | 82 | ···void·<strong>set_value</strong>·(int·c,·std::int64_t·value)·; |
83 | }; | 83 | }; |
84 | </pre> | 84 | </pre> |
85 | <a·name="inc_stats_counter()"></a> | 85 | <a·name="inc_stats_counter()"></a> |
Offset 30, 16 lines modified | Offset 30, 16 lines modified | ||
30 | ······_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t·object. | 30 | ······_\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] | 31 | [_\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* | 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" | 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 | 34 | struct·counters |
35 | { | 35 | { |
36 | ···c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·()·; | 36 | ···c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·()·; |
37 | ···c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·(counters·const&)·; | ||
38 | ···counters&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(counters·const&)·&·; | 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·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)·; | 39 | ···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)·; |
40 | ···std::int64_t·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·i)·const·; | 40 | ···std::int64_t·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·i)·const·; |
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)·; | 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)·; | 42 | ···void·s\x8se\x8et\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(int·c,·std::int64_t·value)·; |
43 | }; | 43 | }; |
44 | [_\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] |
45 | *\x8**\x8**\x8**\x8**\x8*·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8](\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 45 | *\x8**\x8**\x8**\x8**\x8*·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8](\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
Offset 33, 52 lines modified | Offset 33, 52 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-params"·id="toc-entry-1">storage_params</a></li> | 35 | <li><a·class="reference·internal"·href="#storage-params"·id="toc-entry-1">storage_params</a></li> |
36 | <li><a·class="reference·internal"·href="#file-slice"·id="toc-entry-2">file_slice</a></li> | 36 | <li><a·class="reference·internal"·href="#file-slice"·id="toc-entry-2">file_slice</a></li> |
37 | <li><a·class="reference·internal"·href="#file-storage"·id="toc-entry-3">file_storage</a><ul> | 37 | <li><a·class="reference·internal"·href="#file-storage"·id="toc-entry-3">file_storage</a><ul> |
38 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-4">is_valid()</a></li> | 38 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-4">is_valid()</a></li> |
39 | <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-5">reserve()</a></li> | 39 | <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-5">reserve()</a></li> |
40 | <li><a·class="reference·internal"·href="#add-file- | 40 | <li><a·class="reference·internal"·href="#add-file-add-file-borrow"·id="toc-entry-6">add_file()·add_file_borrow()</a></li> |
41 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-7">rename_file()</a></li> | 41 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-7">rename_file()</a></li> |
42 | <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-8">map_block()</a></li> | 42 | <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-8">map_block()</a></li> |
43 | <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-9">map_file()</a></li> | 43 | <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-9">map_file()</a></li> |
44 | <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-10">num_files()</a></li> | 44 | <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-10">num_files()</a></li> |
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-piece | 48 | <li><a·class="reference·internal"·href="#set-num-pieces-num-pieces"·id="toc-entry-14">set_num_pieces()·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="#set-piece-length-piece-length"·id="toc-entry-18">set_piece_length()·piece_length()</a></li> | 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="# | 57 | <li><a·class="reference·internal"·href="#name-set-name"·id="toc-entry-23">name()·set_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-size-root-root-ptr-file-name-file-path-mtime-pad-file-at-file-offset-hash-symlink"·id="toc-entry-26">file_size()·root()·root_ptr()·file_name()·file_path()·mtime()·pad_file_at()·file_offset()·hash()·symlink()</a></li> |
61 | <li><a·class="reference·internal"·href="#file- | 61 | <li><a·class="reference·internal"·href="#file-num-blocks-file-piece-range-file-num-pieces"·id="toc-entry-27">file_num_blocks()·file_piece_range()·file_num_pieces()</a></li> |
62 | <li><a·class="reference·internal"·href="#file-first-piece-node-file-first-block-node"·id="toc-entry-28">file_first_piece_node()·file_first_block_node()</a></li> | 62 | <li><a·class="reference·internal"·href="#file-first-piece-node-file-first-block-node"·id="toc-entry-28">file_first_piece_node()·file_first_block_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> | ||
75 | <li><a·class="reference·internal"·href="#default-disk-io-constructor"·id="toc-entry-3 | 74 | <li><a·class="reference·internal"·href="#default-disk-io-constructor"·id="toc-entry-38">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="#mmap-disk-io-constructor"·id="toc-entry-41">mmap_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 170, 39 lines modified | Offset 170, 39 lines modified | ||
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 | ···int·<strong>num_pieces</strong>·()·const; | 172 | ···int·<strong>num_pieces</strong>·()·const; |
173 | ···void·<strong>set_num_pieces</strong>·(int·n); | 173 | ···void·<strong>set_num_pieces</strong>·(int·n); |
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 | ···std::string·const&·<strong>name</strong>·()·const; | ||
184 | ···void·<strong>set_name</strong>·(std::string·const&·n); | 183 | ···void·<strong>set_name</strong>·(std::string·const&·n); |
184 | ···std::string·const&·<strong>name</strong>·()·const; | ||
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 | ···std::int64_t·<strong>file_offset</strong>·(file_index_t·index)·const; | ||
188 | ···std::int64_t·<strong>file_size</strong>·(file_index_t·index)·const; | ||
189 | ···char·const*·<strong>root_ptr</strong>·(file_index_t·const·index)·const; | ||
190 | ···sha256_hash·<strong>root</strong>·(file_index_t·index)·const; | ||
191 | ···std::string·<strong>file_path</strong>·(file_index_t·index,·std::string·const&·save_path·=·"")·const; | 187 | ···std::string·<strong>file_path</strong>·(file_index_t·index,·std::string·const&·save_path·=·"")·const; |
192 | ···std::time_t·<strong>mtime</strong>·(file_index_t·index)·const; | ||
193 | ···std::string·<strong>symlink</strong>·(file_index_t·index)·const; | 188 | ···std::string·<strong>symlink</strong>·(file_index_t·index)·const; |
189 | ···std::int64_t·<strong>file_size</strong>·(file_index_t·index)·const; | ||
194 | ··· | 190 | ···std::int64_t·<strong>file_offset</strong>·(file_index_t·index)·const; |
195 | ···sha1_hash·<strong>hash</strong>·(file_index_t·index)·const; | 191 | ···sha1_hash·<strong>hash</strong>·(file_index_t·index)·const; |
192 | ···std::time_t·<strong>mtime</strong>·(file_index_t·index)·const; | ||
193 | ···sha256_hash·<strong>root</strong>·(file_index_t·index)·const; | ||
196 | ···string_view·<strong>file_name</strong>·(file_index_t·index)·const; | 194 | ···string_view·<strong>file_name</strong>·(file_index_t·index)·const; |
195 | ···char·const*·<strong>root_ptr</strong>·(file_index_t·const·index)·const; | ||
197 | ··· | 196 | ···bool·<strong>pad_file_at</strong>·(file_index_t·index)·const; |
198 | ···int·<strong>file_num_pieces</strong>·(file_index_t·index)·const; | 197 | ···int·<strong>file_num_pieces</strong>·(file_index_t·index)·const; |
198 | ···int·<strong>file_num_blocks</strong>·(file_index_t·index)·const; | ||
199 | ···index_range<piece_index_t::diff_type>·<strong>file_piece_range</strong>·(file_index_t)·const; | 199 | ···index_range<piece_index_t::diff_type>·<strong>file_piece_range</strong>·(file_index_t)·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; | 200 | ···int·<strong>file_first_block_node</strong>·(file_index_t·index)·const; |
201 | ···int·<strong>file_first_piece_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; | 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; | 207 | ···file_index_t·<strong>file_index_at_piece</strong>·(piece_index_t·piece)·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; |
Offset 230, 18 lines modified | Offset 230, 18 lines modified | ||
230 | <h2>reserve()</h2> | 230 | <h2>reserve()</h2> |
231 | <pre·class="literal-block"> | 231 | <pre·class="literal-block"> |
232 | void·<strong>reserve</strong>·(int·num_files); | 232 | void·<strong>reserve</strong>·(int·num_files); |
233 | </pre> | 233 | </pre> |
234 | <p>allocates·space·for·<tt·class="docutils·literal">num_files</tt>·in·the·internal·file·list.·This·can | 234 | <p>allocates·space·for·<tt·class="docutils·literal">num_files</tt>·in·the·internal·file·list.·This·can |
235 | be·used·to·avoid·reallocating·the·internal·file·list·when·the·number | 235 | be·used·to·avoid·reallocating·the·internal·file·list·when·the·number |
236 | of·files·to·be·added·is·known·up-front.</p> | 236 | of·files·to·be·added·is·known·up-front.</p> |
237 | <a·name="add_file | 237 | <a·name="add_file()"></a> |
238 | <a·name="add_file()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:file_storage%3A%3A%5Badd_file | 238 | <a·name="add_file_borrow()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:file_storage%3A%3A%5Badd_file%28%29+add_file_borrow%28%29%5D&labels=documentation&body=Documentation+under+heading+%22file_storage%3A%3A%5Badd_fil[·...·truncated·by·diffoscope;·len:·23,·SHA:·2cbd7a4c407072652a0e700762035feff48d25b142ed9da9e4e62e5b0e9175c9·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> |
239 | <div·class="section"·id="add-file- | 239 | <div·class="section"·id="add-file-add-file-borrow"> |
240 | <h2>add_file | 240 | <h2>add_file()·add_file_borrow()</h2> |
241 | <pre·class="literal-block"> | 241 | <pre·class="literal-block"> |
242 | void·<strong>add_file</strong>·(error_code&·ec,·std::string·const&·path,·std::int64_t·file_size | 242 | void·<strong>add_file</strong>·(error_code&·ec,·std::string·const&·path,·std::int64_t·file_size |
243 | ······,·file_flags_t·file_flags·=·{} | 243 | ······,·file_flags_t·file_flags·=·{} |
244 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 244 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
245 | ······,·char·const*·root_hash·=·nullptr); | 245 | ······,·char·const*·root_hash·=·nullptr); |
246 | void·<strong>add_file_borrow</strong>·(error_code&·ec,·string_view·filename | 246 | void·<strong>add_file_borrow</strong>·(error_code&·ec,·string_view·filename |
247 | ······,·std::string·const&·path,·std::int64_t·file_size | 247 | ······,·std::string·const&·path,·std::int64_t·file_size |
Offset 310, 29 lines modified | Offset 310, 29 lines modified | ||
310 | <h2>map_block()</h2> | 310 | <h2>map_block()</h2> |
311 | <pre·class="literal-block"> | 311 | <pre·class="literal-block"> |
312 | std::vector<file_slice>·<strong>map_block</strong>·(piece_index_t·piece,·std::int64_t·offset | 312 | std::vector<file_slice>·<strong>map_block</strong>·(piece_index_t·piece,·std::int64_t·offset |
313 | ······,·std::int64_t·size)·const; | 313 | ······,·std::int64_t·size)·const; |
314 | </pre> | 314 | </pre> |
315 | <p>returns·a·list·of·<a·class="reference·external"·href="reference-Storage.html#file_slice">file_slice</a>·objects·representing·the·portions·of | 315 | <p>returns·a·list·of·<a·class="reference·external"·href="reference-Storage.html#file_slice">file_slice</a>·objects·representing·the·portions·of |
Max diff block lines reached; 24686/36943 bytes (66.82%) of diff not shown. |
Offset 4, 51 lines modified | Offset 4, 51 lines modified | ||
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__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s | 6 | ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s |
7 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8l_\x8i_\x8c_\x8e | 7 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8l_\x8i_\x8c_\x8e |
8 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e | 8 | ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e |
9 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) | 9 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) |
10 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8(_\x8) | 10 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8(_\x8) |
11 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8 | 11 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_.)_.·_.a_.d_.d_.__.f_.i_.l_.e_.__.b_.o_.r_.r_.o_.w_\x8(_\x8) |
12 | ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 12 | ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
13 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8) | 13 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8) |
14 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 14 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
15 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 15 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
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·_\x8 | 19 | ··········o·_\x8s_.e_.t_.__.n_.u_.m_.__.p_.i_.e_.c_.e_.s_.(_.)_.·_\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·_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8)_\x8·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8) | 23 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8)_\x8·_\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·_\x8 | 28 | ··········o·_\x8n_.a_.m_.e_.(_.)_.·_.s_.e_.t_.__\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·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)_\x8·_\x8r_\x8o_\x8o_\x8t_\x8(_\x8)_\x8·_\x8r_\x8o_\x8o_\x8t_\x8__\x8p_\x8t_\x8r_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8)_\x8·_\x8m_\x8t_\x8i_\x8m_\x8e_\x8(_\x8) | ||
31 | ·········· | 32 | ············_.p_.a_.d_.__.f_.i_.l_.e_.__.a_.t_.(_.)_.·_.f_.i_.l_.e_.__.o_.f_.f_.s_.e_.t_.(_.)_.·_.h_.a_.s_.h_.(_.)_.·_.s_.y_.m_.l_.i_.n_.k_\x8(_\x8) |
33 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8u_\x8m_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8) | ||
32 | ············_\x8r_\x8o_\x8o_\x8t_\x8__\x8p_\x8t_\x8r_\x8(_\x8)_\x8·_\x8s_\x8y_\x8m_\x8l_\x8i_\x8n_\x8k_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8h_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8)_\x8·_\x8r_\x8o_\x8o_\x8t_\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__\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8) | ||
34 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) | 34 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) |
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) | ||
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) | 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) |
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 | ····*·_\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) | 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) | ||
47 | ····*·_\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) | ||
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 129, 40 lines modified | Offset 129, 40 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 | ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; | 131 | ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; |
132 | ···void·s\x8se\x8et\x8t_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(int·n); | 132 | ···void·s\x8se\x8et\x8t_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(int·n); |
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 | ···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); | 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; | ||
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 | ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·(file_index_t·index)·const; | ||
147 | ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(file_index_t·index)·const; | ||
148 | ···char·const*·r\x8ro\x8oo\x8ot\x8t_\x8_p\x8pt\x8tr\x8r·(file_index_t·const·index)·const; | ||
149 | ···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·= | 146 | ···std::string·f\x8fi\x8il\x8le\x8e_\x8_p\x8pa\x8at\x8th\x8h·(file_index_t·index,·std::string·const&·save_path·= |
151 | "")·const; | 147 | "")·const; |
152 | ···std::time_t·m\x8mt\x8ti\x8im\x8me\x8e·(file_index_t·index)·const; | ||
153 | ···std::string·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8k·(file_index_t·index)·const; | 148 | ···std::string·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8k·(file_index_t·index)·const; |
154 | ··· | 149 | ···std::int64_t·f.fi.il.le.e_._s.si.iz.ze.e·(file_index_t·index)·const; |
150 | ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·(file_index_t·index)·const; | ||
155 | ···sha1_hash·h\x8ha\x8as\x8sh\x8h·(file_index_t·index)·const; | 151 | ···sha1_hash·h\x8ha\x8as\x8sh\x8h·(file_index_t·index)·const; |
152 | ···std::time_t·m\x8mt\x8ti\x8im\x8me\x8e·(file_index_t·index)·const; | ||
153 | ···sha256_hash·r\x8ro\x8oo\x8ot\x8t·(file_index_t·index)·const; | ||
156 | ···string_view·f\x8fi\x8il\x8le\x8e_\x8_n\x8na\x8am\x8me\x8e·(file_index_t·index)·const; | 154 | ···string_view·f\x8fi\x8il\x8le\x8e_\x8_n\x8na\x8am\x8me\x8e·(file_index_t·index)·const; |
157 | ··· | 155 | ···char·const*·r.ro.oo.ot.t_._p.pt.tr.r·(file_index_t·const·index)·const; |
156 | ···bool·p\x8pa\x8ad\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_a\x8at\x8t·(file_index_t·index)·const; | ||
158 | ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(file_index_t·index)·const; | 157 | ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(file_index_t·index)·const; |
158 | ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·(file_index_t·index)·const; | ||
159 | ···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 | ···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; |
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; | 160 | ···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_p\x8pi\x8ie\x8ec\x8ce\x8e_\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; |
167 | ···file_index_t·f\x8fi\x8il\x8le\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_a\x8at\x8t_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·(std::int64_t·offset)·const; | 167 | ···file_index_t·f\x8fi\x8il\x8le\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_a\x8at\x8t_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·(std::int64_t·offset)·const; |
168 | ···file_index_t·f\x8fi\x8il\x8le\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_a\x8at\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const; | 168 | ···file_index_t·f\x8fi\x8il\x8le\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_a\x8at\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const; |
Offset 185, 15 lines modified | Offset 185, 15 lines modified | ||
185 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 185 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
186 | *\x8**\x8**\x8**\x8**\x8*·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 186 | *\x8**\x8**\x8**\x8**\x8*·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
187 | void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·num_files); | 187 | void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·num_files); |
188 | allocates·space·for·num_files·in·the·internal·file·list.·This·can·be·used·to | 188 | allocates·space·for·num_files·in·the·internal·file·list.·This·can·be·used·to |
189 | avoid·reallocating·the·internal·file·list·when·the·number·of·files·to·be·added | 189 | avoid·reallocating·the·internal·file·list·when·the·number·of·files·to·be·added |
190 | is·known·up-front. | 190 | is·known·up-front. |
191 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 191 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
192 | *\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e | 192 | *\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e(.().)·a.ad.dd.d_._f.fi.il.le.e_._b.bo.or.rr.ro.ow.w(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
193 | void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(error_code&·ec,·std::string·const&·path,·std::int64_t·file_size | 193 | void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(error_code&·ec,·std::string·const&·path,·std::int64_t·file_size |
194 | ······,·file_flags_t·file_flags·=·{} | 194 | ······,·file_flags_t·file_flags·=·{} |
195 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() | 195 | ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view() |
196 | ······,·char·const*·root_hash·=·nullptr); | 196 | ······,·char·const*·root_hash·=·nullptr); |
197 | 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 | 197 | 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 |
198 | ······,·std::string·const&·path,·std::int64_t·file_size | 198 | ······,·std::string·const&·path,·std::int64_t·file_size |
199 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr | 199 | ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr |
Offset 280, 15 lines modified | Offset 280, 15 lines modified | ||
280 | range-for·loop.·Where·the·values·are·the·indices·of·all·files·in·the | 280 | range-for·loop.·Where·the·values·are·the·indices·of·all·files·in·the |
281 | _\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e. | 281 | _\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e. |
282 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 282 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
283 | *\x8**\x8**\x8**\x8**\x8*·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 283 | *\x8**\x8**\x8**\x8**\x8*·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
284 | std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; | 284 | std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const; |
285 | returns·the·total·number·of·bytes·all·the·files·in·this·torrent·spans | 285 | returns·the·total·number·of·bytes·all·the·files·in·this·torrent·spans |
Max diff block lines reached; 13721/23529 bytes (58.32%) of diff not shown. |
Offset 29, 62 lines modified | Offset 29, 62 lines modified | ||
29 | </tbody> | 29 | </tbody> |
30 | </table> | 30 | </table> |
31 | <p><a·class="reference·external"·href="reference.html">home</a></p> | 31 | <p><a·class="reference·external"·href="reference.html">home</a></p> |
32 | <div·class="contents·topic"·id="table-of-contents"> | 32 | <div·class="contents·topic"·id="table-of-contents"> |
33 | <p·class="topic-title">Table·of·contents</p> | 33 | <p·class="topic-title">Table·of·contents</p> |
34 | <ul·class="simple"> | 34 | <ul·class="simple"> |
35 | <li><a·class="reference·internal"·href="#block-info"·id="toc-entry-1">block_info</a><ul> | 35 | <li><a·class="reference·internal"·href="#block-info"·id="toc-entry-1">block_info</a><ul> |
36 | <li><a·class="reference·internal"·href="# | 36 | <li><a·class="reference·internal"·href="#set-peer-peer"·id="toc-entry-2">set_peer()·peer()</a></li> |
37 | <li><a·class="reference·internal"·href="#enum-block-state-t"·id="toc-entry-3">enum·block_state_t</a></li> | 37 | <li><a·class="reference·internal"·href="#enum-block-state-t"·id="toc-entry-3">enum·block_state_t</a></li> |
38 | </ul> | 38 | </ul> |
39 | </li> | 39 | </li> |
40 | <li><a·class="reference·internal"·href="#partial-piece-info"·id="toc-entry-4">partial_piece_info</a></li> | 40 | <li><a·class="reference·internal"·href="#partial-piece-info"·id="toc-entry-4">partial_piece_info</a></li> |
41 | <li><a·class="reference·internal"·href="#torrent-handle"·id="toc-entry-5">torrent_handle</a><ul> | 41 | <li><a·class="reference·internal"·href="#torrent-handle"·id="toc-entry-5">torrent_handle</a><ul> |
42 | <li><a·class="reference·internal"·href="#torrent-handle-1"·id="toc-entry-6">torrent_handle()</a></li> | 42 | <li><a·class="reference·internal"·href="#torrent-handle-1"·id="toc-entry-6">torrent_handle()</a></li> |
43 | <li><a·class="reference·internal"·href="#add-piece"·id="toc-entry-7">add_piece()</a></li> | 43 | <li><a·class="reference·internal"·href="#add-piece"·id="toc-entry-7">add_piece()</a></li> |
44 | <li><a·class="reference·internal"·href="#read-piece"·id="toc-entry-8">read_piece()</a></li> | 44 | <li><a·class="reference·internal"·href="#read-piece"·id="toc-entry-8">read_piece()</a></li> |
45 | <li><a·class="reference·internal"·href="#have-piece"·id="toc-entry-9">have_piece()</a></li> | 45 | <li><a·class="reference·internal"·href="#have-piece"·id="toc-entry-9">have_piece()</a></li> |
46 | <li><a·class="reference·internal"·href="# | 46 | <li><a·class="reference·internal"·href="#get-peer-info-post-peer-info"·id="toc-entry-10">get_peer_info()·post_peer_info()</a></li> |
47 | <li><a·class="reference·internal"·href="#post-status-status"·id="toc-entry-11">post_status()·status()</a></li> | 47 | <li><a·class="reference·internal"·href="#post-status-status"·id="toc-entry-11">post_status()·status()</a></li> |
48 | <li><a·class="reference·internal"·href="#post-download-queue-get-download-queue"·id="toc-entry-12">post_download_queue()·get_download_queue()</a></li> | 48 | <li><a·class="reference·internal"·href="#post-download-queue-get-download-queue"·id="toc-entry-12">post_download_queue()·get_download_queue()</a></li> |
49 | <li><a·class="reference·internal"·href="# | 49 | <li><a·class="reference·internal"·href="#set-piece-deadline-clear-piece-deadlines-reset-piece-deadline"·id="toc-entry-13">set_piece_deadline()·clear_piece_deadlines()·reset_piece_deadline()</a></li> |
50 | <li><a·class="reference·internal"·href="#post-file-progress-file-progress"·id="toc-entry-14">post_file_progress()·file_progress()</a></li> | 50 | <li><a·class="reference·internal"·href="#post-file-progress-file-progress"·id="toc-entry-14">post_file_progress()·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="#trackers- | 53 | <li><a·class="reference·internal"·href="#trackers-post-trackers-replace-trackers-add-tracker"·id="toc-entry-17">trackers()·post_trackers()·replace_trackers()·add_tracker()</a></li> |
54 | <li><a·class="reference·internal"·href="#url-seed | 54 | <li><a·class="reference·internal"·href="#add-url-seed-remove-url-seed-url-seeds"·id="toc-entry-18">add_url_seed()·remove_url_seed()·url_seeds()</a></li> |
55 | <li><a·class="reference·internal"·href="#http-seed | 55 | <li><a·class="reference·internal"·href="#add-http-seed-remove-http-seed-http-seeds"·id="toc-entry-19">add_http_seed()·remove_http_seed()·http_seeds()</a></li> |
56 | <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-20">add_extension()</a></li> | 56 | <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-20">add_extension()</a></li> |
57 | <li><a·class="reference·internal"·href="#set-metadata"·id="toc-entry-21">set_metadata()</a></li> | 57 | <li><a·class="reference·internal"·href="#set-metadata"·id="toc-entry-21">set_metadata()</a></li> |
58 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-22">is_valid()</a></li> | 58 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-22">is_valid()</a></li> |
59 | <li><a·class="reference·internal"·href="# | 59 | <li><a·class="reference·internal"·href="#pause-resume"·id="toc-entry-23">pause()·resume()</a></li> |
60 | <li><a·class="reference·internal"·href="# | 60 | <li><a·class="reference·internal"·href="#set-flags-flags-unset-flags"·id="toc-entry-24">set_flags()·flags()·unset_flags()</a></li> |
61 | <li><a·class="reference·internal"·href="#flush-cache"·id="toc-entry-25">flush_cache()</a></li> | 61 | <li><a·class="reference·internal"·href="#flush-cache"·id="toc-entry-25">flush_cache()</a></li> |
62 | <li><a·class="reference·internal"·href="#force-recheck"·id="toc-entry-26">force_recheck()</a></li> | 62 | <li><a·class="reference·internal"·href="#force-recheck"·id="toc-entry-26">force_recheck()</a></li> |
63 | <li><a·class="reference·internal"·href="#save-resume-data"·id="toc-entry-27">save_resume_data()</a></li> | 63 | <li><a·class="reference·internal"·href="#save-resume-data"·id="toc-entry-27">save_resume_data()</a></li> |
64 | <li><a·class="reference·internal"·href="#need-save-resume-data"·id="toc-entry-28">need_save_resume_data()</a></li> | 64 | <li><a·class="reference·internal"·href="#need-save-resume-data"·id="toc-entry-28">need_save_resume_data()</a></li> |
65 | <li><a·class="reference·internal"·href="#queue-position- | 65 | <li><a·class="reference·internal"·href="#queue-position-top-queue-position-queue-position-up-queue-position-down-queue-position-bottom"·id="toc-entry-29">queue_position_top()·queue_position()·queue_position_up()·queue_position_down()·queue_position_bottom()</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-t | 68 | <li><a·class="reference·internal"·href="#torrent-file-with-hashes-torrent-file"·id="toc-entry-32">torrent_file_with_hashes()·torrent_file()</a></li> |
69 | <li><a·class="reference·internal"·href="#piece-layers"·id="toc-entry-33">piece_layers()</a></li> | 69 | <li><a·class="reference·internal"·href="#piece-layers"·id="toc-entry-33">piece_layers()</a></li> |
70 | <li><a·class="reference·internal"·href="#post-piece-availability-piece-availability"·id="toc-entry-34">post_piece_availability()·piece_availability()</a></li> | 70 | <li><a·class="reference·internal"·href="#post-piece-availability-piece-availability"·id="toc-entry-34">post_piece_availability()·piece_availability()</a></li> |
71 | <li><a·class="reference·internal"·href="#pi | 71 | <li><a·class="reference·internal"·href="#prioritize-pieces-get-piece-priorities-piece-priority"·id="toc-entry-35">prioritize_pieces()·get_piece_priorities()·piece_priority()</a></li> |
72 | <li><a·class="reference·internal"·href="# | 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-dht-announce-force- | 73 | <li><a·class="reference·internal"·href="#force-dht-announce-force-lsd-announce-force-reannounce"·id="toc-entry-37">force_dht_announce()·force_lsd_announce()·force_reannounce()</a></li> |
74 | <li><a·class="reference·internal"·href="#scrape-tracker"·id="toc-entry-38">scrape_tracker()</a></li> | 74 | <li><a·class="reference·internal"·href="#scrape-tracker"·id="toc-entry-38">scrape_tracker()</a></li> |
75 | <li><a·class="reference·internal"·href="#download-limi | 75 | <li><a·class="reference·internal"·href="#set-download-limit-upload-limit-set-upload-limit-download-limit"·id="toc-entry-39">set_download_limit()·upload_limit()·set_upload_limit()·download_limit()</a></li> |
76 | <li><a·class="reference·internal"·href="#connect-peer"·id="toc-entry-40">connect_peer()</a></li> | 76 | <li><a·class="reference·internal"·href="#connect-peer"·id="toc-entry-40">connect_peer()</a></li> |
77 | <li><a·class="reference·internal"·href="#clear-peers"·id="toc-entry-41">clear_peers()</a></li> | 77 | <li><a·class="reference·internal"·href="#clear-peers"·id="toc-entry-41">clear_peers()</a></li> |
78 | <li><a·class="reference·internal"·href="#max-uploads-set-max-uploads"·id="toc-entry-42">max_uploads()·set_max_uploads()</a></li> | 78 | <li><a·class="reference·internal"·href="#max-uploads-set-max-uploads"·id="toc-entry-42">max_uploads()·set_max_uploads()</a></li> |
79 | <li><a·class="reference·internal"·href="#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-hash | 82 | <li><a·class="reference·internal"·href="#info-hash-info-hashes"·id="toc-entry-46">info_hash()·info_hashes()</a></li> |
83 | <li><a·class="reference·internal"·href="#operator-operator-operator"·id="toc-entry-47">operator<()·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 111, 17 lines modified | Offset 111, 17 lines modified | ||
111 | ···unsigned·bytes_progress:15; | 111 | ···unsigned·bytes_progress:15; |
112 | ···unsigned·block_size:15; | 112 | ···unsigned·block_size:15; |
113 | ···unsigned·state:2; | 113 | ···unsigned·state:2; |
114 | ···unsigned·num_peers:14; | 114 | ···unsigned·num_peers:14; |
115 | }; | 115 | }; |
116 | </pre> | 116 | </pre> |
117 | <a·name="peer()"></a> | 117 | <a·name="set_peer()"></a> |
118 | <a·name=" | 118 | <a·name="peer()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:block_info%3A%3A%5Bset_peer%28%29+peer%28%29%5D&labels=documentation&body=Documentation+under+heading+%22block_info%3A%3A%5Bset_peer%28%29+peer%28%29[·...·truncated·by·diffoscope;·len:·83,·SHA:·a0b6725d02292890e284e9390c742551321f200e36238c57c6fc07b73ad19abc·...·]-peer"> |
119 | <h2>peer()· | 119 | <h2>set_peer()·peer()</h2> |
120 | <pre·class="literal-block"> | 120 | <pre·class="literal-block"> |
121 | <a·class="reference·external"·href="tcp::endpoint">tcp::endpoint</a>·<strong>peer</strong>·()·const; | 121 | <a·class="reference·external"·href="tcp::endpoint">tcp::endpoint</a>·<strong>peer</strong>·()·const; |
122 | void·<strong>set_peer</strong>·(tcp::endpoint·const&·ep); | 122 | void·<strong>set_peer</strong>·(tcp::endpoint·const&·ep); |
123 | </pre> | 123 | </pre> |
124 | <p>The·peer·is·the·ip·address·of·the·peer·this·block·was·downloaded·from.</p> | 124 | <p>The·peer·is·the·ip·address·of·the·peer·this·block·was·downloaded·from.</p> |
125 | <a·name="block_state_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+block_state_t&labels=documentation&body=Documentation+under+heading+%22enum+block_state_t%22+could+be+improved">report·issue</a>]</span></div> | 125 | <a·name="block_state_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+block_state_t&labels=documentation&body=Documentation+under+heading+%22enum+block_state_t%22+could+be+improved">report·issue</a>]</span></div> |
126 | <div·class="section"·id="enum-block-state-t"> | 126 | <div·class="section"·id="enum-block-state-t"> |
Offset 254, 110 lines modified | Offset 254, 110 lines modified | ||
254 | Which·means·you·cannot·perform·any·operation·on·it,·unless·you·first | 254 | Which·means·you·cannot·perform·any·operation·on·it,·unless·you·first |
255 | assign·it·a·valid·handle.·If·you·try·to·perform·any·operation·on·an | 255 | assign·it·a·valid·handle.·If·you·try·to·perform·any·operation·on·an |
256 | uninitialized·handle,·it·will·throw·<tt·class="docutils·literal">invalid_handle</tt>.</p> | 256 | uninitialized·handle,·it·will·throw·<tt·class="docutils·literal">invalid_handle</tt>.</p> |
257 | <div·class="admonition·warning"> | 257 | <div·class="admonition·warning"> |
258 | <p·class="first·admonition-title">Warning</p> | 258 | <p·class="first·admonition-title">Warning</p> |
259 | <p·class="last">All·operations·on·a·<a·class="reference·external"·href="reference-Torrent_Handle.html#torrent_handle">torrent_handle</a>·may·throw·system_error | 259 | <p·class="last">All·operations·on·a·<a·class="reference·external"·href="reference-Torrent_Handle.html#torrent_handle">torrent_handle</a>·may·throw·system_error |
260 | exception,·in·case·the·handle·is·no·longer·referring·to·a·torrent. | 260 | exception,·in·case·the·handle·is·no·longer·referring·to·a·torrent. |
261 | There·is·one·exception·<a·class="reference·external"·href="reference- | 261 | There·is·one·exception·<a·class="reference·external"·href="reference-Session.html#is_valid()">is_valid()</a>·will·never·throw.·Since·the·torrents |
262 | are·processed·by·a·background·thread,·there·is·no·guarantee·that·a | 262 | are·processed·by·a·background·thread,·there·is·no·guarantee·that·a |
263 | handle·will·remain·valid·between·two·calls.</p> | 263 | handle·will·remain·valid·between·two·calls.</p> |
264 | </div> | 264 | </div> |
265 | <pre·class="literal-block"> | 265 | <pre·class="literal-block"> |
266 | struct·torrent_handle | 266 | struct·torrent_handle |
267 | { | 267 | { |
268 | ···friend·std::size_t·<strong>hash_value</strong>·(torrent_handle·const&·th); | 268 | ···friend·std::size_t·<strong>hash_value</strong>·(torrent_handle·const&·th); |
269 | ···<strong>torrent_handle</strong>·()·noexcept·=·default; | 269 | ···<strong>torrent_handle</strong>·()·noexcept·=·default; |
270 | ···void·<strong>add_piece</strong>·(piece_index_t·piece,·std::vector<char>·data,·add_piece_flags_t·flags·=·{})·const; | ||
271 | ···void·<strong>add_piece</strong>·(piece_index_t·piece,·char·const*·data,·add_piece_flags_t·flags·=·{})·const; | 270 | ···void·<strong>add_piece</strong>·(piece_index_t·piece,·char·const*·data,·add_piece_flags_t·flags·=·{})·const; |
271 | ···void·<strong>add_piece</strong>·(piece_index_t·piece,·std::vector<char>·data,·add_piece_flags_t·flags·=·{})·const; | ||
272 | ···void·<strong>read_piece</strong>·(piece_index_t·piece)·const; | 272 | ···void·<strong>read_piece</strong>·(piece_index_t·piece)·const; |
273 | ···bool·<strong>have_piece</strong>·(piece_index_t·piece)·const; | 273 | ···bool·<strong>have_piece</strong>·(piece_index_t·piece)·const; |
274 | ···void·<strong>post_peer_info</strong>·()·const; | 274 | ···void·<strong>post_peer_info</strong>·()·const; |
275 | ···void·<strong>get_peer_info</strong>·(std::vector<peer_info>&·v)·const; | 275 | ···void·<strong>get_peer_info</strong>·(std::vector<peer_info>&·v)·const; |
276 | ···torrent_status·<strong>status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const; | ||
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 | ···void·<strong>get_download_queue</strong>·(std::vector<partial_piece_info>&·queue)·const; |
279 | ···void·<strong>post_download_queue</strong>·()·const; | ||
280 | ···std::vector<partial_piece_info>·<strong>get_download_queue</strong>·()·const; | 279 | ···std::vector<partial_piece_info>·<strong>get_download_queue</strong>·()·const; |
280 | ···void·<strong>post_download_queue</strong>·()·const; | ||
281 | ···void·<strong>set_piece_deadline</strong>·(piece_index_t·index,·int·deadline,·deadline_flags_t·flags·=·{})·const; | ||
281 | ···void·<strong>reset_piece_deadline</strong>·(piece_index_t·index)·const; | 282 | ···void·<strong>reset_piece_deadline</strong>·(piece_index_t·index)·const; |
282 | ···void·<strong>clear_piece_deadlines</strong>·()·const; | 283 | ···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; | ||
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; |
285 | ···void·<strong>post_file_progress</strong>·(file_progress_flags_t·flags)·const; | ||
286 | ···void·<strong>file_progress</strong>·(std::vector<std::int64_t>&·progress,·file_progress_flags_t·flags·=·{})·const; | 286 | ···void·<strong>file_progress</strong>·(std::vector<std::int64_t>&·progress,·file_progress_flags_t·flags·=·{})·const; |
287 | ···std::vector<open_file_state>·<strong>file_status</strong>·()·const; | 287 | ···std::vector<open_file_state>·<strong>file_status</strong>·()·const; |
288 | ···void·<strong>clear_error</strong>·()·const; | 288 | ···void·<strong>clear_error</strong>·()·const; |
289 | ···void·<strong>post_trackers</strong>·()·const; | ||
289 | ···void·<strong>add_tracker</strong>·(announce_entry·const&)·const; | 290 | ···void·<strong>add_tracker</strong>·(announce_entry·const&)·const; |
290 | ···void·<strong>replace_trackers</strong>·(std::vector<announce_entry>·const&)·const; | 291 | ···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; | 292 | ···std::vector<announce_entry>·<strong>trackers</strong>·()·const; |
293 | ···void·<strong>remove_url_seed</strong>·(std::string·const&·url)·const; | 293 | ···void·<strong>remove_url_seed</strong>·(std::string·const&·url)·const; |
Max diff block lines reached; 54088/68734 bytes (78.69%) of diff not shown. |
Offset 1, 61 lines modified | Offset 1, 61 lines modified | ||
1 | > | 1 | > |
2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] | 2 | _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8] |
3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 | 3 | V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10 |
4 | _\x8h_\x8o_\x8m_\x8e | 4 | _\x8h_\x8o_\x8m_\x8e |
5 | Table·of·contents | 5 | Table·of·contents |
6 | ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8i_\x8n_\x8f_\x8o | 6 | ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8i_\x8n_\x8f_\x8o |
7 | ··········o·_\x8 | 7 | ··········o·_\x8s_.e_.t_.__.p_.e_.e_.r_.(_.)_.·_\x8p_\x8e_\x8e_\x8r_\x8(_\x8) |
8 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8__\x8t | 8 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8__\x8t |
9 | ····*·_\x8p_\x8a_\x8r_\x8t_\x8i_\x8a_\x8l_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o | 9 | ····*·_\x8p_\x8a_\x8r_\x8t_\x8i_\x8a_\x8l_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o |
10 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e | 10 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e |
11 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8) | 11 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8) |
12 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 12 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
13 | ··········o·_\x8r_\x8e_\x8a_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 13 | ··········o·_\x8r_\x8e_\x8a_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
14 | ··········o·_\x8h_\x8a_\x8v_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 14 | ··········o·_\x8h_\x8a_\x8v_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
15 | ··········o·_\x8 | 15 | ··········o·_\x8g_.e_.t_.__.p_.e_.e_.r_.__.i_.n_.f_.o_.(_.)_.·_.p_.o_.s_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8) |
16 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)_\x8·_\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) | 16 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)_\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) | 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·_\x8 | 18 | ··········o·_\x8s_.e_.t_.__.p_.i_.e_.c_.e_.__.d_.e_.a_.d_.l_.i_.n_.e_.(_.)_.·_.c_.l_.e_.a_.r_.__.p_.i_.e_.c_.e_.__.d_.e_.a_.d_.l_.i_.n_.e_.s_\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) |
19 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8o_\x8g_\x8r_\x8e_\x8s_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8o_\x8g_\x8r_\x8e_\x8s_\x8s_\x8(_\x8) | 19 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8o_\x8g_\x8r_\x8e_\x8s_\x8s_\x8(_\x8)_\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_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8 | 22 | ··········o·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8p_.o_.s_.t_.__.t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_.r_.e_.p_.l_.a_.c_.e_\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) |
23 | ··········o·_\x8u_.r_.l_.__.s_.e_.e_.d | 23 | ··········o·_\x8a_.d_.d_.__.u_.r_.l_.__.s_.e_.e_.d_.(_.)_.·_.r_.e_.m_.o_.v_.e_.__.u_.r_.l_.__.s_.e_.e_.d_.(_.)_.·_.u_.r_.l_.__.s_.e_.e_.d_.s_\x8(_\x8) |
24 | ··········o·_\x8 | 24 | ··········o·_\x8a_.d_.d_.__.h_.t_.t_.p_.__.s_.e_.e_.d_.(_.)_.·_.r_.e_.m_.o_.v_.e_.__.h_.t_.t_.p_.__.s_.e_.e_.d_.(_.)_.·_.h_.t_.t_.p_.__.s_.e_.e_.d_.s_\x8(_\x8) |
25 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | 25 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) |
26 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8m_\x8e_\x8t_\x8a_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | 26 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8m_\x8e_\x8t_\x8a_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) |
27 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) | 27 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) |
28 | ··········o·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)_\x8·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8) | ||
29 | ··········o·_\x8 | 28 | ··········o·_\x8p_.a_.u_.s_.e_.(_.)_.·_.r_.e_.s_.u_.m_.e_\x8(_\x8) |
29 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)_\x8·_\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)_\x8·_\x8u_\x8n_\x8s_\x8e_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8) | ||
30 | ··········o·_\x8f_\x8l_\x8u_\x8s_\x8h_\x8__\x8c_\x8a_\x8c_\x8h_\x8e_\x8(_\x8) | 30 | ··········o·_\x8f_\x8l_\x8u_\x8s_\x8h_\x8__\x8c_\x8a_\x8c_\x8h_\x8e_\x8(_\x8) |
31 | ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8r_\x8e_\x8c_\x8h_\x8e_\x8c_\x8k_\x8(_\x8) | 31 | ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8r_\x8e_\x8c_\x8h_\x8e_\x8c_\x8k_\x8(_\x8) |
32 | ··········o·_\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | 32 | ··········o·_\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) |
33 | ··········o·_\x8n_\x8e_\x8e_\x8d_\x8__\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | 33 | ··········o·_\x8n_\x8e_\x8e_\x8d_\x8__\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) |
34 | ··········o·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8 | 34 | ··········o·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_.o_.p_.(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_.(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_.__.u_.p_\x8(_\x8) |
35 | ············_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_.__.t_.o_. | 35 | ············_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__.d_.o_.w_.n_.(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_.__.b_.o_.t_.t_.o_.m_\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 | 38 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__.w_.i_.t_.h_.__.h_.a_.s_.h_.e_.s_.(_.)_.·_.t_.o_.r_.r_.e_.n_.t_.__.f_.i_.l_.e_\x8(_\x8) |
39 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8a_\x8y_\x8e_\x8r_\x8s_\x8(_\x8) | 39 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8a_\x8y_\x8e_\x8r_\x8s_\x8(_\x8) |
40 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8(_\x8)_\x8·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8(_\x8) | 40 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8(_\x8)_\x8·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8(_\x8) |
41 | ··········o·_\x8p_\x8i_. | 41 | ··········o·_\x8p_\x8r_.i_.o_.r_.i_.t_.i_.z_.e_.__.p_.i_.e_.c_.e_.s_.(_.)_.·_.g_.e_.t_.__.p_.i_.e_.c_.e_.__.p_.r_.i_.o_.r_.i_.t_.i_.e_.s_.(_.)_.·_.p_.i_.e_.c_.e_.__.p_.r_.i_.o_.r_.i_.t_.y_\x8(_\x8) |
42 | ··········o·_\x8 | 42 | ··········o·_\x8p_.r_.i_.o_.r_.i_.t_.i_.z_.e_.__.f_.i_.l_.e_.s_.(_.)_.·_.f_.i_.l_.e_.__.p_.r_.i_.o_.r_.i_.t_.y_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8e_\x8s_\x8(_\x8) |
43 | ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8d_\x8h_\x8t_\x8__\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8)_\x8·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8 | 43 | ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8d_\x8h_\x8t_\x8__\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8)_\x8·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8l_.s_.d_.__.a_.n_.n_.o_.u_.n_.c_.e_.(_.)_.·_.f_.o_.r_.c_.e_.__.r_.e_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8) |
44 | ··········o·_\x8s_\x8c_\x8r_\x8a_\x8p_\x8e_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8) | 44 | ··········o·_\x8s_\x8c_\x8r_\x8a_\x8p_\x8e_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8) |
45 | ··········o·_\x8d_.o_.w_.n_.l_.o_.a_.d_.__.l_.i_.m_.i_.t_.(_.)_.·_. | 45 | ··········o·_\x8s_.e_.t_.__.d_.o_.w_.n_.l_.o_.a_.d_.__.l_.i_.m_.i_.t_.(_.)_.·_.u_.p_.l_.o_.a_.d_.__.l_.i_.m_.i_.t_.(_.)_.·_.s_.e_.t_.__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8) |
46 | ············_\x8 | 46 | ············_\x8d_.o_.w_.n_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8) |
47 | ··········o·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) | 47 | ··········o·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) |
48 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8) | 48 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8) |
49 | ··········o·_\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8) | 49 | ··········o·_\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8) |
50 | ··········o·_\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_\x8 | 53 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_.)_.·_.i_.n_.f_.o_.__.h_.a_.s_.h_.e_.s_\x8(_\x8) |
54 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8 | 54 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_.=_.(_.)_.·_.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 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | ···unsigned·bytes_progress:15; | 77 | ···unsigned·bytes_progress:15; |
78 | ···unsigned·block_size:15; | 78 | ···unsigned·block_size:15; |
79 | ···unsigned·state:2; | 79 | ···unsigned·state:2; |
80 | ···unsigned·num_peers:14; | 80 | ···unsigned·num_peers:14; |
81 | }; | 81 | }; |
82 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 82 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
83 | *\x8**\x8**\x8**\x8**\x8*· | 83 | *\x8**\x8**\x8**\x8**\x8*·s.se.et.t_._p.pe.ee.er.r(.().)·p\x8pe\x8ee\x8er\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
84 | _\x8t_\x8c_\x8p_\x8:_\x8:_\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t·p\x8pe\x8ee\x8er\x8r·()·const; | 84 | _\x8t_\x8c_\x8p_\x8:_\x8:_\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t·p\x8pe\x8ee\x8er\x8r·()·const; |
85 | void·s\x8se\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r·(tcp::endpoint·const&·ep); | 85 | void·s\x8se\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r·(tcp::endpoint·const&·ep); |
86 | The·peer·is·the·ip·address·of·the·peer·this·block·was·downloaded·from. | 86 | The·peer·is·the·ip·address·of·the·peer·this·block·was·downloaded·from. |
87 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 87 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
88 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_s\x8st\x8ta\x8at\x8te\x8e_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8* | 88 | *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_s\x8st\x8ta\x8at\x8te\x8e_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8* |
89 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8h_\x8p_\x8p" | 89 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8h_\x8p_\x8p" |
90 | ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8· | 90 | ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8· |
Offset 175, 111 lines modified | Offset 175, 111 lines modified | ||
175 | the·handle·is·no·longer·referring·to·a·torrent.·There·is·one·exception·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d | 175 | the·handle·is·no·longer·referring·to·a·torrent.·There·is·one·exception·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d |
176 | _\x8(_\x8)·will·never·throw.·Since·the·torrents·are·processed·by·a·background·thread, | 176 | _\x8(_\x8)·will·never·throw.·Since·the·torrents·are·processed·by·a·background·thread, |
177 | there·is·no·guarantee·that·a·handle·will·remain·valid·between·two·calls. | 177 | there·is·no·guarantee·that·a·handle·will·remain·valid·between·two·calls. |
178 | struct·torrent_handle | 178 | struct·torrent_handle |
179 | { | 179 | { |
180 | ···friend·std::size_t·h\x8ha\x8as\x8sh\x8h_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(torrent_handle·const&·th); | 180 | ···friend·std::size_t·h\x8ha\x8as\x8sh\x8h_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(torrent_handle·const&·th); |
181 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·()·noexcept·=·default; | 181 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·()·noexcept·=·default; |
182 | ···void·a\x8ad\x8dd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece,·std::vector<char>·data, | ||
183 | add_piece_flags_t·flags·=·{})·const; | ||
184 | ···void·a\x8ad\x8dd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece,·char·const*·data,·add_piece_flags_t | 182 | ···void·a\x8ad\x8dd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece,·char·const*·data,·add_piece_flags_t |
185 | flags·=·{})·const; | 183 | flags·=·{})·const; |
184 | ···void·a\x8ad\x8dd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece,·std::vector<char>·data, | ||
185 | add_piece_flags_t·flags·=·{})·const; | ||
186 | ···void·r\x8re\x8ea\x8ad\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const; | 186 | ···void·r\x8re\x8ea\x8ad\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const; |
187 | ···bool·h\x8ha\x8av\x8ve\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const; | 187 | ···bool·h\x8ha\x8av\x8ve\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const; |
188 | ···void·p\x8po\x8os\x8st\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·()·const; | 188 | ···void·p\x8po\x8os\x8st\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·()·const; |
189 | ···void·g\x8ge\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·(std::vector<peer_info>&·v)·const; | 189 | ···void·g\x8ge\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·(std::vector<peer_info>&·v)·const; |
190 | ···torrent_status·s\x8st\x8ta\x8at\x8tu\x8us\x8s·(status_flags_t·flags·=·status_flags_t::all())·const; | ||
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 | ···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; |
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 | ···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; |
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; | ||
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 | 195 | ···void·s\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_d\x8de\x8ea\x8ad\x8dl\x8li\x8in\x8ne\x8e·(piece_index_t·index,·int·deadline,·deadline_flags_t |
198 | flags·=·{})·const; | 196 | flags·=·{})·const; |
199 | ···void· | 197 | ···void·r.re.es.se.et.t_._p.pi.ie.ec.ce.e_._d.de.ea.ad.dl.li.in.ne.e·(piece_index_t·index)·const; |
198 | ···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; | ||
200 | ···std::vector<std::int64_t>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(file_progress_flags_t·flags·=·{}) | 199 | ···std::vector<std::int64_t>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(file_progress_flags_t·flags·=·{}) |
201 | const; | 200 | const; |
201 | ···void·p\x8po\x8os\x8st\x8t_\x8_f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(file_progress_flags_t·flags)·const; | ||
202 | ···void·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(std::vector<std::int64_t>&·progress, | 202 | ···void·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(std::vector<std::int64_t>&·progress, |
203 | file_progress_flags_t·flags·=·{})·const; | 203 | file_progress_flags_t·flags·=·{})·const; |
204 | ···std::vector<open_file_state>·f\x8fi\x8il\x8le\x8e_\x8_s\x8st\x8ta\x8at\x8tu\x8us\x8s·()·const; | 204 | ···std::vector<open_file_state>·f\x8fi\x8il\x8le\x8e_\x8_s\x8st\x8ta\x8at\x8tu\x8us\x8s·()·const; |
205 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_e\x8er\x8rr\x8ro\x8or\x8r·()·const; | 205 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_e\x8er\x8rr\x8ro\x8or\x8r·()·const; |
206 | ···void·p\x8po\x8os\x8st\x8t_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const; | ||
206 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(announce_entry·const&)·const; | 207 | ···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·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; | 209 | ···std::vector<announce_entry>·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·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 | ···void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; |
211 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; | 211 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url)·const; |
212 | ···std::set<std::string>·u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; | 212 | ···std::set<std::string>·u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; |
213 | ···void·a\x8ad\x8dd\x8d_\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; | 213 | ···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; | 214 | ···std::set<std::string>·h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; |
Max diff block lines reached; 36836/49436 bytes (74.51%) of diff not shown. |
Offset 38, 26 lines modified | Offset 38, 26 lines modified | ||
38 | <li><a·class="reference·internal"·href="#enum-type-t"·id="toc-entry-4">enum·type_t</a></li> | 38 | <li><a·class="reference·internal"·href="#enum-type-t"·id="toc-entry-4">enum·type_t</a></li> |
39 | </ul> | 39 | </ul> |
40 | </li> | 40 | </li> |
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="# | 45 | <li><a·class="reference·internal"·href="#orig-files-files"·id="toc-entry-9">orig_files()·files()</a></li> |
46 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-10">rename_file()</a></li> | 46 | <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-10">rename_file()</a></li> |
47 | <li><a·class="reference·internal"·href="#remap-files"·id="toc-entry-11">remap_files()</a></li> | 47 | <li><a·class="reference·internal"·href="#remap-files"·id="toc-entry-11">remap_files()</a></li> |
48 | <li><a·class="reference·internal"·href="#trackers-clear-trackers-add-tracker"·id="toc-entry-12">trackers()·clear_trackers()·add_tracker()</a></li> | 48 | <li><a·class="reference·internal"·href="#trackers-clear-trackers-add-tracker"·id="toc-entry-12">trackers()·clear_trackers()·add_tracker()</a></li> |
49 | <li><a·class="reference·internal"·href="#similar-torrents-collections"·id="toc-entry-13">similar_torrents()·collections()</a></li> | 49 | <li><a·class="reference·internal"·href="#similar-torrents-collections"·id="toc-entry-13">similar_torrents()·collections()</a></li> |
50 | <li><a·class="reference·internal"·href="#add- | 50 | <li><a·class="reference·internal"·href="#add-url-seed-add-http-seed-web-seeds-set-web-seeds"·id="toc-entry-14">add_url_seed()·add_http_seed()·web_seeds()·set_web_seeds()</a></li> |
51 | <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-15">total_size()</a></li> | 51 | <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-15">total_size()</a></li> |
52 | <li><a·class="reference·internal"·href="#num-pieces-piece-length"·id="toc-entry-16">num_pieces()·piece_length()</a></li> | 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="#end-piece-piece- | 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-hash | 55 | <li><a·class="reference·internal"·href="#info-hash-info-hashes"·id="toc-entry-19">info_hash()·info_hashes()</a></li> |
56 | <li><a·class="reference·internal"·href="#v | 56 | <li><a·class="reference·internal"·href="#v1-v2"·id="toc-entry-20">v1()·v2()</a></li> |
57 | <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-21">num_files()</a></li> | 57 | <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-21">num_files()</a></li> |
58 | <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-22">map_block()</a></li> | 58 | <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-22">map_block()</a></li> |
59 | <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-23">map_file()</a></li> | 59 | <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-23">map_file()</a></li> |
60 | <li><a·class="reference·internal"·href="#ssl-cert"·id="toc-entry-24">ssl_cert()</a></li> | 60 | <li><a·class="reference·internal"·href="#ssl-cert"·id="toc-entry-24">ssl_cert()</a></li> |
61 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-25">is_valid()</a></li> | 61 | <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-25">is_valid()</a></li> |
62 | <li><a·class="reference·internal"·href="#priv"·id="toc-entry-26">priv()</a></li> | 62 | <li><a·class="reference·internal"·href="#priv"·id="toc-entry-26">priv()</a></li> |
63 | <li><a·class="reference·internal"·href="#is-i2p"·id="toc-entry-27">is_i2p()</a></li> | 63 | <li><a·class="reference·internal"·href="#is-i2p"·id="toc-entry-27">is_i2p()</a></li> |
Offset 197, 69 lines modified | Offset 197, 69 lines modified | ||
197 | <div·class="section"·id="torrent-info"> | 197 | <div·class="section"·id="torrent-info"> |
198 | <h1>torrent_info</h1> | 198 | <h1>torrent_info</h1> |
199 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/torrent_info.hpp">libtorrent/torrent_info.hpp</a>"</p> | 199 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/torrent_info.hpp">libtorrent/torrent_info.hpp</a>"</p> |
200 | <p>the·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·class·holds·the·information·found·in·a·.torrent·file.</p> | 200 | <p>the·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·class·holds·the·information·found·in·a·.torrent·file.</p> |
201 | <pre·class="literal-block"> | 201 | <pre·class="literal-block"> |
202 | class·torrent_info | 202 | class·torrent_info |
203 | { | 203 | { |
204 | ··· | 204 | ···<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); |
205 | ···explicit·<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file); | 205 | ···explicit·<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file); |
206 | ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&·ec); | ||
207 | ···<strong>torrent_info</strong>·(std::string·const&·filename,·error_code&·ec); | 206 | ···<strong>torrent_info</strong>·(std::string·const&·filename,·error_code&·ec); |
207 | ···<strong>torrent_info</strong>·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
208 | ···<strong>torrent_info</strong>·(torrent_info·const&·t); | 208 | ···<strong>torrent_info</strong>·(torrent_info·const&·t); |
209 | ···explicit·<strong>torrent_info</strong>·(std::string·const&·filename); | 209 | ···explicit·<strong>torrent_info</strong>·(std::string·const&·filename); |
210 | ···<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); | ||
211 | ···explicit·<strong>torrent_info</strong>·(info_hash_t·const&·info_hash); | 210 | ···explicit·<strong>torrent_info</strong>·(info_hash_t·const&·info_hash); |
211 | ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size); | ||
212 | ···<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·error_code&·ec); | 212 | ···<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·error_code&·ec); |
213 | ···explicit·<strong>torrent_info</strong>·(span<char·const>·buffer,·from_span_t); | ||
213 | ···<strong>torrent_info</strong>·(span<char·const>·buffer,·error_code&·ec,·from_span_t); | 214 | ···<strong>torrent_info</strong>·(span<char·const>·buffer,·error_code&·ec,·from_span_t); |
214 | ···<strong>torrent_info</strong>·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
215 | ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size); | 215 | ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&·ec); |
216 | ···<strong>torrent_info</strong>·(span<char·const>·buffer,·load_torrent_limits·const&·cfg,·from_span_t); | 216 | ···<strong>torrent_info</strong>·(span<char·const>·buffer,·load_torrent_limits·const&·cfg,·from_span_t); |
217 | ···<strong>~torrent_info</strong>·(); | 217 | ···<strong>~torrent_info</strong>·(); |
218 | ···file_storage·const&·<strong>orig_files</strong>·()·const; | 218 | ···file_storage·const&·<strong>orig_files</strong>·()·const; |
219 | ···file_storage·const&·<strong>files</strong>·()·const; | 219 | ···file_storage·const&·<strong>files</strong>·()·const; |
220 | ···void·<strong>rename_file</strong>·(file_index_t·index,·std::string·const&·new_filename); | 220 | ···void·<strong>rename_file</strong>·(file_index_t·index,·std::string·const&·new_filename); |
221 | ···void·<strong>remap_files</strong>·(file_storage·const&·f); | 221 | ···void·<strong>remap_files</strong>·(file_storage·const&·f); |
222 | ···void·<strong>add_tracker</strong>·(std::string·const&·url,·int·tier·=·0); | ||
223 | ···std::vector<announce_entry>·const&·<strong>trackers</strong>·()·const; | ||
224 | ···void·<strong>clear_trackers</strong>·(); | 222 | ···void·<strong>clear_trackers</strong>·(); |
223 | ···std::vector<announce_entry>·const&·<strong>trackers</strong>·()·const; | ||
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<sha1_hash>·<strong>similar_torrents</strong>·()·const; | ||
228 | ···std::vector<std::string>·<strong>collections</strong>·()·const; | 227 | ···std::vector<std::string>·<strong>collections</strong>·()·const; |
228 | ···std::vector<sha1_hash>·<strong>similar_torrents</strong>·()·const; | ||
229 | ···void·<strong>set_web_seeds</strong>·(std::vector<web_seed_entry>·seeds); | ||
229 | ···std::vector<web_seed_entry>·const&·<strong>web_seeds</strong>·()·const; | 230 | ···std::vector<web_seed_entry>·const&·<strong>web_seeds</strong>·()·const; |
230 | ···void·<strong>add_http_seed</strong>·(std::string·const&·url | 231 | ···void·<strong>add_http_seed</strong>·(std::string·const&·url |
231 | ······,·std::string·const&·extern_auth·=·std::string() | 232 | ······,·std::string·const&·extern_auth·=·std::string() |
232 | ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry::headers_t()); | 233 | ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry::headers_t()); |
233 | ···void·<strong>set_web_seeds</strong>·(std::vector<web_seed_entry>·seeds); | ||
234 | ···void·<strong>add_url_seed</strong>·(std::string·const&·url | 234 | ···void·<strong>add_url_seed</strong>·(std::string·const&·url |
235 | ······,·std::string·const&·ext_auth·=·std::string() | 235 | ······,·std::string·const&·ext_auth·=·std::string() |
236 | ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry::headers_t()); | 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>num_pieces</strong>·()·const; | 238 | ···int·<strong>num_pieces</strong>·()·const; |
239 | ···int·<strong>piece_length</strong>·()·const; | 239 | ···int·<strong>piece_length</strong>·()·const; |
240 | ···int·<strong>blocks_per_piece</strong>·()·const; | 240 | ···int·<strong>blocks_per_piece</strong>·()·const; |
241 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const; | 241 | ···index_range<piece_index_t>·<strong>piece_range</strong>·()·const; |
242 | ···piece_index_t·<strong>end_piece</strong>·()·const; | 242 | ···piece_index_t·<strong>end_piece</strong>·()·const; |
243 | ···piece_index_t·<strong>last_piece</strong>·()·const; | 243 | ···piece_index_t·<strong>last_piece</strong>·()·const; |
244 | ···info_hash_t·const&·<strong>info_hashes</strong>·()·const; | ||
245 | ···sha1_hash·<strong>info_hash</strong>·()·const·noexcept; | 244 | ···sha1_hash·<strong>info_hash</strong>·()·const·noexcept; |
245 | ···info_hash_t·const&·<strong>info_hashes</strong>·()·const; | ||
246 | ···bool·<strong>v1</strong>·()·const; | 246 | ···bool·<strong>v1</strong>·()·const; |
247 | ···bool·<strong>v2</strong>·()·const; | 247 | ···bool·<strong>v2</strong>·()·const; |
248 | ···int·<strong>num_files</strong>·()·const; | 248 | ···int·<strong>num_files</strong>·()·const; |
249 | ···std::vector<file_slice>·<strong>map_block</strong>·(piece_index_t·const·piece | 249 | ···std::vector<file_slice>·<strong>map_block</strong>·(piece_index_t·const·piece |
250 | ······,·std::int64_t·offset,·int·size)·const; | 250 | ······,·std::int64_t·offset,·int·size)·const; |
251 | ···peer_request·<strong>map_file</strong>·(file_index_t·const·file,·std::int64_t·offset,·int·size)·const; | 251 | ···peer_request·<strong>map_file</strong>·(file_index_t·const·file,·std::int64_t·offset,·int·size)·const; |
252 | ···string_view·<strong>ssl_cert</strong>·()·const; | 252 | ···string_view·<strong>ssl_cert</strong>·()·const; |
253 | ···bool·<strong>is_valid</strong>·()·const; | 253 | ···bool·<strong>is_valid</strong>·()·const; |
254 | ···bool·<strong>priv</strong>·()·const; | 254 | ···bool·<strong>priv</strong>·()·const; |
255 | ···bool·<strong>is_i2p</strong>·()·const; | 255 | ···bool·<strong>is_i2p</strong>·()·const; |
256 | ···int·<strong>piece_size</strong>·(piece_index_t·index)·const; | 256 | ···int·<strong>piece_size</strong>·(piece_index_t·index)·const; |
257 | ···char·const*·<strong>hash_for_piece_ptr</strong>·(piece_index_t·const·index)·const; | ||
258 | ···sha1_hash·<strong>hash_for_piece</strong>·(piece_index_t·index)·const; | 257 | ···sha1_hash·<strong>hash_for_piece</strong>·(piece_index_t·index)·const; |
258 | ···char·const*·<strong>hash_for_piece_ptr</strong>·(piece_index_t·const·index)·const; | ||
259 | ···bool·<strong>is_loaded</strong>·()·const; | 259 | ···bool·<strong>is_loaded</strong>·()·const; |
260 | ···const·std::string&·<strong>name</strong>·()·const; | 260 | ···const·std::string&·<strong>name</strong>·()·const; |
261 | ···std::time_t·<strong>creation_date</strong>·()·const; | 261 | ···std::time_t·<strong>creation_date</strong>·()·const; |
262 | ···const·std::string&·<strong>creator</strong>·()·const; | 262 | ···const·std::string&·<strong>creator</strong>·()·const; |
263 | ···const·std::string&·<strong>comment</strong>·()·const; | 263 | ···const·std::string&·<strong>comment</strong>·()·const; |
264 | ···std::vector<std::pair<std::string,·int>>·const&·<strong>nodes</strong>·()·const; | 264 | ···std::vector<std::pair<std::string,·int>>·const&·<strong>nodes</strong>·()·const; |
265 | ···void·<strong>add_node</strong>·(std::pair<std::string,·int>·const&·node); | 265 | ···void·<strong>add_node</strong>·(std::pair<std::string,·int>·const&·node); |
Offset 269, 26 lines modified | Offset 269, 26 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 | 276 | <strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); | |
277 | explicit·<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file); | 277 | explicit·<strong>torrent_info</strong>·(bdecode_node·const&·torrent_file); |
278 | <strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&·ec); | ||
279 | <strong>torrent_info</strong>·(std::string·const&·filename,·error_code&·ec); | 278 | <strong>torrent_info</strong>·(std::string·const&·filename,·error_code&·ec); |
279 | <strong>torrent_info</strong>·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
280 | <strong>torrent_info</strong>·(torrent_info·const&·t); | 280 | <strong>torrent_info</strong>·(torrent_info·const&·t); |
281 | explicit·<strong>torrent_info</strong>·(std::string·const&·filename); | 281 | explicit·<strong>torrent_info</strong>·(std::string·const&·filename); |
282 | <strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&·cfg); | ||
283 | explicit·<strong>torrent_info</strong>·(info_hash_t·const&·info_hash); | 282 | explicit·<strong>torrent_info</strong>·(info_hash_t·const&·info_hash); |
283 | <strong>torrent_info</strong>·(char·const*·buffer,·int·size); | ||
284 | <strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·error_code&·ec); | 284 | <strong>torrent_info</strong>·(bdecode_node·const&·torrent_file,·error_code&·ec); |
285 | explicit·<strong>torrent_info</strong>·(span<char·const>·buffer,·from_span_t); | ||
285 | <strong>torrent_info</strong>·(span<char·const>·buffer,·error_code&·ec,·from_span_t); | 286 | <strong>torrent_info</strong>·(span<char·const>·buffer,·error_code&·ec,·from_span_t); |
286 | <strong>torrent_info</strong>·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
Max diff block lines reached; 16252/27306 bytes (59.52%) of diff not shown. |
Offset 7, 26 lines modified | Offset 7, 26 lines modified | ||
7 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) | 7 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) |
8 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8(_\x8) | 8 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8(_\x8) |
9 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 9 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
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·_\x8 | 14 | ··········o·_\x8o_.r_.i_.g_.__.f_.i_.l_.e_.s_.(_.)_.·_\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·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8) | 17 | ··········o·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8) |
18 | ··········o·_\x8s_\x8i_\x8m_\x8i_\x8l_\x8a_\x8r_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s_\x8(_\x8)_\x8·_\x8c_\x8o_\x8l_\x8l_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8) | 18 | ··········o·_\x8s_\x8i_\x8m_\x8i_\x8l_\x8a_\x8r_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s_\x8(_\x8)_\x8·_\x8c_\x8o_\x8l_\x8l_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8) |
19 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8 | 19 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8u_.r_.l_.__.s_.e_.e_.d_.(_.)_.·_.a_.d_.d_.__.h_.t_.t_.p_.__.s_.e_.e_.d_.(_.)_.·_.w_.e_.b_.__.s_.e_.e_.d_.s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8) |
20 | ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) | 20 | ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) |
21 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)_\x8·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8) | 21 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)_\x8·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8) |
22 | ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | 22 | ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) |
23 | ··········o·_\x8e_\x8n_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)_\x8·_\x8 | 23 | ··········o·_\x8e_\x8n_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)_\x8·_\x8l_.a_.s_.t_.__.p_.i_.e_.c_.e_.(_.)_.·_.p_.i_.e_.c_.e_.__.r_.a_.n_.g_\x8e_\x8(_\x8) |
24 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8 | 24 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_.)_.·_.i_.n_.f_.o_.__.h_.a_.s_.h_.e_.s_\x8(_\x8) |
25 | ··········o·_\x8v_\x8 | 25 | ··········o·_\x8v_\x81_.(_.)_.·_.v_.2_\x8(_\x8) |
26 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | 26 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) |
27 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8) | 27 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8) |
28 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 28 | ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
29 | ··········o·_\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8(_\x8) | 29 | ··········o·_\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8(_\x8) |
30 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) | 30 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) |
31 | ··········o·_\x8p_\x8r_\x8i_\x8v_\x8(_\x8) | 31 | ··········o·_\x8p_\x8r_\x8i_\x8v_\x8(_\x8) |
32 | ··········o·_\x8i_\x8s_\x8__\x8i_\x82_\x8p_\x8(_\x8) | 32 | ··········o·_\x8i_\x8s_\x8__\x8i_\x82_\x8p_\x8(_\x8) |
Offset 120, 74 lines modified | Offset 120, 74 lines modified | ||
120 | ······the·max·number·of·bdecode·tokens | 120 | ······the·max·number·of·bdecode·tokens |
121 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 121 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
122 | *\x8**\x8**\x8**\x8**\x8**\x8*·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8* | 122 | *\x8**\x8**\x8**\x8**\x8**\x8*·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8* |
123 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8._\x8h_\x8p_\x8p" | 123 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8._\x8h_\x8p_\x8p" |
124 | the·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·class·holds·the·information·found·in·a·.torrent·file. | 124 | the·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·class·holds·the·information·found·in·a·.torrent·file. |
125 | class·torrent_info | 125 | class·torrent_info |
126 | { | 126 | { |
127 | ··· | 127 | ···t.to.or.rr.re.en.nt.t_._i.in.nf.fo.o·(bdecode_node·const&·torrent_file,·load_torrent_limits·const& |
128 | cfg); | ||
128 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file); | 129 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file); |
129 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size,·error_code&·ec); | ||
130 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·error_code&·ec); | 130 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·error_code&·ec); |
131 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
131 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(torrent_info·const&·t); | 132 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(torrent_info·const&·t); |
132 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename); | 133 | ···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,·load_torrent_limits·const& | ||
134 | cfg); | ||
135 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(info_hash_t·const&·info_hash); | 134 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(info_hash_t·const&·info_hash); |
135 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size); | ||
136 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·error_code&·ec); | 136 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·error_code&·ec); |
137 | ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·from_span_t); | ||
137 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·error_code&·ec,·from_span_t); | 138 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·error_code&·ec,·from_span_t); |
138 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
139 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size); | 139 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size,·error_code&·ec); |
140 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·load_torrent_limits·const&·cfg, | 140 | ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·load_torrent_limits·const&·cfg, |
141 | from_span_t); | 141 | from_span_t); |
142 | ···~\x8~t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(); | 142 | ···~\x8~t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(); |
143 | ···file_storage·const&·o\x8or\x8ri\x8ig\x8g_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const; | 143 | ···file_storage·const&·o\x8or\x8ri\x8ig\x8g_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const; |
144 | ···file_storage·const&·f\x8fi\x8il\x8le\x8es\x8s·()·const; | 144 | ···file_storage·const&·f\x8fi\x8il\x8le\x8es\x8s·()·const; |
145 | ···void·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·index,·std::string·const&·new_filename); | 145 | ···void·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·index,·std::string·const&·new_filename); |
146 | ···void·r\x8re\x8em\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8es\x8s·(file_storage·const&·f); | 146 | ···void·r\x8re\x8em\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8es\x8s·(file_storage·const&·f); |
147 | ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(std::string·const&·url,·int·tier·=·0); | ||
148 | ···std::vector<announce_entry>·const&·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const; | ||
149 | ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·(); | 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; | ||
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<sha1_hash>·s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8ts\x8s·()·const; | ||
153 | ···std::vector<std::string>·c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8ns\x8s·()·const; | 152 | ···std::vector<std::string>·c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8ns\x8s·()·const; |
153 | ···std::vector<sha1_hash>·s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8ts\x8s·()·const; | ||
154 | ···void·s\x8se\x8et\x8t_\x8_w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·(std::vector<web_seed_entry>·seeds); | ||
154 | ···std::vector<web_seed_entry>·const&·w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; | 155 | ···std::vector<web_seed_entry>·const&·w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const; |
155 | ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url | 156 | ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url |
156 | ······,·std::string·const&·extern_auth·=·std::string() | 157 | ······,·std::string·const&·extern_auth·=·std::string() |
157 | ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry:: | 158 | ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry:: |
158 | headers_t()); | 159 | headers_t()); |
159 | ···void·s\x8se\x8et\x8t_\x8_w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·(std::vector<web_seed_entry>·seeds); | ||
160 | ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url | 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() | 161 | ······,·std::string·const&·ext_auth·=·std::string() |
162 | ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry:: | 162 | ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry:: |
163 | headers_t()); | 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·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; | 165 | ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const; |
166 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; | 166 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; |
167 | ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_p\x8pe\x8er\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; | 167 | ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_p\x8pe\x8er\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; |
168 | ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const; | 168 | ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const; |
169 | ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; | 169 | ···piece_index_t·e\x8en\x8nd\x8d_\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·l\x8la\x8as\x8st\x8t_\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; | ||
172 | ···sha1_hash·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h·()·const·noexcept; | 171 | ···sha1_hash·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h·()·const·noexcept; |
172 | ···info_hash_t·const&·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8he\x8es\x8s·()·const; | ||
173 | ···bool·v\x8v1\x81·()·const; | 173 | ···bool·v\x8v1\x81·()·const; |
174 | ···bool·v\x8v2\x82·()·const; | 174 | ···bool·v\x8v2\x82·()·const; |
175 | ···int·n\x8nu\x8um\x8m_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const; | 175 | ···int·n\x8nu\x8um\x8m_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const; |
176 | ···std::vector<file_slice>·m\x8ma\x8ap\x8p_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·const·piece | 176 | ···std::vector<file_slice>·m\x8ma\x8ap\x8p_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·const·piece |
177 | ······,·std::int64_t·offset,·int·size)·const; | 177 | ······,·std::int64_t·offset,·int·size)·const; |
178 | ···peer_request·m\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·const·file,·std::int64_t·offset,·int | 178 | ···peer_request·m\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·const·file,·std::int64_t·offset,·int |
179 | size)·const; | 179 | size)·const; |
180 | ···string_view·s\x8ss\x8sl\x8l_\x8_c\x8ce\x8er\x8rt\x8t·()·const; | 180 | ···string_view·s\x8ss\x8sl\x8l_\x8_c\x8ce\x8er\x8rt\x8t·()·const; |
181 | ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const; | 181 | ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const; |
182 | ···bool·p\x8pr\x8ri\x8iv\x8v·()·const; | 182 | ···bool·p\x8pr\x8ri\x8iv\x8v·()·const; |
183 | ···bool·i\x8is\x8s_\x8_i\x8i2\x82p\x8p·()·const; | 183 | ···bool·i\x8is\x8s_\x8_i\x8i2\x82p\x8p·()·const; |
184 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·index)·const; | 184 | ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·index)·const; |
185 | ···char·const*·h\x8ha\x8as\x8sh\x8h_\x8_f\x8fo\x8or\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_p\x8pt\x8tr\x8r·(piece_index_t·const·index)·const; | ||
186 | ···sha1_hash·h\x8ha\x8as\x8sh\x8h_\x8_f\x8fo\x8or\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·index)·const; | 185 | ···sha1_hash·h\x8ha\x8as\x8sh\x8h_\x8_f\x8fo\x8or\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·index)·const; |
186 | ···char·const*·h\x8ha\x8as\x8sh\x8h_\x8_f\x8fo\x8or\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_p\x8pt\x8tr\x8r·(piece_index_t·const·index)·const; | ||
187 | ···bool·i\x8is\x8s_\x8_l\x8lo\x8oa\x8ad\x8de\x8ed\x8d·()·const; | 187 | ···bool·i\x8is\x8s_\x8_l\x8lo\x8oa\x8ad\x8de\x8ed\x8d·()·const; |
188 | ···const·std::string&·n\x8na\x8am\x8me\x8e·()·const; | 188 | ···const·std::string&·n\x8na\x8am\x8me\x8e·()·const; |
189 | ···std::time_t·c\x8cr\x8re\x8ea\x8at\x8ti\x8io\x8on\x8n_\x8_d\x8da\x8at\x8te\x8e·()·const; | 189 | ···std::time_t·c\x8cr\x8re\x8ea\x8at\x8ti\x8io\x8on\x8n_\x8_d\x8da\x8at\x8te\x8e·()·const; |
190 | ···const·std::string&·c\x8cr\x8re\x8ea\x8at\x8to\x8or\x8r·()·const; | 190 | ···const·std::string&·c\x8cr\x8re\x8ea\x8at\x8to\x8or\x8r·()·const; |
191 | ···const·std::string&·c\x8co\x8om\x8mm\x8me\x8en\x8nt\x8t·()·const; | 191 | ···const·std::string&·c\x8co\x8om\x8mm\x8me\x8en\x8nt\x8t·()·const; |
192 | ···std::vector<std::pair<std::string,·int>>·const&·n\x8no\x8od\x8de\x8es\x8s·()·const; | 192 | ···std::vector<std::pair<std::string,·int>>·const&·n\x8no\x8od\x8de\x8es\x8s·()·const; |
193 | ···void·a\x8ad\x8dd\x8d_\x8_n\x8no\x8od\x8de\x8e·(std::pair<std::string,·int>·const&·node); | 193 | ···void·a\x8ad\x8dd\x8d_\x8_n\x8no\x8od\x8de\x8e·(std::pair<std::string,·int>·const&·node); |
Offset 196, 27 lines modified | Offset 196, 27 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 | 203 | t.to.or.rr.re.en.nt.t_._i.in.nf.fo.o·(bdecode_node·const&·torrent_file,·load_torrent_limits·const& | |
204 | cfg); | ||
204 | explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file); | 205 | explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file); |
205 | t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size,·error_code&·ec); | ||
206 | t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·error_code&·ec); | 206 | t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·error_code&·ec); |
207 | t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·load_torrent_limits·const&·cfg); | ||
207 | t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(torrent_info·const&·t); | 208 | t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(torrent_info·const&·t); |
208 | explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename); | 209 | explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename); |
Max diff block lines reached; 9590/18847 bytes (50.88%) of diff not shown. |
Offset 31, 15 lines modified | Offset 31, 15 lines modified | ||
31 | <p><a·class="reference·external"·href="reference.html">home</a></p> | 31 | <p><a·class="reference·external"·href="reference.html">home</a></p> |
32 | <div·class="contents·topic"·id="table-of-contents"> | 32 | <div·class="contents·topic"·id="table-of-contents"> |
33 | <p·class="topic-title">Table·of·contents</p> | 33 | <p·class="topic-title">Table·of·contents</p> |
34 | <ul·class="simple"> | 34 | <ul·class="simple"> |
35 | <li><a·class="reference·internal"·href="#announce-infohash"·id="toc-entry-1">announce_infohash</a></li> | 35 | <li><a·class="reference·internal"·href="#announce-infohash"·id="toc-entry-1">announce_infohash</a></li> |
36 | <li><a·class="reference·internal"·href="#announce-endpoint"·id="toc-entry-2">announce_endpoint</a></li> | 36 | <li><a·class="reference·internal"·href="#announce-endpoint"·id="toc-entry-2">announce_endpoint</a></li> |
37 | <li><a·class="reference·internal"·href="#announce-entry"·id="toc-entry-3">announce_entry</a><ul> | 37 | <li><a·class="reference·internal"·href="#announce-entry"·id="toc-entry-3">announce_entry</a><ul> |
38 | <li><a·class="reference·internal"·href="#announce-entry | 38 | <li><a·class="reference·internal"·href="#operator-announce-entry-announce-entry"·id="toc-entry-4">operator=()·~announce_entry()·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 131, 19 lines modified | Offset 131, 19 lines modified | ||
131 | <h1>announce_entry</h1> | 131 | <h1>announce_entry</h1> |
132 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/announce_entry.hpp">libtorrent/announce_entry.hpp</a>"</p> | 132 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/announce_entry.hpp">libtorrent/announce_entry.hpp</a>"</p> |
133 | <p>this·class·holds·information·about·one·bittorrent·tracker,·as·it | 133 | <p>this·class·holds·information·about·one·bittorrent·tracker,·as·it |
134 | relates·to·a·specific·torrent.</p> | 134 | relates·to·a·specific·torrent.</p> |
135 | <pre·class="literal-block"> | 135 | <pre·class="literal-block"> |
136 | struct·announce_entry | 136 | struct·announce_entry |
137 | { | 137 | { |
138 | ···<strong>announce_entry</strong>·(); | ||
138 | ···announce_entry&·<strong>operator=</strong>·(announce_entry·const&)·&; | 139 | ···announce_entry&·<strong>operator=</strong>·(announce_entry·const&)·&; |
140 | ···explicit·<strong>announce_entry</strong>·(string_view·u); | ||
139 | ···<strong>announce_entry</strong>·(announce_entry·const&); | 141 | ···<strong>announce_entry</strong>·(announce_entry·const&); |
140 | ···<strong>~announce_entry</strong>·(); | 142 | ···<strong>~announce_entry</strong>·(); |
141 | ···<strong>announce_entry</strong>·(); | ||
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> | ||
162 | <a·name="operator=()"></a> | 161 | <a·name="operator=()"></a> |
162 | <a·name="~announce_entry()"></a> | ||
163 | <a·name="announce_entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:announce_entry%3A%3A%5B | 163 | <a·name="announce_entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:announce_entry%3A%3A%5Boperator%3D%28%29+~announce_entry%28%29+announce_entry%28%29%5D&labels=documentation&body=Documentation+under+heading+%22announce_entry%3A%3A%5Boperator%3D%28%29+~announce_entry%28%29+announce_entry%28%29%5D%22+could+be+improved">report·issue</a>]</span><d[·...·truncated·by·diffoscope;·len:·46,·SHA:·040118859500d5aab95d323a933bce323195a0e5fc021f0951ce02fb1a316d84·...·]-announce-entry"> |
164 | <h2> | 164 | <h2>operator=()·~announce_entry()·announce_entry()</h2> |
165 | <pre·class="literal-block"> | 165 | <pre·class="literal-block"> |
166 | <strong>announce_entry</strong>·(); | ||
166 | announce_entry&·<strong>operator=</strong>·(announce_entry·const&)·&; | 167 | announce_entry&·<strong>operator=</strong>·(announce_entry·const&)·&; |
168 | explicit·<strong>announce_entry</strong>·(string_view·u); | ||
167 | <strong>announce_entry</strong>·(announce_entry·const&); | 169 | <strong>announce_entry</strong>·(announce_entry·const&); |
168 | <strong>~announce_entry</strong>·(); | 170 | <strong>~announce_entry</strong>·(); |
169 | <strong>announce_entry</strong>·(); | ||
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-Create_Torrents.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·_\x8 | 9 | ··········o·_\x8o_.p_.e_.r_.a_.t_.o_.r_.=_.(_.)_.·_.~_.a_.n_.n_.o_.u_.n_.c_.e_.__.e_.n_.t_.r_.y_\x8(_\x8)_\x8·_\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 78, 19 lines modified | Offset 78, 19 lines modified | ||
78 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | 78 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] |
79 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·*\x8**\x8**\x8**\x8**\x8**\x8* | 79 | *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·*\x8**\x8**\x8**\x8**\x8**\x8* |
80 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p" | 80 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p" |
81 | this·class·holds·information·about·one·bittorrent·tracker,·as·it·relates·to·a | 81 | this·class·holds·information·about·one·bittorrent·tracker,·as·it·relates·to·a |
82 | specific·torrent. | 82 | specific·torrent. |
83 | struct·announce_entry | 83 | struct·announce_entry |
84 | { | 84 | { |
85 | ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | ||
85 | ···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&)·&; |
87 | ···explicit·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(string_view·u); | ||
86 | ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&); | 88 | ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&); |
87 | ···~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | 89 | ···~\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·(); | ||
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*· | 108 | *\x8**\x8**\x8**\x8**\x8*·o.op.pe.er.ra.at.to.or.r=.=(.().)·~.~a.an.nn.no.ou.un.nc.ce.e_._e.en.nt.tr.ry.y(\x8()\x8)·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
109 | a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | ||
109 | 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&)·&; |
111 | explicit·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(string_view·u); | ||
110 | a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&); | 112 | a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&); |
111 | ~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); | 113 | ~\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·(); | ||
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 28, 91 lines modified | Offset 28, 213 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="#bitfield"·id="toc-entry-1">bitfield</a><ul> | ||
36 | <li><a·class="reference·internal"·href="#bitfield-1"·id="toc-entry-2">bitfield()</a></li> | ||
37 | <li><a·class="reference·internal"·href="#assign"·id="toc-entry-3">assign()</a></li> | ||
38 | <li><a·class="reference·internal"·href="#get-bit-operator"·id="toc-entry-4">get_bit()·operator[]()</a></li> | ||
39 | <li><a·class="reference·internal"·href="#set-bit-clear-bit"·id="toc-entry-5">set_bit()·clear_bit()</a></li> | ||
40 | <li><a·class="reference·internal"·href="#all-set"·id="toc-entry-6">all_set()</a></li> | ||
41 | <li><a·class="reference·internal"·href="#none-set"·id="toc-entry-7">none_set()</a></li> | ||
42 | <li><a·class="reference·internal"·href="#s | 35 | <li><a·class="reference·internal"·href="#hasher"·id="toc-entry-1">hasher</a><ul> |
43 | <li><a·class="reference·internal"·href="#num-words"·id="toc-entry-9">num_words()</a></li> | ||
44 | <li><a·class="reference·internal"·href="#num-bytes"·id="toc-entry-10">num_bytes()</a></li> | ||
45 | <li><a·class="reference·internal"·href="#e | 36 | <li><a·class="reference·internal"·href="#operator-hasher"·id="toc-entry-2">operator=()·hasher()</a></li> |
46 | <li><a·class="reference·internal"·href="#dat | 37 | <li><a·class="reference·internal"·href="#update"·id="toc-entry-3">update()</a></li> |
47 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-13">swap()</a></li> | ||
48 | <li><a·class="reference·internal"·href="# | 38 | <li><a·class="reference·internal"·href="#final"·id="toc-entry-4">final()</a></li> |
49 | <li><a·class="reference·internal"·href="# | 39 | <li><a·class="reference·internal"·href="#reset"·id="toc-entry-5">reset()</a></li> |
50 | <li><a·class="reference·internal"·href="#find-last-clear"·id="toc-entry-16">find_last_clear()</a></li> | ||
51 | </ul> | 40 | </ul> |
52 | </li> | 41 | </li> |
53 | <li><a·class="reference·internal"·href="#hasher"·id="toc-entry- | 42 | <li><a·class="reference·internal"·href="#hasher256"·id="toc-entry-6">hasher256</a><ul> |
54 | <li><a·class="reference·internal"·href="# | 43 | <li><a·class="reference·internal"·href="#operator-hasher256"·id="toc-entry-7">operator=()·hasher256()</a></li> |
55 | <li><a·class="reference·internal"·href="#update"·id="toc-entry- | 44 | <li><a·class="reference·internal"·href="#update-1"·id="toc-entry-8">update()</a></li> |
56 | <li><a·class="reference·internal"·href="#final"·id="toc-entry- | 45 | <li><a·class="reference·internal"·href="#final-1"·id="toc-entry-9">final()</a></li> |
57 | <li><a·class="reference·internal"·href="#reset"·id="toc-entry- | 46 | <li><a·class="reference·internal"·href="#reset-1"·id="toc-entry-10">reset()</a></li> |
58 | </ul> | 47 | </ul> |
59 | </li> | 48 | </li> |
49 | <li><a·class="reference·internal"·href="#bitfield"·id="toc-entry-11">bitfield</a><ul> | ||
50 | <li><a·class="reference·internal"·href="#bitfield-1"·id="toc-entry-12">bitfield()</a></li> | ||
60 | <li><a·class="reference·internal"·href="# | 51 | <li><a·class="reference·internal"·href="#assign"·id="toc-entry-13">assign()</a></li> |
61 | <li><a·class="reference·internal"·href="# | 52 | <li><a·class="reference·internal"·href="#get-bit-operator"·id="toc-entry-14">get_bit()·operator[]()</a></li> |
53 | <li><a·class="reference·internal"·href="#set-bit-clear-bit"·id="toc-entry-15">set_bit()·clear_bit()</a></li> | ||
54 | <li><a·class="reference·internal"·href="#all-set"·id="toc-entry-16">all_set()</a></li> | ||
55 | <li><a·class="reference·internal"·href="#none-set"·id="toc-entry-17">none_set()</a></li> | ||
56 | <li><a·class="reference·internal"·href="#size"·id="toc-entry-18">size()</a></li> | ||
57 | <li><a·class="reference·internal"·href="#num-words"·id="toc-entry-19">num_words()</a></li> | ||
58 | <li><a·class="reference·internal"·href="#num-bytes"·id="toc-entry-20">num_bytes()</a></li> | ||
59 | <li><a·class="reference·internal"·href="#empty"·id="toc-entry-21">empty()</a></li> | ||
62 | <li><a·class="reference·internal"·href="# | 60 | <li><a·class="reference·internal"·href="#data"·id="toc-entry-22">data()</a></li> |
63 | <li><a·class="reference·internal"·href="# | 61 | <li><a·class="reference·internal"·href="#swap"·id="toc-entry-23">swap()</a></li> |
64 | <li><a·class="reference·internal"·href="# | 62 | <li><a·class="reference·internal"·href="#count"·id="toc-entry-24">count()</a></li> |
63 | <li><a·class="reference·internal"·href="#find-first-set"·id="toc-entry-25">find_first_set()</a></li> | ||
64 | <li><a·class="reference·internal"·href="#find-last-clear"·id="toc-entry-26">find_last_clear()</a></li> | ||
65 | </ul> | 65 | </ul> |
66 | </li> | 66 | </li> |
67 | </ul> | 67 | </ul> |
68 | </div> | 68 | </div> |
69 | <a·name="hasher"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+hasher&labels=documentation&body=Documentation+under+heading+%22class+hasher%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="hasher"> | ||
70 | <h1>hasher</h1> | ||
71 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/hasher.hpp">libtorrent/hasher.hpp</a>"</p> | ||
72 | <p>this·is·a·SHA-1·hash·class.</p> | ||
73 | <p>You·use·it·by·first·instantiating·it,·then·call·<tt·class="docutils·literal">update()</tt>·to·feed·it | ||
74 | with·data.·i.e.·you·don't·have·to·keep·the·entire·buffer·of·which·you·want·to | ||
75 | create·the·hash·in·memory.·You·can·feed·the·<a·class="reference·external"·href="reference-Utility.html#hasher">hasher</a>·parts·of·it·at·a·time.·When | ||
76 | You·have·fed·the·<a·class="reference·external"·href="reference-Utility.html#hasher">hasher</a>·with·all·the·data,·you·call·<tt·class="docutils·literal">final()</tt>·and·it | ||
77 | will·return·the·sha1-hash·of·the·data.</p> | ||
78 | <p>The·constructor·that·takes·a·<tt·class="docutils·literal">char·const*</tt>·and·an·integer·will·construct·the | ||
79 | sha1·context·and·feed·it·the·data·passed·in.</p> | ||
80 | <p>If·you·want·to·reuse·the·<a·class="reference·external"·href="reference-Utility.html#hasher">hasher</a>·object·once·you·have·created·a·hash,·you·have·to | ||
81 | call·<tt·class="docutils·literal">reset()</tt>·to·reinitialize·it.</p> | ||
82 | <p>The·built-in·software·version·of·sha1-algorithm·was·implemented | ||
83 | by·Steve·Reid·and·released·as·public·domain. | ||
84 | For·more·info,·see·<tt·class="docutils·literal">src/sha1.cpp</tt>.</p> | ||
85 | <pre·class="literal-block"> | ||
86 | class·hasher | ||
87 | { | ||
88 | ···<strong>hasher</strong>·(); | ||
89 | ···hasher&·<strong>operator=</strong>·(hasher·const&)·&; | ||
90 | ···<strong>hasher</strong>·(char·const*·data,·int·len); | ||
91 | ···explicit·<strong>hasher</strong>·(span<char·const>·data); | ||
92 | ···<strong>hasher</strong>·(hasher·const&); | ||
93 | ···hasher&·<strong>update</strong>·(span<char·const>·data); | ||
94 | ···hasher&·<strong>update</strong>·(char·const*·data,·int·len); | ||
95 | ···sha1_hash·<strong>final</strong>·(); | ||
96 | ···void·<strong>reset</strong>·(); | ||
97 | }; | ||
98 | </pre> | ||
99 | <a·name="operator=()"></a> | ||
100 | <a·name="hasher()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher%3A%3A%5Boperator%3D%28%29+hasher%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher%3A%3A%5Boperator%3D%28%29+hasher%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="operator-hasher"> | ||
101 | <h2>operator=()·hasher()</h2> | ||
102 | <pre·class="literal-block"> | ||
103 | hasher&·<strong>operator=</strong>·(hasher·const&)·&; | ||
104 | <strong>hasher</strong>·(char·const*·data,·int·len); | ||
105 | explicit·<strong>hasher</strong>·(span<char·const>·data); | ||
106 | <strong>hasher</strong>·(hasher·const&); | ||
107 | </pre> | ||
108 | <p>this·is·the·same·as·default·constructing·followed·by·a·call·to | ||
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> | ||
111 | <div·class="section"·id="update"> | ||
112 | <h2>update()</h2> | ||
113 | <pre·class="literal-block"> | ||
114 | hasher&·<strong>update</strong>·(span<char·const>·data); | ||
115 | hasher&·<strong>update</strong>·(char·const*·data,·int·len); | ||
116 | </pre> | ||
117 | <p>append·the·following·bytes·to·what·is·being·hashed</p> | ||
118 | <a·name="final()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher%3A%3A%5Bfinal%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher%3A%3A%5Bfinal%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | ||
119 | <div·class="section"·id="final"> | ||
120 | <h2>final()</h2> | ||
121 | <pre·class="literal-block"> | ||
122 | sha1_hash·<strong>final</strong>·(); | ||
123 | </pre> | ||
124 | <p>returns·the·SHA-1·digest·of·the·buffers·previously·passed·to | ||
125 | <a·class="reference·external"·href="reference-Utility.html#update()">update()</a>·and·the·<a·class="reference·external"·href="reference-Utility.html#hasher">hasher</a>·constructor.</p> | ||
126 | <a·name="reset()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher%3A%3A%5Breset%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher%3A%3A%5Breset%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> | ||
127 | <div·class="section"·id="reset"> | ||
128 | <h2>reset()</h2> | ||
129 | <pre·class="literal-block"> | ||
130 | void·<strong>reset</strong>·(); | ||
131 | </pre> | ||
132 | <p>restore·the·<a·class="reference·external"·href="reference-Utility.html#hasher">hasher</a>·state·to·be·as·if·the·<a·class="reference·external"·href="reference-Utility.html#hasher">hasher</a>·has·just·been | ||
133 | default·constructed.</p> | ||
134 | <a·name="hasher256"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+hasher256&labels=documentation&body=Documentation+under+heading+%22class+hasher256%22+could+be+improved">report·issue</a>]</span></div> | ||
135 | </div> | ||
136 | <div·class="section"·id="hasher256"> | ||
137 | <h1>hasher256</h1> | ||
138 | <p>Declared·in·"<a·class="reference·external"·href="include/libtorrent/hasher.hpp">libtorrent/hasher.hpp</a>"</p> | ||
139 | <pre·class="literal-block"> | ||
140 | class·hasher256 | ||
141 | { | ||
142 | ···<strong>hasher256</strong>·(); | ||
143 | ···hasher256&·<strong>operator=</strong>·(hasher256·const&)·&; | ||
Max diff block lines reached; 14532/28864 bytes (50.35%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 22 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 | ····*·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r | ||
7 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x8(_\x8) | ||
8 | ··········o·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8(_\x8) | ||
9 | ··········o·_\x8f_\x8i_\x8n_\x8a_\x8l_\x8(_\x8) | ||
10 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8) | ||
11 | ····*·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x82_\x85_\x86 | ||
12 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x82_\x85_\x86_\x8(_\x8) | ||
13 | ··········o·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8(_\x8) | ||
14 | ··········o·_\x8f_\x8i_\x8n_\x8a_\x8l_\x8(_\x8) | ||
15 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8) | ||
6 | ····*·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d | 16 | ····*·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d |
7 | ··········o·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8(_\x8) | 17 | ··········o·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8(_\x8) |
8 | ··········o·_\x8a_\x8s_\x8s_\x8i_\x8g_\x8n_\x8(_\x8) | 18 | ··········o·_\x8a_\x8s_\x8s_\x8i_\x8g_\x8n_\x8(_\x8) |
9 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8i_\x8t_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8) | 19 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8i_\x8t_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8) |
10 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8b_\x8i_\x8t_\x8(_\x8)_\x8·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8b_\x8i_\x8t_\x8(_\x8) | 20 | ··········o·_\x8s_\x8e_\x8t_\x8__\x8b_\x8i_\x8t_\x8(_\x8)_\x8·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8b_\x8i_\x8t_\x8(_\x8) |
11 | ··········o·_\x8a_\x8l_\x8l_\x8__\x8s_\x8e_\x8t_\x8(_\x8) | 21 | ··········o·_\x8a_\x8l_\x8l_\x8__\x8s_\x8e_\x8t_\x8(_\x8) |
12 | ··········o·_\x8n_\x8o_\x8n_\x8e_\x8__\x8s_\x8e_\x8t_\x8(_\x8) | 22 | ··········o·_\x8n_\x8o_\x8n_\x8e_\x8__\x8s_\x8e_\x8t_\x8(_\x8) |
Offset 15, 64 lines modified | Offset 25, 143 lines modified | ||
15 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8b_\x8y_\x8t_\x8e_\x8s_\x8(_\x8) | 25 | ··········o·_\x8n_\x8u_\x8m_\x8__\x8b_\x8y_\x8t_\x8e_\x8s_\x8(_\x8) |
16 | ··········o·_\x8e_\x8m_\x8p_\x8t_\x8y_\x8(_\x8) | 26 | ··········o·_\x8e_\x8m_\x8p_\x8t_\x8y_\x8(_\x8) |
17 | ··········o·_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | 27 | ··········o·_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) |
18 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) | 28 | ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) |
19 | ··········o·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8(_\x8) | 29 | ··········o·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8(_\x8) |
20 | ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8s_\x8e_\x8t_\x8(_\x8) | 30 | ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8s_\x8e_\x8t_\x8(_\x8) |
21 | ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8l_\x8a_\x8s_\x8t_\x8__\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8) | 31 | ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8l_\x8a_\x8s_\x8t_\x8__\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8) |
22 | ····*·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r | ||
23 | ··········o·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8) | ||
24 | ··········o·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8(_\x8) | ||
25 | ··········o·_\x8f_\x8i_\x8n_\x8a_\x8l_\x8(_\x8) | ||
26 | ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8) | ||
27 | ····*·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x82_\x85_\x86 | ||
28 | ··········o·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x82_\x85_\x86_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8) | ||
29 | ··········o·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8(_\x8) | ||
30 | ··········o·_\x8f_\x8i_\x8n_\x8a_\x8l_\x8(_\x8) | ||
31 | 32 | [_.r_.e_.p_.o_.r_.t_.·_.i_.s_.s_.u_.e] | |
33 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8sh\x8he\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8* | ||
34 | Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" | ||
35 | this·is·a·SHA-1·hash·class. | ||
36 | You·use·it·by·first·instantiating·it,·then·call·update()·to·feed·it·with·data. | ||
37 | i.e.·you·don't·have·to·keep·the·entire·buffer·of·which·you·want·to·create·the | ||
38 | hash·in·memory.·You·can·feed·the·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·parts·of·it·at·a·time.·When·You·have | ||
39 | fed·the·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·with·all·the·data,·you·call·final()·and·it·will·return·the·sha1- | ||
40 | hash·of·the·data. | ||
41 | The·constructor·that·takes·a·char·const*·and·an·integer·will·construct·the·sha1 | ||
42 | context·and·feed·it·the·data·passed·in. | ||
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. | ||
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. | ||
47 | class·hasher | ||
48 | { | ||
49 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(); | ||
50 | ···hasher&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher·const&)·&; | ||
51 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(char·const*·data,·int·len); | ||
52 | ···explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r·(span<char·const>·data); | ||
53 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&); | ||
54 | ···hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); | ||
55 | ···hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); | ||
56 | ···sha1_hash·f\x8fi\x8in\x8na\x8al\x8l·(); | ||
57 | ···void·r\x8re\x8es\x8se\x8et\x8t·(); | ||
58 | }; | ||
59 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
60 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·h\x8ha\x8as\x8sh\x8he\x8er\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
61 | hasher&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher·const&)·&; | ||
62 | h\x8ha\x8as\x8sh\x8he\x8er\x8r·(char·const*·data,·int·len); | ||
63 | explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r·(span<char·const>·data); | ||
64 | h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&); | ||
65 | this·is·the·same·as·default·constructing·followed·by·a·call·to·update(data, | ||
66 | len). | ||
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* | ||
69 | hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); | ||
70 | hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); | ||
71 | append·the·following·bytes·to·what·is·being·hashed | ||
72 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
73 | *\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8in\x8na\x8al\x8l(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
74 | sha1_hash·f\x8fi\x8in\x8na\x8al\x8l·(); | ||
75 | returns·the·SHA-1·digest·of·the·buffers·previously·passed·to·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8(_\x8)·and·the | ||
76 | _\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·constructor. | ||
77 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
78 | *\x8**\x8**\x8**\x8**\x8*·r\x8re\x8es\x8se\x8et\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
79 | void·r\x8re\x8es\x8se\x8et\x8t·(); | ||
80 | restore·the·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·state·to·be·as·if·the·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·has·just·been·default | ||
81 | constructed. | ||
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* | ||
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 | ||
86 | { | ||
87 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(); | ||
88 | ···hasher256&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher256·const&)·&; | ||
89 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(char·const*·data,·int·len); | ||
90 | ···explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(span<char·const>·data); | ||
91 | ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(hasher256·const&); | ||
92 | ···hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); | ||
93 | ···hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); | ||
94 | ···sha256_hash·f\x8fi\x8in\x8na\x8al\x8l·(); | ||
95 | ···void·r\x8re\x8es\x8se\x8et\x8t·(); | ||
96 | ···~\x8~h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(); | ||
97 | }; | ||
98 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
99 | *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
100 | hasher256&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher256·const&)·&; | ||
101 | h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(char·const*·data,·int·len); | ||
102 | explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(span<char·const>·data); | ||
103 | h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(hasher256·const&); | ||
104 | this·is·the·same·as·default·constructing·followed·by·a·call·to·update(data, | ||
105 | len). | ||
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* | ||
108 | hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); | ||
109 | hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); | ||
110 | append·the·following·bytes·to·what·is·being·hashed | ||
111 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
112 | *\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8in\x8na\x8al\x8l(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
113 | sha256_hash·f\x8fi\x8in\x8na\x8al\x8l·(); | ||
114 | returns·the·SHA-1·digest·of·the·buffers·previously·passed·to·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8(_\x8)·and·the | ||
115 | _\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·constructor. | ||
116 | [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] | ||
117 | *\x8**\x8**\x8**\x8**\x8*·r\x8re\x8es\x8se\x8et\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | ||
118 | void·r\x8re\x8es\x8se\x8et\x8t·(); | ||
119 | restore·the·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·state·to·be·as·if·the·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·has·just·been·default | ||
Max diff block lines reached; 8969/15179 bytes (59.09%) of diff not shown. |
Offset 21, 38 lines modified | Offset 21, 61 lines modified | ||
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">Core</p> | 25 | <p·class="rubric">Core</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> | ||
27 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#info_hash_t">info_hash_t</a></div> | 28 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#info_hash_t">info_hash_t</a></div> |
28 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_info">peer_info</a></div> | 29 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_info">peer_info</a></div> |
29 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_request">peer_request</a></div> | 30 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_request">peer_request</a></div> |
30 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#piece_block">piece_block</a></div> | ||
31 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_parsed()">load_torrent_parsed()</a></div> | ||
32 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_buffer()">load_torrent_buffer()</a></div> | ||
33 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_file()">load_torrent_file()</a></div> | ||
34 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#torrent_peer_equal()">torrent_peer_equal()</a></div> | 31 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#torrent_peer_equal()">torrent_peer_equal()</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#make_magnet_uri()">make_magnet_uri()</a></div> | 32 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#make_magnet_uri()">make_magnet_uri()</a></div> |
37 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#parse_magnet_uri()">parse_magnet_uri()</a></div> | 33 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#parse_magnet_uri()">parse_magnet_uri()</a></div> |
38 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#truncate_files()">truncate_files()</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_parsed()">load_torrent_parsed()</a></div> | ||
37 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_buffer()">load_torrent_buffer()</a></div> | ||
38 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_file()">load_torrent_file()</a></div> | ||
39 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#protocol_version">protocol_version</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#connection_type">connection_type</a></div> | ||
41 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#socket_type_t">socket_type_t</a></div> | 40 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#socket_type_t">socket_type_t</a></div> |
42 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#event_t">event_t</a></div> | ||
43 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#portmap_transport">portmap_transport</a></div> | 41 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#portmap_transport">portmap_transport</a></div> |
44 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#portmap_protocol">portmap_protocol</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-Core.html#event_t">event_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> | ||
45 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#int">int</a></div> | 48 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#int">int</a></div> |
46 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#charconst*">char·const*</a></div> | 49 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#charconst*">char·const*</a></div> |
47 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#std::uint64_t">std::uint64_t</a></div> | 50 | <div·class="line"><a·class="reference·external"·href="reference-Core.html#std::uint64_t">std::uint64_t</a></div> |
51 | </div> | ||
52 | <p·class="rubric">Torrent·Handle</p> | ||
53 | <div·class="line-block"> | ||
54 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#block_info">block_info</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-Torrent_Handle.html#torrent_handle">torrent_handle</a></div> | ||
57 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#hash_value()">hash_value()</a></div> | ||
58 | </div> | ||
59 | <p·class="rubric">Torrent·Info</p> | ||
60 | <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> | ||
62 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#load_torrent_limits">load_torrent_limits</a></div> | ||
48 | <div·class="line"><a·class="reference·external"·href="reference- | 63 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a></div> |
64 | </div> | ||
65 | <p·class="rubric">Session</p> | ||
66 | <div·class="line-block"> | ||
49 | <div·class="line"><a·class="reference·external"·href="reference- | 67 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_proxy">session_proxy</a></div> |
50 | <div·class="line"><a·class="reference·external"·href="reference- | 68 | <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> | ||
70 | <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#write_session_params()">write_session_params()</a></div> | ||
72 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params_buf()">write_session_params_buf()</a></div> | ||
73 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#read_session_params()">read_session_params()</a></div> | ||
51 | </div> | 74 | </div> |
52 | <p·class="rubric">Stats</p> | 75 | <p·class="rubric">Stats</p> |
53 | <div·class="line-block"> | 76 | <div·class="line-block"> |
54 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#stats_metric">stats_metric</a></div> | 77 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#stats_metric">stats_metric</a></div> |
55 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#counters">counters</a></div> | 78 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#counters">counters</a></div> |
56 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#session_stats_metrics()">session_stats_metrics()</a></div> | 79 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#session_stats_metrics()">session_stats_metrics()</a></div> |
57 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#find_metric_idx()">find_metric_idx()</a></div> | 80 | <div·class="line"><a·class="reference·external"·href="reference-Stats.html#find_metric_idx()">find_metric_idx()</a></div> |
Offset 65, 167 lines modified | Offset 88, 144 lines modified | ||
65 | </div> | 88 | </div> |
66 | <p·class="rubric">Trackers</p> | 89 | <p·class="rubric">Trackers</p> |
67 | <div·class="line-block"> | 90 | <div·class="line-block"> |
68 | <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_infohash">announce_infohash</a></div> |
69 | <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_endpoint">announce_endpoint</a></div> |
70 | <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_entry">announce_entry</a></div> | 93 | <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_entry">announce_entry</a></div> |
71 | </div> | 94 | </div> |
72 | <p·class="rubric">Session</p> | ||
73 | <div·class="line-block"> | ||
74 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_proxy">session_proxy</a></div> | ||
75 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session">session</a></div> | ||
76 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_handle">session_handle</a></div> | ||
77 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_params">session_params</a></div> | ||
78 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#read_session_params()">read_session_params()</a></div> | ||
79 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params()">write_session_params()</a></div> | ||
80 | <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params_buf()">write_session_params_buf()</a></div> | ||
81 | </div> | ||
82 | <p·class="rubric">Torrent·Info</p> | ||
83 | <div·class="line-block"> | ||
84 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#web_seed_entry">web_seed_entry</a></div> | ||
85 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#load_torrent_limits">load_torrent_limits</a></div> | ||
86 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a></div> | ||
87 | </div> | ||
88 | <p·class="rubric">Torrent· | 95 | <p·class="rubric">Torrent·Status</p> |
89 | <div·class="line-block"> | 96 | <div·class="line-block"> |
90 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#block_info">block_info</a></div> | ||
91 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#partial_piece_info">partial_piece_info</a></div> | ||
92 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_ | 97 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Status.html#torrent_status">torrent_status</a></div> |
93 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#hash_value()">hash_value()</a></div> | ||
94 | </div> | 98 | </div> |
95 | <p·class="rubric">Settings</p> | 99 | <p·class="rubric">Settings</p> |
96 | <div·class="line-block"> | 100 | <div·class="line-block"> |
97 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#overview">overview</a></div> | 101 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#overview">overview</a></div> |
98 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a></div> | 102 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a></div> |
99 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#min_memory_usage()">min_memory_usage()</a></div> | ||
100 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#high_performance_seed()">high_performance_seed()</a></div> | 103 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#high_performance_seed()">high_performance_seed()</a></div> |
101 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#n | 104 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#min_memory_usage()">min_memory_usage()</a></div> |
105 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#generate_fingerprint()">generate_fingerprint()</a></div> | ||
102 | <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#setting_by_name()">setting_by_name()</a></div> |
107 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#name_for_setting()">name_for_setting()</a></div> | ||
103 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#default_settings()">default_settings()</a></div> | 108 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#default_settings()">default_settings()</a></div> |
104 | <div·class="line"><a·class="reference·external"·href="reference-Settings.html#generate_fingerprint()">generate_fingerprint()</a></div> | ||
105 | </div> | ||
106 | <p·class="rubric">Torrent·Status</p> | ||
107 | <div·class="line-block"> | ||
108 | <div·class="line"><a·class="reference·external"·href="reference-Torrent_Status.html#torrent_status">torrent_status</a></div> | ||
109 | </div> | 109 | </div> |
110 | <p·class="rubric">DHT</p> | 110 | <p·class="rubric">DHT</p> |
111 | <div·class="line-block"> | 111 | <div·class="line-block"> |
112 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_storage_counters">dht_storage_counters</a></div> | 112 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_storage_counters">dht_storage_counters</a></div> |
113 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_storage_interface">dht_storage_interface</a></div> | 113 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_storage_interface">dht_storage_interface</a></div> |
114 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_state">dht_state</a></div> | 114 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_state">dht_state</a></div> |
115 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_default_storage_constructor()">dht_default_storage_constructor()</a></div> | 115 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_default_storage_constructor()">dht_default_storage_constructor()</a></div> |
116 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#sign_mutable_item()">sign_mutable_item()</a></div> | 116 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#sign_mutable_item()">sign_mutable_item()</a></div> |
117 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#announce_flags_t">announce_flags_t</a></div> | 117 | <div·class="line"><a·class="reference·external"·href="reference-DHT.html#announce_flags_t">announce_flags_t</a></div> |
118 | </div> | 118 | </div> |
119 | <p·class="rubric">Resume·Data</p> | 119 | <p·class="rubric">Resume·Data</p> |
120 | <div·class="line-block"> | 120 | <div·class="line-block"> |
Max diff block lines reached; 16202/28338 bytes (57.17%) of diff not shown. |
Offset 1, 165 lines modified | Offset 1, 165 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 | Core | 5 | Core |
6 | _\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k | ||
6 | _\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t | 7 | _\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t |
7 | _\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o | 8 | _\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o |
8 | _\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t | 9 | _\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t |
9 | _\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k | ||
10 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8s_\x8e_\x8d_\x8(_\x8) | ||
11 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8) | ||
12 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | ||
13 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) | 10 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) |
14 | _\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | ||
15 | _\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | 11 | _\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) |
16 | _\x8p_\x8a_\x8r_\x8s_\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) |
17 | _\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\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 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8s_\x8e_\x8d_\x8(_\x8) | ||
16 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8) | ||
17 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | ||
18 | _\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n | 18 | _\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n |
19 | _\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8y_\x8p_\x8e | ||
20 | _\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 19 | _\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
21 | _\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8t | ||
22 | _\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t | 20 | _\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t |
23 | _\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l | 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 | ||
24 | _\x8i_\x8n_\x8t | 27 | _\x8i_\x8n_\x8t |
25 | _\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8* | 28 | _\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8* |
26 | _\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t | 29 | _\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t |
27 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t | ||
28 | _\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t | ||
29 | 30 | Torrent·Handle | |
31 | _\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 | ||
33 | _\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) | ||
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 | ||
40 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y | ||
41 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n | ||
42 | _\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 | ||
44 | _\x8w_\x8r_\x8i_\x8t_\x8e_\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__\x8b_\x8u_\x8f_\x8(_\x8) | ||
46 | _\x8r_\x8e_\x8a_\x8d_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | ||
30 | Stats | 47 | Stats |
31 | _\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c | 48 | _\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c |
32 | _\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s | 49 | _\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s |
33 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8s_\x8(_\x8) | 50 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8s_\x8(_\x8) |
34 | _\x8f_\x8i_\x8n_\x8d_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8i_\x8d_\x8x_\x8(_\x8) | 51 | _\x8f_\x8i_\x8n_\x8d_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8i_\x8d_\x8x_\x8(_\x8) |
35 | _\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 52 | _\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
36 | Add·Torrent | 53 | Add·Torrent |
37 | _\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t | 54 | _\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t |
38 | _\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s | 55 | _\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s |
39 | Trackers | 56 | Trackers |
40 | _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h | 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__\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t | 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_\x8t_\x8r_\x8y | 59 | _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y |
60 | Torrent·Status | ||
43 | Session | ||
44 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y | ||
45 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n | ||
46 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e | ||
47 | _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s | ||
48 | _\x8r_\x8e_\x8a_\x8d_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | ||
49 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) | ||
50 | _\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) | ||
51 | Torrent·Info | ||
52 | _\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8__\x8e_\x8n_\x8t_\x8r_\x8y | ||
53 | _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8s | ||
54 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o | ||
55 | Torrent·Handle | ||
56 | _\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8i_\x8n_\x8f_\x8o | ||
57 | _\x8p_\x8a_\x8r_\x8t_\x8i_\x8a_\x8l_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o | ||
58 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8 | 61 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_.t_.a_.t_.u_.s |
59 | _\x8h_\x8a_\x8s_\x8h_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8) | ||
60 | Settings | 62 | Settings |
61 | _\x8o_\x8v_\x8e_\x8r_\x8v_\x8i_\x8e_\x8w | 63 | _\x8o_\x8v_\x8e_\x8r_\x8v_\x8i_\x8e_\x8w |
62 | _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k | 64 | _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k |
63 | _\x8m_\x8i_\x8n_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8u_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) | ||
64 | _\x8h_\x8i_\x8g_\x8h_\x8__\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8) | 65 | _\x8h_\x8i_\x8g_\x8h_\x8__\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8) |
65 | _\x8 | 66 | _\x8m_.i_.n_.__.m_.e_.m_.o_.r_.y_.__.u_.s_.a_.g_.e_\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) | ||
66 | _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8y_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8) | 68 | _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8y_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8) |
69 | _\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8o_\x8r_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8(_\x8) | ||
67 | _\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) | 70 | _\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) |
68 | _\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8n_\x8g_\x8e_\x8r_\x8p_\x8r_\x8i_\x8n_\x8t_\x8(_\x8) | ||
69 | Torrent·Status | ||
70 | _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s | ||
71 | DHT | 71 | DHT |
72 | _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s | 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__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | 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_\x8a_\x8t_\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 | _\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) |
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(_\x8) |
81 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8b_\x8u_\x8f_\x8(_\x8) | ||
82 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | 82 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) |
83 | _\x8r_.e_. | 83 | _\x8w_.r_.i_.t_.e_.__.t_.o_.r_.r_.e_.n_.t_.__.f_.i_.l_.e_.__.b_.u_.f_\x8(_\x8) |
84 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t | 84 | _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t |
85 | Filter | ||
86 | _\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r | ||
87 | _\x8p_\x8o_\x8r_\x8t_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r | ||
85 | Error·Codes | 88 | Error·Codes |
86 | _\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r | 89 | _\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r |
87 | _\x8i_\x82_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
88 | _\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | 90 | _\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
89 | _\x8h_\x8t_\x8t_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | 91 | _\x8h_\x8t_\x8t_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
90 | _\x8 | 92 | _\x8i_.2_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
91 | _\x8 | 93 | _\x8b_.d_.e_.c_.o_.d_.e_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
92 | _\x8p_\x8c_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | 94 | _\x8p_\x8c_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
93 | _\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | 95 | _\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
94 | _\x8 | 96 | _\x8g_.z_.i_.p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) |
Max diff block lines reached; 5011/11176 bytes (44.84%) of diff not shown. |
Offset 28, 728 lines modified | Offset 28, 728 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="#storage-error"·id="toc-entry-1">storage_error</a><ul> | ||
36 | <li><a·class="reference·internal"·href="#bo | 35 | <li><a·class="reference·internal"·href="#piece-block"·id="toc-entry-1">piece_block</a></li> |
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-has-v2-has-v1"·id="toc-entry-4">has()·has_v2()·has_v1()</a></li> | ||
37 | <li><a·class="reference·internal"·href="# | 39 | <li><a·class="reference·internal"·href="#get"·id="toc-entry-5">get()</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> | ||
38 | </ul> | 42 | </ul> |
39 | </li> | 43 | </li> |
44 | <li><a·class="reference·internal"·href="#peer-info"·id="toc-entry-8">peer_info</a><ul> | ||
40 | <li><a·class="reference·internal"·href="#i2p- | 45 | <li><a·class="reference·internal"·href="#i2p-destination"·id="toc-entry-9">i2p_destination()</a></li> |
41 | <li><a·class="reference·internal"·href="#libtorrent-category"·id="toc-entry-5">libtorrent_category()</a></li> | ||
42 | <li><a·class="reference·internal"·href="#http-category"·id="toc-entry-6">http_category()</a></li> | ||
43 | <li><a·class="reference·internal"·href="#upnp-category"·id="toc-entry-7">upnp_category()</a></li> | ||
44 | <li><a·class="reference·internal"·href="#gzip-category"·id="toc-entry-8">gzip_category()</a></li> | ||
45 | <li><a·class="reference·internal"·href="#pcp-category"·id="toc-entry-9">pcp_category()</a></li> | ||
46 | <li><a·class="reference·internal"·href="#socks-category"·id="toc-entry-10">socks_category()</a></li> | ||
47 | <li><a·class="reference·internal"·href="#bdecode-category"·id="toc-entry-11">bdecode_category()</a></li> | ||
48 | <li><a·class="reference·internal"·href="#enum-i2p-error-code"·id="toc-entry-12">enum·i2p_error_code</a></li> | ||
49 | <li><a·class="reference·internal"·href="#enum-error-code-enum"·id="toc-entry-13">enum·error_code_enum</a></li> | ||
50 | <li><a·class="reference·internal"·href="#enum-http-errors"·id="toc-entry-14">enum·http_errors</a></li> | ||
51 | <li><a·class="reference·internal"·href="#enum-error-code-enum-1"·id="toc-entry-15">enum·error_code_enum</a></li> | ||
52 | <li><a·class="reference·internal"·href="#enum-error-code-enum-2"·id="toc-entry-16">enum·error_code_enum</a></li> | ||
53 | <li><a·class="reference·internal"·href="#enum-pcp-errors"·id="toc-entry-17">enum·pcp_errors</a></li> | ||
54 | <li><a·class="reference·internal"·href="#enum-socks-error-code"·id="toc-entry-18">enum·socks_error_code</a></li> | ||
55 | <li><a·class="reference·internal"·href="#enum-error-code-enum-3"·id="toc-entry-19">enum·error_code_enum</a></li> | ||
56 | <li><a·class="reference·internal"·href="#info-hash-t"·id="toc-entry-20">info_hash_t</a><ul> | ||
57 | <li><a·class="reference·internal"·href="#info-hash-t-1"·id="toc-entry-21">info_hash_t()</a></li> | ||
58 | <li><a·class="reference·internal"·href="#has-v2-has-v1-has"·id="toc-entry-22">has_v2()·has_v1()·has()</a></li> | ||
59 | <li><a·class="reference·internal"·href="#get"·id="toc-entry-23">get()</a></li> | ||
60 | <li><a·class="reference·internal"·href="#get-best"·id="toc-entry-24">get_best()</a></li> | ||
61 | <li><a·class="reference·internal"·href="#for-each"·id="toc-entry-25">for_each()</a></li> | ||
62 | </ul> | 46 | </ul> |
63 | </li> | 47 | </li> |
64 | <li><a·class="reference·internal"·href="#peer- | 48 | <li><a·class="reference·internal"·href="#peer-request"·id="toc-entry-10">peer_request</a><ul> |
65 | <li><a·class="reference·internal"·href="# | 49 | <li><a·class="reference·internal"·href="#operator"·id="toc-entry-11">operator==()</a></li> |
66 | </ul> | 50 | </ul> |
67 | </li> | 51 | </li> |
68 | <li><a·class="reference·internal"·href="#peer- | 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> | ||
69 | <li><a·class="reference·internal"·href="# | 56 | <li><a·class="reference·internal"·href="#version"·id="toc-entry-16">version()</a></li> |
57 | <li><a·class="reference·internal"·href="#load-torrent-parsed-load-torrent-file-load-torrent-buffer"·id="toc-entry-17">load_torrent_parsed()·load_torrent_file()·load_torrent_buffer()</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="#pex-flags-t"·id="toc-entry-25">pex_flags_t</a></li> | ||
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="#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 | <li><a·class="reference·internal"·href="#block-info"·id="toc-entry-30">block_info</a><ul> | ||
71 | <li><a·class="reference·internal"·href="#peer-set-peer"·id="toc-entry-31">peer()·set_peer()</a></li> | ||
72 | <li><a·class="reference·internal"·href="#enum-block-state-t"·id="toc-entry-32">enum·block_state_t</a></li> | ||
70 | </ul> | 73 | </ul> |
71 | </li> | 74 | </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="#read-piece"·id="toc-entry-37">read_piece()</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="#post-status-status"·id="toc-entry-40">post_status()·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="#set-piece-deadline-reset-piece-deadline-clear-piece-deadlines"·id="toc-entry-42">set_piece_deadline()·reset_piece_deadline()·clear_piece_deadlines()</a></li> | ||
85 | <li><a·class="reference·internal"·href="#file-progress-post-file-progress"·id="toc-entry-43">file_progress()·post_file_progress()</a></li> | ||
86 | <li><a·class="reference·internal"·href="#file-status"·id="toc-entry-44">file_status()</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="#trackers-replace-trackers-add-tracker-post-trackers"·id="toc-entry-46">trackers()·replace_trackers()·add_tracker()·post_trackers()</a></li> | ||
89 | <li><a·class="reference·internal"·href="#add-url-seed-url-seeds-remove-url-seed"·id="toc-entry-47">add_url_seed()·url_seeds()·remove_url_seed()</a></li> | ||
90 | <li><a·class="reference·internal"·href="#remove-http-seed-http-seeds-add-http-seed"·id="toc-entry-48">remove_http_seed()·http_seeds()·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="#set-metadata"·id="toc-entry-50">set_metadata()</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-flags-set-flags"·id="toc-entry-53">unset_flags()·flags()·set_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-down-queue-position-queue-position-top-queue-position-bottom-queue-position-up"·id="toc-entry-58">queue_position_down()·queue_position()·queue_position_top()·queue_position_bottom()·queue_position_up()</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-torrent-file-with-hashes"·id="toc-entry-61">torrent_file()·torrent_file_with_hashes()</a></li> | ||
72 | <li><a·class="reference·internal"·href="#piece- | 104 | <li><a·class="reference·internal"·href="#piece-layers"·id="toc-entry-62">piece_layers()</a></li> |
73 | <li><a·class="reference·internal"·href="# | 105 | <li><a·class="reference·internal"·href="#post-piece-availability-piece-availability"·id="toc-entry-63">post_piece_availability()·piece_availability()</a></li> |
106 | <li><a·class="reference·internal"·href="#piece-priority-get-piece-priorities-prioritize-pieces"·id="toc-entry-64">piece_priority()·get_piece_priorities()·prioritize_pieces()</a></li> | ||
107 | <li><a·class="reference·internal"·href="#get-file-priorities-file-priority-prioritize-files"·id="toc-entry-65">get_file_priorities()·file_priority()·prioritize_files()</a></li> | ||
108 | <li><a·class="reference·internal"·href="#force-dht-announce-force-lsd-announce-force-reannounce"·id="toc-entry-66">force_dht_announce()·force_lsd_announce()·force_reannounce()</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-upload-limit-set-upload-limit-set-download-limit"·id="toc-entry-68">download_limit()·upload_limit()·set_upload_limit()·set_download_limit()</a></li> | ||
74 | <li><a·class="reference·internal"·href="# | 111 | <li><a·class="reference·internal"·href="#connect-peer"·id="toc-entry-69">connect_peer()</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> | ||
75 | <li><a·class="reference·internal"·href="#ve | 115 | <li><a·class="reference·internal"·href="#move-storage"·id="toc-entry-73">move_storage()</a></li> |
76 | <li><a·class="reference·internal"·href="#make-magnet-uri"·id="toc-entry-34">make_magnet_uri()</a></li> | ||
77 | <li><a·class="reference·internal"·href="#parse-magnet-uri"·id="toc-entry-35">parse_magnet_uri()</a></li> | ||
78 | <li><a·class="reference·internal"·href="# | 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-hash-info-hashes"·id="toc-entry-75">info_hash()·info_hashes()</a></li> | ||
118 | <li><a·class="reference·internal"·href="#operator-operator-operator"·id="toc-entry-76">operator!=()·operator==()·operator<()</a></li> | ||
79 | <li><a·class="reference·internal"·href="#enum-protocol-version"·id="toc-entry-37">enum·protocol_version</a></li> | ||
80 | <li><a·class="reference·internal"·href="#enum-connection-type"·id="toc-entry-38">enum·connection_type</a></li> | ||
81 | <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-39">enum·socket_type_t</a></li> | ||
82 | <li><a·class="reference·internal"·href="#enum-event-t"·id="toc-entry-40">enum·event_t</a></li> | ||
83 | <li><a·class="reference·internal"·href="#enum-portmap-transport"·id="toc-entry-41">enum·portmap_transport</a></li> | ||
84 | <li><a·class="reference·internal"·href="#enum-portmap-protocol"·id="toc-entry-42">enum·portmap_protocol</a></li> | ||
85 | <li><a·class="reference·internal"·href="#i | 119 | <li><a·class="reference·internal"·href="#id"·id="toc-entry-77">id()</a></li> |
86 | <li><a·class="reference·internal"·href="#char-const"·id="toc-entry-44">char·const*</a></li> | ||
87 | <li><a·class="reference·internal"·href="#std-uint64-t"·id="toc-entry-45">std::uint64_t</a></li> | ||
88 | <li><a·class="reference·internal"·href="#torrent-flags-t"·id="toc-entry-46">torrent_flags_t</a></li> | ||
89 | <li><a·class="reference·internal"·href="#download-priority-t"·id="toc-entry-47">download_priority_t</a></li> | ||
90 | <li><a·class="reference·internal"·href="#pex-flags-t"·id="toc-entry-48">pex_flags_t</a></li> | ||
Max diff block lines reached; 1294670/1309534 bytes (98.86%) of diff not shown. |
Offset 1, 74 lines modified | Offset 1, 233 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 | ||
6 | ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r | ||
7 | ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8) | ||
8 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | ||
9 | ····*·_\x8i_\x82_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
10 | ····*·_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
11 | ····*·_\x8h_\x8t_\x8t_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
12 | ····*·_\x8u_\x8p_\x8n_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
13 | ····*·_\x8g_\x8z_\x8i_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
14 | ····*·_\x8p_\x8c_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
15 | ····*·_\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
16 | ····*·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) | ||
17 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8i_\x82_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e | ||
18 | ····*·_\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·_\x8h_\x8t_\x8t_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s | ||
20 | ····*·_\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·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m | ||
22 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8c_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s | ||
23 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8s_\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 | ||
25 | ····*·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t | 7 | ····*·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t |
26 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t_\x8(_\x8) | 8 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t_\x8(_\x8) |
27 | ··········o·_\x8h_\x8a_\x8s_\x8 | 9 | ··········o·_\x8h_\x8a_\x8s_\x8(_.)_.·_.h_.a_.s_.__.v_.2_.(_.)_.·_.h_.a_.s_.__.v_.1_\x8(_\x8) |
28 | ··········o·_\x8g_\x8e_\x8t_\x8(_\x8) | 10 | ··········o·_\x8g_\x8e_\x8t_\x8(_\x8) |
29 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8e_\x8s_\x8t_\x8(_\x8) | 11 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8e_\x8s_\x8t_\x8(_\x8) |
30 | ··········o·_\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8(_\x8) | 12 | ··········o·_\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8(_\x8) |
31 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o | 13 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o |
32 | ··········o·_\x8i_\x82_\x8p_\x8__\x8d_\x8e_\x8s_\x8t_\x8i_\x8n_\x8a_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) | 14 | ··········o·_\x8i_\x82_\x8p_\x8__\x8d_\x8e_\x8s_\x8t_\x8i_\x8n_\x8a_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) |
33 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t | 15 | ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t |
34 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) | 16 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) |
35 | ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k | ||
36 | ····*·_\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__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)_\x8·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8) | ||
37 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) | 17 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) |
38 | ····*·_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | ||
39 | ····*·_\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | 18 | ····*·_\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) |
40 | ····*·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) | 19 | ····*·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) |
41 | ····*·_\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\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__\x8p_\x8a_\x8r_\x8s_\x8e_\x8d_\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__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8) | ||
42 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n | 23 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n |
43 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8y_\x8p_\x8e | ||
44 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t | 24 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t |
45 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8t | ||
46 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t | 25 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t |
47 | ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l | 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__\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 | ||
48 | ····*·_\x8i_\x8n_\x8t | 32 | ····*·_\x8i_\x8n_\x8t |
49 | ····*·_\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8* | 33 | ····*·_\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8* |
50 | ····*·_\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t | 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·_\x8p_\x8e_\x8e_\x8r_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\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·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8) | ||
41 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | ||
42 | ··········o·_\x8r_\x8e_\x8a_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | ||
43 | ··········o·_\x8h_\x8a_\x8v_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) | ||
44 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8) | ||
45 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)_\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·_\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) | ||
48 | ··········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) | ||
49 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) | ||
50 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8(_\x8) | ||
51 | ··········o·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8r_\x8e_\x8p_\x8l_\x8a_\x8c_\x8e_\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·_\x8p_\x8o_\x8s_\x8t_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8) | ||
52 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8)_\x8·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8) | ||
53 | ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8)_\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__\x8m_\x8e_\x8t_\x8a_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | ||
56 | ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) | ||
57 | ··········o·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)_\x8·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8) | ||
58 | ··········o·_\x8u_\x8n_\x8s_\x8e_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)_\x8·_\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8) | ||
59 | ··········o·_\x8f_\x8l_\x8u_\x8s_\x8h_\x8__\x8c_\x8a_\x8c_\x8h_\x8e_\x8(_\x8) | ||
60 | ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8r_\x8e_\x8c_\x8h_\x8e_\x8c_\x8k_\x8(_\x8) | ||
61 | ··········o·_\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | ||
62 | ··········o·_\x8n_\x8e_\x8e_\x8d_\x8__\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | ||
63 | ··········o·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8d_\x8o_\x8w_\x8n_\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__\x8t_\x8o_\x8p_\x8(_\x8) | ||
64 | ············_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8o_\x8t_\x8t_\x8o_\x8m_\x8(_\x8)_\x8·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8u_\x8p_\x8(_\x8) | ||
65 | ··········o·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8s_\x8e_\x8t_\x8(_\x8) | ||
66 | ··········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) | ||
67 | ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8) | ||
68 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8a_\x8y_\x8e_\x8r_\x8s_\x8(_\x8) | ||
69 | ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8(_\x8)_\x8·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8(_\x8) | ||
70 | ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8e_\x8s_\x8(_\x8)_\x8·_\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8) | ||
71 | ··········o·_\x8g_\x8e_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8e_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8)_\x8·_\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | ||
72 | ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8d_\x8h_\x8t_\x8__\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8)_\x8·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8l_\x8s_\x8d_\x8__\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8)_\x8·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8r_\x8e_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8) | ||
73 | ··········o·_\x8s_\x8c_\x8r_\x8a_\x8p_\x8e_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8) | ||
74 | ··········o·_\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)_\x8·_\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8) | ||
75 | ············_\x8s_\x8e_\x8t_\x8__\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8) | ||
76 | ··········o·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8) | ||
77 | ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8) | ||
78 | ··········o·_\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8) | ||
79 | ··········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) | ||
80 | ··········o·_\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8) | ||
81 | ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | ||
82 | ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)_\x8·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8) | ||
83 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8!_\x8=_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8(_\x8) | ||
84 | ··········o·_\x8i_\x8d_\x8(_\x8) | ||
85 | ··········o·_\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8) | ||
86 | ··········o·_\x8u_\x8s_\x8e_\x8r_\x8d_\x8a_\x8t_\x8a_\x8(_\x8) | ||
87 | ··········o·_\x8i_\x8n_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) | ||
88 | ····*·_\x8h_\x8a_\x8s_\x8h_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8) | ||
89 | ····*·_\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8__\x8e_\x8n_\x8t_\x8r_\x8y | ||
90 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) | ||
91 | ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8(_\x8) | ||
92 | ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t | ||
93 | ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8s | ||
51 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8 | 94 | ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_.n_.f_.o |
52 | ····*·_\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t | ||
53 | ···· | 95 | ··········o·_.t_.o_.r_.r_.e_.n_.t_.__.i_.n_.f_.o_.(_.) |
96 | ··········o·_\x8~_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8) | ||
97 | ··········o·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8o_\x8r_\x8i_\x8g_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | ||
98 | ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) | ||
99 | ··········o·_\x8r_\x8e_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) | ||
100 | ··········o·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8) | ||
101 | ··········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) | ||
102 | ··········o·_\x8a_\x8d_\x8d_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8)_\x8·_\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8) | ||
Max diff block lines reached; 867875/884125 bytes (98.16%) of diff not shown. |
Offset 459, 305 lines modified | Offset 459, 306 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 | types·to·the·client</h2><h4>../src/session_handle.cpp:672</h4><pre·style="background:·#f6f6f6;·border:·solid·1px·#ddd;">»void·session_handle::dht_get_item(sha1_hash·const&·target) | ||
465 | </pre></td></tr><tr·style="background:·#fcc"><td>relevance 3</td><td><a·href="javascript:expand(9)">../src/torrent.cpp:418</a></td><td>we·could·probably·get·away·with·just·saving·a·few·fields·here</td></tr><tr·id="9"·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·--- | ||
466 | » » if·(m_torrent_file->is_valid()·&&·m_torrent_file->info_hashes().has_v2()) | ||
467 | » » { | ||
468 | » » » if·(!p.merkle_trees.empty()) | ||
469 | » » » » load_merkle_trees( | ||
470 | » » » » » std::move(p.merkle_trees) | ||
471 | » » » » » ,·std::move(p.merkle_tree_mask) | ||
472 | » » » » » ,·std::move(p.verified_leaf_hashes)); | ||
473 | » » » //·we·really·don't·want·to·store·extra·copies·of·the·trees | ||
474 | » » » TORRENT_ASSERT(p.merkle_trees.empty()); | ||
475 | » » } | ||
476 | » » if·(valid_metadata()) | ||
477 | » » { | ||
478 | » » » inc_stats_counter(counters::num_total_pieces_added | ||
479 | » » » » ,·m_torrent_file->num_pieces()); | ||
480 | » » } | ||
481 | <div·style="background:·#ffff00"·width="100%">» » m_add_torrent_params·=·std::make_unique<add_torrent_params>(std::move(p)); | ||
482 | </div>» } | ||
483 | » void·torrent::load_merkle_trees( | ||
484 | » » aux::vector<std::vector<sha256_hash>,·file_index_t>·trees_import | ||
485 | » » ,·aux::vector<std::vector<bool>,·file_index_t>·mask | ||
486 | » » ,·aux::vector<std::vector<bool>,·file_index_t>·verified) | ||
487 | » { | 467 | » { |
468 | #ifndef·TORRENT_DISABLE_DHT | ||
469 | » » async_call(&session_impl::dht_get_immutable_item,·target); | ||
470 | #else | ||
471 | » » TORRENT_UNUSED(target); | ||
472 | #endif | ||
488 | » » auto·const&·fs·=·m_torrent_file->orig_files(); | ||
489 | » » std::vector<bool>·const·empty_verified; | ||
490 | » » for·(file_index_t·i{0};·i·<·fs.end_file();·++i) | ||
491 | » » { | ||
492 | » » » if·(fs.pad_file_at(i)·||·fs.file_size(i)·==·0) | ||
493 | » » » » continue; | ||
494 | » » » if·(i·>=·trees_import.end_index())·break; | ||
495 | » » » std::vector<bool>·const&·verified_bitmask·=·(i·>=·verified.end_index())·?·empty_verified·:·verified[i]; | ||
496 | » » » if·(i·<·mask.end_index()·&&·!mask[i].empty()) | ||
497 | » » » { | ||
498 | » » » » mask[i].resize(m_merkle_trees[i].size(),·false); | ||
499 | » » » » m_merkle_trees[i].load_sparse_tree(trees_import[i],·mask[i],·verified_bitmask); | ||
500 | » » » } | ||
501 | » » » else | ||
502 | » » » { | ||
503 | » » » » m_merkle_trees[i].load_tree(trees_import[i],·verified_bitmask); | ||
504 | » » » } | ||
505 | » » } | ||
506 | » } | 473 | » } |
507 | » void·torrent::inc_stats_counter(int·c,·int·value) | ||
508 | </pre></td></tr><tr·style="background:·#fcc"><td>relevance 3</td><td><a·href="javascript:expand(10)">../src/torrent.cpp:714</a></td><td>assert·there·are·no·outstanding·async·operations·on·this·torrent</td></tr><tr·id="10"·style="display:·none;"·colspan="3"><td·colspan="3"><h2>assert·there·are·no·outstanding·async·operations·on·this | ||
509 | torrent</h2><h4>../src/torrent.cpp:714</h4><pre·style="background:·#f6f6f6;·border:·solid·1px·#ddd;">#endif | ||
510 | » » if·(!m_ses.dht())·return·false; | ||
511 | » » if·(m_torrent_file->is_valid()·&&·!m_files_checked)·return·false; | ||
512 | » » if·(!m_announce_to_dht)·return·false; | ||
513 | » | 474 | » void·session_handle::dht_get_item(std::array<char,·32>·key |
475 | » » ,·std::string·salt) | ||
476 | » { | ||
477 | #ifndef·TORRENT_DISABLE_DHT | ||
478 | » » async_call(&session_impl::dht_get_mutable_item,·key,·salt); | ||
479 | #else | ||
480 | » » TORRENT_UNUSED(key); | ||
481 | » » TORRENT_UNUSED(salt); | ||
482 | #endif | ||
483 | » } | ||
514 | » » //·don't·announce·private·torrents | ||
515 | » » if·(m_torrent_file->is_valid()·&&·m_torrent_file->priv())·return·false; | ||
516 | » » if·(m_trackers.empty())·return·true; | ||
517 | 484 | <div·style="background:·#ffff00"·width="100%">» sha1_hash·session_handle::dht_put_item(entry·data) | |
485 | </div>» { | ||
486 | » » std::vector<char>·buf; | ||
487 | » » bencode(std::back_inserter(buf),·data); | ||
488 | » » sha1_hash·const·ret·=·hasher(buf).final(); | ||
518 | » » return·std::none_of(m_trackers.begin(),·m_trackers.end() | ||
519 | 489 | #ifndef·TORRENT_DISABLE_DHT | |
490 | » » async_call(&session_impl::dht_put_immutable_item,·data,·ret); | ||
491 | #endif | ||
492 | » » return·ret; | ||
520 | » } | 493 | » } |
494 | » void·session_handle::dht_put_item(std::array<char,·32>·key | ||
495 | » » ,·std::function<void(entry&,·std::array<char,64>& | ||
496 | » » » ,·std::int64_t&,·std::string·const&)>·cb | ||
497 | » » ,·std::string·salt) | ||
498 | » { | ||
499 | #ifndef·TORRENT_DISABLE_DHT | ||
500 | » » async_call(&session_impl::dht_put_mutable_item,·key,·cb,·salt); | ||
501 | #else | ||
502 | » » TORRENT_UNUSED(key); | ||
503 | » » TORRENT_UNUSED(cb); | ||
504 | » » TORRENT_UNUSED(salt); | ||
521 | #endif | 505 | #endif |
506 | » } | ||
522 | » | 507 | » void·session_handle::dht_get_peers(sha1_hash·const&·info_hash) |
523 | » { | 508 | » { |
524 | <div·style="background:·#ffff00"·width="100%"> | ||
525 | </div>#if·TORRENT_USE_ASSERTS | ||
526 | » » for·(torrent_list_index_t·i{};·i·!=·m_links.end_index();·++i) | ||
527 | » » { | ||
528 | » » » if·(!m_links[i].in_list())·continue; | ||
529 | 509 | #ifndef·TORRENT_DISABLE_DHT | |
510 | » » async_call(&session_impl::dht_get_peers,·info_hash); | ||
511 | #else | ||
512 | </pre></td></tr><tr·style="background:·#fcc"><td>relevance 3</td><td><a·href="javascript:expand(10)">../src/web_peer_connection.cpp:199</a></td><td>this·should·be·an·optional<piece_index_t>,·piece·index·-1·should·not·be·allowed</td></tr><tr·id="10"·style="display:·none;"·colspan="3"><td·colspan="3"><h2>this·should·be·an·optional<piece_index_t>,·piece·index·-1·should | ||
513 | not·be·allowed</h2><h4>../src/web_peer_connection.cpp:199</h4><pre·style="background:·#f6f6f6;·border:·solid·1px·#ddd;"> | ||
514 | » » » auto·const·range·=·aux::file_piece_range_inclusive(fs,·i); | ||
515 | » » » for·(piece_index_t·k·=·std::get<0>(range);·k·<·std::get<1>(range);·++k) | ||
516 | » » » » have.clear_bit(k); | ||
Max diff block lines reached; 712121/718376 bytes (99.13%) of diff not shown. |
Offset 454, 318 lines modified | Offset 454, 321 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/_\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·| | ||
462 | | | 461 | |_.r_.e_.l_.e_.v_.a_.n_.c_.e_. _.3_.|_.._.._./_.s_.r_.c_./_.s_.e_.s_.s_.i_.o_.n_.__.h_.a_.n_.d_.l_.e_.._.c_.p_.p_.:_.6_.7_.2_.·_.|_.e_.x_.p_.o_.s_.e_.·_.t_.h_.e_.·_.s_.e_.q_.u_.e_.n_.c_.e_.__.n_.u_.m_.b_.e_.r_.,_.·_.p_.u_.b_.l_.i_.c_.__.k_.e_.y_.,_.·_.s_.e_[·...·truncated·by·diffoscope;·len:·268,·SHA:·289b3b9c91a1b105becfc14533d62a25a02a8526a58b84e7a75cf10af9c9b4e6·...·]·| |
462 | |*\x8**\x8**\x8**\x8**\x8*·e\x8ex\x8xp\x8po\x8os\x8se\x8e·t\x8th\x8he\x8e·s\x8se\x8eq\x8qu\x8ue\x8en\x8nc\x8ce\x8e_\x8_n\x8nu\x8um\x8mb\x8be\x8er\x8r,\x8,·p\x8pu\x8ub\x8bl\x8li\x8ic\x8c_\x8_k\x8ke\x8ey\x8y,\x8,·s\x8se\x8ec\x8cr\x8re\x8et\x8t_\x8_k\x8ke\x8ey\x8y·a\x8an\x8nd\x8d·s\x8si\x8ig\x8gn\x8na\x8at\x8tu\x8ur\x8re\x8e·t\x8ty\x8yp\x8pe\x8es\x8s·t\x8to\x8o·t\x8th\x8he\x8e·c\x8cl\x8li\x8ie\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*···············································································| | ||
463 | |*\x8**\x8**\x8*·.\x8..\x8./\x8/s\x8sr\x8rc\x8c/\x8/ | 463 | |*\x8**\x8**\x8*·.\x8..\x8./\x8/s\x8sr\x8rc\x8c/\x8/s.se.es.ss.si.io.on.n_._h.ha.an.nd.dl.le.e...c.cp.pp.p:.:6.67.72.2·*.**.**.*··········································································································································| |
464 | |//·---·V2·HASHES·---···························································································································································| | ||
465 | |···············································································································································································| | ||
466 | |» » if·(m_torrent_file->is_valid()·&&·m_torrent_file->info_hashes().has_v2())····································································································| | ||
467 | |» » {············································································································································································| | ||
468 | |» » » if·(!p.merkle_trees.empty())················································································································································| | ||
469 | |» » » » load_merkle_trees(·························································································································································| | ||
470 | |» » » » » std::move(p.merkle_trees)·················································································································································| | ||
471 | |» » » » » ,·std::move(p.merkle_tree_mask)···········································································································································| | ||
472 | | | 464 | |void·session_handle::dht_get_item(sha1_hash·const&·target)·····················································································································| |
473 | |···············································································································································································| | ||
474 | |» » » //·we·really·don't·want·to·store·extra·copies·of·the·trees··················································································································| | ||
475 | |» » » TORRENT_ASSERT(p.merkle_trees.empty());·····································································································································| | ||
476 | |» » }············································································································································································| | ||
477 | |···············································································································································································| | ||
478 | |» » if·(valid_metadata())························································································································································| | ||
479 | |» » {············································································································································································| | ||
480 | |» » » inc_stats_counter(counters::num_total_pieces_added··························································································································| | ||
481 | |» » » » ,·m_torrent_file->num_pieces());···········································································································································| | ||
482 | |» » }············································································································································································| | ||
483 | |···············································································································································································| | ||
484 | |m_add_torrent_params·=·std::make_unique<add_torrent_params>(std::move(p));·····································································································| | ||
485 | |}··············································································································································································| | ||
486 | |···············································································································································································| | ||
487 | |» void·torrent::load_merkle_trees(··············································································································································| | ||
488 | |» » aux::vector<std::vector<sha256_hash>,·file_index_t>·trees_import·············································································································| | ||
489 | |» » ,·aux::vector<std::vector<bool>,·file_index_t>·mask··························································································································| | ||
490 | |» » ,·aux::vector<std::vector<bool>,·file_index_t>·verified)·····················································································································| | ||
491 | |» {·············································································································································································| | 465 | |» {·············································································································································································| |
492 | |» » auto·const&·fs·=·m_torrent_file->orig_files();·······························································································································| | ||
493 | |···············································································································································································| | ||
494 | |» » std::vector<bool>·const·empty_verified;······································································································································| | ||
495 | |» » for·(file_index_t·i{0};·i·<·fs.end_file();·++i)······························································································································| | ||
496 | |» » {············································································································································································| | ||
497 | |» » » if·(fs.pad_file_at(i)·||·fs.file_size(i)·==·0)······························································································································| | ||
498 | | | 466 | |#ifndef·TORRENT_DISABLE_DHT····················································································································································| |
499 | |···············································································································································································| | ||
500 | |» » » if·(i·>=·trees_import.end_index())·break;···································································································································| | ||
501 | |» » » std::vector<bool>·const&·verified_bitmask·=·(i·>=·verified.end_index())·?·empty_verified·:·verified[i];·····································································| | ||
502 | |» » » if·(i·<·mask.end_index()·&&·!mask[i].empty())·······························································································································| | ||
503 | |» » » {···········································································································································································| | ||
504 | |» » | 467 | |» » async_call(&session_impl::dht_get_immutable_item,·target);···················································································································| |
505 | |» » » » m_merkle_trees[i].load_sparse_tree(trees_import[i],·mask[i],·verified_bitmask);····························································································| | ||
506 | |» » » }···········································································································································································| | ||
507 | | | 468 | |#else··········································································································································································| |
469 | |» » TORRENT_UNUSED(target);······················································································································································| | ||
508 | | | 470 | |#endif·········································································································································································| |
509 | |» » » » m_merkle_trees[i].load_tree(trees_import[i],·verified_bitmask);············································································································| | ||
510 | |» » » }···········································································································································································| | ||
511 | |» » }············································································································································································| | ||
512 | |» }·············································································································································································| | 471 | |» }·············································································································································································| |
513 | |···············································································································································································| | 472 | |···············································································································································································| |
514 | |_\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·| | ||
515 | |_\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·| | ||
516 | |*\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*···································································································| | ||
517 | | | 473 | |» void·session_handle::dht_get_item(std::array<char,·32>·key····················································································································| |
474 | |» » ,·std::string·salt)··························································································································································| | ||
475 | |» {·············································································································································································| | ||
476 | |#ifndef·TORRENT_DISABLE_DHT····················································································································································| | ||
477 | |» » async_call(&session_impl::dht_get_mutable_item,·key,·salt);··················································································································| | ||
478 | |#else··········································································································································································| | ||
479 | |» » TORRENT_UNUSED(key);·························································································································································| | ||
480 | |» » TORRENT_UNUSED(salt);························································································································································| | ||
518 | |#endif·········································································································································································| | 481 | |#endif·········································································································································································| |
482 | |» }·············································································································································································| | ||
519 | |···············································································································································································| | 483 | |···············································································································································································| |
520 | | | 484 | |sha1_hash·session_handle::dht_put_item(entry·data)·····························································································································| |
521 | |» » if·(m_torrent_file->is_valid()·&&·!m_files_checked)·return·false;············································································································| | ||
522 | |» » if·(!m_announce_to_dht)·return·false;········································································································································| | ||
523 | |» » if·(m_paused)·return·false;··················································································································································| | ||
524 | | | 485 | |{··············································································································································································| |
525 | |» » | 486 | |» » std::vector<char>·buf;·······················································································································································| |
526 | |» » if·(m_torrent_file->is_valid()·&&·m_torrent_file->priv())·return·false;······································································································| | ||
527 | |» » | 487 | |» » bencode(std::back_inserter(buf),·data);······································································································································| |
528 | |» » | 488 | |» » sha1_hash·const·ret·=·hasher(buf).final();···································································································································| |
529 | |···············································································································································································| | 489 | |···············································································································································································| |
530 | |» » return·std::none_of(m_trackers.begin(),·m_trackers.end()·····················································································································| | ||
531 | | | 490 | |#ifndef·TORRENT_DISABLE_DHT····················································································································································| |
491 | |» » async_call(&session_impl::dht_put_immutable_item,·data,·ret);················································································································| | ||
492 | |#endif·········································································································································································| | ||
493 | |» » return·ret;··································································································································································| | ||
532 | |» }·············································································································································································| | 494 | |» }·············································································································································································| |
533 | |···············································································································································································| | 495 | |···············································································································································································| |
496 | |» void·session_handle::dht_put_item(std::array<char,·32>·key····················································································································| | ||
497 | |» » ,·std::function<void(entry&,·std::array<char,64>&····························································································································| | ||
498 | |» » » ,·std::int64_t&,·std::string·const&)>·cb····································································································································| | ||
499 | |» » ,·std::string·salt)··························································································································································| | ||
500 | |» {·············································································································································································| | ||
501 | |#ifndef·TORRENT_DISABLE_DHT····················································································································································| | ||
502 | |» » async_call(&session_impl::dht_put_mutable_item,·key,·cb,·salt);··············································································································| | ||
503 | |#else··········································································································································································| | ||
504 | |» » TORRENT_UNUSED(key);·························································································································································| | ||
505 | |» » TORRENT_UNUSED(cb);··························································································································································| | ||
506 | |» » TORRENT_UNUSED(salt);························································································································································| | ||
534 | |#endif·········································································································································································| | 507 | |#endif·········································································································································································| |
508 | |» }·············································································································································································| | ||
535 | |···············································································································································································| | 509 | |···············································································································································································| |
536 | |» | 510 | |» void·session_handle::dht_get_peers(sha1_hash·const&·info_hash)················································································································| |
537 | |» {·············································································································································································| | 511 | |» {·············································································································································································| |
538 | |···············································································································································································| | ||
539 | |#if·TORRENT_ | 512 | |#ifndef·TORRENT_DISABLE_DHT····················································································································································| |
540 | |» » | 513 | |» » async_call(&session_impl::dht_get_peers,·info_hash);·························································································································| |
514 | |_\x8#_\x8e_\x8l_\x8s_\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·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
515 | |relevance 3|_\x8._\x8._\x8/_\x8s_\x8r_\x8c_\x8/·······················|this·should·be·an·optional,·piece·index·-1·should·not·be·allowed····································································| | ||
516 | |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8w_\x8e_\x8b_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8c_\x8p_\x8p_\x8:_\x81_\x89_\x89_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| | ||
517 | |*\x8**\x8**\x8**\x8**\x8*·t\x8th\x8hi\x8is\x8s·s\x8sh\x8ho\x8ou\x8ul\x8ld\x8d·b\x8be\x8e·a\x8an\x8n·o\x8op\x8pt\x8ti\x8io\x8on\x8na\x8al\x8l,\x8,·p\x8pi\x8ie\x8ec\x8ce\x8e·i\x8in\x8nd\x8de\x8ex\x8x·-\x8-1\x81·s\x8sh\x8ho\x8ou\x8ul\x8ld\x8d·n\x8no\x8ot\x8t·b\x8be\x8e·a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8*···································································································| | ||
518 | |*\x8**\x8**\x8*·.\x8..\x8./\x8/s\x8sr\x8rc\x8c/\x8/w\x8we\x8eb\x8b_\x8_p\x8pe\x8ee\x8er\x8r_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n.\x8.c\x8cp\x8pp\x8p:\x8:1\x819\x899\x89·*\x8**\x8**\x8*·····································································································································| | ||
519 | |» » » auto·const·range·=·aux::file_piece_range_inclusive(fs,·i);··················································································································| | ||
520 | |» » » for·(piece_index_t·k·=·std::get<0>(range);·k·<·std::get<1>(range);·++k)·····································································································| | ||
541 | |» » | 521 | |» » » » have.clear_bit(k);·························································································································································| |
542 | |» » » if·(!m_links[i].in_list())·continue;········································································································································| | ||
543 | |» » » m_links[i].unlink(m_ses.torrent_list(i),·i);································································································································| | ||
544 | |» » }············································································································································································| | 522 | |» » }············································································································································································| |
523 | |» » t->set_seed(peer_info_struct(),·false);······································································································································| | ||
524 | |» » if·(have.none_set())·························································································································································| | ||
525 | |» » {············································································································································································| | ||
526 | |» » » incoming_have_none();·······················································································································································| | ||
Max diff block lines reached; 2704461/2734426 bytes (98.90%) of diff not shown. |