blob: ced47faf221f2e9f77f1d08f17fb4fa8d10050c9 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* os_mac.c */
2void mch_setmouse __ARGS((int on));
3
4void mch_windexit __ARGS((int r));
5int mch_check_win __ARGS((int argc, char **argv));
6int mch_input_isatty __ARGS((void));
7
8void fname_case __ARGS((char_u *name, int len));
9void mch_early_init __ARGS((void));
10void mch_exit __ARGS((int r));
11void mch_settitle __ARGS((char_u *title, char_u *icon));
12void mch_restore_title __ARGS((int which));
13
14int mch_get_user_name __ARGS((char_u *s, int len));
15void mch_get_host_name __ARGS((char_u *s, int len));
16long mch_get_pid __ARGS((void));
17
18int mch_dirname __ARGS((char_u *buf, int len));
19int mch_FullName __ARGS((char_u *fname, char_u *buf, int len, int force));
20int mch_isFullName __ARGS((char_u *fname));
21void slash_adjust __ARGS((char_u *p));
22long mch_getperm __ARGS((char_u *name));
23int mch_setperm __ARGS((char_u *name, long perm));
24void mch_hide __ARGS((char_u *name));
25int mch_isdir __ARGS((char_u *name));
26int mch_can_exe __ARGS((char_u *name));
27int mch_nodetype __ARGS((char_u *name));
28void mch_init __ARGS((void));
29void mch_settmode __ARGS((int raw));
30
31int mch_chdir __ARGS((char *p_name));
32#if defined(__MRC__) || defined(__SC__)
33int stat __ARGS((char *p, struct stat *p_st));
34#endif
35
36int mch_call_shell __ARGS((char_u *cmd, int options));
37int mch_has_wildcard __ARGS((char_u *s));
38int mch_expandpath __ARGS((struct growarray *gap, char_u *path, int flags));
39int mac_expandpath __ARGS((struct growarray *gap, char_u *path, int flags, short start_at, short as_full));
40/*int vim_chdir __ARGS((char *path));*/
41void mch_delay __ARGS((long msec, int ignoreinput));
42void mch_breakcheck __ARGS((void));
43long_u mch_avail_mem __ARGS((int special));
44int mch_screenmode __ARGS((char_u *arg));
45int mch_has_exp_wildcard __ARGS((char_u *p));
46
47void slash_n_colon_adjust __ARGS((char_u *buf));
48int mch_copy_file(char_u *from, char_u *to);
49
50int mch_has_resource_fork (char_u *file);
51int mch_copy_file_attribute(char_u *from, char_u *to);
52
53void mch_shellinit __ARGS((void));
54int mch_get_shellsize __ARGS((void));
55void mch_set_shellsize __ARGS((void));
56void mch_new_shellsize __ARGS((void));
57void mch_suspend __ARGS((void));
58int mch_can_restore_title __ARGS((void));
59int mch_can_restore_icon __ARGS((void));
60
61void slash_to_colon __ARGS((char_u *p));
62char_u *slash_to_colon_save __ARGS((char_u *p));
63
64/* vim: set ft=c : */