xref: /freebsd/contrib/less/funcs.h (revision 15c433351f54e7cd5bec8d36c8e89e6a7fa55b26)
1 	public char * save ();
2 	public VOID_POINTER ecalloc ();
3 	public char * skipsp ();
4 	public int sprefix ();
5 	public void quit ();
6 	public void raw_mode ();
7 	public void scrsize ();
8 	public char * special_key_str ();
9 	public void get_term ();
10 	public void init ();
11 	public void deinit ();
12 	public void home ();
13 	public void add_line ();
14 	public void remove_top ();
15 	public void win32_scroll_up ();
16 	public void lower_left ();
17 	public void line_left ();
18 	public void check_winch ();
19 	public void goto_line ();
20 	public void vbell ();
21 	public void bell ();
22 	public void clear ();
23 	public void clear_eol ();
24 	public void clear_bot ();
25 	public void at_enter ();
26 	public void at_exit ();
27 	public void at_switch ();
28 	public int is_at_equiv ();
29 	public int apply_at_specials ();
30 	public void backspace ();
31 	public void putbs ();
32 	public char WIN32getch ();
33 	public void WIN32setcolors ();
34 	public void WIN32textout ();
35 	public void match_brac ();
36 	public void ch_ungetchar ();
37 	public void end_logfile ();
38 	public void sync_logfile ();
39 	public int ch_seek ();
40 	public int ch_end_seek ();
41 	public int ch_end_buffer_seek ();
42 	public int ch_beg_seek ();
43 	public POSITION ch_length ();
44 	public POSITION ch_tell ();
45 	public int ch_forw_get ();
46 	public int ch_back_get ();
47 	public void ch_setbufspace ();
48 	public void ch_flush ();
49 	public int seekable ();
50 	public void ch_set_eof ();
51 	public void ch_init ();
52 	public void ch_close ();
53 	public int ch_getflags ();
54 	public void ch_dump ();
55 	public void init_charset ();
56 	public int binary_char ();
57 	public int control_char ();
58 	public char * prchar ();
59 	public char * prutfchar ();
60 	public int utf_len ();
61 	public int is_utf8_well_formed ();
62 	public int utf_bin_count ();
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 ();
83 	public int in_mca ();
84 	public void dispversion ();
85 	public int getcc ();
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 ();
104 	public int edit ();
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 ();
137 	public void forw ();
138 	public void back ();
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_forw_buffered ();
164 	public void jump_back ();
165 	public void repaint ();
166 	public void jump_percent ();
167 	public void jump_line_loc ();
168 	public void jump_loc ();
169 	public void init_line ();
170 	public int is_ascii_char ();
171 	public void prewind ();
172 	public void plinenum ();
173 	public void pshift_all ();
174 	public int is_ansi_end ();
175 	public int is_ansi_middle ();
176 	public int pappend ();
177 	public int pflushmbc ();
178 	public void pdone ();
179 	public void set_status_col ();
180 	public int gline ();
181 	public void null_line ();
182 	public POSITION forw_raw_line ();
183 	public POSITION back_raw_line ();
184 	public void clr_linenum ();
185 	public void add_lnum ();
186 	public LINENUM find_linenum ();
187 	public POSITION find_pos ();
188 	public LINENUM currline ();
189 	public void lsystem ();
190 	public int pipe_mark ();
191 	public int pipe_data ();
192 	public void init_mark ();
193 	public int badmark ();
194 	public void setmark ();
195 	public void lastmark ();
196 	public void gomark ();
197 	public POSITION markpos ();
198 	public void unmark ();
199 	public void opt_o ();
200 	public void opt__O ();
201 	public void opt_j ();
202 	public void calc_jump_sline ();
203 	public void opt_shift ();
204 	public void calc_shift_count ();
205 	public void opt_k ();
206 	public void opt_t ();
207 	public void opt__T ();
208 	public void opt_p ();
209 	public void opt__P ();
210 	public void opt_b ();
211 	public void opt_i ();
212 	public void opt__V ();
213 	public void opt_D ();
214 	public void opt_x ();
215 	public void opt_quote ();
216 	public void opt_query ();
217 	public int get_swindow ();
218 	public char * propt ();
219 	public void scan_option ();
220 	public void toggle_option ();
221 	public int opt_has_param ();
222 	public char * opt_prompt ();
223 	public int isoptpending ();
224 	public void nopendopt ();
225 	public int getnum ();
226 	public long getfraction ();
227 	public int get_quit_at_eof ();
228 	public void init_option ();
229 	public struct loption * findopt ();
230 	public struct loption * findopt_name ();
231 	public int iread ();
232 	public void intread ();
233 	public time_type get_time ();
234 	public char * errno_message ();
235 	public int percentage ();
236 	public POSITION percent_pos ();
237 	public int  os9_signal ();
238 	public void put_line ();
239 	public void flush ();
240 	public int putchr ();
241 	public void putstr ();
242 	public void get_return ();
243 	public void error ();
244 	public void ierror ();
245 	public int query ();
246 	public int compile_pattern ();
247 	public void uncompile_pattern ();
248 	public int valid_pattern ();
249 	public int is_null_pattern ();
250 	public int match_pattern ();
251 	public POSITION position ();
252 	public void add_forw_pos ();
253 	public void add_back_pos ();
254 	public void pos_clear ();
255 	public void pos_init ();
256 	public int onscreen ();
257 	public int empty_screen ();
258 	public int empty_lines ();
259 	public void get_scrpos ();
260 	public int adjsline ();
261 	public void init_prompt ();
262 	public char * pr_expand ();
263 	public char * eq_message ();
264 	public char * pr_string ();
265 	public char * wait_message ();
266 	public void init_search ();
267 	public void repaint_hilite ();
268 	public void clear_attn ();
269 	public void undo_search ();
270 	public void clr_hlist ();
271 	public void clr_hilite ();
272 	public void clr_filter ();
273 	public int is_filtered ();
274 	public POSITION next_unfiltered ();
275 	public POSITION prev_unfiltered ();
276 	public int is_hilited ();
277 	public void chg_caseless ();
278 	public void chg_hilite ();
279 	public int search ();
280 	public void prep_hilite ();
281 	public void set_filter_pattern ();
282 	public int is_filtering ();
283 	public RETSIGTYPE winch ();
284 	public RETSIGTYPE winch ();
285 	public void init_signals ();
286 	public void psignals ();
287 	public void cleantags ();
288 	public int gettagtype ();
289 	public void findtag ();
290 	public POSITION tagsearch ();
291 	public char * nexttag ();
292 	public char * prevtag ();
293 	public int ntags ();
294 	public int curr_tag ();
295 	public int edit_tagfile ();
296 	public void open_getchr ();
297 	public void close_getchr ();
298 	public int getchr ();
299