* upgraded new version of tiny_mce
[citadel.git] / citadel / screen.h
blob02975030b88ce12470832fcddbfd9908f31e935a
1 /* $Id$ */
3 /* client code may need the ERR define: */
5 #ifndef DISABLE_CURSES
6 #ifdef HAVE_NCURSES_H
7 #include <ncurses.h>
8 #elif defined(HAVE_CURSES_H)
9 #include <curses.h>
10 #endif
11 #endif
13 void status_line(const char *humannode, const char *site_location,
14 const char *room_name, int secure, int newmailcount);
15 void screen_new(void);
16 void screen_delete(void);
17 int screen_set(void);
18 int screen_reset(void);
19 int scr_printf(char *fmt, ...);
20 int err_printf(char *fmt, ...);
21 int sln_printf(char *fmt, ...);
22 int sln_printf_if(char *fmt, ...);
24 #define SCR_NOBLOCK 0
25 #define SCR_BLOCK -1
26 int scr_getc(int delay);
28 int scr_putc(int c);
29 int sln_putc(int c);
30 int scr_color(int colornum);
31 void scr_flush(void);
32 void err_flush(void);
33 void sln_flush(void);
34 int scr_set_windowsize(CtdlIPC* ipc);
35 void windows_new(void);
36 void windows_delete(void);
37 int scr_blockread(void);
38 int is_curses_enabled(void);
39 RETSIGTYPE scr_winch(int signum);
40 void wait_indicator(int state);
41 void ctdl_beep(void);