1 /* $NetBSD: funcs.h,v 1.4 2013/09/04 19:44:21 tron Exp $ */
4 public VOID_POINTER
ecalloc ();
5 public char * skipsp ();
7 public void quit () __attribute__((__noreturn__
));
8 public void raw_mode ();
9 public void scrsize ();
10 public char * special_key_str ();
11 public void get_term ();
13 public void deinit ();
15 public void add_line ();
16 public void remove_top ();
17 public void win32_scroll_up ();
18 public void lower_left ();
19 public void line_left ();
20 public void check_winch ();
21 public void goto_line ();
25 public void clear_eol ();
26 public void clear_bot ();
27 public void at_enter ();
28 public void at_exit ();
29 public void at_switch ();
30 public int is_at_equiv ();
31 public int apply_at_specials ();
32 public void backspace ();
34 public char WIN32getch ();
35 public void WIN32setcolors ();
36 public void WIN32textout ();
37 public void match_brac ();
38 public void ch_ungetchar ();
39 public void end_logfile ();
40 public void sync_logfile ();
41 public int ch_seek ();
42 public int ch_end_seek ();
43 public int ch_beg_seek ();
44 public POSITION
ch_length ();
45 public POSITION
ch_tell ();
46 public int ch_forw_get ();
47 public int ch_back_get ();
48 public void ch_setbufspace ();
49 public void ch_flush ();
50 public int seekable ();
51 public void ch_set_eof ();
52 public void ch_init ();
53 public void ch_close ();
54 public int ch_getflags ();
55 public void ch_dump ();
56 public void init_charset ();
57 public int binary_char ();
58 public int control_char ();
59 public char * prchar ();
60 public char * prutfchar ();
61 public int utf_len ();
62 public int is_utf8_well_formed ();
63 public LWCHAR
get_wchar ();
64 public void put_wchar ();
65 public LWCHAR
step_char ();
66 public int is_composing_char ();
67 public int is_ubin_char ();
68 public int is_wide_char ();
69 public int is_combining_char ();
70 public void cmd_reset ();
71 public void clear_cmd ();
72 public void cmd_putstr ();
73 public int len_cmdbuf ();
74 public void set_mlist ();
75 public void cmd_addhist ();
76 public void cmd_accept ();
77 public int cmd_char ();
78 public LINENUM
cmd_int ();
79 public char * get_cmdbuf ();
80 public char * cmd_lastpattern ();
81 public void init_cmdhist ();
82 public void save_cmdhist ();
84 public void dispversion ();
86 public void ungetcc ();
87 public void ungetsc ();
88 public void commands ();
89 public int cvt_length ();
90 public int * cvt_alloc_chpos ();
91 public void cvt_text ();
92 public void init_cmds ();
93 public void add_fcmd_table ();
94 public void add_ecmd_table ();
95 public int fcmd_decode ();
96 public int ecmd_decode ();
97 public char * lgetenv ();
98 public int lesskey ();
99 public void add_hometable ();
100 public int editchar ();
101 public void init_textlist ();
102 public char * forw_textlist ();
103 public char * back_textlist ();
105 public int edit_ifile ();
106 public int edit_list ();
107 public int edit_first ();
108 public int edit_last ();
109 public int edit_next ();
110 public int edit_prev ();
111 public int edit_index ();
112 public IFILE
save_curr_ifile ();
113 public void unsave_ifile ();
114 public void reedit_ifile ();
115 public void reopen_curr_ifile ();
116 public int edit_stdin ();
117 public void cat_file ();
118 public void use_logfile ();
119 public char * shell_unquote ();
120 public char * get_meta_escape ();
121 public char * shell_quote ();
122 public char * homefile ();
123 public char * fexpand ();
124 public char * fcomplete ();
125 public int bin_file ();
126 public char * lglob ();
127 public char * open_altfile ();
128 public void close_altfile ();
129 public int is_dir ();
130 public char * bad_file ();
131 public POSITION
filesize ();
132 public char * shell_coption ();
133 public char * last_component ();
134 public int eof_displayed ();
135 public int entire_file_displayed ();
136 public void squish_check ();
139 public void forward ();
140 public void backward ();
141 public int get_back_scroll ();
142 public void del_ifile ();
143 public IFILE
next_ifile ();
144 public IFILE
prev_ifile ();
145 public IFILE
getoff_ifile ();
146 public int nifile ();
147 public IFILE
get_ifile ();
148 public char * get_filename ();
149 public int get_index ();
150 public void store_pos ();
151 public void get_pos ();
152 public void set_open ();
153 public int opened ();
154 public void hold_ifile ();
155 public int held_ifile ();
156 public void * get_filestate ();
157 public void set_filestate ();
158 public void if_dump ();
159 public POSITION
forw_line ();
160 public POSITION
back_line ();
161 public void set_attnpos ();
162 public void jump_forw ();
163 public void jump_back ();
164 public void repaint ();
165 public void jump_percent ();
166 public void jump_line_loc ();
167 public void jump_loc ();
168 public void init_line ();
169 public int is_ascii_char ();
170 public void prewind ();
171 public void plinenum ();
172 public void pshift_all ();
173 public int is_ansi_end ();
174 public int is_ansi_middle ();
175 public int pappend ();
176 public int pflushmbc ();
177 public void pdone ();
178 public void set_status_col ();
180 public void null_line ();
181 public POSITION
forw_raw_line ();
182 public POSITION
back_raw_line ();
183 public void clr_linenum ();
184 public void add_lnum ();
185 public LINENUM
find_linenum ();
186 public POSITION
find_pos ();
187 public LINENUM
currline ();
188 public void lsystem ();
189 public int pipe_mark ();
190 public int pipe_data ();
191 public void init_mark ();
192 public int badmark ();
193 public void setmark ();
194 public void lastmark ();
195 public void gomark ();
196 public POSITION
markpos ();
197 public void unmark ();
198 public void opt_o ();
199 public void opt__O ();
200 public void opt_j ();
201 public void calc_jump_sline ();
202 public void opt_shift ();
203 public void calc_shift_count ();
204 public void opt_k ();
205 public void opt_t ();
206 public void opt__T ();
207 public void opt_p ();
208 public void opt__P ();
209 public void opt_b ();
210 public void opt_i ();
211 public void opt__V ();
212 public void opt_D ();
213 public void opt_x ();
214 public void opt_quote ();
215 public void opt_query ();
216 public int get_swindow ();
217 public char * propt ();
218 public void scan_option ();
219 public void toggle_option ();
220 public int opt_has_param ();
221 public char * opt_prompt ();
222 public int isoptpending ();
223 public void nopendopt ();
224 public int getnum ();
225 public long getfraction ();
226 public int get_quit_at_eof ();
227 public void init_option ();
228 public struct loption
* findopt ();
229 public struct loption
* findopt_name ();
231 public void intread ();
232 public long get_time ();
233 public char * errno_message ();
234 public int percentage ();
235 public POSITION
percent_pos ();
236 public int os9_signal ();
237 public void put_line ();
238 public void flush ();
239 public int putchr ();
240 public void putstr ();
241 public void get_return ();
242 public void error ();
243 public void ierror ();
245 public int compile_pattern ();
246 public void uncompile_pattern ();
247 public int is_null_pattern ();
248 public int match_pattern ();
249 public POSITION
position ();
250 public void add_forw_pos ();
251 public void add_back_pos ();
252 public void pos_clear ();
253 public void pos_init ();
254 public int onscreen ();
255 public int empty_screen ();
256 public int empty_lines ();
257 public void get_scrpos ();
258 public int adjsline ();
259 public void init_prompt ();
260 public char * pr_expand ();
261 public char * eq_message ();
262 public char * pr_string ();
263 public char * wait_message ();
264 public void init_search ();
265 public void repaint_hilite ();
266 public void clear_attn ();
267 public void undo_search ();
268 public void clr_hlist ();
269 public void clr_hilite ();
270 public void clr_filter ();
271 public int is_filtered ();
272 public int is_hilited ();
273 public void chg_caseless ();
274 public void chg_hilite ();
275 public int search ();
276 public void prep_hilite ();
277 public void set_filter_pattern ();
278 public int is_filtering ();
279 public RETSIGTYPE
winch ();
280 public RETSIGTYPE
winch ();
281 public void init_signals ();
282 public void psignals ();
283 public void cleantags ();
284 public int gettagtype ();
285 public void findtag ();
286 public POSITION
tagsearch ();
287 public char * nexttag ();
288 public char * prevtag ();
290 public int curr_tag ();
291 public int edit_tagfile ();
292 public void open_getchr ();
293 public void close_getchr ();
294 public int getchr ();