OSDN Git Service

Throughout drop allow_ntsec and allow_smbntsec handling.
[pf3gnuchains/pf3gnuchains4x.git] / winsup / cygwin / include / sys / mount.h
1 /* sys/mount.h
2
3    Copyright 1998, 1999, 2000, 2001 Red Hat, Inc.
4
5 This file is part of Cygwin.
6
7 This software is a copyrighted work licensed under the terms of the
8 Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
9 details. */
10
11 #ifndef _SYS_MOUNT_H
12 #define _SYS_MOUNT_H
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
18 enum
19 {
20   MOUNT_SYMLINK =       0x0001, /* "mount point" is a symlink */
21   MOUNT_BINARY =        0x0002, /* "binary" format read/writes */
22   MOUNT_SYSTEM =        0x0008, /* mount point came from system table */
23   MOUNT_EXEC   =        0x0010, /* Any file in the mounted directory gets 'x' bit */
24   MOUNT_CYGDRIVE   =    0x0020, /* mount point refers to cygdrive device mount */
25   MOUNT_CYGWIN_EXEC =   0x0040, /* file or directory is or contains a cygwin
26                                    executable */
27   MOUNT_MIXED   =       0x0080, /* reads are text, writes are binary
28                                    not yet implemented */
29   MOUNT_NOTEXEC =       0x0100, /* don't check files for executable magic */
30   MOUNT_DEVFS =         0x0200, /* /device "filesystem" */
31   MOUNT_PROC =          0x0400, /* /proc "filesystem" */
32   MOUNT_ENC =           0x0800, /* encode special characters */
33   MOUNT_RO =            0x1000, /* read-only "filesystem" */
34   MOUNT_NOACL =         0x2000  /* support reading/writing ACLs */
35 };
36
37 int mount (const char *, const char *, unsigned __flags);
38 int umount (const char *);
39 int cygwin_umount (const char *__path, unsigned __flags);
40
41 #ifdef __cplusplus
42 };
43 #endif
44
45 #endif /* _SYS_MOUNT_H */