summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/irpc.idl16
1 files changed, 15 insertions, 1 deletions
diff --git a/source4/librpc/idl/irpc.idl b/source4/librpc/idl/irpc.idl
index 4c4a8810fe..3ecbc11d58 100644
--- a/source4/librpc/idl/irpc.idl
+++ b/source4/librpc/idl/irpc.idl
@@ -52,7 +52,8 @@
management calls for the smb server
******************************************************/
typedef [v1_enum] enum {
- SMBSRV_INFO_SESSIONS
+ SMBSRV_INFO_SESSIONS,
+ SMBSRV_INFO_TREES
} smbsrv_info_level;
typedef struct {
@@ -68,8 +69,21 @@
[size_is(num_sessions)] smbsrv_session_info *sessions;
} smbsrv_sessions;
+ typedef struct {
+ uint16 tid;
+ astring share_name;
+ astring client_ip;
+ NTTIME connect_time;
+ } smbsrv_tree_info;
+
+ typedef struct {
+ uint32 num_trees;
+ [size_is(num_trees)] smbsrv_tree_info *trees;
+ } smbsrv_trees;
+
typedef union {
[case(SMBSRV_INFO_SESSIONS)] smbsrv_sessions sessions;
+ [case(SMBSRV_INFO_TREES)] smbsrv_trees trees;
} smbsrv_info;
void smbsrv_information(