Tool/software: TI-RTOS
Where are the NDK hooks described?
The NDK user Guide says you can use XGCONF to have functions called in response to certain events. The guide claims "Hook functions must be defined using the following format: Void functionName(Void)"
but a few example projects define the IP address hook as void netIPAddrHook(unsigned int IPAddr, unsigned int IfIdx, unsigned int fAdd);
My understanding of the User Guide makes me expect an error because this hook takes arguments. The code works; the function compiles and the arguments are passed.
Where are these hook functions declared? What resource would inform a developer that the first argument of the IP address hook is the IP address? Or do I define this somehow?