5107f1098fcb152516b25f50df5bb6bbe0785897
[citadel.git] / citadel / textclient / screen.h
1 /*
2  * client code may need the ERR define
3  *
4  * Copyright (c) 1987-2012 by the citadel.org team
5  *
6  *  This program is open source software; you can redistribute it and/or modify
7  *  it under the terms of the GNU General Public License version 3.
8  *
9  *  This program is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  */
14
15 void screen_new(void);
16 int scr_printf(char *fmt, ...);
17 void ctdl_getline(char *string, int lim);
18 #define SCR_NOBLOCK 0
19 #define SCR_BLOCK -1
20 int scr_getc(int delay);
21 int scr_putc(int c);
22 void scr_flush(void);
23 int scr_blockread(void);
24 RETSIGTYPE scr_winch(int signum);
25 void wait_indicator(int state);
26 void ctdl_beep(void);
27 void scr_wait_indicator(int);
28 extern char status_line[];
29 extern void check_screen_dims(void);
30
31 extern int screenwidth;
32 extern int screenheight;