1*7d815089SGordon Ross /* 2*7d815089SGordon Ross * CDDL HEADER START 3*7d815089SGordon Ross * 4*7d815089SGordon Ross * The contents of this file are subject to the terms of the 5*7d815089SGordon Ross * Common Development and Distribution License (the "License"). 6*7d815089SGordon Ross * You may not use this file except in compliance with the License. 7*7d815089SGordon Ross * 8*7d815089SGordon Ross * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*7d815089SGordon Ross * or http://www.opensolaris.org/os/licensing. 10*7d815089SGordon Ross * See the License for the specific language governing permissions 11*7d815089SGordon Ross * and limitations under the License. 12*7d815089SGordon Ross * 13*7d815089SGordon Ross * When distributing Covered Code, include this CDDL HEADER in each 14*7d815089SGordon Ross * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*7d815089SGordon Ross * If applicable, add the following below this CDDL HEADER, with the 16*7d815089SGordon Ross * fields enclosed by brackets "[]" replaced with your own identifying 17*7d815089SGordon Ross * information: Portions Copyright [yyyy] [name of copyright owner] 18*7d815089SGordon Ross * 19*7d815089SGordon Ross * CDDL HEADER END 20*7d815089SGordon Ross */ 21*7d815089SGordon Ross 22*7d815089SGordon Ross /* 23*7d815089SGordon Ross * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24*7d815089SGordon Ross * Use is subject to license terms. 25*7d815089SGordon Ross * 26*7d815089SGordon Ross * Copyright 2013 Nexenta Systems, Inc. All rights reserved. 27*7d815089SGordon Ross */ 28*7d815089SGordon Ross 29*7d815089SGordon Ross #ifndef _SRVSVC1_CLNT_H 30*7d815089SGordon Ross #define _SRVSVC1_CLNT_H 31*7d815089SGordon Ross 32*7d815089SGordon Ross /* 33*7d815089SGordon Ross * Excerpts from lib/smbsrv/libmlsvc 34*7d815089SGordon Ross * Just enough for share enumeration. 35*7d815089SGordon Ross */ 36*7d815089SGordon Ross 37*7d815089SGordon Ross #include <libmlrpc/libmlrpc.h> 38*7d815089SGordon Ross #include "srvsvc1.ndl" 39*7d815089SGordon Ross 40*7d815089SGordon Ross void srvsvc1_initialize(void); 41*7d815089SGordon Ross int srvsvc_net_share_enum(mlrpc_handle_t *handle, char *server, 42*7d815089SGordon Ross int level, union mslm_NetShareEnum_ru *resp); 43*7d815089SGordon Ross int srvsvc_net_server_getinfo(mlrpc_handle_t *handle, char *server, 44*7d815089SGordon Ross int level, union mslm_NetServerGetInfo_ru *resp); 45*7d815089SGordon Ross 46*7d815089SGordon Ross #endif /* _SRVSVC1_CLNT_H */ 47