smb_ioctl.h revision 29bd28862cfb8abbd3a0f0a4b17e08bbc3652836
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SMB_IOCTL_H_
#define _SMB_IOCTL_H_
#ifdef __cplusplus
extern "C" {
#endif
typedef struct smb_ioc_header {
int cmd;
typedef struct {
typedef struct smb_ioc_share {
char path[MAXPATHLEN];
char name[MAXNAMELEN];
typedef struct smb_ioc_listen {
int error;
typedef struct smb_ioc_start {
int opipe;
int lmshrd;
int udoor;
typedef struct smb_ioc_usernum {
typedef struct smb_ioc_ulist {
typedef struct smb_ioc_cfg {
char nbdomain[NETBIOS_NAME_SZ];
char fqdn[SMB_PI_MAX_DOMAIN];
char hostname[SMB_PI_MAX_HOST];
char system_comment[SMB_PI_MAX_COMMENT];
typedef union smb_ioc {
} smb_ioc_t;
#ifdef __cplusplus
}
#endif
#endif /* _SMB_IOCTL_H_ */