summaryrefslogtreecommitdiff
path: root/scripts/listpublic
blob: d864e7ee63d11ebdf0ac33358b37c86f7764363f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#
# List public API symbols...
#

for function in `nm -g *.so | grep "T " | awk '{print $3}' | grep -v '^_' | sort`; do
	found=`grep $function\( *.h | grep -v DEPRECATED`

	if test "x$found" != x; then
		echo $function
	fi
done