Merge branch '1904_spec_bump_epoch'
[midnight-commander.git] / edit / editcmd_dialogs.h
blobe155ce6a3709385fdcf387c342d638d892914a1b
1 #ifndef MC__EDITCMD_DIALOGS_H
2 #define MC__EDITCMD_DIALOGS_H
4 #include "../edit/edit.h"
6 /*** typedefs(not structures) and defined constants **********************************************/
8 struct etags_hash_struct;
10 #define B_REPLACE_ALL (B_USER+1)
11 #define B_REPLACE_ONE (B_USER+2)
12 #define B_SKIP_REPLACE (B_USER+3)
14 /*** enums ***************************************************************************************/
16 /*** structures declarations (and typedefs of structures)*****************************************/
18 struct selection {
19 gchar *text;
20 gsize len;
23 /*** global variables defined in .c file *********************************************************/
25 /*** declarations of public functions ************************************************************/
27 void editcmd_dialog_replace_show (WEdit *, const char *, const char *, char **, char **);
29 void editcmd_dialog_search_show (WEdit *, char **);
31 int editcmd_dialog_raw_key_query (const char *, const char *, int);
33 void editcmd_dialog_completion_show (WEdit *, int, int, struct selection *, int);
35 void editcmd_dialog_select_definition_show (WEdit *, char *, int, int, struct etags_hash_struct *,
36 int);
38 int editcmd_dialog_replace_prompt_show (WEdit *, char *, char *, int, int);
39 #endif