1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/librpc/idl/smb3posix.idl
Volker Lendecke 8107aafb40 idl: Add smb3posix.idl
Let PIDL take care of encoding SMB2_FILE_POSIX_INFORMATION. This way
we also get parsing.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2023-10-04 20:31:36 +00:00

37 lines
647 B
Plaintext

#include "idl_types.h"
/*
IDL for smb311 unix structures
*/
import "security.idl";
[
version(0.0),
pointer_default(unique)
]
interface smb3posix
{
typedef [public,flag(NDR_NOALIGN)] struct {
uint32 nlinks;
uint32 reparse_tag;
uint32 posix_perms;
dom_sid owner;
dom_sid group;
} smb3_posix_cc_info;
typedef [public,flag(NDR_NOALIGN)] struct {
NTTIME creation_time;
NTTIME last_access_time;
NTTIME last_write_time;
NTTIME change_time;
hyper end_of_file;
hyper allocation_size;
uint32 file_attributes;
hyper inode;
uint32 device;
uint32 reserved;
smb3_posix_cc_info cc;
} smb3_file_posix_information;
}