2013-12-06 12:04:52 +01:00
|
|
|
/* $NetBSD: funcs.h,v 1.4 2013/09/04 19:44:21 tron Exp $ */
|
2010-06-26 03:41:19 +02:00
|
|
|
|
|
|
|
public char * save ();
|
|
|
|
public VOID_POINTER ecalloc ();
|
|
|
|
public char * skipsp ();
|
|
|
|
public int sprefix ();
|
|
|
|
public void quit () __attribute__((__noreturn__));
|
|
|
|
public void raw_mode ();
|
|
|
|
public void scrsize ();
|
|
|
|
public char * special_key_str ();
|
|
|
|
public void get_term ();
|
|
|
|
public void init ();
|
|
|
|
public void deinit ();
|
|
|
|
public void home ();
|
|
|
|
public void add_line ();
|
|
|
|
public void remove_top ();
|
|
|
|
public void win32_scroll_up ();
|
|
|
|
public void lower_left ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public void line_left ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public void check_winch ();
|
|
|
|
public void goto_line ();
|
|
|
|
public void vbell ();
|
|
|
|
public void bell ();
|
|
|
|
public void clear ();
|
|
|
|
public void clear_eol ();
|
|
|
|
public void clear_bot ();
|
|
|
|
public void at_enter ();
|
|
|
|
public void at_exit ();
|
|
|
|
public void at_switch ();
|
|
|
|
public int is_at_equiv ();
|
|
|
|
public int apply_at_specials ();
|
|
|
|
public void backspace ();
|
|
|
|
public void putbs ();
|
|
|
|
public char WIN32getch ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public void WIN32setcolors ();
|
|
|
|
public void WIN32textout ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public void match_brac ();
|
|
|
|
public void ch_ungetchar ();
|
|
|
|
public void end_logfile ();
|
|
|
|
public void sync_logfile ();
|
|
|
|
public int ch_seek ();
|
|
|
|
public int ch_end_seek ();
|
|
|
|
public int ch_beg_seek ();
|
|
|
|
public POSITION ch_length ();
|
|
|
|
public POSITION ch_tell ();
|
|
|
|
public int ch_forw_get ();
|
|
|
|
public int ch_back_get ();
|
|
|
|
public void ch_setbufspace ();
|
|
|
|
public void ch_flush ();
|
|
|
|
public int seekable ();
|
2013-12-06 12:04:52 +01:00
|
|
|
public void ch_set_eof ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public void ch_init ();
|
|
|
|
public void ch_close ();
|
|
|
|
public int ch_getflags ();
|
|
|
|
public void ch_dump ();
|
|
|
|
public void init_charset ();
|
|
|
|
public int binary_char ();
|
|
|
|
public int control_char ();
|
|
|
|
public char * prchar ();
|
|
|
|
public char * prutfchar ();
|
|
|
|
public int utf_len ();
|
|
|
|
public int is_utf8_well_formed ();
|
|
|
|
public LWCHAR get_wchar ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public void put_wchar ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public LWCHAR step_char ();
|
|
|
|
public int is_composing_char ();
|
|
|
|
public int is_ubin_char ();
|
|
|
|
public int is_wide_char ();
|
|
|
|
public int is_combining_char ();
|
|
|
|
public void cmd_reset ();
|
|
|
|
public void clear_cmd ();
|
|
|
|
public void cmd_putstr ();
|
|
|
|
public int len_cmdbuf ();
|
|
|
|
public void set_mlist ();
|
|
|
|
public void cmd_addhist ();
|
|
|
|
public void cmd_accept ();
|
|
|
|
public int cmd_char ();
|
|
|
|
public LINENUM cmd_int ();
|
|
|
|
public char * get_cmdbuf ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public char * cmd_lastpattern ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public void init_cmdhist ();
|
|
|
|
public void save_cmdhist ();
|
|
|
|
public int in_mca ();
|
|
|
|
public void dispversion ();
|
|
|
|
public int getcc ();
|
|
|
|
public void ungetcc ();
|
|
|
|
public void ungetsc ();
|
|
|
|
public void commands ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public int cvt_length ();
|
|
|
|
public int * cvt_alloc_chpos ();
|
|
|
|
public void cvt_text ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public void init_cmds ();
|
|
|
|
public void add_fcmd_table ();
|
|
|
|
public void add_ecmd_table ();
|
|
|
|
public int fcmd_decode ();
|
|
|
|
public int ecmd_decode ();
|
|
|
|
public char * lgetenv ();
|
|
|
|
public int lesskey ();
|
|
|
|
public void add_hometable ();
|
|
|
|
public int editchar ();
|
|
|
|
public void init_textlist ();
|
|
|
|
public char * forw_textlist ();
|
|
|
|
public char * back_textlist ();
|
|
|
|
public int edit ();
|
|
|
|
public int edit_ifile ();
|
|
|
|
public int edit_list ();
|
|
|
|
public int edit_first ();
|
|
|
|
public int edit_last ();
|
|
|
|
public int edit_next ();
|
|
|
|
public int edit_prev ();
|
|
|
|
public int edit_index ();
|
|
|
|
public IFILE save_curr_ifile ();
|
|
|
|
public void unsave_ifile ();
|
|
|
|
public void reedit_ifile ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public void reopen_curr_ifile ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public int edit_stdin ();
|
|
|
|
public void cat_file ();
|
|
|
|
public void use_logfile ();
|
|
|
|
public char * shell_unquote ();
|
|
|
|
public char * get_meta_escape ();
|
|
|
|
public char * shell_quote ();
|
|
|
|
public char * homefile ();
|
|
|
|
public char * fexpand ();
|
|
|
|
public char * fcomplete ();
|
|
|
|
public int bin_file ();
|
|
|
|
public char * lglob ();
|
|
|
|
public char * open_altfile ();
|
|
|
|
public void close_altfile ();
|
|
|
|
public int is_dir ();
|
|
|
|
public char * bad_file ();
|
|
|
|
public POSITION filesize ();
|
|
|
|
public char * shell_coption ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public char * last_component ();
|
|
|
|
public int eof_displayed ();
|
|
|
|
public int entire_file_displayed ();
|
|
|
|
public void squish_check ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public void forw ();
|
|
|
|
public void back ();
|
|
|
|
public void forward ();
|
|
|
|
public void backward ();
|
|
|
|
public int get_back_scroll ();
|
|
|
|
public void del_ifile ();
|
|
|
|
public IFILE next_ifile ();
|
|
|
|
public IFILE prev_ifile ();
|
|
|
|
public IFILE getoff_ifile ();
|
|
|
|
public int nifile ();
|
|
|
|
public IFILE get_ifile ();
|
|
|
|
public char * get_filename ();
|
|
|
|
public int get_index ();
|
|
|
|
public void store_pos ();
|
|
|
|
public void get_pos ();
|
|
|
|
public void set_open ();
|
|
|
|
public int opened ();
|
|
|
|
public void hold_ifile ();
|
|
|
|
public int held_ifile ();
|
|
|
|
public void * get_filestate ();
|
|
|
|
public void set_filestate ();
|
|
|
|
public void if_dump ();
|
|
|
|
public POSITION forw_line ();
|
|
|
|
public POSITION back_line ();
|
|
|
|
public void set_attnpos ();
|
|
|
|
public void jump_forw ();
|
|
|
|
public void jump_back ();
|
|
|
|
public void repaint ();
|
|
|
|
public void jump_percent ();
|
|
|
|
public void jump_line_loc ();
|
|
|
|
public void jump_loc ();
|
|
|
|
public void init_line ();
|
|
|
|
public int is_ascii_char ();
|
|
|
|
public void prewind ();
|
|
|
|
public void plinenum ();
|
|
|
|
public void pshift_all ();
|
|
|
|
public int is_ansi_end ();
|
|
|
|
public int is_ansi_middle ();
|
|
|
|
public int pappend ();
|
|
|
|
public int pflushmbc ();
|
|
|
|
public void pdone ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public void set_status_col ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public int gline ();
|
|
|
|
public void null_line ();
|
|
|
|
public POSITION forw_raw_line ();
|
|
|
|
public POSITION back_raw_line ();
|
|
|
|
public void clr_linenum ();
|
|
|
|
public void add_lnum ();
|
|
|
|
public LINENUM find_linenum ();
|
|
|
|
public POSITION find_pos ();
|
|
|
|
public LINENUM currline ();
|
|
|
|
public void lsystem ();
|
|
|
|
public int pipe_mark ();
|
|
|
|
public int pipe_data ();
|
|
|
|
public void init_mark ();
|
|
|
|
public int badmark ();
|
|
|
|
public void setmark ();
|
|
|
|
public void lastmark ();
|
|
|
|
public void gomark ();
|
|
|
|
public POSITION markpos ();
|
|
|
|
public void unmark ();
|
|
|
|
public void opt_o ();
|
|
|
|
public void opt__O ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public void opt_j ();
|
|
|
|
public void calc_jump_sline ();
|
|
|
|
public void opt_shift ();
|
|
|
|
public void calc_shift_count ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public void opt_k ();
|
|
|
|
public void opt_t ();
|
|
|
|
public void opt__T ();
|
|
|
|
public void opt_p ();
|
|
|
|
public void opt__P ();
|
|
|
|
public void opt_b ();
|
|
|
|
public void opt_i ();
|
|
|
|
public void opt__V ();
|
|
|
|
public void opt_D ();
|
|
|
|
public void opt_x ();
|
|
|
|
public void opt_quote ();
|
|
|
|
public void opt_query ();
|
|
|
|
public int get_swindow ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public char * propt ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public void scan_option ();
|
|
|
|
public void toggle_option ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public int opt_has_param ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public char * opt_prompt ();
|
|
|
|
public int isoptpending ();
|
|
|
|
public void nopendopt ();
|
|
|
|
public int getnum ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public long getfraction ();
|
|
|
|
public int get_quit_at_eof ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public void init_option ();
|
|
|
|
public struct loption * findopt ();
|
|
|
|
public struct loption * findopt_name ();
|
|
|
|
public int iread ();
|
|
|
|
public void intread ();
|
|
|
|
public long get_time ();
|
|
|
|
public char * errno_message ();
|
|
|
|
public int percentage ();
|
|
|
|
public POSITION percent_pos ();
|
|
|
|
public int os9_signal ();
|
|
|
|
public void put_line ();
|
|
|
|
public void flush ();
|
|
|
|
public int putchr ();
|
|
|
|
public void putstr ();
|
|
|
|
public void get_return ();
|
|
|
|
public void error ();
|
|
|
|
public void ierror ();
|
|
|
|
public int query ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public int compile_pattern ();
|
|
|
|
public void uncompile_pattern ();
|
|
|
|
public int is_null_pattern ();
|
|
|
|
public int match_pattern ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public POSITION position ();
|
|
|
|
public void add_forw_pos ();
|
|
|
|
public void add_back_pos ();
|
|
|
|
public void pos_clear ();
|
|
|
|
public void pos_init ();
|
|
|
|
public int onscreen ();
|
|
|
|
public int empty_screen ();
|
|
|
|
public int empty_lines ();
|
|
|
|
public void get_scrpos ();
|
|
|
|
public int adjsline ();
|
|
|
|
public void init_prompt ();
|
|
|
|
public char * pr_expand ();
|
|
|
|
public char * eq_message ();
|
|
|
|
public char * pr_string ();
|
|
|
|
public char * wait_message ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public void init_search ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public void repaint_hilite ();
|
|
|
|
public void clear_attn ();
|
|
|
|
public void undo_search ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public void clr_hlist ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public void clr_hilite ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public void clr_filter ();
|
|
|
|
public int is_filtered ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public int is_hilited ();
|
|
|
|
public void chg_caseless ();
|
|
|
|
public void chg_hilite ();
|
|
|
|
public int search ();
|
|
|
|
public void prep_hilite ();
|
2013-12-03 11:35:03 +01:00
|
|
|
public void set_filter_pattern ();
|
|
|
|
public int is_filtering ();
|
2010-06-26 03:41:19 +02:00
|
|
|
public RETSIGTYPE winch ();
|
|
|
|
public RETSIGTYPE winch ();
|
|
|
|
public void init_signals ();
|
|
|
|
public void psignals ();
|
|
|
|
public void cleantags ();
|
|
|
|
public int gettagtype ();
|
|
|
|
public void findtag ();
|
|
|
|
public POSITION tagsearch ();
|
|
|
|
public char * nexttag ();
|
|
|
|
public char * prevtag ();
|
|
|
|
public int ntags ();
|
|
|
|
public int curr_tag ();
|
|
|
|
public int edit_tagfile ();
|
|
|
|
public void open_getchr ();
|
|
|
|
public void close_getchr ();
|
|
|
|
public int getchr ();
|