summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/rap.idl30
1 files changed, 30 insertions, 0 deletions
diff --git a/librpc/idl/rap.idl b/librpc/idl/rap.idl
index 6b7316938e..7e3698a054 100644
--- a/librpc/idl/rap.idl
+++ b/librpc/idl/rap.idl
@@ -907,6 +907,36 @@ interface rap
[out,switch_is(level)] rap_netuser_info info
);
+ typedef struct {
+ [relative_short] astring *ComputerName;
+ uint16 ComputerNameHigh;
+ [relative_short] astring *UserName;
+ uint16 UserNameHigh;
+ uint16 num_conns;
+ uint16 num_opens;
+ uint16 num_users;
+ uint32 sess_time;
+ uint32 idle_time;
+ uint32 user_flags;
+ [relative_short] astring *CliTypeName;
+ uint16 CliTypeNameHigh;
+ } rap_session_info_2;
+
+ typedef [public,nodiscriminant] union {
+ [case(2)] rap_session_info_2 info2;
+ } rap_session_info;
+
+ /* not documented in MS-RAP */
+ [public] void rap_NetSessionEnum(
+ [in] uint16 level,
+ [in] uint16 bufsize,
+ [out] rap_status status,
+ [out] uint16 convert,
+ [out] uint16 count,
+ [out] uint16 available,
+ [out,switch_is(level)] rap_session_info info[count]
+ );
+
/* Parameter description strings for RAP calls */
/* Names are defined name for RAP call with _REQ */
/* appended to end. */