iconv: Bail out of the loop when an illegal sequence of bytes occurs.
[elinks/elinks-j605.git] / src / dialogs / edit.h
blobc368863dfe9c2e1eb00c283e75550d79f5c599d8
1 #ifndef EL__DIALOGS_EDIT_H
2 #define EL__DIALOGS_EDIT_H
4 #include "bfu/dialog.h"
5 #include "session/session.h"
6 #include "terminal/terminal.h"
8 enum edit_dialog_type {
9 EDIT_DLG_SEARCH, /* search dialog */
10 EDIT_DLG_ADD /* edit/add dialog */
13 void do_edit_dialog(struct terminal *, int, unsigned char *,
14 const unsigned char *, const unsigned char *,
15 struct session *, struct dialog_data *,
16 done_handler_T *when_done,
17 void when_cancel(struct dialog *),
18 void *, enum edit_dialog_type);
20 #endif