#!/bin/sh
#run this in the PHP_source_dir/functions/

cat /dev/null > $HOME/.bluefish/php3_functions
for FILE in `ls *.c | cut -f 1 -d .` ; do
   grep proto $FILE.c | grep -v */ | cut -c14- | while read LINE ; do
      echo "$FILE:$LINE" >> $HOME/.bluefish/php3_functions
   done
done
