Analyzing a source code, I've bumped into a strange function call. This function is defined with the following prototipe:
and the only call of this function nl_kaodv_callback is here:Code:static void nl_kaodv_callback(int sock);
as you can see the function nl_kaodv_callback is called WITHOUT any argument.Code:if (attach_callback_func(aodvnl.sock, nl_kaodv_callback) < 0) { alog(LOG_ERR, 0, __FUNCTION__, "Could not attach callback."); }
What does it mean???