; This file is auto-generated by gen_libmupdf.def.py

LIBRARY libmupdf
EXPORTS

; Fitz exports

	; new stuff
	fz_do_try
	fz_do_always
	fz_do_catch
	fz_throw
	fz_new_image_from_compressed_buffer
	pdf_save_document
	fz_warn
	fz_buffer_extract
	fz_xml_root
	fz_drop_xml
	fz_get_pixmap_from_image
	fz_new_device_of_size
	fz_load_outline
	fz_load_page
	fz_bound_page
	fz_run_page
	fz_new_pdf_writer_with_output
	pdf_obj_num_is_stream
	pdf_dict_get_inheritable
	pdf_new_utf8_from_pdf_string_obj
	pdf_load_stream_number
	pdf_xobject_resources
	pdf_page_resources
	xps_drop_part
	pdf_install_load_system_font_funcs
	pdf_page_transform
	pdf_page_obj_transform
	fz_close_device
	fz_drop_page
	fz_colorspace_is_rgb
	fz_new_stext_page
	fz_drop_stext_page
	fz_new_stext_device
	fz_rect_from_quad
	fz_new_outline
	pdf_parse_file_spec
	pdf_annot_rect
	pdf_field_flags
	pdf_field_label
	fz_drop_document
	fz_needs_password
	fz_count_pages
	fz_load_links
	fz_has_permission
	fz_new_stext_page_from_page
	pdf_dict_geta
	pdf_document_from_fz_document
	pdf_page_from_fz_page
	fz_convert_pixmap_samples
	fz_new_display_list_from_page
	fz_set_warning_callback
	fz_set_error_callback
	fz_new_buffer_from_shared_data
	pdf_set_annot_rect
	pdf_set_annot_color
	pdf_update_appearance
	pdf_set_annot_modification_date
	pdf_add_annot_quad_point
	pdf_set_annot_opacity
	pdf_dict_put_drop
	pdf_add_page
	pdf_add_image
	pdf_new_text_string
	fz_new_buffer_from_copied_data
	pdf_new_graft_map
	pdf_drop_graft_map
	pdf_graft_mapped_object
	pdf_add_object
	pdf_flatten_inheritable_page_items
	fz_resolve_link

	fz_keep_bitmap
	fz_drop_bitmap
	fz_new_bitmap
	fz_bitmap_details
	fz_clear_bitmap
	fz_default_halftone
	fz_drop_halftone
	fz_keep_halftone
	fz_keep_buffer
	fz_drop_buffer
	fz_buffer_storage
	fz_new_buffer
	fz_new_buffer_from_data
	fz_resize_buffer
	fz_grow_buffer
	fz_trim_buffer
	fz_colorspace_is_indexed
	fz_device_gray
	fz_device_rgb
	fz_device_bgr
	fz_device_cmyk
	fz_new_colorspace
	fz_new_indexed_colorspace
	fz_keep_colorspace
	fz_drop_colorspace
	fz_convert_color
	fz_new_colorspace_context
	fz_keep_colorspace_context
	fz_drop_colorspace_context
	fz_init_cached_color_converter
	fz_fin_cached_color_converter
	fz_compressed_buffer_size
	fz_open_compressed_buffer
	fz_open_image_decomp_stream_from_buffer
	fz_open_image_decomp_stream
	fz_drop_compressed_buffer
	fz_var_imp
	fz_push_try
	fz_rethrow
	fz_caught_message
	fz_caught
	fz_rethrow_if
	fz_flush_warnings
	fz_new_context_imp
	fz_clone_context
	fz_drop_context
	fz_aa_level
	fz_set_aa_level
	fz_malloc
	fz_calloc
	fz_strdup
	fz_free
	fz_malloc_no_throw
	fz_calloc_no_throw
	fz_md5_init
	fz_md5_update
	fz_md5_final
	fz_sha256_init
	fz_sha256_update
	fz_sha256_final
	fz_sha512_init
	fz_sha512_update
	fz_sha512_final
	fz_sha384_init
	fz_sha384_update
	fz_sha384_final
	fz_arc4_init
	fz_arc4_encrypt
	fz_aes_setkey_enc
	fz_aes_setkey_dec
	fz_aes_crypt_cbc
	fz_lookup_blendmode
	fz_blendmode_name
	fz_begin_page
	fz_end_page
	fz_fill_path
	fz_stroke_path
	fz_clip_path
	fz_clip_stroke_path
	fz_fill_text
	fz_stroke_text
	fz_clip_text
	fz_clip_stroke_text
	fz_ignore_text
	fz_pop_clip
	fz_fill_shade
	fz_fill_image
	fz_fill_image_mask
	fz_clip_image_mask
	fz_begin_mask
	fz_end_mask
	fz_begin_group
	fz_end_group
	fz_begin_tile
	fz_begin_tile_id
	fz_end_tile
	fz_drop_device
	fz_enable_device_hints
	fz_disable_device_hints
	fz_new_trace_device
	fz_new_bbox_device
	fz_new_draw_device
	fz_new_draw_device_with_bbox
	fz_new_draw_device_type3
	fz_new_display_list
	fz_new_list_device
	fz_run_display_list
	fz_keep_display_list
	fz_drop_display_list

	fz_open_concat
	fz_concat_push_drop
	fz_open_arc4
	fz_open_aesd
	fz_open_a85d
	fz_open_ahxd
	fz_open_rld
	fz_open_dctd
	fz_open_faxd
	fz_open_flated
	fz_open_lzwd
	fz_open_predict
	fz_open_jbig2d
	fz_load_jbig2_globals
	ft_error_string
	fz_new_font_context
	fz_keep_font_context
	fz_drop_font_context
	fz_install_load_system_font_funcs
	fz_load_system_font
	fz_load_system_cjk_font
	fz_new_type3_font
	fz_new_font_from_memory
	fz_new_font_from_buffer
	fz_new_font_from_file
	fz_keep_font
	fz_drop_font
	fz_set_font_bbox
	fz_bound_glyph
	fz_glyph_cacheable
	fz_run_t3_glyph
	fz_decouple_type3_font
	fz_advance_glyph
	fz_encode_character
	fz_getopt
	fz_new_glyph_cache_context
	fz_keep_glyph_cache
	fz_drop_glyph_cache_context
	fz_purge_glyph_cache
	fz_outline_ft_glyph
	fz_outline_glyph
	fz_render_ft_glyph
	fz_render_ft_glyph_pixmap
	fz_render_t3_glyph
	fz_render_t3_glyph_pixmap
	fz_render_ft_stroked_glyph
	fz_render_ft_stroked_glyph_pixmap
	fz_render_glyph
	fz_render_glyph_pixmap
	fz_render_stroked_glyph
	fz_render_stroked_glyph_pixmap
	fz_render_t3_glyph_direct
	fz_prepare_t3_glyph
	fz_dump_glyph_cache_stats
	fz_subpixel_adjust
	fz_glyph_bbox
	fz_glyph_width
	fz_glyph_height
	fz_new_glyph_from_pixmap
	fz_new_glyph_from_8bpp_data
	fz_keep_glyph
	fz_drop_glyph
	fz_glyph_bbox_no_ctx
	fz_new_hash_table
	fz_hash_find
	fz_hash_insert
	fz_hash_remove
	fz_drop_image
	fz_keep_image
	fz_new_image_from_pixmap
	fz_new_image_from_buffer
	fz_decomp_image_from_stream
	fz_load_jpx
	fz_load_png
	fz_load_tiff
	fz_load_jxr
	fz_load_jpeg_info
	fz_load_png_info
	fz_load_tiff_info
	fz_load_jxr_info
	fz_load_tiff_subimage_count
	fz_load_tiff_subimage
	fz_new_link
	fz_keep_link
	fz_drop_link
	;fz_free_link_dest
	fz_atof
	fz_atoi
	fz_concat
	fz_scale
	fz_pre_scale
	fz_shear
	fz_pre_shear
	fz_rotate
	fz_pre_rotate
	fz_translate
	fz_pre_translate
	fz_invert_matrix
	fz_is_rectilinear
	fz_matrix_expansion
	fz_intersect_rect
	fz_intersect_irect
	fz_union_rect
	fz_irect_from_rect
	fz_round_rect
	fz_rect_from_irect
	fz_expand_rect
	fz_include_point_in_rect
	fz_translate_irect
	fz_transform_point
	fz_transform_point_xy
	fz_transform_vector
	fz_transform_rect
	fz_normalize_vector
	fz_gridfit_matrix
	fz_matrix_max_expansion

	fz_drop_outline

	fz_new_output_with_buffer
	fz_close_output
	fz_vsnprintf
	fz_snprintf
	fz_new_path
	fz_currentpoint
	fz_moveto
	fz_lineto
	fz_curveto
	fz_curvetov
	fz_curvetoy
	fz_closepath
	fz_drop_path
	fz_transform_path
	fz_clone_path
	fz_bound_path
	fz_adjust_rect_for_stroke
	fz_new_stroke_state
	fz_new_stroke_state_with_dash_len
	fz_keep_stroke_state
	fz_drop_stroke_state
	fz_unshare_stroke_state
	fz_unshare_stroke_state_with_dash_len
	fz_clone_stroke_state
	fz_pixmap_bbox
	fz_pixmap_width
	fz_pixmap_height
	fz_new_pixmap
	fz_new_pixmap_with_bbox
	fz_new_pixmap_with_data
	fz_new_pixmap_with_bbox_and_data
	fz_keep_pixmap
	fz_drop_pixmap
	fz_pixmap_colorspace
	fz_pixmap_components
	fz_pixmap_samples
	fz_clear_pixmap_with_value
	fz_clear_pixmap_rect_with_value
	fz_clear_pixmap
	fz_invert_pixmap
	fz_tint_pixmap
	fz_invert_pixmap_rect
	fz_gamma_pixmap
	fz_convert_pixmap
	fz_copy_pixmap_rect
	fz_premultiply_pixmap
	fz_alpha_from_gray
	fz_pixmap_size
	fz_scale_pixmap
	fz_new_scale_cache
	fz_scale_pixmap_cached
	fz_subsample_pixmap
	fz_pixmap_bbox_no_ctx
	fz_decode_tile
	fz_decode_indexed_tile
	fz_unpack_tile
	fz_md5_pixmap
	fz_new_pixmap_from_8bpp_data
	fz_new_pixmap_from_1bpp_data
	fz_keep_shade
	fz_drop_shade
	fz_bound_shade
	fz_paint_shade
	fz_keep_storable
	fz_drop_storable
	fz_new_store_context
	fz_drop_store_context
	fz_keep_store_context
	fz_store_item
	fz_find_item
	fz_remove_item
	fz_empty_store
	fz_store_scavenge
	fz_shrink_store
	fz_open_file
	fz_open_file_w
	fz_open_memory
	fz_open_buffer
	fz_open_leecher
	fz_drop_stream
	fz_tell
	fz_seek
	fz_read
	fz_read_all
	fz_read_file
	fz_new_stream
	fz_keep_stream
	fz_read_best
	fz_read_line
	fz_strsep
	fz_strlcpy
	fz_strlcat
	fz_dirname
	fz_cleanname
	fz_chartorune
	fz_runetochar
	fz_runelen
	fz_highlight_selection
	fz_copy_selection
	gettimeofday
	fz_fopen_utf8
	fz_utf8_from_wchar
	fz_wchar_from_utf8
	fz_fopen_utf8
	fz_free_argv
	fz_new_text
	fz_bound_text
	fz_generate_transition
	fz_tree_lookup
	fz_tree_insert
	fz_open_directory
	fz_open_archive
	fz_open_archive_with_stream
	fz_has_archive_entry
	fz_open_archive_entry
	fz_read_archive_entry
	fz_drop_archive
	fz_count_archive_entries
	fz_list_archive_entry

	fz_parse_xml
	fz_xml_prev
	fz_xml_next
	fz_xml_up
	fz_xml_down
	fz_xml_is_tag
	fz_xml_tag
	fz_xml_att
	fz_xml_text
	fz_detach_xml
	fz_debug_xml
	fz_xml_find
	fz_xml_find_next
	fz_xml_find_down

; MuPDF exports

	pdf_first_annot
	pdf_next_annot
	pdf_bound_annot
	pdf_annot_type
	pdf_run_annot
	pdf_parse_link_dest
	pdf_lookup_dest
	pdf_lookup_name
	pdf_load_name_tree
	pdf_load_link_annots
	pdf_load_annots
	pdf_update_annot
	pdf_create_annot
	pdf_delete_annot
	pdf_set_annot_contents
	pdf_annot_contents

	pdf_new_cmap
	pdf_keep_cmap
	pdf_drop_cmap
	pdf_cmap_size
	pdf_cmap_wmode
	pdf_set_cmap_wmode
	pdf_set_usecmap
	pdf_add_codespace
	pdf_map_range_to_range
	pdf_map_one_to_many
	pdf_sort_cmap
	pdf_lookup_cmap
	pdf_lookup_cmap_full
	pdf_decode_cmap
	pdf_new_identity_cmap
	pdf_load_cmap
	pdf_load_system_cmap
	pdf_load_builtin_cmap
	pdf_load_embedded_cmap
	pdf_new_crypt
	pdf_crypt_obj
	pdf_open_crypt
	pdf_open_crypt_with_filter
	pdf_crypt_version
	pdf_crypt_revision
	pdf_crypt_method
	pdf_crypt_length
	pdf_crypt_key
	pdf_write_digest
	pdf_open_document
	pdf_open_document_with_stream
	pdf_drop_document
	pdf_specifics
	pdf_needs_password
	pdf_authenticate_password
	pdf_has_permission
	pdf_load_outline
	pdf_create_document
	pdf_insert_page
	pdf_delete_page
	pdf_delete_page_range
	pdf_page_write

	pdf_field_type
	pdf_field_value
	pdf_load_encoding
	pdf_set_font_wmode
	pdf_set_default_hmtx
	pdf_set_default_vmtx
	pdf_add_hmtx
	pdf_add_vmtx
	pdf_end_hmtx
	pdf_end_vmtx
	pdf_lookup_hmtx
	pdf_lookup_vmtx
	pdf_load_to_unicode
	pdf_font_cid_to_gid
	pdf_lookup_substitute_font
	pdf_load_type3_font
	pdf_load_type3_glyphs
	pdf_load_font
	pdf_load_hail_mary_font
	pdf_new_font_desc
	pdf_keep_font
	pdf_drop_font
	pdf_run_glyph
	pdf_enable_js
	pdf_disable_js
	pdf_js_supported
	pdf_js_execute
	pdf_new_int
	pdf_new_real
	pdf_new_name
	pdf_new_string
	pdf_new_indirect
	pdf_new_array
	pdf_new_dict
	pdf_new_rect
	pdf_new_matrix
	pdf_copy_array
	pdf_copy_dict
	pdf_keep_obj
	pdf_drop_obj
	pdf_is_null
	pdf_is_bool
	pdf_is_int
	pdf_is_real
	pdf_is_number
	pdf_is_name
	pdf_is_string
	pdf_is_array
	pdf_is_dict
	pdf_is_indirect
	pdf_is_stream
	pdf_objcmp
	pdf_obj_marked
	pdf_mark_obj
	pdf_unmark_obj
	pdf_set_obj_memo
	pdf_obj_memo
	pdf_obj_is_dirty
	pdf_dirty_obj
	pdf_clean_obj
	pdf_to_bool
	pdf_to_int
	pdf_to_real
	pdf_to_name
	pdf_to_str_buf
	pdf_to_str_len
	pdf_to_num
	pdf_to_gen
	pdf_array_len
	pdf_array_get
	pdf_array_put
	pdf_array_push
	pdf_array_push_drop
	pdf_array_insert
	pdf_array_insert_drop
	pdf_array_delete
	pdf_array_contains
	pdf_dict_len
	pdf_dict_get_key
	pdf_dict_get_val
	pdf_dict_get
	pdf_dict_gets
	pdf_dict_getp
	pdf_dict_getsa
	pdf_dict_put
	pdf_dict_puts
	pdf_dict_puts_drop
	pdf_dict_putp
	pdf_dict_putp_drop
	pdf_dict_del
	pdf_dict_dels
	pdf_sort_dict
	pdf_set_obj_parent
	pdf_obj_refs
	pdf_obj_parent_num
	pdf_sprint_obj
	pdf_to_rect
	pdf_to_matrix
	pdf_get_indirect_document
	pdf_set_str_len
	pdf_set_int
	pdf_new_pdf_device
	pdf_write_document
	pdf_localise_page_resources
	pdf_lookup_page_number
	pdf_count_pages
	pdf_lookup_page_obj
	pdf_load_page
	pdf_load_links
	pdf_bound_page
	pdf_run_page
	pdf_run_page_with_usage
	pdf_run_page_contents
	pdf_page_presentation
	pdf_lexbuf_init
	pdf_lexbuf_fin
	pdf_lexbuf_grow
	pdf_lex
	pdf_lex_no_string
	pdf_parse_array
	pdf_parse_dict
	pdf_parse_stm_obj
	pdf_parse_ind_obj
	pdf_store_item
	pdf_find_item
	pdf_remove_item
	pdf_load_function
	pdf_load_colorspace
	pdf_is_tint_colorspace
	pdf_load_shading
	pdf_load_inline_image
	pdf_is_jpx_image
	pdf_load_image
	pdf_load_pattern
	pdf_keep_pattern
	pdf_drop_pattern
	pdf_new_xobject

	pdf_create_object
	pdf_delete_object
	pdf_update_object
	pdf_update_stream
	pdf_cache_object
	pdf_count_objects
	pdf_resolve_indirect
	pdf_load_object
	pdf_load_raw_stream
	pdf_load_stream
	pdf_open_raw_stream
	pdf_open_stream
	pdf_open_inline_stream
	pdf_load_compressed_stream
	pdf_load_compressed_inline_image
	pdf_open_stream_with_offset
	pdf_open_contents_stream
	pdf_trailer
	pdf_set_populating_xref_trailer
	pdf_xref_len
	pdf_get_populating_xref_entry
	pdf_get_xref_entry
	pdf_replace_xref
	pdf_xref_ensure_incremental_object
	pdf_xref_is_incremental
	pdf_repair_xref
	pdf_repair_obj_stms
	pdf_ensure_solid_xref
	pdf_mark_xref
	pdf_clear_xref
	pdf_clear_xref_to_mark
	pdf_repair_obj
	pdf_progressive_advance
	pdf_drop_document

; MuXPS exports

	xps_open_document
	xps_open_document_with_stream
	xps_count_pages
	xps_load_page
	;xps_bound_page
	xps_run_page
	xps_load_links
	xps_strcasecmp
	xps_resolve_url
	xps_parse_point
	xps_has_part
	xps_read_part
	xps_read_page_list
	xps_lookup_link_target
	xps_count_font_encodings
	xps_identify_font_encoding
	xps_select_font_encoding
	xps_encode_font_char
	xps_measure_font_glyph
	xps_parse_color
	xps_set_color
	xps_resolve_resource_reference
	xps_parse_fixed_page
	xps_parse_canvas
	xps_parse_path
	xps_parse_glyphs
	xps_parse_image_brush
	xps_parse_visual_brush
	xps_parse_linear_gradient_brush
	xps_parse_radial_gradient_brush
	xps_parse_tiling_brush
	xps_parse_rectangle
	xps_begin_opacity
	xps_end_opacity
	xps_parse_brush
	xps_parse_element
	xps_clip
	xps_lookup_alternate_content

; unarr exports (required for ArchUtil, ZipUtil)

	ar_open
	ar_open_file
	ar_open_file_w
	ar_open_memory
	ar_open_istream
	ar_close
	ar_read
	ar_seek
	ar_skip
	ar_tell
	ar_close_archive
	ar_parse_entry
	ar_parse_entry_at
	ar_parse_entry_for
	ar_at_eof
	ar_entry_get_name
	ar_entry_get_offset
	ar_entry_get_size
	ar_entry_get_filetime
	ar_entry_uncompress
	ar_get_global_comment
	ar_open_rar_archive
	ar_open_tar_archive
	ar_open_zip_archive
	ar_open_7z_archive

; djvu exports (required for DjVuEngine)

	ddjvu_anno_get_hyperlinks
	ddjvu_context_create
	ddjvu_context_release
	ddjvu_document_create_by_data
	ddjvu_document_create_by_filename_utf8
	ddjvu_document_get_fileinfo_imp
	ddjvu_document_get_filenum
	ddjvu_document_get_outline
	ddjvu_document_get_pageanno
	ddjvu_document_get_pageinfo_imp
	ddjvu_document_get_pagenum
	ddjvu_document_get_pagetext
	ddjvu_document_job
	ddjvu_format_create
	ddjvu_format_release
	ddjvu_format_set_row_order
	ddjvu_free
	ddjvu_job_release
	ddjvu_job_status
	ddjvu_message_peek
	ddjvu_message_pop
	ddjvu_message_wait
	ddjvu_miniexp_release
	ddjvu_page_create_by_pageno
	ddjvu_page_get_type
	ddjvu_page_job
	ddjvu_page_render
	ddjvu_page_set_rotation
	ddjvu_stream_close
	ddjvu_stream_write
	miniexp_caddr
	miniexp_cadr
	miniexp_cddr
	miniexp_stringp
	miniexp_symbol
	miniexp_to_str
	minilisp_finish

; zlib exports (required for ZipUtil, PsEngine, PdfCreator, LzmaSimpleArchive)

	crc32
	deflate
	deflateEnd
	deflateInit_
	deflateInit2_
	gzclose
	gzerror
	gzopen
	gzopen_w
	gzprintf
	gzread
	gzseek
	gztell
	inflate
	inflateEnd
	inflateInit_
	inflateInit2_

; lzma exports (required for LzmaSimpleArchive)

;	LzmaDecode
;	x86_Convert

; libwebp exports (required for WebpReader)

	WebPDecodeBGRAInto
	WebPGetInfo
