00001 /* 00002 Unix SMB/CIFS implementation. 00003 SMB parameters and setup 00004 Copyright (C) Andrew Tridgell 1992-1999 00005 Copyright (C) Luke Kenneth Casson Leighton 1996-1999 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by 00009 the Free Software Foundation; either version 2 of the License, or 00010 (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program; if not, write to the Free Software 00019 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00020 */ 00021 00022 #ifndef _RPC_BRS_H /* _RPC_BRS_H */ 00023 #define _RPC_BRS_H 00024 00025 00026 /* brssvc pipe */ 00027 #define BRS_QUERY_INFO 0x02 00028 00029 00030 /* BRS_Q_QUERY_INFO - probably a capabilities request */ 00031 typedef struct q_brs_query_info_info 00032 { 00033 uint32 ptr_srv_name; /* pointer (to server name?) */ 00034 UNISTR2 uni_srv_name; /* unicode server name starting with '\\' */ 00035 00036 uint16 switch_value1; /* info level 100 (0x64) */ 00037 /* align */ 00038 uint16 switch_value2; /* info level 100 (0x64) */ 00039 00040 uint32 ptr; 00041 uint32 pad1; 00042 uint32 pad2; 00043 00044 } BRS_Q_QUERY_INFO; 00045 00046 00047 /* BRS_INFO_100 - level 100 info */ 00048 typedef struct brs_info_100_info 00049 { 00050 uint32 pad1; 00051 uint32 ptr2; 00052 uint32 pad2; 00053 uint32 pad3; 00054 00055 } BRS_INFO_100; 00056 00057 00058 /* BRS_R_QUERY_INFO - probably a capabilities request */ 00059 typedef struct r_brs_query_info_info 00060 { 00061 uint16 switch_value1; /* 100 (0x64) - switch value */ 00062 /* align */ 00063 uint16 switch_value2; /* info level 100 (0x64) */ 00064 00065 /* for now, only level 100 is supported. this should be an enum container */ 00066 uint32 ptr_1; /* pointer 1 */ 00067 00068 union 00069 { 00070 BRS_INFO_100 *brs100; /* browser info level 100 */ 00071 void *id; 00072 00073 } info; 00074 00075 NTSTATUS status; /* return status */ 00076 00077 } BRS_R_QUERY_INFO; 00078 00079 #endif /* _RPC_BRS_H */ 00080
1.4.7