Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/nfs.cc')
-rw-r--r--winsup/cygwin/nfs.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/winsup/cygwin/nfs.cc b/winsup/cygwin/nfs.cc
new file mode 100644
index 000000000..e2dc5928e
--- /dev/null
+++ b/winsup/cygwin/nfs.cc
@@ -0,0 +1,18 @@
+/* nfs.cc
+
+ Copyright 2008 Red Hat, Inc.
+
+This software is a copyrighted work licensed under the terms of the
+Cygwin license. Please consult the file "CYGWIN_LICENSE" for
+details. */
+
+#include "winsup.h"
+#include "sys/fcntl.h"
+#include "nfs.h"
+
+struct nfs_aol_ffei_t nfs_aol_ffei = { 0, 0, sizeof (NFS_ACT_ON_LINK) - 1, 0,
+ NFS_ACT_ON_LINK };
+
+uint32_t nfs_type_mapping[] = { 0, S_IFREG, S_IFDIR, S_IFBLK,
+ S_IFCHR, S_IFLNK, S_IFSOCK, S_IFIFO };
+