callback is nothing but passing the function pointer to the code from where you want your handler/ callback to be invoked.
check here
callback in C
原文:http://www.cnblogs.com/miaoz/p/3987532.html