lib/uwb_ccp/src/uwb_ccp.c
/**
 * @fn uwb_ccp_set_postprocess(struct ccp_instance * inst, dpl_event_fn * postprocess)
 * @brief API that overrides the default post-processing behaviors, replacing the JSON stream with an alternative
 * or an advanced timescale processing algorithm.
 *
 * @param inst              Pointer to struct ccp_instance * ccp.
 * @param postprocess       Pointer to dpl_event_fn.
 * @return void
 */
@fn uwb_ccp_set_postprocess(struct ccp_instance * inst, dpl_event_fn * postprocess)
@brief API that overrides the default post-processing behaviors, replacing the JSON stream with an alternative
or an advanced timescale processing algorithm.

@param inst              Pointer to struct ccp_instance * ccp.
@param postprocess       Pointer to dpl_event_fn.
@return void
@fn uwb_ccp_set_postprocess ( struct ccp_instance * inst dpl_event_fn * postprocess ) @brief API that overrides the default post - processing behaviors replacing the JSON stream with an alternative or an advanced timescale processing algorithm . @param inst Pointer to struct ccp_instance * ccp . @param postprocess Pointer to dpl_event_fn . @return void
void
uwb_ccp_set_postprocess(struct uwb_ccp_instance * ccp, dpl_event_fn * postprocess)
{
    dpl_event_init(&ccp->postprocess_event, postprocess, (void *) ccp);
    ccp->config.postprocess = true;
}
void uwb_ccp_set_postprocess ( struct uwb_ccp_instance * ccp , dpl_event_fn * postprocess ) { dpl_event_init ( & ccp -> postprocess_event , postprocess , ( void * ) ccp ) ; ccp -> config . postprocess = true ; }
@fn uwb_ccp_set_postprocess(struct ccp_instance * inst, dpl_event_fn * postprocess)
 @brief API that overrides the default post-processing behaviors, replacing the JSON stream with an alternative
 or an advanced timescale processing algorithm.
@fn uwb_ccp_set_postprocess ( struct ccp_instance * inst dpl_event_fn * postprocess ) @brief API that overrides the default post - processing behaviors replacing the JSON stream with an alternative or an advanced timescale processing algorithm .