12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22 /*
23 * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
24 * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
25 * Copyright (c) 2016 by Delphix. All rights reserved.
26 */
27
28 #ifndef _SMB_SHARE_H
29 #define _SMB_SHARE_H
30
31 #include <sys/param.h>
32 #include <smbsrv/string.h>
33 #include <smbsrv/smb_inet.h>
34 #include <smbsrv/hash_table.h>
35 #include <smbsrv/wintypes.h>
36 #include <smb/lmerr.h>
37
38 #if !defined(_KERNEL) && !defined(_FAKE_KERNEL)
39 #include <libshare.h>
40 #endif
41
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45
46 #define SMB_CVOL "/var/smb/cvol"
47 #define SMB_SYSROOT SMB_CVOL "/windows"
48 #define SMB_SYSTEM32 SMB_SYSROOT "/system32"
49 #define SMB_VSS SMB_SYSTEM32 "/vss"
50
51 /* Exported named pipes are in... */
52 #define SMB_PIPE_DIR "/var/smb/pipe"
53
54 /*
55 * Share Properties:
56 *
|
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22 /*
23 * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
24 * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
25 * Copyright (c) 2016 by Delphix. All rights reserved.
26 */
27
28 #ifndef _SMB_SHARE_H
29 #define _SMB_SHARE_H
30
31 #include <sys/param.h>
32 #include <smb/lmerr.h>
33 #include <smb/wintypes.h>
34 #include <smbsrv/string.h>
35 #include <smbsrv/smb_inet.h>
36 #include <smbsrv/hash_table.h>
37
38 #if !defined(_KERNEL) && !defined(_FAKE_KERNEL)
39 #include <libshare.h>
40 #endif
41
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45
46 #define SMB_CVOL "/var/smb/cvol"
47 #define SMB_SYSROOT SMB_CVOL "/windows"
48 #define SMB_SYSTEM32 SMB_SYSROOT "/system32"
49 #define SMB_VSS SMB_SYSTEM32 "/vss"
50
51 /* Exported named pipes are in... */
52 #define SMB_PIPE_DIR "/var/smb/pipe"
53
54 /*
55 * Share Properties:
56 *
|