From 654325de026a2ca5b76b8b40e576c959d8211fdc Mon Sep 17 00:00:00 2001 From: Ben Cheng Date: Wed, 7 Mar 2012 21:13:49 -0800 Subject: Update bionic kernel headers using update_all.py Change-Id: I9c377436e9bf158e7236b3b7dcebf3e79fa961de --- libc/kernel/common/linux/smb.h | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'libc/kernel/common/linux/smb.h') diff --git a/libc/kernel/common/linux/smb.h b/libc/kernel/common/linux/smb.h index 72c896711..68ec88b90 100644 --- a/libc/kernel/common/linux/smb.h +++ b/libc/kernel/common/linux/smb.h @@ -7,55 +7,60 @@ *** structures, and macros generated from the original header, and thus, *** contains no copyrightable information. *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** **************************************************************************** ****************************************************************************/ #ifndef _LINUX_SMB_H #define _LINUX_SMB_H - #include - enum smb_protocol { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ SMB_PROTOCOL_NONE, SMB_PROTOCOL_CORE, SMB_PROTOCOL_COREPLUS, SMB_PROTOCOL_LANMAN1, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ SMB_PROTOCOL_LANMAN2, SMB_PROTOCOL_NT1 }; - enum smb_case_hndl { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ SMB_CASE_DEFAULT, SMB_CASE_LOWER, SMB_CASE_UPPER }; - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct smb_dskattr { __u16 total; __u16 allocblocks; __u16 blocksize; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u16 free; }; - struct smb_conn_opt { - unsigned int fd; - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ enum smb_protocol protocol; enum smb_case_hndl case_handling; - __u32 max_xmit; __u16 server_uid; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u16 tid; - __u16 secmode; __u16 maxmux; __u16 maxvcs; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u16 rawmode; __u32 sesskey; - __u32 maxraw; __u32 capabilities; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __s16 serverzone; }; - #endif -- cgit v1.2.3