lib: Remove unused client_socket_addr()
[amitay/samba.git] / source3 / include / ntioctl.h
1 /* 
2    Unix SMB/CIFS implementation.
3    NT ioctl code constants
4    Copyright (C) Andrew Tridgell              2002
5
6    This program is free software; you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation; either version 3 of the License, or
9    (at your option) any later version.
10
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15
16    You should have received a copy of the GNU General Public License
17    along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef _NTIOCTL_H
21 #define _NTIOCTL_H
22
23 /* Sub-types for IO_REPARSE_TAG_NFS */
24 #define NFS_SPECFILE_LNK             0x00000000014B4E4C
25 #define NFS_SPECFILE_CHR             0x0000000000524843
26 #define NFS_SPECFILE_BLK             0x00000000004B4C42
27 #define NFS_SPECFILE_FIFO            0x000000004F464946
28 #define NFS_SPECFILE_SOCK            0x000000004B434F53
29
30 /* For FSCTL_GET_SHADOW_COPY_DATA ...*/
31 typedef char SHADOW_COPY_LABEL[25]; /* sizeof("@GMT-2004.02.18-15.44.00") + 1 */
32
33 struct shadow_copy_data {
34         /* Total number of shadow volumes currently mounted */
35         uint32_t num_volumes;
36         /* Concatenated list of labels */
37         SHADOW_COPY_LABEL *labels;
38 };
39
40
41 #endif /* _NTIOCTL_H */