s3-smbd: Added a become_user_by_session() function.
[Samba.git] / librpc / idl / browser.idl
blob94d4ce6b62afd98ec96bbd6fd83f136969fd9e50
1 import "srvsvc.idl";
4 uuid("6bffd098-a112-3610-9833-012892020162"),
5 version(0.0),
6 helpstring("Browsing"),
7 pointer_default(unique),
8 endpoint("ncacn_np:[\\pipe\\browser]", "ncacn_ip_tcp:", "ncalrpc:")
9 ]
10 interface browser
12 /******************/
13 /* Function 0x00 */
14 [todo] void BrowserrServerEnum();
16 /******************/
17 /* Function 0x01 */
18 [todo] void BrowserrDebugCall();
20 /******************/
21 /* Function 0x02 */
23 typedef struct {
24 uint32 entries_read;
25 [size_is(entries_read)] srvsvc_NetSrvInfo100 *entries;
26 } BrowserrSrvInfo100Ctr;
28 typedef struct {
29 uint32 entries_read;
30 [size_is(entries_read)] srvsvc_NetSrvInfo101 *entries;
31 } BrowserrSrvInfo101Ctr;
33 typedef [switch_type(uint32)] union {
34 [case(100)] BrowserrSrvInfo100Ctr *info100;
35 [case(101)] BrowserrSrvInfo101Ctr *info101;
36 [default] ;
37 } BrowserrSrvInfoUnion;
39 typedef struct {
40 uint32 level;
41 [switch_is(level)] BrowserrSrvInfoUnion info;
42 } BrowserrSrvInfo;
44 WERROR BrowserrQueryOtherDomains(
45 [in,unique] [string,charset(UTF16)] uint16 *server_unc,
46 [in,out,ref] BrowserrSrvInfo *info,
47 [out,ref] uint32 *total_entries
50 /******************/
51 /* Function 0x03 */
52 [todo] void BrowserrResetNetlogonState();
54 /******************/
55 /* Function 0x04 */
56 [todo] void BrowserrDebugTrace();
58 /******************/
59 /* Function 0x05 */
60 [todo] void BrowserrQueryStatistics();
62 /******************/
63 /* Function 0x06 */
64 [todo] void BrowserResetStatistics();
66 /******************/
67 /* Function 0x07 */
68 [todo] void NetrBrowserStatisticsClear();
70 /******************/
71 /* Function 0x08 */
72 [todo] void NetrBrowserStatisticsGet();
74 /******************/
75 /* Function 0x09 */
76 [todo] void BrowserrSetNetlogonState();
78 /******************/
79 /* Function 0x0a */
80 [todo] void BrowserrQueryEmulatedDomains();
82 /******************/
83 /* Function 0x0b */
84 [todo] void BrowserrServerEnumEx();