mc/edit/editcmd_dialogs.h
Patrick Winnertz 2a9faab6e4 Fix compiler warning about different signedness of pointers in editcmd.c
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-07-17 12:00:01 +03:00

38 lines
1.2 KiB
C

#ifndef MC__EDITCMD_DIALOGS_H
#define MC__EDITCMD_DIALOGS_H
/*** typedefs(not structures) and defined constants **********************************************/
struct etags_hash_struct;
#define B_REPLACE_ALL (B_USER+1)
#define B_REPLACE_ONE (B_USER+2)
#define B_SKIP_REPLACE (B_USER+3)
/*** enums ***************************************************************************************/
/*** structures declarations (and typedefs of structures)*****************************************/
struct selection {
gchar *text;
int len;
};
/*** global variables defined in .c file *********************************************************/
/*** declarations of public functions ************************************************************/
void editcmd_dialog_replace_show (WEdit *, const char *, const char *, char **, char **);
void editcmd_dialog_search_show (WEdit *, char **);
int editcmd_dialog_raw_key_query (const char *, const char *, int);
void editcmd_dialog_completion_show (WEdit *, int, int, struct selection *, int);
void editcmd_dialog_select_definition_show (WEdit *, char *, int, int, struct etags_hash_struct *,
int);
int editcmd_dialog_replace_prompt_show (WEdit *, char *, char *, int, int);
#endif