spec: Use %license macro to copy license
[platform/upstream/libtheora.git] / lib / Version_script-dec
1 #
2 # Export file for libtheoradec
3 #
4 # Only the symbols listed in the global section will be callable from
5 # applications linking to the libraries.
6 #
7
8 # The 1.x API
9 libtheoradec_1.0
10 {
11         global:
12                 th_version_string;
13                 th_version_number;
14
15                 th_decode_headerin;
16                 th_decode_alloc;
17                 th_setup_free;
18                 th_decode_ctl;
19                 th_decode_packetin;
20                 th_decode_ycbcr_out;
21                 th_decode_free;
22
23                 th_packet_isheader;
24                 th_packet_iskeyframe;
25
26                 th_granule_frame;
27                 th_granule_time;
28
29                 th_info_init;
30                 th_info_clear;
31
32                 th_comment_init;
33                 th_comment_add;
34                 th_comment_add_tag;
35                 th_comment_query;
36                 th_comment_query_count;
37                 th_comment_clear;
38
39         local:
40                 *;
41 };
42
43 # The deprecated legacy api from the libtheora alpha releases.
44 # We use something that looks like a versioned so filename here 
45 # to define the old API because of a historical confusion. This
46 # label must be kept to maintain ABI compatibility.
47
48 libtheora.so.1.0
49 {
50         global:
51                 theora_version_string;
52                 theora_version_number;
53
54                 theora_decode_header;
55                 theora_decode_init;
56                 theora_decode_packetin;
57                 theora_decode_YUVout;
58
59                 theora_control;
60
61                 theora_packet_isheader;
62                 theora_packet_iskeyframe;
63
64                 theora_granule_shift;
65                 theora_granule_frame;
66                 theora_granule_time;
67
68                 theora_info_init;
69                 theora_info_clear;
70
71                 theora_clear;
72
73                 theora_comment_init;
74                 theora_comment_add;
75                 theora_comment_add_tag;
76                 theora_comment_query;
77                 theora_comment_query_count;
78                 theora_comment_clear;
79
80         local:
81                 *;
82 };