summaryrefslogtreecommitdiffstats
path: root/source3/librpc/idl/leases_db.idl
blob: bdb875defe3c729e712e96fbf5edc917af2f8529 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "idl_types.h"

import "misc.idl";
import "smb2_lease_struct.idl";
import "file_id.idl";

[
	pointer_default(unique)
]
interface leases_db
{
	typedef [public] struct {
		GUID client_guid;
		smb2_lease_key lease_key;
	} leases_db_key;

	typedef [public] struct {
		file_id id;
		[string,charset(UTF8)] char *servicepath;
		[string,charset(UTF8)] char *base_name;
		[string,charset(UTF8)] char *stream_name;
	} leases_db_file;

	typedef [public] struct {
		uint32 num_file_ids;
		[size_is(num_file_ids)] file_id ids[];
		[string,charset(UTF8)] char *filename;
		[string,charset(UTF8)] char *stream_name;
	} leases_db_value;
}