Mercurial > vim
annotate src/proto/mbyte.pro @ 4935:8991454c0024
Added tag v7-3-1212 for changeset 81e623ff2e55
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 16 Jun 2013 16:57:46 +0200 |
parents | 43c15135926f |
children | 21b0a39d13ed |
rev | line source |
---|---|
7 | 1 /* mbyte.c */ |
1125 | 2 int enc_canon_props __ARGS((char_u *name)); |
3 char_u *mb_init __ARGS((void)); | |
4 int bomb_size __ARGS((void)); | |
3002 | 5 void remove_bom __ARGS((char_u *s)); |
1125 | 6 int mb_get_class __ARGS((char_u *p)); |
4069 | 7 int mb_get_class_buf __ARGS((char_u *p, buf_T *buf)); |
1125 | 8 int dbcs_class __ARGS((unsigned lead, unsigned trail)); |
9 int latin_char2len __ARGS((int c)); | |
10 int latin_char2bytes __ARGS((int c, char_u *buf)); | |
11 int latin_ptr2len __ARGS((char_u *p)); | |
1903 | 12 int latin_ptr2len_len __ARGS((char_u *p, int size)); |
1125 | 13 int utf_char2cells __ARGS((int c)); |
14 int latin_ptr2cells __ARGS((char_u *p)); | |
15 int utf_ptr2cells __ARGS((char_u *p)); | |
16 int dbcs_ptr2cells __ARGS((char_u *p)); | |
1903 | 17 int latin_ptr2cells_len __ARGS((char_u *p, int size)); |
1125 | 18 int latin_char2cells __ARGS((int c)); |
2338
da6ec32d8d8f
Added strwidth() and strchars() functions.
Bram Moolenaar <bram@vim.org>
parents:
2278
diff
changeset
|
19 int mb_string2cells __ARGS((char_u *p, int len)); |
1378 | 20 int latin_off2cells __ARGS((unsigned off, unsigned max_off)); |
21 int dbcs_off2cells __ARGS((unsigned off, unsigned max_off)); | |
22 int utf_off2cells __ARGS((unsigned off, unsigned max_off)); | |
1125 | 23 int latin_ptr2char __ARGS((char_u *p)); |
24 int utf_ptr2char __ARGS((char_u *p)); | |
25 int mb_ptr2char_adv __ARGS((char_u **pp)); | |
26 int mb_cptr2char_adv __ARGS((char_u **pp)); | |
27 int arabic_combine __ARGS((int one, int two)); | |
28 int arabic_maycombine __ARGS((int two)); | |
29 int utf_composinglike __ARGS((char_u *p1, char_u *p2)); | |
30 int utfc_ptr2char __ARGS((char_u *p, int *pcc)); | |
31 int utfc_ptr2char_len __ARGS((char_u *p, int *pcc, int maxlen)); | |
32 int utfc_char2bytes __ARGS((int off, char_u *buf)); | |
33 int utf_ptr2len __ARGS((char_u *p)); | |
34 int utf_byte2len __ARGS((int b)); | |
35 int utf_ptr2len_len __ARGS((char_u *p, int size)); | |
36 int utfc_ptr2len __ARGS((char_u *p)); | |
37 int utfc_ptr2len_len __ARGS((char_u *p, int size)); | |
38 int utf_char2len __ARGS((int c)); | |
39 int utf_char2bytes __ARGS((int c, char_u *buf)); | |
40 int utf_iscomposing __ARGS((int c)); | |
41 int utf_printable __ARGS((int c)); | |
42 int utf_class __ARGS((int c)); | |
43 int utf_fold __ARGS((int a)); | |
44 int utf_toupper __ARGS((int a)); | |
45 int utf_islower __ARGS((int a)); | |
46 int utf_tolower __ARGS((int a)); | |
47 int utf_isupper __ARGS((int a)); | |
48 int mb_strnicmp __ARGS((char_u *s1, char_u *s2, size_t nn)); | |
49 void show_utf8 __ARGS((void)); | |
50 int latin_head_off __ARGS((char_u *base, char_u *p)); | |
51 int dbcs_head_off __ARGS((char_u *base, char_u *p)); | |
52 int dbcs_screen_head_off __ARGS((char_u *base, char_u *p)); | |
53 int utf_head_off __ARGS((char_u *base, char_u *p)); | |
54 void mb_copy_char __ARGS((char_u **fp, char_u **tp)); | |
55 int mb_off_next __ARGS((char_u *base, char_u *p)); | |
56 int mb_tail_off __ARGS((char_u *base, char_u *p)); | |
57 void utf_find_illegal __ARGS((void)); | |
58 int utf_valid_string __ARGS((char_u *s, char_u *end)); | |
59 int dbcs_screen_tail_off __ARGS((char_u *base, char_u *p)); | |
60 void mb_adjust_cursor __ARGS((void)); | |
2933 | 61 void mb_adjustpos __ARGS((buf_T *buf, pos_T *lp)); |
1125 | 62 char_u *mb_prevptr __ARGS((char_u *line, char_u *p)); |
63 int mb_charlen __ARGS((char_u *str)); | |
64 int mb_charlen_len __ARGS((char_u *str, int len)); | |
65 char_u *mb_unescape __ARGS((char_u **pp)); | |
66 int mb_lefthalve __ARGS((int row, int col)); | |
67 int mb_fix_col __ARGS((int col, int row)); | |
68 char_u *enc_skip __ARGS((char_u *p)); | |
69 char_u *enc_canonize __ARGS((char_u *enc)); | |
70 char_u *enc_locale __ARGS((void)); | |
71 int encname2codepage __ARGS((char_u *name)); | |
72 void *my_iconv_open __ARGS((char_u *to, char_u *from)); | |
73 int iconv_enabled __ARGS((int verbose)); | |
74 void iconv_end __ARGS((void)); | |
75 void im_set_active __ARGS((int active)); | |
76 void xim_set_focus __ARGS((int focus)); | |
77 void im_set_position __ARGS((int row, int col)); | |
78 void xim_set_preedit __ARGS((void)); | |
2278
0b3be97064e5
Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents:
1903
diff
changeset
|
79 int im_get_feedback_attr __ARGS((int col)); |
1125 | 80 void xim_init __ARGS((void)); |
2278
0b3be97064e5
Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents:
1903
diff
changeset
|
81 void im_shutdown __ARGS((void)); |
0b3be97064e5
Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents:
1903
diff
changeset
|
82 int im_xim_isvalid_imactivate __ARGS((void)); |
1125 | 83 void xim_reset __ARGS((void)); |
84 int xim_queue_key_press_event __ARGS((GdkEventKey *event, int down)); | |
85 int im_get_status __ARGS((void)); | |
1668 | 86 int preedit_get_status __ARGS((void)); |
1125 | 87 int im_is_preediting __ARGS((void)); |
2278
0b3be97064e5
Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents:
1903
diff
changeset
|
88 void xim_set_status_area __ARGS((void)); |
0b3be97064e5
Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents:
1903
diff
changeset
|
89 int xim_get_status_area_height __ARGS((void)); |
1125 | 90 int convert_setup __ARGS((vimconv_T *vcp, char_u *from, char_u *to)); |
1903 | 91 int convert_setup_ext __ARGS((vimconv_T *vcp, char_u *from, int from_unicode_is_utf8, char_u *to, int to_unicode_is_utf8)); |
1125 | 92 int convert_input __ARGS((char_u *ptr, int len, int maxlen)); |
93 int convert_input_safe __ARGS((char_u *ptr, int len, int maxlen, char_u **restp, int *restlenp)); | |
94 char_u *string_convert __ARGS((vimconv_T *vcp, char_u *ptr, int *lenp)); | |
95 char_u *string_convert_ext __ARGS((vimconv_T *vcp, char_u *ptr, int *lenp, int *unconvlenp)); | |
7 | 96 /* vim: set ft=c : */ |