14bff34e3Sthurlow# CDDL HEADER START
24bff34e3Sthurlow#
34bff34e3Sthurlow# The contents of this file are subject to the terms of the
44bff34e3Sthurlow# Common Development and Distribution License (the "License").
54bff34e3Sthurlow# You may not use this file except in compliance with the License.
64bff34e3Sthurlow#
74bff34e3Sthurlow# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
84bff34e3Sthurlow# or http://www.opensolaris.org/os/licensing.
94bff34e3Sthurlow# See the License for the specific language governing permissions
104bff34e3Sthurlow# and limitations under the License.
114bff34e3Sthurlow#
124bff34e3Sthurlow# When distributing Covered Code, include this CDDL HEADER in each
134bff34e3Sthurlow# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
144bff34e3Sthurlow# If applicable, add the following below this CDDL HEADER, with the
154bff34e3Sthurlow# fields enclosed by brackets "[]" replaced with your own identifying
164bff34e3Sthurlow# information: Portions Copyright [yyyy] [name of copyright owner]
174bff34e3Sthurlow#
184bff34e3Sthurlow# CDDL HEADER END
194bff34e3Sthurlow#
204bff34e3Sthurlow#
21cd3e9333SAli Bahrami# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
2240c0e231SGordon Ross# Copyright 2018 Nexenta Systems, Inc.	All rights reserved.
234bff34e3Sthurlow#
244bff34e3Sthurlow
25bfed486aSAli Bahrami#
26bfed486aSAli Bahrami# MAPFILE HEADER START
27bfed486aSAli Bahrami#
28bfed486aSAli Bahrami# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
29bfed486aSAli Bahrami# Object versioning must comply with the rules detailed in
30bfed486aSAli Bahrami#
31bfed486aSAli Bahrami#	usr/src/lib/README.mapfiles
32bfed486aSAli Bahrami#
33bfed486aSAli Bahrami# You should not be making modifications here until you've read the most current
34bfed486aSAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance.
35bfed486aSAli Bahrami#
36bfed486aSAli Bahrami# MAPFILE HEADER END
37bfed486aSAli Bahrami#
38bfed486aSAli Bahrami
398329232eSGordon Ross#
408329232eSGordon Ross# Note that several things in here are NODIRECT so that the
418329232eSGordon Ross# "fksmbcl" development tool can provide its own versions.
428329232eSGordon Ross#
438329232eSGordon Ross
44cd3e9333SAli Bahrami$mapfile_version 2
45cd3e9333SAli Bahrami
46cd3e9333SAli BahramiSYMBOL_VERSION SUNWprivate {
474bff34e3Sthurlow    global:
489c9af259SGordon Ross	convert_leunicode_to_utf8;
499c9af259SGordon Ross	convert_unicode_to_utf8;
509c9af259SGordon Ross	convert_utf8_to_leunicode;
519c9af259SGordon Ross	convert_utf8_to_unicode;
529c9af259SGordon Ross	convert_utf8_to_wincs;
539c9af259SGordon Ross	convert_wincs_to_utf8;
549c9af259SGordon Ross
554bff34e3Sthurlow	nb_ctx_create;
564bff34e3Sthurlow	nb_ctx_done;
574bff34e3Sthurlow	nb_ctx_readrcsection;
584bff34e3Sthurlow	nb_ctx_resolve;
594bff34e3Sthurlow	nb_ctx_setns;
604bff34e3Sthurlow	nb_resolvehost_in;
619c9af259SGordon Ross	nb_strerror;
624bff34e3Sthurlow	nbns_getnodestatus;
634bff34e3Sthurlow	nbns_resolvename;
649c9af259SGordon Ross
659c9af259SGordon Ross	nls_str_toloc;
664bff34e3Sthurlow	nls_str_upper;
679c9af259SGordon Ross
68*8222814eSRichard Lowe	nsmb_close		{ FLAGS = NODIRECT; };
69*8222814eSRichard Lowe	nsmb_ioctl		{ FLAGS = NODIRECT; };
708329232eSGordon Ross
71adee6784SGordon Ross	smb_cf_minauth_from_str;
72adee6784SGordon Ross	smb_cf_version_from_str;
73adee6784SGordon Ross
74613a2f6bSGordon Ross	smb_close_rcfile;
759c9af259SGordon Ross
76613a2f6bSGordon Ross	smb_ctx_alloc;
774bff34e3Sthurlow	smb_ctx_done;
78a6d10110SGordon Ross	smb_ctx_findvc;
794bff34e3Sthurlow	smb_ctx_flags2;
80613a2f6bSGordon Ross	smb_ctx_free;
81613a2f6bSGordon Ross	smb_ctx_get_ssn;
82613a2f6bSGordon Ross	smb_ctx_get_tree;
83613a2f6bSGordon Ross	smb_ctx_gethandle;
844bff34e3Sthurlow	smb_ctx_init;
85613a2f6bSGordon Ross	smb_ctx_kill;
86*8222814eSRichard Lowe	smb_ctx_newvc		{ FLAGS = NODIRECT; };
874bff34e3Sthurlow	smb_ctx_opt;
88613a2f6bSGordon Ross	smb_ctx_parseunc;
894bff34e3Sthurlow	smb_ctx_readrc;
904bff34e3Sthurlow	smb_ctx_resolve;
91613a2f6bSGordon Ross	smb_ctx_scan_argv;
929c9af259SGordon Ross	smb_ctx_set_close_hook;
939c9af259SGordon Ross
94613a2f6bSGordon Ross	smb_ctx_setauthflags;
95613a2f6bSGordon Ross	smb_ctx_setdomain;
969c9af259SGordon Ross	smb_ctx_setfullserver;
97adee6784SGordon Ross	smb_ctx_setminver;
98adee6784SGordon Ross	smb_ctx_setmaxver;
998eb99b82SGordon Ross	smb_ctx_setnbflags;
1009c9af259SGordon Ross	smb_ctx_setpassword;
101613a2f6bSGordon Ross	smb_ctx_setpwhash;
102613a2f6bSGordon Ross	smb_ctx_setscope;
1039c9af259SGordon Ross	smb_ctx_setserver;
1044bff34e3Sthurlow	smb_ctx_setshare;
1058eb99b82SGordon Ross	smb_ctx_setsigning;
1069c9af259SGordon Ross	smb_ctx_setsrvaddr;
1079c9af259SGordon Ross	smb_ctx_setuser;
108613a2f6bSGordon Ross	smb_ctx_setwins;
1099c9af259SGordon Ross
110*8222814eSRichard Lowe	smb_debug		{
111*8222814eSRichard Lowe				  ASSERT = {
112*8222814eSRichard Lowe					  TYPE = OBJECT;
113*8222814eSRichard Lowe					  SIZE = 4;
114*8222814eSRichard Lowe					};
115*8222814eSRichard Lowe				  FLAGS = NODIRECT;
116*8222814eSRichard Lowe				};
1174bff34e3Sthurlow	smb_error;
1189c9af259SGordon Ross	#
1199c9af259SGordon Ross	# Functions to support named pipes
1209c9af259SGordon Ross	smb_fh_close;
121430b4c46SGordon Ross	smb_fh_getssnkey;
1229c9af259SGordon Ross	smb_fh_open;
1239c9af259SGordon Ross	smb_fh_read;
1249c9af259SGordon Ross	smb_fh_write;
1259c9af259SGordon Ross	smb_fh_xactnp;
1269c9af259SGordon Ross	#
127613a2f6bSGordon Ross	smb_get_authentication;
1284bff34e3Sthurlow	smb_getprogname;
129613a2f6bSGordon Ross	smb_iod_connect;
130613a2f6bSGordon Ross	smb_iod_door_path;
131*8222814eSRichard Lowe	smb_iod_open_door	{ FLAGS = NODIRECT; };
132*8222814eSRichard Lowe	smb_iod_start		{ FLAGS = NODIRECT; };
133613a2f6bSGordon Ross	smb_iod_work;
1344bff34e3Sthurlow	smb_lib_init;
135*8222814eSRichard Lowe	smb_open_driver		{ FLAGS = NODIRECT; };
136430b4c46SGordon Ross	smb_open_printer;
1374bff34e3Sthurlow	smb_open_rcfile;
1384bff34e3Sthurlow	smb_simplecrypt;
1394bff34e3Sthurlow	smb_simpledecrypt;
1404bff34e3Sthurlow	smb_strerror;
141*8222814eSRichard Lowe	smb_verbose		{
142*8222814eSRichard Lowe				  ASSERT = {
143*8222814eSRichard Lowe					  TYPE = OBJECT;
144*8222814eSRichard Lowe					  SIZE = 4;
145*8222814eSRichard Lowe					};
146*8222814eSRichard Lowe				  FLAGS = NODIRECT;
147*8222814eSRichard Lowe				};
1489c9af259SGordon Ross	#
1499c9af259SGordon Ross	# Functions to support Access Control Lists (ACLs)
1507568150aSgwr	smbfs_acl_free_sd;
1517568150aSgwr	smbfs_acl_get;
1527568150aSgwr	smbfs_acl_getsd;
1537568150aSgwr	smbfs_acl_print_sd;
1547568150aSgwr	smbfs_acl_sd2zfs;
1557568150aSgwr	smbfs_acl_set;
1567568150aSgwr	smbfs_acl_setsd;
1577568150aSgwr	smbfs_acl_zfs2sd;
1589c9af259SGordon Ross	#
1594bff34e3Sthurlow	smbfs_default_dom_usr;
1604bff34e3Sthurlow	smbfs_keychain_add;
161430b4c46SGordon Ross	smbfs_keychain_addhash;
1624bff34e3Sthurlow	smbfs_keychain_chk;
1634bff34e3Sthurlow	smbfs_keychain_del;
1644bff34e3Sthurlow	smbfs_keychain_del_everyone;
1654bff34e3Sthurlow	smbfs_keychain_del_owner;
1669c9af259SGordon Ross
167430b4c46SGordon Ross	smbfs_set_default_domain;
168430b4c46SGordon Ross	smbfs_set_default_user;
169430b4c46SGordon Ross
170*8222814eSRichard Lowe	smbutil_std_opts	{
171*8222814eSRichard Lowe				  ASSERT = {
172*8222814eSRichard Lowe					  TYPE = OBJECT;
173*8222814eSRichard Lowe					  SIZE = 29;
174*8222814eSRichard Lowe					};
175*8222814eSRichard Lowe				};
17612b65585SGordon Ross
17712b65585SGordon Ross	spnegoCreateNegTokenHint;
17812b65585SGordon Ross	spnegoCreateNegTokenInit;
17912b65585SGordon Ross	spnegoCreateNegTokenTarg;
18012b65585SGordon Ross	spnegoFreeData;
18112b65585SGordon Ross	spnegoGetContextFlags;
18212b65585SGordon Ross	spnegoGetMechListMIC;
18312b65585SGordon Ross	spnegoGetMechToken;
18412b65585SGordon Ross	spnegoGetNegotiationResult;
18512b65585SGordon Ross	spnegoGetSupportedMechType;
18612b65585SGordon Ross	spnegoGetTokenType;
18712b65585SGordon Ross	spnegoInitFromBinary;
18812b65585SGordon Ross	spnegoIsMechTypeAvailable;
18912b65585SGordon Ross	spnegoTokenGetBinary;
1904bff34e3Sthurlow    local:
1914bff34e3Sthurlow	*;
1924bff34e3Sthurlow};
193