User`s guide
LUC API Reference [H]
Parameters
serviceType
Specifies the service type of the service being provided.
serviceFunctionIndex
Specifies the specific function (by index) being provided by
theFunction.
theFunction
Specifies the application defined function to be called by LUC when
RPC requests arrive at the endpoint with a matching serviceType
and serviceFunctionIndex.
Return Codes
LUC_ERR_OK The function was registered successfully.
LUC_ERR_BAD_PARAMETER
The specified service type or function index is out-of-range.
LUC_ERR_ALREADY_REGISTERED
The specified service type or function index is already occupied.
LUC_ERR_OTHER
The prototype can handle only a fixed number of function
registrations for each server object.
H.3.7 setConfigValue Method
Sets configuration values for LUC.
Syntax
luc_error_t setConfigValue(
luc_config_key_t key,
uint64_t value);
Parameters
key Identifies the configuration option to set. The following options can
be set:
LUC_CONFIG_LOG_LEVEL
This configuration key alters the amount of LUC
internal debugging information that is printed to
standard error.
S–2479–20 155