summaryrefslogtreecommitdiffstats
path: root/libuuid/src/libuuid.sym
blob: 342453368dc11a74f438d4f8501be91361f09e39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*
 * The symbol versioning ensures that a new application requiring symbol 'foo'
 * can't run with old libbrary.so not providing 'foo' - the global SONAME
 * version info can't enforce this since we never change the SONAME.
 *
 * The original libuuid from e2fsprogs (<=1.41.5) does not to use
 * symbol versioning -- all the original symbols are in UUID_1.0 now.
 *
 * Copyright (C) 2011-2017 Kareil Zak <kzak@redhat.com>
 */
UUID_1.0 {
global:
	uuid_clear;
	uuid_compare;
	uuid_copy;
	uuid_generate;
	uuid_generate_random;
	uuid_generate_time;
	uuid_is_null;
	uuid_parse;
	uuid_unparse;
	uuid_unparse_lower;
	uuid_unparse_upper;
	uuid_time;
	uuid_type;
	uuid_variant;
};

/*
 * version(s) since util-linux 2.20
 */
UUID_2.20 {
global:
	uuid_generate_time_safe;
} UUID_1.0;

/*
 * version(s) since util-linux.2.31
 */
UUID_2.31 {
global:
	uuid_generate_md5;
	uuid_generate_sha1;
	uuid_get_template;
} UUID_2.20;

/*
 * version(s) since util-linux.2.36
 */
UUID_2.36 {
global:
	uuid_parse_range;
} UUID_2.31;


/*
 * __uuid_* this is not part of the official API, this is
 * uuidd (uuid daemon) specific stuff. Hell.
 */
UUIDD_PRIVATE {
global:
	__uuid_generate_time;
	__uuid_generate_random;
local:
	*;
};