I must admit I'm not familiar with iBase nor "gds" but perhaps libGDS?