unplugged-system/external/libcups/scripts/listpublic

13 lines
238 B
Plaintext
Raw Permalink Normal View History

#!/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