Mercurial > vim
annotate src/proto/os_win32.pro @ 7545:4c922651fd78 v7.4.1073
commit https://github.com/vim/vim/commit/28fb79db6b52d1154e8dc63d227673648c2fce15
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 9 22:28:33 2016 +0100
patch 7.4.1073
Problem: Alloc_id depends on numbers, may use the same one twice. It's not
clear from the number what it's for.
Solution: Use an enum. Add a function to lookup the enum value from the
name.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 09 Jan 2016 22:30:04 +0100 |
parents | 1420ccc9f610 |
children | 4456fa2d22e8 |
rev | line source |
---|---|
7 | 1 /* os_win32.c */ |
2612 | 2 HINSTANCE vimLoadLib __ARGS((char *name)); |
1125 | 3 int dyn_libintl_init __ARGS((char *libname)); |
4 void dyn_libintl_end __ARGS((void)); | |
5 void PlatformId __ARGS((void)); | |
6 int mch_windows95 __ARGS((void)); | |
7 void mch_setmouse __ARGS((int on)); | |
8 void mch_update_cursor __ARGS((void)); | |
9 int mch_char_avail __ARGS((void)); | |
10 int mch_inchar __ARGS((char_u *buf, int maxlen, long time, int tb_change_cnt)); | |
11 void mch_init __ARGS((void)); | |
12 void mch_exit __ARGS((int r)); | |
13 int mch_check_win __ARGS((int argc, char **argv)); | |
14 void fname_case __ARGS((char_u *name, int len)); | |
15 int mch_get_user_name __ARGS((char_u *s, int len)); | |
16 void mch_get_host_name __ARGS((char_u *s, int len)); | |
17 long mch_get_pid __ARGS((void)); | |
18 int mch_dirname __ARGS((char_u *buf, int len)); | |
19 long mch_getperm __ARGS((char_u *name)); | |
20 int mch_setperm __ARGS((char_u *name, long perm)); | |
21 void mch_hide __ARGS((char_u *name)); | |
7224
42bf8902d4da
commit https://github.com/vim/vim/commit/cd1c55f706c2f9b8310b8a9fc1f8226c7fd19372
Christian Brabandt <cb@256bit.org>
parents:
6695
diff
changeset
|
22 int mch_ishidden __ARGS((char_u *name)); |
1125 | 23 int mch_isdir __ARGS((char_u *name)); |
2803 | 24 int mch_mkdir __ARGS((char_u *name)); |
4872
fa98c2b030ed
updated for version 7.3.1182
Bram Moolenaar <bram@vim.org>
parents:
3929
diff
changeset
|
25 int mch_is_hard_link __ARGS((char_u *fname)); |
fa98c2b030ed
updated for version 7.3.1182
Bram Moolenaar <bram@vim.org>
parents:
3929
diff
changeset
|
26 int mch_is_symbolic_link __ARGS((char_u *fname)); |
1125 | 27 int mch_is_linked __ARGS((char_u *fname)); |
3929 | 28 int win32_fileinfo __ARGS((char_u *fname, BY_HANDLE_FILE_INFORMATION *info)); |
1125 | 29 int mch_writable __ARGS((char_u *name)); |
6695 | 30 int mch_can_exe __ARGS((char_u *name, char_u **path, int use_path)); |
1125 | 31 int mch_nodetype __ARGS((char_u *name)); |
32 vim_acl_T mch_get_acl __ARGS((char_u *fname)); | |
33 void mch_set_acl __ARGS((char_u *fname, vim_acl_T acl)); | |
34 void mch_free_acl __ARGS((vim_acl_T acl)); | |
35 void mch_settmode __ARGS((int tmode)); | |
36 int mch_get_shellsize __ARGS((void)); | |
37 void mch_set_shellsize __ARGS((void)); | |
38 void mch_new_shellsize __ARGS((void)); | |
39 void mch_set_winsize_now __ARGS((void)); | |
40 int mch_call_shell __ARGS((char_u *cmd, int options)); | |
41 void mch_set_normal_colors __ARGS((void)); | |
42 void mch_write __ARGS((char_u *s, int len)); | |
43 void mch_delay __ARGS((long msec, int ignoreinput)); | |
44 int mch_remove __ARGS((char_u *name)); | |
45 void mch_breakcheck __ARGS((void)); | |
7460
1420ccc9f610
commit https://github.com/vim/vim/commit/ee2739787f1e996739541bb60e6003b892497e03
Christian Brabandt <cb@256bit.org>
parents:
7224
diff
changeset
|
46 long_u mch_total_mem __ARGS((int special)); |
1125 | 47 int mch_wrename __ARGS((WCHAR *wold, WCHAR *wnew)); |
48 int mch_rename __ARGS((const char *pszOldFile, const char *pszNewFile)); | |
49 char *default_shell __ARGS((void)); | |
50 int mch_access __ARGS((char *n, int p)); | |
51 int mch_open __ARGS((char *name, int flags, int mode)); | |
52 FILE *mch_fopen __ARGS((char *name, char *mode)); | |
53 int mch_copy_file_attribute __ARGS((char_u *from, char_u *to)); | |
54 int myresetstkoflw __ARGS((void)); | |
55 int get_cmd_argsW __ARGS((char ***argvp)); | |
56 void free_cmd_argsW __ARGS((void)); | |
57 void used_file_arg __ARGS((char *name, int literal, int full_path, int diff_mode)); | |
58 void set_alist_count __ARGS((void)); | |
59 void fix_arg_enc __ARGS((void)); | |
7 | 60 /* vim: set ft=c : */ |