Imported Upstream version 0.8.9
[platform/upstream/multipath-tools.git] / libmultipath / libmultipath.version
1 /*
2  * Copyright (c) 2020 SUSE LLC
3  * SPDX-License-Identifier: GPL-2.0-or-later
4  *
5  * libmultipath ABI
6  *
7  * libmultipath doesn't have a stable ABI in the usual sense. In particular,
8  * the library does not attempt to ship different versions of the same symbol
9  * for backward compatibility.
10  *
11  * The ABI versioning only serves to avoid linking with a non-matching ABI, to
12  * cut down the set of exported symbols, and to describe it.
13  * The version string is LIBMULTIPATH_$MAJOR.$MINOR.$REL.
14  *
15  * Policy:
16  *
17  * * Bump $MAJOR for incompatible changes, like:
18  *   - symbols removed
19  *   - parameter list or return values changed for existing functions
20  *   - externally visible data structures changed in incompatible ways
21  *     (like offsets of previously existing struct members)
22  *   In this case, the new version doesn't inherit the previous versions,
23  *   because the new library doesn't provide the full previous ABI any more.
24  *   All predecessors are merged into the new version.
25  *
26  * * Bump $MINOR for compatible changes, like adding symbols.
27  *   The new version inherits the previous ones.
28  *
29  * * Bump $REL to describe deviations from upstream, e.g. in
30  *   multipath-tools packages shipped by distributions.
31  *   The new version inherits the previous ones.
32  */
33
34 LIBMULTIPATH_14.0.0 {
35 global:
36         /* symbols referenced by multipath and multipathd */
37         add_foreign;
38         add_map_with_path;
39         adopt_paths;
40         alloc_multipath;
41         alloc_multipath_layout;
42         alloc_path;
43         alloc_path_layout;
44         alloc_path_with_pathinfo;
45         alloc_strvec;
46         append_strbuf_str;
47         change_foreign;
48         check_alias_settings;
49         check_daemon;
50         checker_clear_message;
51         checker_disable;
52         checker_enable;
53         checker_message;
54         checker_name;
55         checker_state_name;
56         check_foreign;
57         cleanup_charp;
58         cleanup_lock;
59         cleanup_mutex;
60         cleanup_ucharp;
61         close_fd;
62         coalesce_paths;
63         convert_dev;
64         count_active_paths;
65         delete_all_foreign;
66         delete_foreign;
67         dlog;
68         dm_cancel_deferred_remove;
69         dm_enablegroup;
70         dm_fail_path;
71         _dm_flush_map;
72         dm_flush_map_nopaths;
73         dm_flush_maps;
74         dm_geteventnr;
75         dm_get_info;
76         dm_get_major_minor;
77         dm_get_maps;
78         dm_get_multipath;
79         dm_get_uuid;
80         dm_is_mpath;
81         dm_mapname;
82         dm_map_present;
83         dm_prereq;
84         dm_queue_if_no_path;
85         dm_reassign;
86         dm_reinstate_path;
87         dm_simplecmd_noflush;
88         dm_switchgroup;
89         domap;
90         ensure_directories_exist;
91         extract_hwe_from_path;
92         filter_devnode;
93         filter_path;
94         filter_wwid;
95         find_mp_by_alias;
96         find_mp_by_minor;
97         find_mp_by_str;
98         find_mp_by_wwid;
99         find_mpe;
100         find_path_by_dev;
101         find_path_by_devt;
102         find_slot;
103         foreign_multipath_layout;
104         foreign_path_layout;
105         free_config;
106         free_multipath;
107         free_multipathvec;
108         free_path;
109         free_pathvec;
110         free_strvec;
111         get_monotonic_time;
112         get_multipath_config;
113         get_multipath_layout;
114         get_path_layout;
115         get_pgpolicy_id;
116         get_refwwid;
117         get_state;
118         get_strbuf_len;
119         get_strbuf_str;
120         get_udev_device;
121         get_uid;
122         get_used_hwes;
123         get_vpd_sgio;
124         group_by_prio;
125         has_dm_info;
126         init_checkers;
127         init_config;
128         init_foreign;
129         init_prio;
130         io_err_stat_handle_pathfail;
131         is_path_valid;
132         is_quote;
133         libmp_dm_task_create;
134         libmp_get_version;
135         libmp_get_multipath_config;
136         libmp_dm_task_run;
137         libmp_put_multipath_config;
138         libmp_udev_set_sync_support;
139         libmp_verbosity;
140         libmultipath_exit;
141         libmultipath_init;
142         load_config;
143         log_thread_reset;
144         log_thread_start;
145         log_thread_stop;
146         logsink;
147         need_io_err_check;
148         normalize_timespec;
149         orphan_path;
150         parse_prkey_flags;
151         pathcount;
152         path_discovery;
153         path_get_tpgs;
154         pathinfo;
155         path_offline;
156         print_all_paths;
157         print_foreign_topology;
158         _print_multipath_topology;
159         print_strbuf;
160         pthread_cond_init_mono;
161         put_multipath_config;
162         recv_packet;
163         reinstate_paths;
164         remember_wwid;
165         remove_map;
166         remove_map_by_alias;
167         remove_maps;
168         remove_wwid;
169         replace_wwids;
170         reset_checker_classes;
171         reset_strbuf;
172         select_all_tg_pt;
173         select_action;
174         select_find_multipaths_timeout;
175         select_no_path_retry;
176         select_path_group;
177         select_reservation_key;
178         send_packet;
179         set_max_fds;
180         set_no_path_retry;
181         set_path_removed;
182         set_prkey;
183         setup_map;
184         setup_thread_attr;
185         should_multipath;
186         skip_libmp_dm_init;
187         snprint_blacklist_report;
188         __snprint_config;
189         snprint_config;
190         snprint_devices;
191         snprint_foreign_multipaths;
192         snprint_foreign_paths;
193         snprint_foreign_topology;
194         _snprint_multipath;
195         snprint_multipath_header;
196         snprint_multipath_map_json;
197         _snprint_multipath_topology;
198         snprint_multipath_topology_json;
199         _snprint_path;
200         snprint_path_header;
201         snprint_status;
202         snprint_wildcards;
203         stop_io_err_stat_thread;
204         store_path;
205         store_pathinfo;
206         strchop;
207         strlcpy;
208         sync_map_state;
209         sysfs_attr_set_value;
210         sysfs_get_size;
211         sysfs_is_multipathed;
212         timespeccmp;
213         timespecsub;
214         trigger_path_udev_change;
215         trigger_paths_udev_change;
216         truncate_strbuf;
217         udev;
218         uevent_dispatch;
219         uevent_get_dm_str;
220         uevent_get_env_positive_int;
221         uevent_is_mpath;
222         uevent_listen;
223         uninit_config;
224         update_mpp_paths;
225         update_multipath_strings;
226         update_multipath_table;
227         update_queue_mode_add_path;
228         update_queue_mode_del_path;
229         ux_socket_listen;
230         valid_alias;
231         vector_alloc;
232         vector_alloc_slot;
233         vector_del_slot;
234         vector_free;
235         vector_reset;
236         vector_set_slot;
237         verify_paths;
238
239         /* checkers */
240         checker_is_sync;
241         sg_read;
242         start_checker_thread;
243
244         /* prioritizers */
245         fill_strbuf;
246         get_asymmetric_access_state;
247         get_next_string;
248         get_prio_timeout;
249         get_target_port_group;
250         get_target_port_group_support;
251         libmp_nvme_ana_log;
252         libmp_nvme_get_nsid;
253         libmp_nvme_identify_ns;
254         log_nvme_errcode;
255         nvme_id_ctrl_ana;
256         set_wakeup_fn;
257         snprint_host_wwnn;
258         snprint_host_wwpn;
259         snprint_path_serial;
260         snprint_tgt_wwnn;
261         snprint_tgt_wwpn;
262         sysfs_get_asymmetric_access_state;
263
264         /* foreign */
265         free_scandir_result;
266         sysfs_attr_get_value;
267
268 local:
269         *;
270 };