repo.or.cz
/
wine
/
wine-gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
winhttp: Fix build on Mac OS X 10.5.8.
[wine/wine-gecko.git]
/
tools
/
findfunc
blob
111aabacb5af3de8332423018064f0670b1d2a04
1
#!/bin/sh
2
name
=
"
$1
"
3
if
[
"
$name
"
=
""
] ;
then
4
echo -n
'Function: '
5
read
name
;
6
fi
7
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