summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-11-24 10:01:57 +0100
committerJeremy Allison <jra@samba.org>2011-12-02 22:43:05 +0100
commit0c325463a28e4415bb019bb1c11b23a580c53704 (patch)
tree11a88c0a473f9b71d306a9663f5763085ede397e
parent27d95cc8a637a226a20eaac9da7c0dc4d8239f88 (diff)
downloadsamba-0c325463a28e4415bb019bb1c11b23a580c53704.tar.gz
samba-0c325463a28e4415bb019bb1c11b23a580c53704.tar.bz2
samba-0c325463a28e4415bb019bb1c11b23a580c53704.zip
s3: Add open_files.idl
-rw-r--r--source3/Makefile.in1
-rw-r--r--source3/librpc/idl/open_files.idl48
2 files changed, 49 insertions, 0 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 3531cec25c..8a5f94f079 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1637,6 +1637,7 @@ IDL_FILES = librpc/idl/messaging.idl \
librpc/idl/wbint.idl \
librpc/idl/perfcount.idl \
librpc/idl/secrets.idl \
+ librpc/idl/open_files.idl \
librpc/idl/libnet_join.idl
samba3-idl::
diff --git a/source3/librpc/idl/open_files.idl b/source3/librpc/idl/open_files.idl
new file mode 100644
index 0000000000..c6f1627185
--- /dev/null
+++ b/source3/librpc/idl/open_files.idl
@@ -0,0 +1,48 @@
+#include "idl_types.h"
+
+import "server_id.idl";
+import "security.idl";
+import "file_id.idl";
+
+[
+ pointer_default(unique)
+]
+
+interface open_files
+{
+ typedef [public] struct {
+ server_id pid;
+ hyper op_mid;
+ uint16 op_type;
+ uint32 access_mask;
+ uint32 share_access;
+ uint32 private_options;
+ timeval time;
+ file_id id;
+ udlong share_file_id;
+ uint32 uid;
+ uint16 flags;
+ uint32 name_hash;
+ } share_mode_entry;
+
+ typedef [public] struct {
+ uint32 name_hash;
+ security_unix_token *delete_token;
+ } delete_token;
+
+ typedef [public] struct {
+ [string,charset(UTF8)] char *servicepath;
+ [string,charset(UTF8)] char *base_name;
+ [string,charset(UTF8)] char *stream_name;
+ file_id id;
+ uint32 num_share_modes;
+ [size_is(num_share_modes)] share_mode_entry share_modes[];
+ uint32 num_delete_tokens;
+ [size_is(num_delete_tokens)] delete_token delete_tokens[];
+ timespec old_write_time;
+ timespec changed_write_time;
+ uint8 fresh;
+ uint8 modified;
+ [ignore] db_record *record;
+ } share_mode_lock;
+}