blob: 061fc9c3c0cd41037af9dd490416866309571cd9 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
2 ****************************************************************************
3 ***
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.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _LINUX_NCP_MOUNT_H
20#define _LINUX_NCP_MOUNT_H
21#include <linux/types.h>
22#include <linux/ncp.h>
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define NCP_MOUNT_VERSION 3
25#define NCP_MOUNT_SOFT 0x0001
26#define NCP_MOUNT_INTR 0x0002
27#define NCP_MOUNT_STRONG 0x0004
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define NCP_MOUNT_NO_OS2 0x0008
30#define NCP_MOUNT_NO_NFS 0x0010
31#define NCP_MOUNT_EXTRAS 0x0020
32#define NCP_MOUNT_SYMLINKS 0x0040
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#define NCP_MOUNT_NFS_EXTRAS 0x0080
35struct ncp_mount_data {
Tao Baod7db5942015-01-28 10:07:51 -080036 int version;
37 unsigned int ncp_fd;
Ben Cheng655a7c02013-10-16 16:09:24 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 __kernel_uid_t mounted_uid;
40 __kernel_pid_t wdog_pid;
41 unsigned char mounted_vol[NCP_VOLNAME_LEN + 1];
42 unsigned int time_out;
Ben Cheng655a7c02013-10-16 16:09:24 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 unsigned int retry_count;
45 unsigned int flags;
46 __kernel_uid_t uid;
47 __kernel_gid_t gid;
Ben Cheng655a7c02013-10-16 16:09:24 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080049 __kernel_mode_t file_mode;
50 __kernel_mode_t dir_mode;
Ben Cheng655a7c02013-10-16 16:09:24 -070051};
52#define NCP_MOUNT_VERSION_V4 (4)
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54struct ncp_mount_data_v4 {
Tao Baod7db5942015-01-28 10:07:51 -080055 int version;
56 unsigned long flags;
57 unsigned long mounted_uid;
Ben Cheng655a7c02013-10-16 16:09:24 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080059 long wdog_pid;
60 unsigned int ncp_fd;
61 unsigned int time_out;
62 unsigned int retry_count;
Ben Cheng655a7c02013-10-16 16:09:24 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080064 unsigned long uid;
65 unsigned long gid;
66 unsigned long file_mode;
67 unsigned long dir_mode;
Ben Cheng655a7c02013-10-16 16:09:24 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69};
70#define NCP_MOUNT_VERSION_V5 (5)
71#endif