summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-19 04:26:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:40 -0500
commita32fe0f293fb86d69f3f7001daac2614adfb6b98 (patch)
tree5f4477d2e4a04c2855ec1d1ce38aa704dc11ffb6 /source4/librpc/idl
parentf3d61cc61545605cb8ea07b21b07577ccde4e1e8 (diff)
downloadsamba-a32fe0f293fb86d69f3f7001daac2614adfb6b98.tar.gz
samba-a32fe0f293fb86d69f3f7001daac2614adfb6b98.tar.bz2
samba-a32fe0f293fb86d69f3f7001daac2614adfb6b98.zip
r8577: added management calls to list current tree connects
(This used to be commit 658befc1e4df44bee1f365a730951001f0f36640)
Diffstat (limited to 'source4/librpc/idl')
-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(