3754d233f6f7f91a41821541c94662c296c1360f
[kai/samba-autobuild/.git] / source4 / librpc / idl / opendb.idl
1 #include "idl_types.h"
2
3 /*
4    IDL structures for opendb code
5
6    this defines the structures used in the opendb database code, in 
7    ntvfs/common/opendb.c
8 */
9
10 [
11   pointer_default(unique)
12 ]
13 interface opendb
14 {
15         typedef struct {
16                 uint32 server;
17                 uint32 stream_id;
18                 uint32 share_access;
19                 uint32 access_mask;
20                 pointer file_handle;
21                 /* we need a per-entry delete on close, as well as a per-file
22                    one, to cope with strange semantics on open */
23                 bool8 delete_on_close;
24         } opendb_entry;
25
26         typedef struct {
27                 uint32 server;
28                 pointer notify_ptr;
29         } opendb_pending;
30
31         typedef [public] struct {
32                 bool8 delete_on_close;
33                 utf8string path;
34                 uint32 num_entries;
35                 opendb_entry entries[num_entries];
36                 uint32 num_pending;
37                 opendb_pending pending[num_pending];
38         } opendb_file;
39 }