1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_NCP_MOUNT_H
13 #define _LINUX_NCP_MOUNT_H
15 #include <linux/types.h>
16 #include <linux/ncp.h>
18 #define NCP_MOUNT_VERSION 3
20 #define NCP_MOUNT_SOFT 0x0001
21 #define NCP_MOUNT_INTR 0x0002
22 #define NCP_MOUNT_STRONG 0x0004
23 #define NCP_MOUNT_NO_OS2 0x0008
24 #define NCP_MOUNT_NO_NFS 0x0010
25 #define NCP_MOUNT_EXTRAS 0x0020
26 #define NCP_MOUNT_SYMLINKS 0x0040
27 #define NCP_MOUNT_NFS_EXTRAS 0x0080
29 struct ncp_mount_data {
32 __kernel_uid_t mounted_uid;
33 __kernel_pid_t wdog_pid;
35 unsigned char mounted_vol[NCP_VOLNAME_LEN + 1];
36 unsigned int time_out;
37 unsigned int retry_count;
42 __kernel_mode_t file_mode;
43 __kernel_mode_t dir_mode;
46 #define NCP_MOUNT_VERSION_V4 (4)
48 struct ncp_mount_data_v4 {
52 unsigned long mounted_uid;
57 unsigned int time_out;
58 unsigned int retry_count;
63 unsigned long file_mode;
64 unsigned long dir_mode;
67 #define NCP_MOUNT_VERSION_V5 (5)