xref: /netbsd-src/external/gpl3/gdb/dist/libctf/libctf.ver (revision 12989c96ee862c63521a9ead8c44629b7a2ba9b1)
1*12989c96Schristos/* Copyright (C) 2019-2024 Free Software Foundation, Inc.
28dffb485Schristos
38dffb485Schristos   This file is part of libctf.
48dffb485Schristos
58dffb485Schristos   libctf is free software; you can redistribute it and/or modify it under
68dffb485Schristos   the terms of the GNU General Public License as published by the Free
78dffb485Schristos   Software Foundation; either version 3, or (at your option) any later
88dffb485Schristos   version.
98dffb485Schristos
108dffb485Schristos   This program is distributed in the hope that it will be useful, but
118dffb485Schristos   WITHOUT ANY WARRANTY; without even the implied warranty of
128dffb485Schristos   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
138dffb485Schristos   See the GNU General Public License for more details.
148dffb485Schristos
158dffb485Schristos   You should have received a copy of the GNU General Public License
168dffb485Schristos   along with this program; see the file COPYING.  If not see
178dffb485Schristos   <http://www.gnu.org/licenses/>.  */
188dffb485Schristos
198dffb485SchristosLIBCTF_1.0 {
208dffb485Schristos    global:
218dffb485Schristos	/* In libctf and libctf-nobfd.  */
228dffb485Schristos
238dffb485Schristos	ctf_bufopen;
248dffb485Schristos	ctf_simple_open;
258dffb485Schristos	ctf_create;
268dffb485Schristos	ctf_close;
278dffb485Schristos	ctf_ref;
288dffb485Schristos	ctf_file_close;
298dffb485Schristos
308dffb485Schristos	ctf_cuname;
318dffb485Schristos	ctf_cuname_set;
328dffb485Schristos	ctf_parent_file;
338dffb485Schristos	ctf_parent_name;
348dffb485Schristos	ctf_parent_name_set;
358dffb485Schristos	ctf_type_isparent;
368dffb485Schristos	ctf_type_ischild;
378dffb485Schristos
388dffb485Schristos	ctf_import;
398dffb485Schristos	ctf_setmodel;
408dffb485Schristos	ctf_getmodel;
418dffb485Schristos
428dffb485Schristos	ctf_setspecific;
438dffb485Schristos	ctf_getspecific;
448dffb485Schristos
458dffb485Schristos	ctf_errno;
468dffb485Schristos	ctf_errmsg;
478dffb485Schristos	ctf_version;
488dffb485Schristos
498dffb485Schristos	ctf_func_info;
508dffb485Schristos	ctf_func_args;
518dffb485Schristos	ctf_func_type_info;
528dffb485Schristos	ctf_func_type_args;
538dffb485Schristos
548dffb485Schristos	ctf_lookup_by_name;
558dffb485Schristos	ctf_lookup_by_symbol;
568dffb485Schristos	ctf_lookup_variable;
578dffb485Schristos
588dffb485Schristos	ctf_type_resolve;
598dffb485Schristos	ctf_type_lname;
608dffb485Schristos	ctf_type_name;
618dffb485Schristos	ctf_type_name_raw;
628dffb485Schristos	ctf_type_aname;
638dffb485Schristos	ctf_type_aname_raw;
648dffb485Schristos	ctf_type_size;
658dffb485Schristos	ctf_type_align;
668dffb485Schristos	ctf_type_kind;
678dffb485Schristos	ctf_type_kind_forwarded;
688dffb485Schristos	ctf_type_reference;
698dffb485Schristos	ctf_type_pointer;
708dffb485Schristos	ctf_type_encoding;
718dffb485Schristos	ctf_type_visit;
728dffb485Schristos	ctf_type_cmp;
738dffb485Schristos	ctf_type_compat;
748dffb485Schristos
758dffb485Schristos	ctf_member_info;
768dffb485Schristos	ctf_member_next;
778dffb485Schristos	ctf_array_info;
788dffb485Schristos	ctf_member_count;
798dffb485Schristos
808dffb485Schristos	ctf_enum_name;
818dffb485Schristos	ctf_enum_value;
828dffb485Schristos
838dffb485Schristos	ctf_label_topmost;
848dffb485Schristos	ctf_label_info;
858dffb485Schristos
868dffb485Schristos	ctf_member_iter;
878dffb485Schristos	ctf_enum_iter;
888dffb485Schristos	ctf_enum_next;
898dffb485Schristos	ctf_type_iter;
908dffb485Schristos	ctf_type_next;
918dffb485Schristos	ctf_type_iter_all;
928dffb485Schristos	ctf_label_iter;
938dffb485Schristos	ctf_variable_iter;
948dffb485Schristos	ctf_variable_next;
958dffb485Schristos
968dffb485Schristos	ctf_next_create;
978dffb485Schristos	ctf_next_destroy;
988dffb485Schristos	ctf_next_copy;
998dffb485Schristos
1008dffb485Schristos	ctf_add_array;
1018dffb485Schristos	ctf_add_const;
1028dffb485Schristos	ctf_add_enum;
1038dffb485Schristos	ctf_add_enum_encoded;
1048dffb485Schristos	ctf_add_float;
1058dffb485Schristos	ctf_add_forward;
1068dffb485Schristos	ctf_add_function;
1078dffb485Schristos	ctf_add_integer;
1088dffb485Schristos	ctf_add_pointer;
1098dffb485Schristos	ctf_add_type;
1108dffb485Schristos	ctf_add_typedef;
1118dffb485Schristos	ctf_add_restrict;
1128dffb485Schristos	ctf_add_slice;
1138dffb485Schristos	ctf_add_struct;
1148dffb485Schristos	ctf_add_union;
1158dffb485Schristos	ctf_add_struct_sized;
1168dffb485Schristos	ctf_add_union_sized;
1178dffb485Schristos	ctf_add_volatile;
1188dffb485Schristos
1198dffb485Schristos	ctf_add_enumerator;
1208dffb485Schristos	ctf_add_member;
1218dffb485Schristos	ctf_add_member_offset;
1228dffb485Schristos	ctf_add_member_encoded;
1238dffb485Schristos	ctf_add_variable;
1248dffb485Schristos
1258dffb485Schristos	ctf_set_array;
1268dffb485Schristos
1278dffb485Schristos	ctf_update;
1288dffb485Schristos	ctf_discard;
1298dffb485Schristos	ctf_snapshot;
1308dffb485Schristos	ctf_rollback;
1318dffb485Schristos	ctf_write;
1328dffb485Schristos	ctf_write_mem;
1338dffb485Schristos	ctf_gzwrite;
1348dffb485Schristos	ctf_compress_write;
1358dffb485Schristos	ctf_getdatasect;
1368dffb485Schristos
1378dffb485Schristos	ctf_arc_write;
1388dffb485Schristos	ctf_arc_write_fd;
1398dffb485Schristos	ctf_arc_bufopen;
1408dffb485Schristos	ctf_arc_close;
1418dffb485Schristos	ctf_arc_open_by_name;
1428dffb485Schristos	ctf_arc_open_by_name_sections;
1438dffb485Schristos	ctf_archive_count;
1448dffb485Schristos	ctf_archive_iter;
1458dffb485Schristos	ctf_archive_next;
1468dffb485Schristos	ctf_archive_raw_iter;
1478dffb485Schristos	ctf_get_arc;
1488dffb485Schristos
1498dffb485Schristos	ctf_dump;
1508dffb485Schristos
1518dffb485Schristos	ctf_setdebug;
1528dffb485Schristos	ctf_getdebug;
1538dffb485Schristos	ctf_errwarning_next;
1548dffb485Schristos
1558dffb485Schristos	ctf_link_add_ctf;
1568dffb485Schristos	ctf_link_add_cu_mapping;
1578dffb485Schristos	ctf_link_set_memb_name_changer;
1588dffb485Schristos	ctf_link_set_variable_filter;
1598dffb485Schristos	ctf_link;
1608dffb485Schristos	ctf_link_add_strtab;
1618dffb485Schristos	ctf_link_shuffle_syms;
1628dffb485Schristos	ctf_link_write;
1638dffb485Schristos
1644b169a6bSchristos	ctf_fdopen;                             /* libctf only.  */
1654b169a6bSchristos	ctf_open;                               /* libctf only.  */
166*12989c96Schristos	ctf_arc_open;                           /* libctf only.  */
1674b169a6bSchristos	ctf_bfdopen;                            /* libctf only.  */
1684b169a6bSchristos	ctf_bfdopen_ctfsect;                    /* libctf only.  */
1698dffb485Schristos    local:
1708dffb485Schristos	*;
1718dffb485Schristos};
1724b169a6bSchristos
1734b169a6bSchristosLIBCTF_1.1 {
1744b169a6bSchristos    global:
1754b169a6bSchristos	ctf_dict_open;
1764b169a6bSchristos	ctf_dict_open_sections;
1774b169a6bSchristos	ctf_dict_close;
1784b169a6bSchristos	ctf_parent_dict;
1794b169a6bSchristos
1804b169a6bSchristos	ctf_symbol_next;
1814b169a6bSchristos	ctf_add_objt_sym;
1824b169a6bSchristos	ctf_add_func_sym;
1834b169a6bSchristos
1844b169a6bSchristos	ctf_link_add_linker_symbol;
1854b169a6bSchristos
1864b169a6bSchristos	ctf_arc_lookup_symbol;
1874b169a6bSchristos	ctf_arc_flush_caches;
1884b169a6bSchristos
1894b169a6bSchristos	ctf_getsymsect;
1904b169a6bSchristos	ctf_getstrsect;
1914b169a6bSchristos	ctf_symsect_endianness;
1924b169a6bSchristos	ctf_arc_symsect_endianness;
1934b169a6bSchristos} LIBCTF_1.0;
1944b169a6bSchristos
1954b169a6bSchristosLIBCTF_1.2 {
1964b169a6bSchristos    global:
1974b169a6bSchristos	ctf_lookup_by_symbol_name;
1984b169a6bSchristos	ctf_arc_lookup_symbol_name;
1994b169a6bSchristos	ctf_add_unknown;
2004b169a6bSchristos} LIBCTF_1.1;
201