param: rename szPrintcapName -> printcap_name
[Samba.git] / librpc / idl / smb2_lease_struct.idl
blob5ccd8a3f62181c8c72c66bfb1ad8fb486811ac10
1 #include "idl_types.h"
3 /*
4 miscellaneous IDL structures
5 */
8 pointer_default(unique)
10 interface smb2_lease_struct
13 * SMB2 lease structure (per MS-SMB2 2.2.13)
15 typedef [public] struct {
16 hyper data[2];
17 } smb2_lease_key;
19 typedef [public,bitmap32bit] bitmap {
20 SMB2_LEASE_READ = 0x01,
21 SMB2_LEASE_HANDLE = 0x02,
22 SMB2_LEASE_WRITE = 0x04
23 } smb2_lease_state;
25 typedef [public] struct {
26 smb2_lease_key lease_key;
27 smb2_lease_state lease_state;
28 uint32 lease_flags;
29 hyper lease_duration; /* should be 0 */
30 smb2_lease_key parent_lease_key;
31 uint16 lease_version;
32 uint16 lease_epoch;
33 } smb2_lease;