2 void conv_init(SCR
*, SCR
*);
3 int conv_enc(SCR
*, int, char *);
5 int cut(SCR
*, CHAR_T
*, MARK
*, MARK
*, int);
6 int cut_line(SCR
*, recno_t
, size_t, size_t, CB
*);
8 TEXT
*text_init(SCR
*, const CHAR_T
*, size_t, size_t);
9 void text_lfree(TEXTH
*);
10 void text_free(TEXT
*);
11 int del(SCR
*, MARK
*, MARK
*, int);
12 int looks_utf8(const char *, size_t);
13 int looks_utf16(const char *, size_t);
14 int decode_utf8(const char *);
15 int decode_utf16(const char *, int);
16 FREF
*file_add(SCR
*, char *);
17 int file_init(SCR
*, FREF
*, char *, int);
18 int file_end(SCR
*, EXF
*, int);
19 int file_write(SCR
*, MARK
*, MARK
*, char *, int);
20 int file_m1(SCR
*, int, int);
21 int file_m2(SCR
*, int);
22 int file_m3(SCR
*, int);
23 int file_aw(SCR
*, int);
24 void set_alt_name(SCR
*, char *);
25 lockr_t
file_lock(SCR
*, char *, int, int);
26 int v_key_init(SCR
*);
27 void v_key_ilookup(SCR
*);
28 size_t v_key_len(SCR
*, ARG_CHAR_T
);
29 char *v_key_name(SCR
*, ARG_CHAR_T
);
30 e_key_t
v_key_val(SCR
*, ARG_CHAR_T
);
31 int v_event_push(SCR
*, EVENT
*, CHAR_T
*, size_t, u_int
);
32 int v_event_get(SCR
*, EVENT
*, int, u_int32_t
);
33 void v_event_err(SCR
*, EVENT
*);
34 int v_event_flush(SCR
*, u_int
);
35 int db_eget(SCR
*, recno_t
, CHAR_T
**, size_t *, int *);
36 int db_get(SCR
*, recno_t
, u_int32_t
, CHAR_T
**, size_t *);
37 int db_delete(SCR
*, recno_t
);
38 int db_append(SCR
*, int, recno_t
, CHAR_T
*, size_t);
39 int db_insert(SCR
*, recno_t
, CHAR_T
*, size_t);
40 int db_set(SCR
*, recno_t
, CHAR_T
*, size_t);
41 int db_exist(SCR
*, recno_t
);
42 int db_last(SCR
*, recno_t
*);
43 int db_rget(SCR
*, recno_t
, char **, size_t *);
44 int db_rset(SCR
*, recno_t
, char *, size_t);
45 void db_err(SCR
*, recno_t
);
46 int log_init(SCR
*, EXF
*);
47 int log_end(SCR
*, EXF
*);
48 int log_cursor(SCR
*);
49 int log_line(SCR
*, recno_t
, u_int
);
50 int log_mark(SCR
*, LMARK
*);
51 int log_backward(SCR
*, MARK
*);
52 int log_setline(SCR
*);
53 int log_forward(SCR
*, MARK
*);
54 int editor(GS
*, int, char *[]);
56 int mark_init(SCR
*, EXF
*);
57 int mark_end(SCR
*, EXF
*);
58 int mark_get(SCR
*, ARG_CHAR_T
, MARK
*, mtype_t
);
59 int mark_set(SCR
*, ARG_CHAR_T
, MARK
*, int);
60 int mark_insdel(SCR
*, lnop_t
, recno_t
);
61 void msgq(SCR
*, mtype_t
, const char *, ...);
62 void msgq_wstr(SCR
*, mtype_t
, const CHAR_T
*, const char *);
63 void msgq_str(SCR
*, mtype_t
, const char *, const char *);
65 void msgq_status(SCR
*, recno_t
, u_int
);
66 int msg_open(SCR
*, char *);
68 const char *msg_cmsg(SCR
*, cmsg_t
, size_t *);
69 const char *msg_cat(SCR
*, const char *, size_t *);
70 char *msg_print(SCR
*, const char *, int *);
71 int opts_init(SCR
*, int *);
72 int opts_set(SCR
*, ARGS
*[], char *);
73 int o_set(SCR
*, int, u_int
, char *, u_long
);
74 int opts_empty(SCR
*, int, int);
75 void opts_dump(SCR
*, enum optdisp
);
76 int opts_save(SCR
*, FILE *);
77 OPTLIST
const *opts_search(CHAR_T
*);
78 void opts_nomatch(SCR
*, CHAR_T
*);
79 int opts_copy(SCR
*, SCR
*);
80 void opts_free(SCR
*);
81 int f_altwerase(SCR
*, OPTION
*, char *, u_long
*);
82 int f_columns(SCR
*, OPTION
*, char *, u_long
*);
83 int f_lines(SCR
*, OPTION
*, char *, u_long
*);
84 int f_lisp(SCR
*, OPTION
*, char *, u_long
*);
85 int f_msgcat(SCR
*, OPTION
*, char *, u_long
*);
86 int f_print(SCR
*, OPTION
*, char *, u_long
*);
87 int f_readonly(SCR
*, OPTION
*, char *, u_long
*);
88 int f_recompile(SCR
*, OPTION
*, char *, u_long
*);
89 int f_reformat(SCR
*, OPTION
*, char *, u_long
*);
90 int f_ttywerase(SCR
*, OPTION
*, char *, u_long
*);
91 int f_w300(SCR
*, OPTION
*, char *, u_long
*);
92 int f_w1200(SCR
*, OPTION
*, char *, u_long
*);
93 int f_w9600(SCR
*, OPTION
*, char *, u_long
*);
94 int f_window(SCR
*, OPTION
*, char *, u_long
*);
95 int f_encoding(SCR
*, OPTION
*, char *, u_long
*);
96 int put(SCR
*, CB
*, CHAR_T
*, MARK
*, MARK
*, int);
97 int rcv_tmp(SCR
*, EXF
*, char *);
99 int rcv_sync(SCR
*, u_int
);
101 int rcv_read(SCR
*, FREF
*);
102 int screen_init(GS
*, SCR
*, SCR
**);
103 int screen_end(SCR
*);
104 SCR
*screen_next(SCR
*);
106 MARK
*, MARK
*, CHAR_T
*, size_t, CHAR_T
**, u_int
);
108 MARK
*, MARK
*, CHAR_T
*, size_t, CHAR_T
**, u_int
);
109 void search_busy(SCR
*, busy_t
);
110 int seq_set(SCR
*, CHAR_T
*,
111 size_t, CHAR_T
*, size_t, CHAR_T
*, size_t, seq_t
, int);
112 int seq_delete(SCR
*, CHAR_T
*, size_t, seq_t
);
115 (SCR
*, SEQ
**, EVENT
*, CHAR_T
*, size_t, seq_t
, int *);
116 void seq_close(GS
*);
117 int seq_dump(SCR
*, seq_t
, int);
118 int seq_save(SCR
*, FILE *, char *, seq_t
);
119 int e_memcmp(CHAR_T
*, EVENT
*, size_t);
120 void *binc(SCR
*, void *, size_t *, size_t);
121 int nonblank(SCR
*, recno_t
, size_t *);
123 char *join(char *, char *);
124 char *expanduser(char *);
126 char *v_strdup(SCR
*, const char *, size_t);
127 CHAR_T
*v_wstrdup(SCR
*, const CHAR_T
*, size_t);
128 enum nresult
nget_uslong(u_long
*, const CHAR_T
*, CHAR_T
**, int);
129 enum nresult
nget_slong(long *, const CHAR_T
*, CHAR_T
**, int);
130 void timepoint_steady(struct timespec
*);
131 void timepoint_system(struct timespec
*);
132 void TRACE(SCR
*, const char *, ...);