#
# Export file for libtheora
#
# Only the symbols listed in the global section will be callable from
# applications linking to the libraries.
#

# The 1.x encoder API
libtheoraenc_1.0
{
	global:
		th_encode_alloc;
		th_encode_ctl;
		th_encode_flushheader;
		th_encode_ycbcr_in;
		th_encode_packetout;
		th_encode_free;

		TH_VP31_QUANT_INFO;
		TH_VP31_HUFF_CODES;

	local:
		*;
};

# The encoder portion of the deprecated alpha release api.
# We use something that looks like a versioned so filename here 
# to define the old API because of a historical confusion. This
# label must be kept to maintain ABI compatibility.

libtheora.so.1.0
{
	global:
		theora_encode_init;
		theora_encode_YUVin;
		theora_encode_packetout;
		theora_encode_header;
		theora_encode_comment;
		theora_encode_tables;

	local:
		*;
};
