Contribs: update GnuTLS to 3.5.19
[vlc.git] / src / check_symbols
blob3c57036474fbf5712a831f9020bc8af58cee732c
1 #! /bin/sh
2 # Copyright © 2015 Rémi Denis-Courmont
4 cd "$(dirname "$0")" || exit $?
5 test -f libvlccore.sym || exit 1
7 # DO NOT add new entries here.
8 # Do make existing ones more specific.
9 # Do remove existing ones (especially near the end).
11 echo "Looking for unprefixed exported symbols..."
12 cat libvlccore.sym | grep -v \
13 -e '^vlc_' -e '^vlm_' -e '^libvlc_[A-Z]' -e '^VLC_' \
14 -e '^input_' -e '^access_' -e '^demux_' -e '^decoder_' \
15 -e '^image_' -e '^block_' -e '^picture_' -e '^subpicture_' \
16 -e '^es_format' -e '^[asv]out_' -e '^spu_' -e '^filter_' \
17 -e '^video_format_' \
18 -e '^playlist_' -e '^services_discovery_' -e '^intf_' \
19 -e '^dialog_' -e '^update_' -e '^addons\?_' -e '^fingerprinter_' \
20 -e '^text_style_' -e '^text_segment_' \
21 -e '^net_' -e '^httpd_' \
22 -e '^config_' -e '^module_' -e '^var_' \
23 -e '^date_' -e '^sdp_' -e '^plane_' \
24 -e '^us_' -e '^utf8_' -e '^xml_' -e '^GetLang_' \
25 -e '^m\(date\|sleep\|wait\)$' -e '^[A-Z][a-z]*Charset$' -e 'MD5$' \
26 -e '^NTPtime64$' -e '^secstotimestr$' \
27 && exit 1
29 echo "None found."