spec: Use %license macro to copy license
[platform/upstream/libtheora.git] / lib / Version_script
1 #
2 # Export file for libtheora
3 #
4 # Only the symbols listed in the global section will be callable from
5 # applications linking to the libraries.
6 #
7
8 # We use something that looks like a versioned so filename here 
9 # to define the old API because of a historical confusion. This
10 # label must be kept to maintain ABI compatibility.
11
12 libtheora.so.1.0
13 {
14         global:
15                 theora_version_string;
16                 theora_version_number;
17
18                 theora_encode_init;
19                 theora_encode_YUVin;
20                 theora_encode_packetout;
21                 theora_encode_header;
22                 theora_encode_comment;
23                 theora_encode_tables;
24
25                 theora_decode_header;
26                 theora_decode_init;
27                 theora_decode_packetin;
28                 theora_decode_YUVout;
29
30                 theora_control;
31
32                 theora_packet_isheader;
33                 theora_packet_iskeyframe;
34
35                 theora_granule_shift;
36                 theora_granule_frame;
37                 theora_granule_time;
38
39                 theora_info_init;
40                 theora_info_clear;
41
42                 theora_clear;
43
44                 theora_comment_init;
45                 theora_comment_add;
46                 theora_comment_add_tag;
47                 theora_comment_query;
48                 theora_comment_query_count;
49                 theora_comment_clear;
50
51         local:
52                 *;
53 };