orrent_status::state_t);
</pre>
<p>called when the torrent changes state
the state is one of <a class="reference external" href="reference-Torrent_Status.html#state_t">torrent_status::state_t</a>
enum members</p>
<a name="on_add_peer()"></a><span class="report-issue">[<a href="http://github.com/arvidn/libtorrent/issues/new?title=docs:torrent_plugin%3A%3A%5Bon_add_peer%28%29%5D&labels=documentation&body=Documentation+under+heading+%22torrent_plugin%3A%3A%5Bon_add_peer%28%29%5D%22+could+be+improved">report is