xref: /openbsd-src/usr.bin/vi/include/cl_extern.h (revision b2ea75c1b17e1a9a339660e7ed45cd24946b230e)
1 /*	$OpenBSD: cl_extern.h,v 1.5 2001/01/29 01:58:46 niklas Exp $	*/
2 
3 #ifndef HAVE_CURSES_ADDNSTR
4 int addnstr __P((char *, int));
5 #endif
6 #ifndef HAVE_CURSES_BEEP
7 void beep __P((void));
8 #endif
9 #ifndef HAVE_CURSES_FLASH
10 void flash __P((void));
11 #endif
12 #ifndef HAVE_CURSES_IDLOK
13 void idlok __P((WINDOW *, int));
14 #endif
15 #ifndef HAVE_CURSES_KEYPAD
16 int keypad __P((void *, int));
17 #endif
18 #ifndef HAVE_CURSES_NEWTERM
19 void *newterm __P((const char *, FILE *, FILE *));
20 #endif
21 #ifndef HAVE_CURSES_SETUPTERM
22 void setupterm __P((char *, int, int *));
23 #endif
24 #ifdef HAVE_CURSES_TIGETSTR
25 char *tigetstr();
26 #else
27 char *tigetstr __P((char *));
28 #endif
29 #ifndef HAVE_CURSES_TIGETSTR
30 int tigetnum __P((char *));
31 #endif
32 int cl_addstr __P((SCR *, const char *, size_t));
33 int cl_attr __P((SCR *, scr_attr_t, int));
34 int cl_baud __P((SCR *, u_long *));
35 int cl_bell __P((SCR *));
36 int cl_clrtoeol __P((SCR *));
37 int cl_cursor __P((SCR *, size_t *, size_t *));
38 int cl_deleteln __P((SCR *));
39 int cl_ex_adjust __P((SCR *, exadj_t));
40 int cl_insertln __P((SCR *));
41 int cl_keyval __P((SCR *, scr_keyval_t, CHAR_T *, int *));
42 int cl_move __P((SCR *, size_t, size_t));
43 int cl_refresh __P((SCR *, int));
44 int cl_rename __P((SCR *, char *, int));
45 int cl_suspend __P((SCR *, int *));
46 void cl_usage __P((void));
47 int sig_init __P((GS *, SCR *));
48 int cl_event __P((SCR *, EVENT *, u_int32_t, int));
49 int cl_screen __P((SCR *, u_int32_t));
50 int cl_quit __P((GS *));
51 int cl_getcap __P((SCR *, char *, char **));
52 int cl_term_init __P((SCR *));
53 int cl_term_end __P((GS *));
54 int cl_fmap __P((SCR *, seq_t, CHAR_T *, size_t, CHAR_T *, size_t));
55 int cl_optchange __P((SCR *, int, char *, u_long *));
56 int cl_omesg __P((SCR *, CL_PRIVATE *, int));
57 int cl_ssize __P((SCR *, int, size_t *, size_t *, int *));
58 #ifdef USE_OCURSES
59 void cl_putchar __P((int));
60 #else
61 int cl_putchar __P((int));
62 #endif
63