Add some additional libsmbclient test programs.
[Samba.git] / source3 / include / rpc_brs.h
blob62ee86050fbf135965df1ef84933cb73ea8d1dbd
1 /*
2 Unix SMB/CIFS implementation.
3 SMB parameters and setup
4 Copyright (C) Andrew Tridgell 1992-1999
5 Copyright (C) Luke Kenneth Casson Leighton 1996-1999
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef _RPC_BRS_H /* _RPC_BRS_H */
22 #define _RPC_BRS_H
25 /* brssvc pipe */
26 #define BRS_QUERY_INFO 0x02
29 /* BRS_Q_QUERY_INFO - probably a capabilities request */
30 typedef struct q_brs_query_info_info
32 uint32 ptr_srv_name; /* pointer (to server name?) */
33 UNISTR2 uni_srv_name; /* unicode server name starting with '\\' */
35 uint16 switch_value1; /* info level 100 (0x64) */
36 /* align */
37 uint16 switch_value2; /* info level 100 (0x64) */
39 uint32 ptr;
40 uint32 pad1;
41 uint32 pad2;
43 } BRS_Q_QUERY_INFO;
46 /* BRS_INFO_100 - level 100 info */
47 typedef struct brs_info_100_info
49 uint32 pad1;
50 uint32 ptr2;
51 uint32 pad2;
52 uint32 pad3;
54 } BRS_INFO_100;
57 /* BRS_R_QUERY_INFO - probably a capabilities request */
58 typedef struct r_brs_query_info_info
60 uint16 switch_value1; /* 100 (0x64) - switch value */
61 /* align */
62 uint16 switch_value2; /* info level 100 (0x64) */
64 /* for now, only level 100 is supported. this should be an enum container */
65 uint32 ptr_1; /* pointer 1 */
67 union
69 BRS_INFO_100 *brs100; /* browser info level 100 */
70 void *id;
72 } info;
74 NTSTATUS status; /* return status */
76 } BRS_R_QUERY_INFO;
78 #endif /* _RPC_BRS_H */