Look in MSSQLdrv.pkg for functions that enumerate servers and databases