[GLUE] Rsync SAMBA_3_0 SVN r25598 in order to create the v3-0-test branch.
[Samba.git] / source / include / rpc_brs.h
blobcd0928d470f0bd7d1ad8199c437867e97b27f610
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 2 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, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 #ifndef _RPC_BRS_H /* _RPC_BRS_H */
23 #define _RPC_BRS_H
26 /* brssvc pipe */
27 #define BRS_QUERY_INFO 0x02
30 /* BRS_Q_QUERY_INFO - probably a capabilities request */
31 typedef struct q_brs_query_info_info
33 uint32 ptr_srv_name; /* pointer (to server name?) */
34 UNISTR2 uni_srv_name; /* unicode server name starting with '\\' */
36 uint16 switch_value1; /* info level 100 (0x64) */
37 /* align */
38 uint16 switch_value2; /* info level 100 (0x64) */
40 uint32 ptr;
41 uint32 pad1;
42 uint32 pad2;
44 } BRS_Q_QUERY_INFO;
47 /* BRS_INFO_100 - level 100 info */
48 typedef struct brs_info_100_info
50 uint32 pad1;
51 uint32 ptr2;
52 uint32 pad2;
53 uint32 pad3;
55 } BRS_INFO_100;
58 /* BRS_R_QUERY_INFO - probably a capabilities request */
59 typedef struct r_brs_query_info_info
61 uint16 switch_value1; /* 100 (0x64) - switch value */
62 /* align */
63 uint16 switch_value2; /* info level 100 (0x64) */
65 /* for now, only level 100 is supported. this should be an enum container */
66 uint32 ptr_1; /* pointer 1 */
68 union
70 BRS_INFO_100 *brs100; /* browser info level 100 */
71 void *id;
73 } info;
75 NTSTATUS status; /* return status */
77 } BRS_R_QUERY_INFO;
79 #endif /* _RPC_BRS_H */