/* $Id$ */
-void status_line(const char *humannode, const char *bbs_city,
+/* client code may need the ERR define: */
+
+#ifndef DISABLE_CURSES
+#ifdef HAVE_NCURSES_H
+#include <ncurses.h>
+#elif defined(HAVE_CURSES_H)
+#include <curses.h>
+#endif
+#endif
+
+void status_line(const char *humannode, const char *site_location,
const char *room_name, int secure, int newmailcount);
void screen_new(void);
void screen_delete(void);
int err_printf(char *fmt, ...);
int sln_printf(char *fmt, ...);
int sln_printf_if(char *fmt, ...);
-int scr_getc(void);
+
+#define SCR_NOBLOCK 0
+#define SCR_BLOCK -1
+int scr_getc(int delay);
+
int scr_putc(int c);
int sln_putc(int c);
int scr_color(int colornum);
void scr_flush(void);
void err_flush(void);
void sln_flush(void);
-int scr_set_windowsize(void);
+int scr_set_windowsize(CtdlIPC* ipc);
void windows_new(void);
void windows_delete(void);
int scr_blockread(void);
+int is_curses_enabled(void);
+RETSIGTYPE scr_winch(int signum);
+void wait_indicator(int state);
+void ctdl_beep(void);