#!/bin/sh cat "`pkg-config --variable=includedir libxml-2.0`/libxml2/libxml/$1.h" |( sed -e 's;XMLPUBFUN;;g' -e 's;XMLCALL;;' -e 's;int;;' | grep -E "^[ ]*(xml|docb|xlink)" |awk '{print $1}' |cut -d"(" -f1 ; )