xref: /illumos-gate/usr/src/lib/libscf/common/mapfile-vers (revision 8fff788790878e3c95666decd46960ecc74c1c69)
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 (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
23# Copyright 2020 Joyent, Inc.
24#
25
26#
27# MAPFILE HEADER START
28#
29# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
30# Object versioning must comply with the rules detailed in
31#
32#	usr/src/lib/README.mapfiles
33#
34# You should not be making modifications here until you've read the most current
35# copy of that file. If you need help, contact a gatekeeper for guidance.
36#
37# MAPFILE HEADER END
38#
39
40$mapfile_version 2
41
42SYMBOL_VERSION ILLUMOS_0.1 {
43    global:
44	smf_disable_instance_with_comment;
45} SUNW_1.2;
46
47SYMBOL_VERSION SUNW_1.2 {
48    global:
49        scf_count_ranges_destroy;
50	scf_int_ranges_destroy;
51	scf_string_to_type;
52	scf_tmpl_error_pg;
53	scf_tmpl_error_pg_tmpl;
54	scf_tmpl_error_prop;
55	scf_tmpl_error_prop_tmpl;
56	scf_tmpl_error_type;
57	scf_tmpl_error_value;
58	scf_tmpl_errors_destroy;
59	scf_tmpl_get_by_pg;
60	scf_tmpl_get_by_prop;
61	scf_tmpl_get_by_pg_name;
62	scf_tmpl_iter_pgs;
63	scf_tmpl_iter_props;
64	scf_tmpl_next_error;
65	scf_tmpl_pg_common_name;
66	scf_tmpl_pg_create;
67	scf_tmpl_pg_description;
68	scf_tmpl_pg_destroy;
69	scf_tmpl_pg_name;
70	scf_tmpl_pg_required;
71	scf_tmpl_pg_reset;
72	scf_tmpl_pg_target;
73	scf_tmpl_pg_type;
74	scf_tmpl_prop_cardinality;
75	scf_tmpl_prop_common_name;
76	scf_tmpl_prop_create;
77	scf_tmpl_prop_description;
78	scf_tmpl_prop_destroy;
79	scf_tmpl_prop_internal_seps;
80	scf_tmpl_prop_name;
81	scf_tmpl_prop_required;
82	scf_tmpl_prop_reset;
83	scf_tmpl_prop_type;
84	scf_tmpl_prop_units;
85	scf_tmpl_prop_visibility;
86	scf_tmpl_reset_errors;
87	scf_tmpl_strerror;
88	scf_tmpl_validate_fmri;
89	scf_tmpl_value_common_name;
90	scf_tmpl_value_count_range_choices;
91	scf_tmpl_value_count_range_constraints;
92	scf_tmpl_value_description;
93	scf_tmpl_value_in_constraint;
94	scf_tmpl_value_int_range_constraints;
95	scf_tmpl_value_name_choices;
96	scf_tmpl_value_name_constraints;
97	scf_tmpl_value_int_range_choices;
98	scf_tmpl_visibility_to_string;
99	scf_type_to_string;
100	scf_values_destroy;
101	smf_notify_del_params;
102	smf_notify_get_params;
103	smf_notify_set_params;
104	smf_state_from_string;
105	smf_state_to_string;
106} SUNW_1.1;
107
108SYMBOL_VERSION SUNW_1.1 {
109    global:
110	scf_entry_add_value;
111	scf_entry_create;
112	scf_entry_destroy;
113	scf_entry_destroy_children;
114	scf_entry_handle;
115	scf_entry_reset;
116	scf_error;
117	scf_handle_bind;
118	scf_handle_create;
119	scf_handle_decode_fmri;
120	scf_handle_decorate;
121	scf_handle_destroy;
122	scf_handle_get_scope;
123	scf_handle_unbind;
124	scf_instance_add_pg;
125	scf_instance_create;
126	scf_instance_delete;
127	scf_instance_destroy;
128	scf_instance_get_name;
129	scf_instance_get_parent;
130	scf_instance_get_pg;
131	scf_instance_get_pg_composed;
132	scf_instance_get_snapshot;
133	scf_instance_handle;
134	scf_instance_to_fmri;
135	scf_iter_create;
136	scf_iter_destroy;
137	scf_iter_handle;
138	scf_iter_handle_scopes;
139	scf_iter_instance_pgs;
140	scf_iter_instance_pgs_composed;
141	scf_iter_instance_pgs_typed;
142	scf_iter_instance_pgs_typed_composed;
143	scf_iter_instance_snapshots;
144	scf_iter_next_instance;
145	scf_iter_next_pg;
146	scf_iter_next_property;
147	scf_iter_next_scope;
148	scf_iter_next_service;
149	scf_iter_next_snapshot;
150	scf_iter_next_value;
151	scf_iter_pg_properties;
152	scf_iter_property_values;
153	scf_iter_reset;
154	scf_iter_scope_services;
155	scf_iter_service_instances;
156	scf_iter_service_pgs;
157	scf_iter_service_pgs_typed;
158	scf_iter_snaplevel_pgs;
159	scf_iter_snaplevel_pgs_typed;
160	scf_limit;
161	scf_myname;
162	scf_pg_create;
163	scf_pg_delete;
164	scf_pg_destroy;
165	scf_pg_get_flags;
166	scf_pg_get_name;
167	scf_pg_get_parent_instance;
168	scf_pg_get_parent_service;
169	scf_pg_get_parent_snaplevel;
170	scf_pg_get_property;
171	scf_pg_get_type;
172	scf_pg_get_underlying_pg;
173	scf_pg_handle;
174	scf_pg_to_fmri;
175	scf_pg_update;
176	scf_property_create;
177	scf_property_destroy;
178	scf_property_get_name;
179	scf_property_get_value;
180	scf_property_handle;
181	scf_property_is_type;
182	scf_property_to_fmri;
183	scf_property_type;
184	scf_scope_add_service;
185	scf_scope_create;
186	scf_scope_destroy;
187	scf_scope_get_name;
188	scf_scope_get_parent;
189	scf_scope_get_service;
190	scf_scope_handle;
191	scf_scope_to_fmri;
192	scf_service_add_instance;
193	scf_service_add_pg;
194	scf_service_create;
195	scf_service_delete;
196	scf_service_destroy;
197	scf_service_get_instance;
198	scf_service_get_name;
199	scf_service_get_parent;
200	scf_service_get_pg;
201	scf_service_handle;
202	scf_service_to_fmri;
203	scf_simple_app_props_free;
204	scf_simple_app_props_get;
205	scf_simple_app_props_next;
206	scf_simple_app_props_search;
207	scf_simple_prop_free;
208	scf_simple_prop_get;
209	scf_simple_prop_name;
210	scf_simple_prop_next_astring;
211	scf_simple_prop_next_boolean;
212	scf_simple_prop_next_count;
213	scf_simple_prop_next_integer;
214	scf_simple_prop_next_opaque;
215	scf_simple_prop_next_reset;
216	scf_simple_prop_next_time;
217	scf_simple_prop_next_ustring;
218	scf_simple_prop_numvalues;
219	scf_simple_prop_pgname;
220	scf_simple_prop_type;
221	scf_simple_walk_instances;
222	scf_snaplevel_create;
223	scf_snaplevel_destroy;
224	scf_snaplevel_get_instance_name;
225	scf_snaplevel_get_next_snaplevel;
226	scf_snaplevel_get_parent;
227	scf_snaplevel_get_pg;
228	scf_snaplevel_get_scope_name;
229	scf_snaplevel_get_service_name;
230	scf_snaplevel_handle;
231	scf_snapshot_create;
232	scf_snapshot_destroy;
233	scf_snapshot_get_base_snaplevel;
234	scf_snapshot_get_name;
235	scf_snapshot_get_parent;
236	scf_snapshot_handle;
237	scf_snapshot_update;
238	scf_strerror;
239	scf_transaction_commit;
240	scf_transaction_create;
241	scf_transaction_destroy;
242	scf_transaction_destroy_children;
243	scf_transaction_handle;
244	scf_transaction_property_change;
245	scf_transaction_property_change_type;
246	scf_transaction_property_delete;
247	scf_transaction_property_new;
248	scf_transaction_reset;
249	scf_transaction_reset_all;
250	scf_transaction_start;
251	scf_type_base_type;
252	scf_value_base_type;
253	scf_value_create;
254	scf_value_destroy;
255	scf_value_get_as_string;
256	scf_value_get_as_string_typed;
257	scf_value_get_astring;
258	scf_value_get_boolean;
259	scf_value_get_count;
260	scf_value_get_integer;
261	scf_value_get_opaque;
262	scf_value_get_time;
263	scf_value_get_ustring;
264	scf_value_handle;
265	scf_value_is_type;
266	scf_value_reset;
267	scf_value_set_astring;
268	scf_value_set_boolean;
269	scf_value_set_count;
270	scf_value_set_from_string;
271	scf_value_set_integer;
272	scf_value_set_opaque;
273	scf_value_set_time;
274	scf_value_set_ustring;
275	scf_value_type;
276	smf_degrade_instance;
277	smf_disable_instance;
278	smf_enable_instance;
279	smf_get_state;
280	smf_maintain_instance;
281	smf_refresh_instance;
282	smf_restart_instance;
283	smf_restore_instance;
284};
285
286SYMBOL_VERSION SUNWprivate_1.1 {
287    global:
288	gen_filenms_from_fmri;
289	ismember;
290	scf_canonify_fmri;
291	scf_cmp_pattern;
292	_scf_create_errors;
293        scf_decode32;
294	scf_encode32;
295	scf_general_pg_setup;
296	_scf_get_fma_notify_params;
297	_scf_get_svc_notify_params;
298	_scf_handle_decorations;
299	scf_is_compatible_type;
300	_scf_notify_add_pgname;
301	_scf_notify_add_pgtype;
302	_scf_notify_get_params;
303	_scf_notify_wait;
304	scf_parse_file_fmri;
305	scf_parse_fmri;
306	scf_parse_svc_fmri;
307	_scf_pg_is_read_protected;
308	_scf_pg_wait;
309	scf_read_count_property;
310	_scf_read_single_astring_from_pg;
311	_scf_read_tmpl_prop_type_as_string;
312	_scf_repository_switch;
313	_scf_request_backup;
314	_scf_sanitize_locale;
315	_scf_set_annotation;
316	scf_set_count_property;
317	scf_simple_handle_destroy;
318	_scf_snapshot_attach;
319	_scf_snapshot_delete;
320	_scf_snapshot_take_attach;
321	_scf_snapshot_take_new;
322	_scf_snapshot_take_new_named;
323	_scf_tmpl_add_error;
324	_scf_tmpl_error_set_prefix;
325	scf_transaction_setup;
326	scf_transaction_restart;
327	scf_walk_fmri;
328	_smf_refresh_instance_i;
329	scf_read_propvec;
330	scf_write_propvec;
331	scf_clean_propvec;
332	scf_instance_delete_prop;
333	scf_get_boot_config;
334	scf_get_boot_config_ovr;
335	scf_is_fastboot_default;
336	scf_fastreboot_default_set_transient;
337	scf_default_secflags;
338	_check_services;
339	_scf_handle_create_and_bind;
340	_smf_refresh_all_instances;
341    local:
342	*;
343};
344