summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/irpc.idl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc/idl/irpc.idl')
-rw-r--r--source4/librpc/idl/irpc.idl30
1 files changed, 30 insertions, 0 deletions
diff --git a/source4/librpc/idl/irpc.idl b/source4/librpc/idl/irpc.idl
index c28f861bd7..4c4a8810fe 100644
--- a/source4/librpc/idl/irpc.idl
+++ b/source4/librpc/idl/irpc.idl
@@ -47,4 +47,34 @@
[out,switch_is(level)] nbtd_info info
);
+
+ /******************************************************
+ management calls for the smb server
+ ******************************************************/
+ typedef [v1_enum] enum {
+ SMBSRV_INFO_SESSIONS
+ } smbsrv_info_level;
+
+ typedef struct {
+ uint16 vuid;
+ astring account_name;
+ astring domain_name;
+ astring client_ip;
+ NTTIME connect_time;
+ } smbsrv_session_info;
+
+ typedef struct {
+ uint32 num_sessions;
+ [size_is(num_sessions)] smbsrv_session_info *sessions;
+ } smbsrv_sessions;
+
+ typedef union {
+ [case(SMBSRV_INFO_SESSIONS)] smbsrv_sessions sessions;
+ } smbsrv_info;
+
+ void smbsrv_information(
+ [in] smbsrv_info_level level,
+ [out,switch_is(level)] smbsrv_info info
+ );
+
}