Rewrite cookies to use shared list.h list code.
[wine/multimedia.git] / tools / findfunc
blob98fd6cebe2a9cd5b00a9912ba4cd4c9e48f76344
1 #!/bin/sh
2 name="$1"
3 if [ "$name" == "" ] ; then
4 echo -n 'Function: '
5 read name;
6 fi
8 while [ "$name" != "" ]
9 do
10 find $(dirname $0)/../ -name \*.spec | xargs -l1024 grep -i $name
11 find $(dirname $0)/../ -name \*.[ch] | xargs grep -i "WINAPI[[:space:]]\+$name"
12 echo -n 'Function: '
13 read name
14 done