# idn2.map - linker version script for idn2
# Copyright (C) 2011-2021 Simon Josefsson
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

IDN2_0.0.0 {
  global:
    idn2_check_version;

    idn2_free;

    idn2_lookup_u8;
    idn2_register_u8;

    idn2_lookup_ul;
    idn2_decode_ul;
    idn2_register_ul;

    idn2_to_ascii_4i;
    idn2_to_ascii_4z;
    idn2_to_ascii_8z;
    idn2_to_ascii_lz;

    idn2_to_unicode_8z4z;
    idn2_to_unicode_4z4z;
    idn2_to_unicode_44i;
    idn2_to_unicode_8z8z;
    idn2_to_unicode_8zlz;
    idn2_to_unicode_lzlz;

    idn2_strerror;
    idn2_strerror_name;

    # Compatibility symbols.
    _idn2_punycode_encode;
    _idn2_punycode_decode;

  local:
    *;
};

IDN2_2.1.0 {
  global:
    idn2_to_ascii_4i2;
} IDN2_0.0.0;
