]>
Commit | Line | Data |
---|---|---|
64bd8a83 CF |
1 | /* path.h |
2 | ||
64bd8a83 CF |
3 | This file is part of Cygwin. |
4 | ||
5 | This software is a copyrighted work licensed under the terms of the | |
6 | Cygwin license. Please consult the file "CYGWIN_LICENSE" for | |
7 | details. */ | |
8 | ||
1e497ebd CV |
9 | struct mnt_t |
10 | { | |
11 | char *native; | |
12 | char *posix; | |
13 | unsigned flags; | |
14 | }; | |
15 | ||
229f2bb4 | 16 | char *cygpath (const char *s, ...); |
60efa4e5 | 17 | char *cygpath_rel (const char *cwd, const char *s, ...); |
cea9b621 CV |
18 | bool is_exe (HANDLE); |
19 | bool is_symlink (HANDLE); | |
37f4fea0 | 20 | bool readlink (HANDLE, char *, size_t); |
cea9b621 CV |
21 | int get_word (HANDLE, int); |
22 | int get_dword (HANDLE, int); | |
1e497ebd CV |
23 | bool from_fstab_line (mnt_t *m, char *line, bool user); |
24 | ||
cbf8fe6d | 25 | #ifndef TESTSUITE |
1e497ebd CV |
26 | extern mnt_t mount_table[255]; |
27 | extern int max_mount_entry; | |
0d0f0641 | 28 | #endif |
cea9b621 | 29 | |
1e497ebd | 30 | #ifndef SYMLINK_MAX |
60efa4e5 | 31 | #define SYMLINK_MAX 4095 /* PATH_MAX - 1 */ |
1e497ebd | 32 | #endif |