1 /* 2 * input.h: header for input.c 3 * 4 * Copyright 1990 Michael Sandrof 5 * Copyright 1997 EPIC Software Labs 6 * See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT 7 */ 8 9 #ifndef __input_h__ 10 #define __input_h__ 11 12 /* miscelaneous functions */ 13 void edit_char (unsigned char); 14 void change_input_prompt (int); 15 void cursor_to_input (void); 16 int do_input_timeouts (void *); 17 char * get_input (void); 18 char * get_input_prompt (void); 19 void init_input (void); 20 void input_move_cursor (int); 21 char input_pause (char *); 22 void set_input (char *); 23 void set_input_prompt (const void *); 24 void update_input (int); 25 26 /* keybinding functions */ 27 void backward_character (char, char *); 28 void backward_history (char, char *); 29 void clear_screen (char, char *); 30 void command_completion (char, char *); 31 void cpu_saver_on (char, char *); 32 void forward_character (char, char *); 33 void forward_history (char, char *); 34 void highlight_off (char, char *); 35 void input_add_character (char, char *); 36 void input_backspace (char, char *); 37 void input_backward_word (char, char *); 38 void input_beginning_of_line (char, char *); 39 void input_clear_line (char, char *); 40 void input_clear_to_bol (char, char *); 41 void input_clear_to_eol (char, char *); 42 void input_delete_character (char, char *); 43 void input_delete_next_word (char, char *); 44 void input_delete_previous_word (char, char *); 45 void input_delete_to_previous_space (char, char *); 46 void input_end_of_line (char, char *); 47 void input_forward_word (char, char *); 48 void input_transpose_characters (char, char *); 49 void input_unclear_screen (char, char *); 50 void input_yank_cut_buffer (char, char *); 51 void insert_altcharset (char, char *); 52 void insert_blink (char, char *); 53 void insert_bold (char, char *); 54 void insert_reverse (char, char *); 55 void insert_underline (char, char *); 56 void parse_text (char, char *); 57 void quote_char (char, char *); 58 void refresh_inputline (char, char *); 59 void send_line (char, char *); 60 void toggle_insert_mode (char, char *); 61 void type_text (char, char *); 62 63 /* this was in keys.h, but it lives in input.c, so. */ 64 BUILT_IN_COMMAND(typecmd); 65 /* used by update_input */ 66 #define NO_UPDATE 0 67 #define UPDATE_ALL 1 68 #define UPDATE_FROM_CURSOR 2 69 #define UPDATE_JUST_CURSOR 3 70 71 #endif /* _INPUT_H_ */ 72