1/* 2 Unix SMB/CIFS implementation. 3 SMB parameters and setup 4 Copyright (C) Andrew Tridgell 1992-1997 5 Copyright (C) Luke Kenneth Casson Leighton 1996-1997 6 Copyright (C) Paul Ashton 1997 7 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. 12 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. 17 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. 21*/ 22 23#ifndef _RPC_WKS_H /* _RPC_WKS_H */ 24#define _RPC_WKS_H 25 26 27/* wkssvc pipe */ 28#define WKS_QUERY_INFO 0x00 29 30 31/* WKS_Q_QUERY_INFO - probably a capabilities request */ 32typedef struct q_wks_query_info_info 33{ 34 uint32 ptr_srv_name; /* pointer (to server name?) */ 35 UNISTR2 uni_srv_name; /* unicode server name starting with '\\' */ 36 37 uint16 switch_value; /* info level 100 (0x64) */ 38 39} WKS_Q_QUERY_INFO; 40 41 42/* WKS_INFO_100 - level 100 info */ 43typedef struct wks_info_100_info 44{ 45 uint32 platform_id; /* 0x0000 01f4 - unknown */ 46 uint32 ptr_compname; /* pointer to server name */ 47 uint32 ptr_lan_grp ; /* pointer to domain name */ 48 uint32 ver_major; /* 4 - unknown */ 49 uint32 ver_minor; /* 0 - unknown */ 50 51 UNISTR2 uni_compname; /* unicode server name */ 52 UNISTR2 uni_lan_grp ; /* unicode domain name */ 53 54} WKS_INFO_100; 55 56 57/* WKS_R_QUERY_INFO - probably a capabilities request */ 58typedef struct r_wks_query_info_info 59{ 60 uint16 switch_value; /* 100 (0x64) - switch value */ 61 62 /* for now, only level 100 is supported. this should be an enum container */ 63 uint32 ptr_1; /* pointer 1 */ 64 WKS_INFO_100 *wks100; /* workstation info level 100 */ 65 66 NTSTATUS status; /* return status */ 67 68} WKS_R_QUERY_INFO; 69 70 71#endif /* _RPC_WKS_H */ 72 73