6e623e9320
Bump GPLv2+ to GPLv3+ for some files, clarify BSD 2-clause. Everything else stays under GPLv3+. New Linking Exception exempts resulting executables from LGPLv3 section 4. Add CONTRIBUTORS file to keep track of licensing. Remove 'Copyright Red Hat Inc' comments. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
31 lines
676 B
C
31 lines
676 B
C
/* path.h
|
|
|
|
This file is part of Cygwin.
|
|
|
|
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);
|
|
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
|