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# 214bff34e3Sthurlow# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 224bff34e3Sthurlow# Use is subject to license terms. 234bff34e3Sthurlow# 244bff34e3Sthurlow 254bff34e3SthurlowSUNWprivate_1.0 { 264bff34e3Sthurlow global: 27*9c9af259SGordon Ross convert_leunicode_to_utf8; 28*9c9af259SGordon Ross convert_unicode_to_utf8; 29*9c9af259SGordon Ross convert_utf8_to_leunicode; 30*9c9af259SGordon Ross convert_utf8_to_unicode; 31*9c9af259SGordon Ross convert_utf8_to_wincs; 32*9c9af259SGordon Ross convert_wincs_to_utf8; 33*9c9af259SGordon Ross 344bff34e3Sthurlow nb_ctx_create; 354bff34e3Sthurlow nb_ctx_done; 364bff34e3Sthurlow nb_ctx_readrcsection; 374bff34e3Sthurlow nb_ctx_resolve; 384bff34e3Sthurlow nb_ctx_setns; 394bff34e3Sthurlow nb_resolvehost_in; 40*9c9af259SGordon Ross nb_strerror; 414bff34e3Sthurlow nbns_getnodestatus; 424bff34e3Sthurlow nbns_resolvename; 43*9c9af259SGordon Ross 44*9c9af259SGordon Ross nls_str_toloc; 454bff34e3Sthurlow nls_str_upper; 46*9c9af259SGordon Ross 474bff34e3Sthurlow rc_close; 484bff34e3Sthurlow rc_open; 49*9c9af259SGordon Ross 504bff34e3Sthurlow smb_ctx_done; 514bff34e3Sthurlow smb_ctx_flags2; 524bff34e3Sthurlow smb_ctx_init; 534bff34e3Sthurlow smb_ctx_lookup; 544bff34e3Sthurlow smb_ctx_opt; 554bff34e3Sthurlow smb_ctx_readrc; 564bff34e3Sthurlow smb_ctx_resolve; 57*9c9af259SGordon Ross smb_ctx_set_close_hook; 58*9c9af259SGordon Ross 59*9c9af259SGordon Ross smb_ctx_setfullserver; 60*9c9af259SGordon Ross smb_ctx_setpassword; 61*9c9af259SGordon Ross smb_ctx_setserver; 624bff34e3Sthurlow smb_ctx_setshare; 63*9c9af259SGordon Ross smb_ctx_setsrvaddr; 64*9c9af259SGordon Ross smb_ctx_setuser; 65*9c9af259SGordon Ross smb_ctx_setworkgroup; 66*9c9af259SGordon Ross 674bff34e3Sthurlow smb_ctx_tdis; 68*9c9af259SGordon Ross smb_debug = NODIRECT; # data 694bff34e3Sthurlow smb_error; 70*9c9af259SGordon Ross# 71*9c9af259SGordon Ross# Functions to support named pipes 72*9c9af259SGordon Ross smb_fh_close; 73*9c9af259SGordon Ross smb_fh_open; 74*9c9af259SGordon Ross smb_fh_read; 75*9c9af259SGordon Ross smb_fh_write; 76*9c9af259SGordon Ross smb_fh_xactnp; 77*9c9af259SGordon Ross# 784bff34e3Sthurlow smb_getprogname; 794bff34e3Sthurlow smb_lib_init; 80*9c9af259SGordon Ross smb_netshareenum; # will move to libnetapi 814bff34e3Sthurlow smb_open_rcfile; 824bff34e3Sthurlow smb_simplecrypt; 834bff34e3Sthurlow smb_simpledecrypt; 844bff34e3Sthurlow smb_strerror; 85*9c9af259SGordon Ross smb_rc = NODIRECT; # data 86*9c9af259SGordon Ross# 87*9c9af259SGordon Ross# Functions to support the Remote Access Protocol (RAP) 88*9c9af259SGordon Ross smb_rap_create; 89*9c9af259SGordon Ross smb_rap_done; 90*9c9af259SGordon Ross smb_rap_error; 91*9c9af259SGordon Ross smb_rap_getNparam; 92*9c9af259SGordon Ross smb_rap_request; 93*9c9af259SGordon Ross smb_rap_setNparam; 94*9c9af259SGordon Ross smb_rap_setPparam; 95*9c9af259SGordon Ross# 96*9c9af259SGordon Ross smb_verbose = NODIRECT; # data 97*9c9af259SGordon Ross# 98*9c9af259SGordon Ross# Functions to support Access Control Lists (ACLs) 997568150aSgwr smbfs_acl_free_sd; 1007568150aSgwr smbfs_acl_get; 1017568150aSgwr smbfs_acl_getsd; 1027568150aSgwr smbfs_acl_print_sd; 1037568150aSgwr smbfs_acl_sd2zfs; 1047568150aSgwr smbfs_acl_set; 1057568150aSgwr smbfs_acl_setsd; 1067568150aSgwr smbfs_acl_zfs2sd; 107*9c9af259SGordon Ross# 1084bff34e3Sthurlow smbfs_default_dom_usr; 1094bff34e3Sthurlow smbfs_keychain_add; 1104bff34e3Sthurlow smbfs_keychain_chk; 1114bff34e3Sthurlow smbfs_keychain_del; 1124bff34e3Sthurlow smbfs_keychain_del_everyone; 1134bff34e3Sthurlow smbfs_keychain_del_owner; 114*9c9af259SGordon Ross 1154bff34e3Sthurlow unpercent; 1164bff34e3Sthurlow local: 1174bff34e3Sthurlow *; 1184bff34e3Sthurlow}; 119