demux: adaptive: s/flush/drain
[vlc.git] / src / check_symbols
blob2aa9c6c92e4bad0b7d14462990553da909356950
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_' -e '^video_' \
17 -e '^playlist_' -e '^services_discovery_' -e '^intf_' \
18 -e '^dialog_' -e '^update_' -e '^addons\?_' -e '^fingerprinter_' \
19 -e '^text_style_' -e '^text_segment_' \
20 -e '^net_' -e '^httpd_' \
21 -e '^config_' -e '^module_' -e '^var_' \
22 -e '^date_' -e '^sdp_' -e '^plane_' \
23 -e '^us_' -e '^utf8_' -e '^xml_' -e '^GetLang_' \
24 -e '^m\(date\|sleep\|wait\)$' -e '^[A-Z][a-z]*Charset$' -e 'MD5$' \
25 -e '^NTPtime64$' -e '^secstotimestr$' \
26 && exit 1
28 echo "None found."