iconv: Bail out of the loop when an illegal sequence of bytes occurs.
[elinks/elinks-j605.git] / src / protocol / bittorrent / dialogs.h
blob3ef296c34f3408e8f0b8e5be73cfb5329d44532d
2 #ifndef EL__PROTOCOL_BITTORRENT_DIALOG_H
3 #define EL__PROTOCOL_BITTORRENT_DIALOG_H
5 #include "bfu/common.h"
7 struct color_pair;
8 struct bittorrent_connection;
9 struct download;
10 struct session;
11 struct terminal;
12 struct type_query;
14 unsigned char *
15 get_bittorrent_message(struct download *download, struct terminal *term,
16 int wide, int full, unsigned char *separator);
18 void
19 draw_bittorrent_piece_progress(struct download *download, struct terminal *term,
20 int x, int y, int width, unsigned char *text,
21 struct color_pair *meter_color);
23 void set_bittorrent_files_for_deletion(struct download *download);
24 void set_bittorrent_notify_on_completion(struct download *download, struct terminal *term);
26 void notify_bittorrent_download_complete(struct bittorrent_connection *bittorrent);
28 widget_handler_status_T
29 dlg_show_bittorrent_info(struct dialog_data *dlg_data, struct widget_data *widget_data);
31 void bittorrent_message_dialog(struct session *ses, void *data);
33 void query_bittorrent_dialog(struct type_query *type_query);
35 #endif