← Back to team overview

rohc team mailing list archive

Re: [Question #246370]: rohc_debug

 

Question #246370 on rohc changed:
https://answers.launchpad.net/rohc/+question/246370

    Status: Open => Answered

Didier Barvaux proposed the following answer:
Hello,

Use the rohc_comp_set_traces_cb() function to define a function callback that will handle the traces of the ROHC compressor.
Use the rohc_decomp_set_traces_cb() function to define a function callback that will handle the traces of the ROHC decompressor.

doc for rohc_comp_set_traces_cb():
https://rohc-lib.org/support/documentation/API/rohc-doc-1.6.1/rohc__comp_8h.html#affa6d3ce4976d53b13dc1193d6d4c66d

doc for rohc_decomp_set_traces_cb():
https://rohc-lib.org/support/documentation/API/rohc-doc-1.6.1/rohc__decomp_8h.html#a6fb60f5bcaa453af00047d048b750b07

Example of usage:
http://bazaar.launchpad.net/~didier-barvaux/rohc/1.6.x/view/head:/test/non_regression/test_non_regression.c#L1019
http://bazaar.launchpad.net/~didier-barvaux/rohc/1.6.x/view/head:/test/non_regression/test_non_regression.c#L1455

Regards,
Didier

-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.