| 3 |
- |
1 |
|
|
|
2 |
/* /usr/include/ncurses.conf */
|
|
|
3 |
|
|
|
4 |
typedef int attr_t;
|
|
|
5 |
typedef attr_t chtype;
|
|
|
6 |
typedef u_char bool;
|
|
|
7 |
|
|
|
8 |
bool is_term_resized(int a, int b);
|
|
|
9 |
char* keybound (int a, int b);
|
|
|
10 |
char* curses_version(void);
|
|
|
11 |
int assume_default_colors(int a, int b);
|
|
|
12 |
int define_key(char *a, int b);
|
|
|
13 |
int key_defined(char *a);
|
|
|
14 |
int keyok(int a, int b);
|
|
|
15 |
int resize_term(int a, int b);
|
|
|
16 |
int resizeterm(int a, int b);
|
|
|
17 |
int use_default_colors(void);
|
|
|
18 |
int use_extended_names(int a);
|
|
|
19 |
int use_legacy_coding(int a);
|
|
|
20 |
int wresize (void *w, int a, int b);
|
|
|
21 |
void nofilter(void);
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
int wgetch_events(void *w, void *event);
|
|
|
25 |
int wgetnstr_events(void *w, char *a, int b, void *event);
|
|
|
26 |
|
|
|
27 |
int addch(chtype a);
|
|
|
28 |
int addchnstr(chtype *a, int b);
|
|
|
29 |
int addchstr(chtype *a);
|
|
|
30 |
int addnstr(char *a, int b);
|
|
|
31 |
int addstr(char *a);
|
|
|
32 |
int attroff(attr_t a);
|
|
|
33 |
int attron(attr_t a);
|
|
|
34 |
int attrset(attr_t a);
|
|
|
35 |
int attr_get(attr_t *a, short *b, void *c);
|
|
|
36 |
int attr_off(attr_t a, void *b);
|
|
|
37 |
int attr_on(attr_t a, void *b);
|
|
|
38 |
int attr_set(attr_t a, short b, void *c);
|
|
|
39 |
int baudrate();
|
|
|
40 |
int beep();
|
|
|
41 |
int bkgd(chtype a);
|
|
|
42 |
void bkgdset(chtype a);
|
|
|
43 |
int border(chtype a, chtype b, chtype c, chtype d, chtype c, chtype d, chtype e, chtype f);
|
|
|
44 |
int box(void *w, chtype a, chtype b);
|
|
|
45 |
bool can_change_color();
|
|
|
46 |
int cbreak(void);
|
|
|
47 |
int chgat(int a, attr_t b, short c, void *d);
|
|
|
48 |
int clear();
|
|
|
49 |
int clearok(void *w, bool a);
|
|
|
50 |
int clrtobot(void);
|
|
|
51 |
int clrtoeol(void);
|
|
|
52 |
int color_content(short a, short *b, short *c, short *d);
|
|
|
53 |
int color_set(short a, void *b);
|
|
|
54 |
int COLOR_PAIR(int a);
|
|
|
55 |
int copywin(void *w1, void *w2, int a, int b, int c, int d, int e, int f, int g);
|
|
|
56 |
int curs_set(int a);
|
|
|
57 |
int def_prog_mode(void);
|
|
|
58 |
int def_shell_mode(void);
|
|
|
59 |
int delay_output(int a);
|
|
|
60 |
int delch(void);
|
|
|
61 |
void delscreen(void *s);
|
|
|
62 |
int delwin(void *w);
|
|
|
63 |
int deleteln();
|
|
|
64 |
void* derwin(void *w, int a, int b, int c, int d);
|
|
|
65 |
int doupdate();
|
|
|
66 |
void* dupwin(void *w);
|
|
|
67 |
int echo();
|
|
|
68 |
int echochar(chtype a);
|
|
|
69 |
int erase();
|
|
|
70 |
int endwin();
|
|
|
71 |
char erasechar();
|
|
|
72 |
void filter();
|
|
|
73 |
int flash();
|
|
|
74 |
int flushinp();
|
|
|
75 |
chtype getbkgd(void *w);
|
|
|
76 |
int getch();
|
|
|
77 |
int getnstr(char *a, int b);
|
|
|
78 |
int getstr(char *a);
|
|
|
79 |
void* getwin(void *f);
|
|
|
80 |
int halfdelay(int a);
|
|
|
81 |
bool has_colors();
|
|
|
82 |
bool has_ic();
|
|
|
83 |
bool has_il();
|
|
|
84 |
int hline(chtype b, int c);
|
|
|
85 |
void idcok(void* w, bool b);
|
|
|
86 |
int idlok(void *w, bool b);
|
|
|
87 |
void immedok(void *w, bool b);
|
|
|
88 |
chtype inch();
|
|
|
89 |
int inchnstr(chtype *a, int b);
|
|
|
90 |
int inchstr(chtype *a);
|
|
|
91 |
void* initscr();
|
|
|
92 |
int init_color(short a, short b, short c, short d);
|
|
|
93 |
int init_pair(short a, short b, short c);
|
|
|
94 |
int innstr(char *a, int b);
|
|
|
95 |
int insch(chtype a);
|
|
|
96 |
int insdelln(int a);
|
|
|
97 |
int insertln();
|
|
|
98 |
int insnstr(char *a, int b);
|
|
|
99 |
int insstr(char *a);
|
|
|
100 |
int instr(char *a);
|
|
|
101 |
int intrflush(void *a, bool b);
|
|
|
102 |
bool isendwin();
|
|
|
103 |
bool is_linetouched(void *a, int b);
|
|
|
104 |
bool is_wintouched(void *a);
|
|
|
105 |
char* keyname(int a);
|
|
|
106 |
int keypad(void *a, bool b);
|
|
|
107 |
char killchar();
|
|
|
108 |
int leaveok(void *a, bool b);
|
|
|
109 |
char* longname();
|
|
|
110 |
int meta(void *a, bool b);
|
|
|
111 |
int move(int a, int b);
|
|
|
112 |
int mvaddch(int a, int b, chtype c);
|
|
|
113 |
int mvaddchnstr(int a, int b, chtype *c, int d);
|
|
|
114 |
int mvaddchstr(int a, int b, chtype *c);
|
|
|
115 |
int mvaddnstr(int a, int b, char *c, int d);
|
|
|
116 |
int mvaddstr(int a, int b, char *c);
|
|
|
117 |
int mvchgat(int a, int b, int c, attr_t d, short e, void *f);
|
|
|
118 |
int mvcur(int a, int b, int c, int d);
|
|
|
119 |
int mvdelch(int a, int b);
|
|
|
120 |
int mvderwin(void *a, int b, int c);
|
|
|
121 |
int mvgetch(int a, int b);
|
|
|
122 |
int mvgetnstr(int a, int b, char *c, int d);
|
|
|
123 |
int mvgetstr(int a, int b, char *c);
|
|
|
124 |
int mvhline(int a, int b, chtype c, int d);
|
|
|
125 |
chtype mvinch(int a, int b);
|
|
|
126 |
int mvinchnstr(int a, int b, chtype *c, int d);
|
|
|
127 |
int mvinchstr(int a, int b, chtype *c);
|
|
|
128 |
int mvinnstr(int a, int b, char *c, int d);
|
|
|
129 |
int mvinsch(int a, int b, chtype c);
|
|
|
130 |
int mvinsnstr(int a, int b, char *c, int d);
|
|
|
131 |
int mvinsstr(int a, int b, char *c);
|
|
|
132 |
int mvinstr(int a, int b, char *c);
|
|
|
133 |
int mvprintw(int a, int b, char *c);
|
|
|
134 |
int mvscanw(int a, int b, char *c);
|
|
|
135 |
int mvvline(int a, int b, chtype c, int d);
|
|
|
136 |
int mvwaddch(void *w, int b, int c, chtype d);
|
|
|
137 |
int mvwaddchnstr(void *w, int b, int c, chtype *d, int e);
|
|
|
138 |
int mvwaddchstr(void *w, int b, int c, chtype *d);
|
|
|
139 |
int mvwaddnstr(void *w, int b, int c, char *d, int e);
|
|
|
140 |
int mvwaddstr(void *w, int b, int c, char *d);
|
|
|
141 |
int mvwchgat(void *w, int b, int c, int d, attr_t e, short f, void *g);
|
|
|
142 |
int mvwdelch(void *w, int b, int c);
|
|
|
143 |
int mvwgetch(void *w, int b, int c);
|
|
|
144 |
int mvwgetnstr(void *w, int b, int c, char *d, int e);
|
|
|
145 |
int mvwgetstr(void *w, int b, int c, char *d);
|
|
|
146 |
int mvwhline(void *w, int b, int c, chtype d, int e);
|
|
|
147 |
int mvwin(void *w, int b, int c);
|
|
|
148 |
chtype mvwinch(void *w, int b, int c);
|
|
|
149 |
int mvwinchnstr(void *w, int b, int c, chtype *d, int e);
|
|
|
150 |
int mvwinchstr(void *w, int b, int c, chtype *d);
|
|
|
151 |
int mvwinnstr(void *w, int b, int c, char *s, int d);
|
|
|
152 |
int mvwinsch(void *w, int b, int c, chtype d);
|
|
|
153 |
int mvwinsnstr(void *w, int b, int c, char *s, int d);
|
|
|
154 |
int mvwinsstr(void *w, int b, int c, char *s);
|
|
|
155 |
int mvwinstr(void *w, int b, int c, char *s);
|
|
|
156 |
int mvwprintw(void *w, int b, int c, char *s);
|
|
|
157 |
int mvwscanw(void *w, int b, int c, char *s);
|
|
|
158 |
int mvwvline(void *w, int b, int c, chtype d, int e);
|
|
|
159 |
int napms(int a);
|
|
|
160 |
void* newpad(int a, int b);
|
|
|
161 |
void* newterm(char *a, void *f1, void *f2);
|
|
|
162 |
void* newwin(int a, int b, int c, int d);
|
|
|
163 |
int nl();
|
|
|
164 |
int nocbreak();
|
|
|
165 |
int nodelay(void *w, bool b);
|
|
|
166 |
int noecho();
|
|
|
167 |
int nonl();
|
|
|
168 |
void noqiflush();
|
|
|
169 |
int noraw();
|
|
|
170 |
int notimeout(void *w, bool b);
|
|
|
171 |
int overlay(void *w, void *b);
|
|
|
172 |
int overwrite(void *w, void *b);
|
|
|
173 |
int pair_content(short a, short *b, short *c);
|
|
|
174 |
int PAIR_NUMBER(int a);
|
|
|
175 |
int pechochar(void *w, chtype b);
|
|
|
176 |
int pnoutrefresh(void *w, int b, int c, int d, int e, int f, int g);
|
|
|
177 |
int prefresh(void *w, int b, int c, int d, int e, int f, int g);
|
|
|
178 |
int printw(char *s);
|
|
|
179 |
int putwin(void *w, void *b);
|
|
|
180 |
void qiflush();
|
|
|
181 |
int raw();
|
|
|
182 |
int redrawwin(void *w);
|
|
|
183 |
int refresh();
|
|
|
184 |
int resetty();
|
|
|
185 |
int reset_prog_mode();
|
|
|
186 |
int reset_shell_mode();
|
|
|
187 |
int ripoffline(int a, void *f);
|
|
|
188 |
int savetty();
|
|
|
189 |
int scanw(char *s);
|
|
|
190 |
int scr_dump(char *s);
|
|
|
191 |
int scr_init(char *s);
|
|
|
192 |
int scrl(int a);
|
|
|
193 |
int scroll(void *a);
|
|
|
194 |
int scrollok(void *a, bool b);
|
|
|
195 |
int scr_restore(char *a);
|
|
|
196 |
int scr_set(char *a);
|
|
|
197 |
int setscrreg(int a, int b);
|
|
|
198 |
void* set_term(void *a);
|
|
|
199 |
int slk_attroff(chtype a);
|
|
|
200 |
int slk_attr_off(attr_t a, void *b);
|
|
|
201 |
int slk_attron(chtype a);
|
|
|
202 |
int slk_attr_on(attr_t a, void *b);
|
|
|
203 |
int slk_attrset(chtype a);
|
|
|
204 |
attr_t slk_attr();
|
|
|
205 |
int slk_attr_set(attr_t a, short b, void *c);
|
|
|
206 |
int slk_clear();
|
|
|
207 |
int slk_color(short a);
|
|
|
208 |
int slk_init(int a);
|
|
|
209 |
char* slk_label(int a);
|
|
|
210 |
int slk_noutrefresh();
|
|
|
211 |
int slk_refresh();
|
|
|
212 |
int slk_restore();
|
|
|
213 |
int slk_set(int a, char *b, int c);
|
|
|
214 |
int slk_touch();
|
|
|
215 |
int standout();
|
|
|
216 |
int standend();
|
|
|
217 |
int start_color();
|
|
|
218 |
void* subpad(void *a, int b, int c, int d, int e);
|
|
|
219 |
void* subwin(void *a, int b, int c, int d, int e);
|
|
|
220 |
int syncok(void *a, bool b);
|
|
|
221 |
chtype termattrs();
|
|
|
222 |
char* termname();
|
|
|
223 |
void timeout(int a);
|
|
|
224 |
int touchline(void *w, int b, int c);
|
|
|
225 |
int touchwin(void *w);
|
|
|
226 |
int typeahead(int a);
|
|
|
227 |
int ungetch(int a);
|
|
|
228 |
int untouchwin(void *w);
|
|
|
229 |
void use_env(bool b);
|
|
|
230 |
int vidattr(chtype c);
|
|
|
231 |
int vidputs(chtype c, void *f);
|
|
|
232 |
int vline(chtype c, int b);
|
|
|
233 |
int vwprintw(void *w, char *b);
|
|
|
234 |
int vw_printw(void *w, char *b);
|
|
|
235 |
int vwscanw(void *w, char *b);
|
|
|
236 |
int vw_scanw(void *w, char *b);
|
|
|
237 |
int waddch(void *w, chtype b);
|
|
|
238 |
int waddchnstr(void *w, chtype *b, int c);
|
|
|
239 |
int waddchstr(void *w, chtype *b);
|
|
|
240 |
int waddnstr(void *w,char *b, int b);
|
|
|
241 |
int waddstr(void *w, char *b);
|
|
|
242 |
int wattron(void *w, int b);
|
|
|
243 |
int wattroff(void *w, int b);
|
|
|
244 |
int wattrset(void *w, int b);
|
|
|
245 |
int wattr_get(void *w, attr_t *b, short *c, void *d);
|
|
|
246 |
int wattr_on(void *w, attr_t b, void *c);
|
|
|
247 |
int wattr_off(void *w, attr_t b, void *c);
|
|
|
248 |
int wattr_set(void *w, attr_t b, short c, void *d);
|
|
|
249 |
int wbkgd(void *w, chtype a);
|
|
|
250 |
void wbkgdset(void *w, chtype a);
|
|
|
251 |
int wborder(void *w, chtype a, chtype b, chtype c, chtype d, chtype e, chtype f, chtype g, chtype h);
|
|
|
252 |
int wchgat(void *w, int a, attr_t b, short c, void *p);
|
|
|
253 |
int wclear(void *w);
|
|
|
254 |
int wclrtobot(void *w);
|
|
|
255 |
int wclrtoeol(void *w);
|
|
|
256 |
int wcolor_set(void *w, short b, void *p);
|
|
|
257 |
void wcursyncup(void *w);
|
|
|
258 |
int wdelch(void *w);
|
|
|
259 |
int wdeleteln(void *w);
|
|
|
260 |
int wechochar(void *w, chtype c);
|
|
|
261 |
int werase(void *w);
|
|
|
262 |
int wgetch(void *w);
|
|
|
263 |
int wgetnstr(void *w, char *s, int d);
|
|
|
264 |
int wgetstr(void *w, char *s);
|
|
|
265 |
int whline(void *w, chtype c, int d);
|
|
|
266 |
chtype winch(void *w);
|
|
|
267 |
int winchnstr(void *w, chtype *c, int d);
|
|
|
268 |
int winchstr(void *w, chtype *c);
|
|
|
269 |
int winnstr(void *w, char *s, int c);
|
|
|
270 |
int winsch(void *w, chtype c);
|
|
|
271 |
int winsdelln(void *w, int a);
|
|
|
272 |
int winsertln(void *w);
|
|
|
273 |
int winsnstr(void *w, char *s, int c);
|
|
|
274 |
int winsstr(void *w, char *s);
|
|
|
275 |
int winstr(void *w, char *s);
|
|
|
276 |
int wmove(void *w, int a, int b);
|
|
|
277 |
int wnoutrefresh(void *w);
|
|
|
278 |
int wprintw(void *w, char *s);
|
|
|
279 |
int wredrawln(void *w, int a, int b);
|
|
|
280 |
int wrefresh(void *w);
|
|
|
281 |
int wscanw(void *w, char *s);
|
|
|
282 |
int wscrl(void *w, int a);
|
|
|
283 |
int wsetscrreg(void *w, int a, int b);
|
|
|
284 |
int wstandout(void *w);
|
|
|
285 |
int wstandend(void *w);
|
|
|
286 |
void wsyncdown(void *w);
|
|
|
287 |
void wsyncup(void *w);
|
|
|
288 |
void wtimeout(void *w, int a);
|
|
|
289 |
int wtouchln(void *w, int a, int b, int c);
|
|
|
290 |
int wvline(void *w, chtype a, int b);
|
|
|
291 |
|
|
|
292 |
int tigetflag(char *s);
|
|
|
293 |
int tigetnum(char *s);
|
|
|
294 |
char tigetstr(char *s);
|
|
|
295 |
int putp(char *s);
|
|
|
296 |
char tparm(char *s);
|
|
|
297 |
char* tparm_varargs(char *s);
|
|
|
298 |
|
|
|
299 |
int getcurx(void *w);
|
|
|
300 |
int getcury(void *w);
|
|
|
301 |
int getbegx(void *w);
|
|
|
302 |
int getbegy(void *w);
|
|
|
303 |
int getmaxx(void *w);
|
|
|
304 |
int getmaxy(void *w);
|
|
|
305 |
int getparx(void *w);
|
|
|
306 |
int getpary(void *w);
|
|
|
307 |
|
|
|
308 |
int vsscanf(char *s, char *s1);
|
|
|
309 |
|
|
|
310 |
typedef long mmask_t;
|
|
|
311 |
|
|
|
312 |
int getmouse(void *e);
|
|
|
313 |
int ungetmouse(void *e);
|
|
|
314 |
mmask_t mousemask(mmask_t a, mmask_t *b);
|
|
|
315 |
bool wenclose(void *w, int a, int c);
|
|
|
316 |
int mouseinterval(int a);
|
|
|
317 |
bool wmouse_trafo(void *w, int *a, int *b, bool c);
|
|
|
318 |
bool mouse_trafo(int *a, int *b, bool c);
|
|
|
319 |
|
|
|
320 |
int mcprint(char *s, int a);
|
|
|
321 |
int has_key(int a);
|
|
|
322 |
|
|
|
323 |
void _tracef(char *s);
|
|
|
324 |
void _tracedump(char *s, void *w);
|
|
|
325 |
char* _traceattr(attr_t a);
|
|
|
326 |
char* _traceattr2(int a, chtype c);
|
|
|
327 |
char* _nc_tracebits();
|
|
|
328 |
char* _tracechar(int a);
|
|
|
329 |
char* _tracechtype(chtype c);
|
|
|
330 |
char* _tracechtype2(int a, chtype c);
|
|
|
331 |
char* _tracecchar_t(void *a);
|
|
|
332 |
char* _tracecchar_t2(int a, void *b);
|
|
|
333 |
char* _tracemouse(void *e);
|
|
|
334 |
void trace(u_int a);
|