Passing data to GPS callback

Frederik Sdun frederik.sdun at googlemail.com
Wed Jul 9 23:48:25 CEST 2008


Hi,

i want to register a callback with libgps, but i also have to pass some
own data. I can't use a global of it because I will have multible
instances of it. Do I have to set a global list and iterate over it each
time data comes in or is there a better approach?

Regards,
Frederik




More information about the openmoko-devel mailing list