bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 1 | /* |
| 2 | * The symbol versioning ensures that a new application requiring symbol 'foo' |
| 3 | * can't run with old library.so not providing 'foo' - the global SONAME |
| 4 | * version info can't enforce this since we never change the SONAME. |
| 5 | * |
| 6 | * The original libblkid from e2fsprogs (<=1.41.4) does not to use |
| 7 | * symbol versioning -- all the original symbols are in BLKID_1.0 now. |
| 8 | * |
| 9 | * Copyright (C) 2009-2014 Karel Zak <kzak@redhat.com> |
| 10 | */ |
| 11 | BLKID_1.0 { |
| 12 | global: |
| 13 | blkid_dev_devname; |
| 14 | blkid_dev_has_tag; |
| 15 | blkid_dev_iterate_begin; |
| 16 | blkid_dev_iterate_end; |
| 17 | blkid_dev_next; |
| 18 | blkid_devno_to_devname; |
| 19 | blkid_dev_set_search; |
| 20 | blkid_find_dev_with_tag; |
| 21 | blkid_gc_cache; |
| 22 | blkid_get_cache; |
| 23 | blkid_get_dev; |
| 24 | blkid_get_devname; |
| 25 | blkid_get_dev_size; |
| 26 | blkid_get_library_version; |
| 27 | blkid_get_tag_value; |
| 28 | blkid_known_fstype; |
| 29 | blkid_parse_tag_string; |
| 30 | blkid_parse_version_string; |
| 31 | blkid_probe_all; |
| 32 | blkid_probe_all_new; |
| 33 | blkid_put_cache; |
| 34 | blkid_tag_iterate_begin; |
| 35 | blkid_tag_iterate_end; |
| 36 | blkid_tag_next; |
| 37 | blkid_verify; |
| 38 | local: |
| 39 | *; |
| 40 | }; |
| 41 | |
| 42 | |
| 43 | /* |
| 44 | * symbols since util-linux 2.15 |
| 45 | */ |
| 46 | BLKID_2.15 { |
| 47 | global: |
| 48 | blkid_do_probe; |
| 49 | blkid_do_safeprobe; |
| 50 | blkid_encode_string; |
| 51 | blkid_evaluate_tag; |
| 52 | blkid_free_probe; |
| 53 | blkid_new_probe; |
| 54 | blkid_probe_filter_types; |
| 55 | blkid_probe_filter_usage; |
| 56 | blkid_probe_get_value; |
| 57 | blkid_probe_has_value; |
| 58 | blkid_probe_invert_filter; |
| 59 | blkid_probe_lookup_value; |
| 60 | blkid_probe_numof_values; |
| 61 | blkid_probe_reset_filter; |
| 62 | blkid_probe_set_device; |
| 63 | blkid_probe_set_request; |
| 64 | blkid_reset_probe; |
| 65 | blkid_safe_string; |
| 66 | blkid_send_uevent; |
| 67 | } BLKID_1.0; |
| 68 | |
| 69 | /* |
| 70 | * symbols since util-linux 2.17 |
| 71 | */ |
| 72 | BLKID_2.17 { |
| 73 | global: |
| 74 | blkid_devno_to_wholedisk; |
| 75 | blkid_do_fullprobe; |
| 76 | blkid_known_pttype; |
| 77 | blkid_new_probe_from_filename; |
| 78 | blkid_partition_get_name; |
| 79 | blkid_partition_get_partno; |
| 80 | blkid_partition_get_size; |
| 81 | blkid_partition_get_start; |
| 82 | blkid_partition_get_table; |
| 83 | blkid_partition_get_type; |
| 84 | blkid_partition_get_type_string; |
| 85 | blkid_partition_get_uuid; |
| 86 | blkid_partition_is_extended; |
| 87 | blkid_partition_is_logical; |
| 88 | blkid_partition_is_primary; |
| 89 | blkid_partlist_get_partition; |
| 90 | blkid_partlist_numof_partitions; |
| 91 | blkid_parttable_get_offset; |
| 92 | blkid_parttable_get_parent; |
| 93 | blkid_parttable_get_type; |
| 94 | blkid_probe_enable_partitions; |
| 95 | blkid_probe_enable_superblocks; |
| 96 | blkid_probe_enable_topology; |
| 97 | blkid_probe_filter_partitions_type; |
| 98 | blkid_probe_filter_superblocks_type; |
| 99 | blkid_probe_filter_superblocks_usage; |
| 100 | blkid_probe_get_devno; |
| 101 | blkid_probe_get_partitions; |
| 102 | blkid_probe_get_sectorsize; |
| 103 | blkid_probe_get_sectors; |
| 104 | blkid_probe_get_size; |
| 105 | blkid_probe_get_topology; |
| 106 | blkid_probe_invert_partitions_filter; |
| 107 | blkid_probe_invert_superblocks_filter; |
| 108 | blkid_probe_reset_partitions_filter; |
| 109 | blkid_probe_reset_superblocks_filter; |
| 110 | blkid_probe_set_partitions_flags; |
| 111 | blkid_probe_set_superblocks_flags; |
| 112 | blkid_topology_get_alignment_offset; |
| 113 | blkid_topology_get_logical_sector_size; |
| 114 | blkid_topology_get_minimum_io_size; |
| 115 | blkid_topology_get_optimal_io_size; |
| 116 | blkid_topology_get_physical_sector_size; |
| 117 | } BLKID_2.15; |
| 118 | |
| 119 | /* |
| 120 | * symbols since util-linux 2.18 |
| 121 | */ |
| 122 | BLKID_2.18 { |
| 123 | global: |
| 124 | blkid_partition_get_flags; |
| 125 | blkid_partlist_devno_to_partition; |
| 126 | blkid_partlist_get_table; |
| 127 | blkid_probe_all_removable; |
| 128 | blkid_probe_get_fd; |
| 129 | blkid_probe_get_offset; |
| 130 | blkid_probe_get_wholedisk_devno; |
| 131 | blkid_probe_is_wholedisk; |
| 132 | } BLKID_2.17; |
| 133 | |
| 134 | /* |
| 135 | * symbols since util-linux 2.20 |
| 136 | */ |
| 137 | BLKID_2.20 { |
| 138 | global: |
| 139 | blkid_evaluate_spec; |
| 140 | blkid_superblocks_get_name; |
| 141 | } BLKID_2.18; |
| 142 | |
| 143 | /* |
| 144 | * symbols since util-linux 2.21 |
| 145 | */ |
| 146 | BLKID_2.21 { |
| 147 | global: |
| 148 | blkid_do_wipe; |
| 149 | } BLKID_2.20; |
| 150 | |
| 151 | /* |
| 152 | * symbols since util-linux 2.23 |
| 153 | */ |
| 154 | BLKID_2.23 { |
| 155 | global: |
| 156 | blkid_probe_step_back; |
| 157 | blkid_parttable_get_id; |
| 158 | blkid_init_debug; |
| 159 | } BLKID_2.21; |
| 160 | |
| 161 | /* |
| 162 | * symbols since util-linux 2.25 |
| 163 | */ |
| 164 | BLKID_2.25 { |
| 165 | blkid_partlist_get_partition_by_partno; |
| 166 | } BLKID_2.23; |