diff options
Diffstat (limited to 'winsup/utils/path.h')
-rw-r--r-- | winsup/utils/path.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/winsup/utils/path.h b/winsup/utils/path.h index 48739df74..a5c77ef58 100644 --- a/winsup/utils/path.h +++ b/winsup/utils/path.h @@ -1,6 +1,6 @@ /* path.h - Copyright 2001, 2002, 2003 Red Hat, Inc. + Copyright 2001, 2002, 2003, 2006, 2008, 2009 Red Hat, Inc. This file is part of Cygwin. @@ -8,6 +8,13 @@ This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */ +struct mnt_t +{ + char *native; + char *posix; + unsigned flags; +}; + char *cygpath (const char *s, ...); char *cygpath_rel (const char *cwd, const char *s, ...); bool is_exe (HANDLE); @@ -15,5 +22,11 @@ bool is_symlink (HANDLE); bool readlink (HANDLE, char *, int); int get_word (HANDLE, int); int get_dword (HANDLE, int); +bool from_fstab_line (mnt_t *m, char *line, bool user); + +extern mnt_t mount_table[255]; +extern int max_mount_entry; +#ifndef SYMLINK_MAX #define SYMLINK_MAX 4095 /* PATH_MAX - 1 */ +#endif |