blob: 111aabacb5af3de8332423018064f0670b1d2a04 [file] [log] [blame]
#!/bin/sh
name="$1"
if [ "$name" = "" ] ; then
echo -n 'Function: '
read name;
fi
while [ "$name" != "" ]
do
find $(dirname $0)/../ -name \*.spec | xargs -l1024 grep -i $name
find $(dirname $0)/../ -name \*.[ch] | xargs grep -i "WINAPI[[:space:]]\+$name"
echo -n 'Function: '
read name
done