1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25#
26# Generic interface definition for usr/src/lib/storage/libg_fc.
27#
28# For information regarding the establishment of versioned definitions see:
29#       The Linker and Libraries Manual (version 2.5 or greater)
30# This is part of the Developers Guide in the Answerbook.  Specifically refer
31# to Chapter 2 under section "Defining Additional Symbols" through section
32# "Reducing Symbol Scope", and Chapter 5 "Versioning".
33#
34# For Sun's specific rules for the modification (evolution) of these version
35# definitions see:
36#    "Policy for Shared Library Version Names and Interface Definitions"
37#    in /shared/ON/general_docs/scoping_rules.ps
38#
39SUNW_2.0 {
40	global:
41		g_device_in_map;
42		g_free_multipath;
43		g_free_wwn_list;
44		g_get_dev_map;
45		g_get_lilp_map;
46		g_get_host_params;
47		g_get_fca_port_topology;
48		g_get_inquiry;
49		g_get_serial_number;
50		g_get_limited_map;
51		g_get_multipath;
52		g_get_nexus_path;
53		g_get_port_path;
54		g_get_port_state;
55		g_get_wwn;
56		g_get_wwn_list;
57		g_rdls;
58		g_dev_start;
59		g_dev_stop;
60		g_free_portlist;
61		g_force_lip;
62		g_forcelip_all;
63		g_offline_drive;
64		g_online_drive;
65		g_get_errString;
66		g_get_physical_name;
67		g_get_physical_name_from_link;
68		g_scsi_log_sense_cmd;
69		g_scsi_mode_sense_cmd;
70		g_scsi_read_capacity_cmd;
71		g_scsi_read_capacity_1016_cmd;
72		g_scsi_readbuffer_cmd;
73		g_scsi_rec_diag_cmd;
74		g_scsi_reset;
75		g_scsi_send_diag_cmd;
76		g_scsi_tur;
77		g_scsi_writebuffer_cmd;
78		g_switch_to_alpa;
79		g_sf_alpa_to_switch;
80		g_i18n_catopen;
81		g_port_offline;
82		g_port_online;
83		g_loopback_mode;
84		g_stms_path_enable;
85		g_stms_path_disable_all;
86		g_stms_path_enable_all;
87		g_stms_path_disable;
88		g_stms_get_path_state;
89		g_get_dev_list;
90		g_wwn_in_dev_list;
91		g_get_inq_dtype;
92		g_dev_login;
93		g_dev_logout;
94		g_reserve;
95		g_release;
96		g_start;
97		g_stop;
98		g_string_to_wwn;
99		g_ll_to_str;
100		g_get_port_multipath;
101		g_destroy_data;
102		g_dump;
103		g_object_open;
104		g_zalloc;
105		g_alloc_string;
106		g_scsi_mode_select_cmd;
107		g_scsi_inquiry_cmd;
108		g_scsi_persistent_reserve_in_cmd;
109		g_get_path_type;
110		l_catd;
111		g_get_lun_str;
112		g_get_lun_number;
113		g_get_pathlist;
114		g_get_pathcount;
115		g_failover;
116		g_sort_wwn_list;
117		g_devid_get;
118		g_devices_get_all;
119                g_dev_map_init;
120                g_dev_map_fini;
121                g_get_map_topology;
122                g_get_first_dev;
123                g_get_next_dev;
124                g_dev_prop_lookup_bytes;
125                g_dev_prop_lookup_ints;
126                g_dev_prop_lookup_strings;
127                g_get_first_dev_prop;
128                g_get_next_dev_prop;
129                g_get_dev_prop_name;
130                g_get_dev_prop_type;
131                g_get_dev_prop_bytes;
132                g_get_dev_prop_ints;
133                g_get_dev_prop_strings;
134		g_enclDiskChk;
135	local:
136		*;
137};
138