blob: 9fae4063f4cddd98b346d1771eea121dbeef7418 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* charset.c */
2int init_chartab __ARGS((void));
3int buf_init_chartab __ARGS((buf_T *buf, int global));
4void trans_characters __ARGS((char_u *buf, int bufsize));
5char_u *transstr __ARGS((char_u *s));
Bram Moolenaar281bdce2005-01-25 21:53:18 +00006char_u *str_foldcase __ARGS((char_u *str, int orglen, char_u *buf, int buflen));
Bram Moolenaar071d4272004-06-13 20:20:40 +00007char_u *transchar __ARGS((int c));
8char_u *transchar_byte __ARGS((int c));
9void transchar_nonprint __ARGS((char_u *buf, int c));
10void transchar_hex __ARGS((char_u *buf, int c));
11int byte2cells __ARGS((int b));
12int char2cells __ARGS((int c));
13int ptr2cells __ARGS((char_u *p));
14int vim_strsize __ARGS((char_u *s));
15int vim_strnsize __ARGS((char_u *s, int len));
16int chartabsize __ARGS((char_u *p, colnr_T col));
17int linetabsize __ARGS((char_u *s));
18int win_linetabsize __ARGS((win_T *wp, char_u *p, colnr_T len));
19int vim_isIDc __ARGS((int c));
20int vim_iswordc __ARGS((int c));
21int vim_iswordp __ARGS((char_u *p));
22int vim_iswordc_buf __ARGS((char_u *p, buf_T *buf));
Bram Moolenaarfc735152005-03-22 22:54:12 +000023void init_spell_chartab __ARGS((void));
Bram Moolenaar8fef2ad2005-04-23 20:42:23 +000024int set_spell_chartab __ARGS((char_u *fol, char_u *low, char_u *upp));
25int set_spell_charflags __ARGS((char_u *flags, int cnt, char_u *upp));
26void write_spell_chartab __ARGS((FILE *fd));
Bram Moolenaarfc735152005-03-22 22:54:12 +000027int spell_iswordc __ARGS((char_u *p));
Bram Moolenaar8fef2ad2005-04-23 20:42:23 +000028int spell_isupper __ARGS((int c));
29int spell_casefold __ARGS((char_u *p, int len, char_u *buf, int buflen));
Bram Moolenaar071d4272004-06-13 20:20:40 +000030int vim_isfilec __ARGS((int c));
31int vim_isprintc __ARGS((int c));
32int vim_isprintc_strict __ARGS((int c));
33int lbr_chartabsize __ARGS((unsigned char *s, colnr_T col));
34int lbr_chartabsize_adv __ARGS((char_u **s, colnr_T col));
35int win_lbr_chartabsize __ARGS((win_T *wp, char_u *s, colnr_T col, int *headp));
36int in_win_border __ARGS((win_T *wp, colnr_T vcol));
37void getvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end));
38colnr_T getvcol_nolist __ARGS((pos_T *posp));
39void getvvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end));
40void getvcols __ARGS((win_T *wp, pos_T *pos1, pos_T *pos2, colnr_T *left, colnr_T *right));
41char_u *skipwhite __ARGS((char_u *p));
42char_u *skipdigits __ARGS((char_u *p));
Bram Moolenaar51485f02005-06-04 21:55:20 +000043char_u *skiphex __ARGS((char_u *p));
Bram Moolenaar8b044b32005-05-31 22:05:58 +000044char_u *skiptodigit __ARGS((char_u *p));
45char_u *skiptohex __ARGS((char_u *p));
Bram Moolenaar071d4272004-06-13 20:20:40 +000046int vim_isdigit __ARGS((int c));
47int vim_isxdigit __ARGS((int c));
48char_u *skiptowhite __ARGS((char_u *p));
49char_u *skiptowhite_esc __ARGS((char_u *p));
50long getdigits __ARGS((char_u **pp));
51int vim_isblankline __ARGS((char_u *lbuf));
52void vim_str2nr __ARGS((char_u *start, int *hexp, int *len, int dooct, int dohex, long *nptr, unsigned long *unptr));
53int hex2nr __ARGS((int c));
54int hexhex2nr __ARGS((char_u *p));
55int rem_backslash __ARGS((char_u *str));
56void backslash_halve __ARGS((char_u *p));
57char_u *backslash_halve_save __ARGS((char_u *p));
58void ebcdic2ascii __ARGS((char_u *buffer, int len));
59/* vim: set ft=c : */