Kolibri library – API Documentation

Header image

Main page


KolibriErr KOLIBRI_FUNC_ATTR kolibriAddRpcServerMethod ( char const *  name,
KolibriRpcServerCb  cb,
void *  context 
)

Adds a method to the RPC server.

This function must be called after kolibriStart().

Parameters
nameMethod name - An RPC client can call the method through this name
cbCallback function - This function will be called by the RPC server task when an RPC client calls the method.
contextThis parameter will be passed as is to the callback function.
Returns
Returns one of the following codes:
Reentrance
Yes
Since
1.0.0
Last functional change:
1.2.0 Changed data type of context parameter to void * to be compatible to 64 bit architectures.





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated by Doxygen 1.8.10