1 #ifndef MC__EDIT_SEARCH_H
2 #define MC__EDIT_SEARCH_H 1
3
4
5
6
7
8
9
10 typedef struct
11 {
12 simple_status_msg_t status_msg;
13
14 gboolean first;
15 WEdit *edit;
16 off_t offset;
17 } edit_search_status_msg_t;
18
19
20
21
22
23 gboolean edit_search_init (WEdit * edit, const char *s);
24 void edit_search_deinit (WEdit * edit);
25
26 mc_search_cbret_t edit_search_cmd_callback (const void *user_data, gsize char_offset,
27 int *current_char);
28 mc_search_cbret_t edit_search_update_callback (const void *user_data, gsize char_offset);
29 int edit_search_status_update_cb (status_msg_t * sm);
30
31 void edit_search_cmd (WEdit * edit, gboolean again);
32 void edit_replace_cmd (WEdit * edit, gboolean again);
33
34
35
36 #endif