Senate inquiry into foreign funding