1#!/bin/sh 2# 3# List public API symbols... 4# 5 6for function in `nm -g *.so | grep "T " | awk '{print $3}' | grep -v '^_' | sort`; do 7 found=`grep $function\( *.h | grep -v DEPRECATED` 8 9 if test "x$found" != x; then 10 echo $function 11 fi 12done 13