s3: Remove unnecessary ()
[Samba.git] / source4 / librpc / idl / opendb.idl
blobb76992960afd13a47e6a80c48016d35dea698031
1 #include "idl_types.h"
3 /*
4 IDL structures for opendb code
6 this defines the structures used in the opendb database code, in
7 ntvfs/common/opendb.c
8 */
10 import "server_id.idl";
13 pointer_default(unique)
15 interface opendb
17 typedef struct {
18 server_id server;
19 uint32 stream_id;
20 uint32 share_access;
21 uint32 access_mask;
22 pointer file_handle;
23 pointer fd;
24 /* we need a per-entry delete on close, as well as a per-file
25 one, to cope with strange semantics on open */
26 boolean8 delete_on_close;
27 boolean8 allow_level_II_oplock;
28 uint32 oplock_level;
29 } opendb_entry;
31 typedef struct {
32 server_id server;
33 pointer notify_ptr;
34 } opendb_pending;
36 typedef [public] struct {
37 boolean8 delete_on_close;
38 NTTIME open_write_time;
39 NTTIME changed_write_time;
40 utf8string path;
41 uint32 num_entries;
42 opendb_entry entries[num_entries];
43 uint32 num_pending;
44 opendb_pending pending[num_pending];
45 } opendb_file;