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