2011/11/3 Mikael mikael.rcv@gmail.com:
Make a wrapper. Use the argument value you for sure can specify to the external API (a void* or alike) to pass back to you on callback, as id to your internal routine.
I am not sure if I understood this correctly. Do you talk about a dispatching callback function which takes an continuation argument to execute the actual callback code?