Function gc_plugin_receive_datapoint
pub unsafe extern "C" fn gc_plugin_receive_datapoint(
instance: *mut c_void,
dataValue: *mut sGCDatapointValue,
) -> boolExpand description
@brief Receives a datapoint value
This function is called by the core to deliver a new datapoint value to the plugin via the subscription system. The plugin should process the value and return true if the value was successfully processed, false otherwise.
It is very important that the plugin releases the datapoint passed as an argument after it is done with it. This
is done by calling the releaseDatapointValue callback. Failing to do so will result in a memory leak.
@param instance The handle to the plugin instance @param dataValue A shared reference to a datapoint value @return true if the value was successfully processed, false otherwise