Maybe these should be struct not *struct like C lib?