iconv: Bail out of the loop when an illegal sequence of bytes occurs.
[elinks/elinks-j605.git] / src / protocol / bittorrent / tracker.h
blobba2803d4a74af6858e9760ac2e54a06c48443c30
2 #ifndef EL__PROTOCOL_BITTORRENT_TRACKER_H
3 #define EL__PROTOCOL_BITTORRENT_TRACKER_H
5 struct connection;
7 /* Once called it will periodically request information from the tracker.
8 * However, if necessary, it can be called at any time. This is useful if
9 * the peer selection run out of peers. */
10 void send_bittorrent_tracker_request(struct connection *conn);
12 /* Stops all tracker related activity. */
13 void done_bittorrent_tracker_connection(struct connection *conn);
15 #endif