From a32fe0f293fb86d69f3f7001daac2614adfb6b98 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 19 Jul 2005 04:26:58 +0000 Subject: r8577: added management calls to list current tree connects (This used to be commit 658befc1e4df44bee1f365a730951001f0f36640) --- source4/librpc/idl/irpc.idl | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'source4/librpc/idl') 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( -- cgit