summaryrefslogtreecommitdiff
path: root/Version_script.in
diff options
context:
space:
mode:
authorRalph Giles <giles@xiph.org>2007-07-23 22:35:47 +0000
committerRalph Giles <giles@xiph.org>2007-07-23 22:35:47 +0000
commite4241cfb73bf3aa544f010eb1dec46255b298e86 (patch)
tree5b021dc03ef45820f86ab7420231f68de11016b8 /Version_script.in
parent007453d4bd3bfc1eeb340d309e5680fa56f9877c (diff)
downloadtremor-e4241cfb73bf3aa544f010eb1dec46255b298e86.tar.gz
Only export symbols explicitly listed in Version_script.in when the
linker supports it (GNU ld on linux or solaris) to avoid conflicts from internal symbols, most specifically the ogg implementation. git-svn-id: https://svn.xiph.org/trunk/Tremor@13291 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'Version_script.in')
-rw-r--r--Version_script.in49
1 files changed, 49 insertions, 0 deletions
diff --git a/Version_script.in b/Version_script.in
new file mode 100644
index 0000000..2eb1d87
--- /dev/null
+++ b/Version_script.in
@@ -0,0 +1,49 @@
+#
+# Export file for libvorbisidec
+#
+# Only the symbols listed in the global section will be callable from
+# applications linking to libvorbisidec.
+#
+
+@PACKAGE@.so.1
+{
+ global:
+ ov_clear;
+ ov_open;
+ ov_open_callbacks;
+ ov_test;
+ ov_test_callbacks;
+ ov_test_open;
+ ov_bitrate;
+ ov_bitrate_instant;
+ ov_streams;
+ ov_seekable;
+ ov_serialnumber;
+ ov_raw_total;
+ ov_pcm_total;
+ ov_time_total;
+ ov_raw_seek;
+ ov_pcm_seek;
+ ov_pcm_seek_page;
+ ov_time_seek;
+ ov_time_seek_page;
+ ov_raw_tell;
+ ov_pcm_tell;
+ ov_time_tell;
+ ov_info;
+ ov_comment;
+ ov_read;
+
+ vorbis_info_init;
+ vorbis_info_clear;
+ vorbis_info_blocksize;
+ vorbis_comment_init;
+ vorbis_comment_add;
+ vorbis_comment_add_tag;
+ vorbis_comment_query;
+ vorbis_comment_query_count;
+ vorbis_comment_clear;
+
+ local:
+ *;
+};