preparing for release of alpha.0.0
[Samba.git] / source / include / rpc_brs.h
blob36d89ec151cf8eb54ac8370b7b0f1632315ad782
1 /*
2 Unix SMB/Netbios implementation.
3 Version 1.9.
4 SMB parameters and setup
5 Copyright (C) Andrew Tridgell 1992-1999
6 Copyright (C) Luke Kenneth Casson Leighton 1996-1999
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 #ifndef _RPC_BRS_H /* _RPC_BRS_H */
24 #define _RPC_BRS_H
27 /* brssvc pipe */
28 #define BRS_QUERY_INFO 0x02
31 /* BRS_Q_QUERY_INFO - probably a capabilities request */
32 typedef struct q_brs_query_info_info
34 uint32 ptr_srv_name; /* pointer (to server name?) */
35 UNISTR2 uni_srv_name; /* unicode server name starting with '\\' */
37 uint16 switch_value1; /* info level 100 (0x64) */
38 /* align */
39 uint16 switch_value2; /* info level 100 (0x64) */
41 uint32 ptr;
42 uint32 pad1;
43 uint32 pad2;
45 } BRS_Q_QUERY_INFO;
48 /* BRS_INFO_100 - level 100 info */
49 typedef struct brs_info_100_info
51 uint32 pad1;
52 uint32 ptr2;
53 uint32 pad2;
54 uint32 pad3;
56 } BRS_INFO_100;
59 /* BRS_R_QUERY_INFO - probably a capabilities request */
60 typedef struct r_brs_query_info_info
62 uint16 switch_value1; /* 100 (0x64) - switch value */
63 /* align */
64 uint16 switch_value2; /* info level 100 (0x64) */
66 /* for now, only level 100 is supported. this should be an enum container */
67 uint32 ptr_1; /* pointer 1 */
69 union
71 BRS_INFO_100 *brs100; /* browser info level 100 */
72 void *id;
74 } info;
76 uint32 status; /* return status */
78 } BRS_R_QUERY_INFO;
80 #endif /* _RPC_BRS_H */