]>
git.proxmox.com Git - ceph.git/blob - ceph/src/include/win32/fs_compat.h
2 * Ceph - scalable distributed file system
4 * Copyright (C) 2021 SUSE LINUX GmbH
6 * This is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License version 2.1, as published by the Free Software
9 * Foundation. See file COPYING.
13 // Those definitions allow handling information coming from Ceph and should
14 // not be passed to Windows functions.
16 #define S_IFLNK 0120000
18 #define S_ISTYPE(m, TYPE) ((m & S_IFMT) == TYPE)
19 #define S_ISLNK(m) S_ISTYPE(m, S_IFLNK)
30 #define LOCK_WRITE 128
33 #define AT_SYMLINK_NOFOLLOW 0x100
34 #define AT_REMOVEDIR 0x200
36 #define MAXSYMLINKS 65000