smbd.h revision 29bd28862cfb8abbd3a0f0a4b17e08bbc3652836
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * CDDL HEADER START
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * The contents of this file are subject to the terms of the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * Common Development and Distribution License (the "License").
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * You may not use this file except in compliance with the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * See the License for the specific language governing permissions
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * and limitations under the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * When distributing Covered Code, include this CDDL HEADER in each
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * If applicable, add the following below this CDDL HEADER, with the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * fields enclosed by brackets "[]" replaced with your own identifying
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * information: Portions Copyright [yyyy] [name of copyright owner]
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * CDDL HEADER END
89dc44ce9705974a8bc4a39f1e878a0491a5be61jose borrego * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw * Use is subject to license terms.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwextern "C" {
3db3f65c6274eb042354801a308c8e9bc4994553amwextern int smbd_opipe_dsrv_start(void);
3db3f65c6274eb042354801a308c8e9bc4994553amwextern void smbd_opipe_dsrv_stop(void);
3ad684d66b78e06edd37e2c4fd3b3949f095194bjbextern int smb_share_dsrv_start(void);
3ad684d66b78e06edd37e2c4fd3b3949f095194bjbextern void smb_share_dsrv_stop(void);
8d7e41661dc4633488e93b13363137523ce59977jose borregoextern int smbd_locate_dc_start(void);
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwextern smb_token_t *smbd_user_auth_logon(netr_client_t *);
8d7e41661dc4633488e93b13363137523ce59977jose borregoextern void smbd_set_secmode(int);
6d57f8333dfc689618aaf2efe76a8066de053841Alan Wrightextern int smbd_vss_get_count(const char *, uint32_t *);
6d57f8333dfc689618aaf2efe76a8066de053841Alan Wrightextern void smbd_vss_get_snapshots(const char *, uint32_t, uint32_t *,
6d57f8333dfc689618aaf2efe76a8066de053841Alan Wrightextern int smbd_vss_map_gmttoken(const char *, char *, char *);
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwtypedef struct smbd {
8d7e41661dc4633488e93b13363137523ce59977jose borrego boolean_t s_shutting_down; /* shutdown control */
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#endif /* _SMBD_H */