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 libbrary.so not providing 'foo' - the global SONAME |
| 4 | * version info can't enforce this since we never change the SONAME. |
| 5 | * |
| 6 | * The original libuuid from e2fsprogs (<=1.41.5) does not to use |
| 7 | * symbol versioning -- all the original symbols are in UUID_1.0 now. |
| 8 | * |
| 9 | * Copyright (C) 2011-2014 Karel Zak <kzak@redhat.com> |
| 10 | */ |
| 11 | UUID_1.0 { |
| 12 | global: |
| 13 | uuid_clear; |
| 14 | uuid_compare; |
| 15 | uuid_copy; |
| 16 | uuid_generate; |
| 17 | uuid_generate_random; |
| 18 | uuid_generate_time; |
| 19 | uuid_is_null; |
| 20 | uuid_parse; |
| 21 | uuid_unparse; |
| 22 | uuid_unparse_lower; |
| 23 | uuid_unparse_upper; |
| 24 | uuid_time; |
| 25 | uuid_type; |
| 26 | uuid_variant; |
| 27 | }; |
| 28 | |
| 29 | /* |
| 30 | * version(s) since util-linux 2.20 |
| 31 | */ |
| 32 | UUID_2.20 { |
| 33 | global: |
| 34 | uuid_generate_time_safe; |
| 35 | } UUID_1.0; |
| 36 | |
| 37 | |
| 38 | /* |
| 39 | * __uuid_* this is not part of the official API, this is |
| 40 | * uuidd (uuid daemon) specific stuff. Hell. |
| 41 | */ |
| 42 | UUIDD_PRIVATE { |
| 43 | global: |
| 44 | __uuid_generate_time; |
| 45 | __uuid_generate_random; |
| 46 | local: |
| 47 | *; |
| 48 | }; |