summaryrefslogtreecommitdiff
path: root/source3/include/rpc_srvsvc.h
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-06-01 01:02:04 +0000
committerJim McDonough <jmcd@samba.org>2002-06-01 01:02:04 +0000
commit4caf48a7005407e16fca7ea4414c4a00bddb7c85 (patch)
treebd781f973f9180e003c43d5b102b2551694b98b8 /source3/include/rpc_srvsvc.h
parent654273856863d861c8be7b46c39e68a81ea3807a (diff)
downloadsamba-4caf48a7005407e16fca7ea4414c4a00bddb7c85.tar.gz
samba-4caf48a7005407e16fca7ea4414c4a00bddb7c85.tar.bz2
samba-4caf48a7005407e16fca7ea4414c4a00bddb7c85.zip
Add rpc for file close, expand file enum to take username
(This used to be commit 4b18a94590a25882f06f88c3c7dd1a08bf990044)
Diffstat (limited to 'source3/include/rpc_srvsvc.h')
-rw-r--r--source3/include/rpc_srvsvc.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/source3/include/rpc_srvsvc.h b/source3/include/rpc_srvsvc.h
index 8dded72973..a41f9a686d 100644
--- a/source3/include/rpc_srvsvc.h
+++ b/source3/include/rpc_srvsvc.h
@@ -26,6 +26,7 @@
/* srvsvc pipe */
#define SRV_NET_CONN_ENUM 0x08
#define SRV_NET_FILE_ENUM 0x09
+#define SRV_NET_FILE_CLOSE 0x0b
#define SRV_NET_SESS_ENUM 0x0c
#define SRV_NET_SHARE_ADD 0x0e
#define SRV_NET_SHARE_ENUM_ALL 0x0f
@@ -648,6 +649,21 @@ typedef struct r_net_file_enum_info
} SRV_R_NET_FILE_ENUM;
+/* SRV_Q_NET_FILE_CLOSE */
+typedef struct q_net_file_close
+{
+ uint32 ptr_srv_name; /* pointer to server name */
+ UNISTR2 uni_srv_name; /* server name */
+
+ uint32 file_id;
+} SRV_Q_NET_FILE_CLOSE;
+
+/* SRV_R_NET_FILE_CLOSE */
+typedef struct r_net_file_close
+{
+ WERROR status; /* return status */
+} SRV_R_NET_FILE_CLOSE;
+
/* SRV_INFO_100 */
typedef struct srv_info_100_info
{