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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
|
#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
#error Meh....
#endif
GO(baudrate, iFv)
GO(cbreak, iFv)
GO(curses_version, pFv)
GO(curs_set, iFi)
GO(define_key, iFpi)
GO(def_prog_mode, iFv)
GO(def_shell_mode, iFv)
GO(delay_output, iFi)
GO(del_curterm, iFp)
GO(erasechar, cFv)
GO(flushinp, iFv)
GO(halfdelay, iFi)
GO(has_ic, iFv)
GO(has_il, iFv)
GO(has_key, iFi)
GO(idcok, vFpi)
GO(idlok, iFpi)
GO(intrflush, iFpi)
GO(keybound, pFii)
GO(key_defined, iFp)
GO(keyname, pFi)
GO(keyok, iFii)
GO(keypad, iFpi)
GO(killchar, cFv)
GO(longname, pFv)
GO(meta, iFpi)
GO(napms, iFi)
//GO(_nc_access,
//GO(_nc_add_to_try,
//GO(_nc_align_termtype,
//GO(_nc_basename,
//GO(_nc_baudrate,
//GO(_nc_copy_termtype,
//GO(_nc_delink_entry,
//GO(_nc_doalloc,
//GO(_nc_err_abort,
//GO(_nc_expand_try,
//GO(_nc_fallback,
//GO(_nc_find_entry,
//GO(_nc_find_type_entry,
//GO(_nc_first_db,
//GO(_nc_first_name,
//GO(_nc_flush,
//GO(_nc_free_entries,
//GO(_nc_free_entry,
//GO(_nc_free_termtype,
//GO(_nc_get_alias_table,
//GO(_nc_getenv_num,
//GO(_nc_get_hash_info,
//GO(_nc_get_hash_table,
//GO(_nc_get_locale,
//GO(_nc_get_screensize,
//GO(_nc_get_source,
//GO(_nc_get_table,
//GO(_nc_get_tty_mode,
//GO(_nc_get_type,
//GO(_nc_handle_sigwinch,
//GO(_nc_hashed_db,
//GO(_nc_home_terminfo,
//GO(_nc_init_acs,
//GO(_nc_init_keytry,
//GO(_nc_is_abs_path,
//GO(_nc_is_dir_path,
//GO(_nc_is_file_path,
//GO(_nc_keep_tic_dir,
//GO(_nc_keyname,
//GO(_nc_keypad,
//GO(_nc_last_db,
//GO(_nc_leaks_tinfo,
//GO(_nc_locale_breaks_acs,
//GO(_nc_name_match,
//GO(_nc_next_db,
//GO(_nc_ospeed,
//GO(_nc_outch,
//GO(_nc_pathlast,
//GO(_nc_putp,
//GO(_nc_putp_flush,
//GO(_nc_read_entry,
//GO(_nc_read_file_entry,
//GO(_nc_read_termcap,
//GO(_nc_read_termtype,
//GO(_nc_remove_key,
//GO(_nc_remove_string,
//GO(_nc_rootname,
//GO(_nc_safe_strcat,
//GO(_nc_safe_strcpy,
//GO(_nc_screen_of,
//GO(_nc_set_buffer,
//GO(_nc_set_no_padding,
//GO(_nc_set_source,
//GO(_nc_set_tty_mode,
//GO(_nc_set_type,
//GO(_nc_setupterm,
//GO(_nc_setup_tinfo,
//GO(_nc_str_copy,
//GO(_nc_str_init,
//GO(_nc_str_null,
//GO(_nc_syserr_abort,
//GO(_nc_tic_dir,
//GO(_nc_timed_wait,
//GO(_nc_tinfo_cmdch,
//GO(_nc_tparm_analyze,
//GO(_nc_trim_sgr0,
//GO(_nc_unctrl,
//GO(_nc_unicode_locale,
//GO(_nc_update_screensize,
//GO(_nc_visbuf,
//GO(_nc_visbuf2,
//GO(_nc_visbufn,
//GO(_nc_warning,
GO(nocbreak, iFv)
GO(nodelay, iFpi)
GO(noqiflush, vFv)
GO(noraw, iFv)
GO(notimeout, iFpi)
GO(putp, iFp)
GO(qiflush, vFv)
GO(raw, iFv)
GO(reset_prog_mode, iFv)
GO(reset_shell_mode, iFv)
GO(resetty, iFv)
GO(savetty, iFv)
GO(set_curterm, pFp)
GO(set_tabsize, iFi)
GO(setupterm, iFpip)
GO(termname, pFv)
GO(tgetent, iFpp)
GO(tgetflag, iFp)
GO(tgetnum, iFp)
GO(tgetstr, pFpp)
GO(tgoto, pFpii)
GO(tigetflag, iFp)
GO(tigetnum, iFp)
GO(tigetstr, pFp)
//GO(tiparm, p(p,...)
GO(tparm, pFplllllllll) // va_arg or 9 long, depending on how old the .h is
GOM(tputs, iFEpip)
GO(typeahead, iFi)
GO(unctrl, pFL)
GO(use_env, vFi)
GO(use_extended_names, iFi)
GO(wtimeout, vFpi)
DATA(COLS, sizeof(int))
DATA(LINES, sizeof(int))
DATA(TABSIZE, sizeof(int))
DATA(curscr, sizeof(void*))
DATA(newscr, sizeof(void*))
DATA(stdscr, sizeof(void*))
DATA(acs_map, 64*sizeof(void*))
DATA(UP, sizeof(void*))
DATA(BC, sizeof(void*))
DATA(PC, 1)
DATA(ospeed, 2)
DATA(ttytype, 32*sizeof(void*))
|