* New version 2.21.999
[alpine.git] / alpine / osdep / termin.gen.h
blob8f87159b4c0b08ed599389a8f1113aeb431ef20f
1 /*
2 * $Id: termin.gen.h 890 2007-12-21 05:34:43Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2006-2007 University of Washington
6 * Copyright 2013-2018 Eduardo Chappa
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
17 #ifndef PINE_OSDEP_TERMIN_GEN_INCLUDED
18 #define PINE_OSDEP_TERMIN_GEN_INCLUDED
20 #include <general.h>
21 #include "../radio.h"
23 /* Useful Macros */
24 #define READ_COMMAND(U) (read_command_prep() ? read_command(U) : NO_OP_COMMAND)
26 /* exported prototypes */
27 UCS read_command(char **);
28 int read_command_prep(void);
29 int key_recorder(int);
30 int optionally_enter(char *, int, int, int, char *, ESCKEY_S *, HelpType, int *);
31 UCS validatekeys(UCS);
32 int process_config_input(UCS *);
33 int key_recorder(int);
34 int key_playback(int);
35 int recent_keystroke(int *, char *, size_t);
36 int init_tty_driver(struct pine *);
37 void end_tty_driver(struct pine *);
38 int PineRaw(int);
39 UCS read_char(int);
40 void init_keyboard(int);
41 void end_keyboard(int);
42 int pre_screen_config_opt_enter(char *, int, char *,
43 ESCKEY_S *, HelpType, int *);
44 #ifdef _WINDOWS
45 int pcpine_oe_cursor(int, long);
46 #endif
48 #endif /* PINE_OSDEP_TERMIN_GEN_INCLUDED */