aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os_unix.h
diff options
context:
space:
mode:
authorNicolas Hillegeer <nicolas@hillegeer.com>2014-07-12 14:28:58 +0200
committerNicolas Hillegeer <nicolas@hillegeer.com>2014-07-12 14:28:58 +0200
commit5d53c51fae483b9a4cbb3636932f7d753d67c384 (patch)
tree87486e0f97b4252a6eb954ace05c47465daa2dfe /src/nvim/os_unix.h
parent77db0b2bba97603e59614bb95d6eab76e42f9288 (diff)
parenta32df5e734460dfdf9bc85aebf5252d64fcb99f5 (diff)
downloadrneovim-5d53c51fae483b9a4cbb3636932f7d753d67c384.tar.gz
rneovim-5d53c51fae483b9a4cbb3636932f7d753d67c384.tar.bz2
rneovim-5d53c51fae483b9a4cbb3636932f7d753d67c384.zip
Merge #837 'Move defines from vim.h - phase2'
Diffstat (limited to 'src/nvim/os_unix.h')
-rw-r--r--src/nvim/os_unix.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/os_unix.h b/src/nvim/os_unix.h
index 3c2f1603b3..5610fe68eb 100644
--- a/src/nvim/os_unix.h
+++ b/src/nvim/os_unix.h
@@ -3,6 +3,12 @@
#include "nvim/os/shell.h"
+/* Values returned by mch_nodetype() */
+#define NODE_NORMAL 0 /* file or directory, check with os_isdir()*/
+#define NODE_WRITABLE 1 /* something we can write to (character
+ device, fifo, socket, ..) */
+#define NODE_OTHER 2 /* non-writable thing (e.g., block device) */
+
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "os_unix.h.generated.h"
#endif