summaryrefslogtreecommitdiff
path: root/usr.bin/vi/include/cl_extern.h
blob: af565eda8b937385b0a6f0175634da9c6e165561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*	$OpenBSD: cl_extern.h,v 1.6 2002/02/16 21:27:57 millert Exp $	*/

#ifndef HAVE_CURSES_ADDNSTR
int addnstr(char *, int);
#endif
#ifndef HAVE_CURSES_BEEP
void beep(void);
#endif
#ifndef HAVE_CURSES_FLASH
void flash(void);
#endif
#ifndef HAVE_CURSES_IDLOK
void idlok(WINDOW *, int);
#endif
#ifndef HAVE_CURSES_KEYPAD
int keypad(void *, int);
#endif
#ifndef HAVE_CURSES_NEWTERM
void *newterm(const char *, FILE *, FILE *);
#endif
#ifndef HAVE_CURSES_SETUPTERM
void setupterm(char *, int, int *);
#endif
#ifdef HAVE_CURSES_TIGETSTR
char *tigetstr();
#else
char *tigetstr(char *);
#endif
#ifndef HAVE_CURSES_TIGETSTR
int tigetnum(char *);
#endif
int cl_addstr(SCR *, const char *, size_t);
int cl_attr(SCR *, scr_attr_t, int);
int cl_baud(SCR *, u_long *);
int cl_bell(SCR *);
int cl_clrtoeol(SCR *);
int cl_cursor(SCR *, size_t *, size_t *);
int cl_deleteln(SCR *);
int cl_ex_adjust(SCR *, exadj_t);
int cl_insertln(SCR *);
int cl_keyval(SCR *, scr_keyval_t, CHAR_T *, int *);
int cl_move(SCR *, size_t, size_t);
int cl_refresh(SCR *, int);
int cl_rename(SCR *, char *, int);
int cl_suspend(SCR *, int *);
void cl_usage(void);
int sig_init(GS *, SCR *);
int cl_event(SCR *, EVENT *, u_int32_t, int);
int cl_screen(SCR *, u_int32_t);
int cl_quit(GS *);
int cl_getcap(SCR *, char *, char **);
int cl_term_init(SCR *);
int cl_term_end(GS *);
int cl_fmap(SCR *, seq_t, CHAR_T *, size_t, CHAR_T *, size_t);
int cl_optchange(SCR *, int, char *, u_long *);
int cl_omesg(SCR *, CL_PRIVATE *, int);
int cl_ssize(SCR *, int, size_t *, size_t *, int *);
#ifdef USE_OCURSES
void cl_putchar(int);
#else
int cl_putchar(int);
#endif