Adds a method to the RPC server.
This function must be called after kolibriStart().
|name||Method name - An RPC client can call the method through this name |
|cb||Callback function - This function will be called by the RPC server task when an RPC client calls the method. |
|context||This parameter will be passed as is to the callback function. |
- Returns one of the following codes:
- Last functional change:
- 1.2.0 Changed data type of context parameter to void * to be compatible to 64 bit architectures.