Changed interface to sglist, separating out 2 components of first parameter 'pointer' into 2 parameters.